1
DTD to XSD conversion question
Question asked by Deb More - 7/21/2017 at 9:54 PM
Unanswered
Hi ,
I am a newbie with XML. Apologies if this is a silly or wrong question
I have a DTD that has entries like
....
....
<!ELEMENT ORACLE.SHOW_SHIPMENT_005.SHIPMENT.USERAREA ((ORACLE.APPROVAL_AUTHORITY)?,(ORACLE.EXPORT_LICENSE_NUM)?>
....
....
<!ELEMENT SHOW_SHIPMENT_005 (CNTROLAREA,(DATAAREA)+)>
<!ELEMENT DATAAREA (SHOW_SHIPMENT)>
<!ELEMENT SHOW_SHIPMENT (SHIPMENT,(SHIPUNIT)*)>
<!ELEMENT SHIPMENT (DATETIME,....(TRANSTERMS)?,(WAREHOUSE)?,(USERAREA)?,(PARTNER)+,(SHIPITEM)*....)>
....
....
I converted this to XSD using Liquid Studio 2017. When I see the xsd and drill thru the structure like
SHOW_SHIPMENT_005 > DATAAREA > SHOW_SHIPMENT > SHIPMENT > USERAREA
I am Not seeing the Actual structure of the SHIPMENT.USERAREA i.e.((ORACLE.APPROVAL_AUTHORITY)?,(ORACLE.EXPORT_LICENSE_NUM)). Instead I see "Any". I expected to see the actual structure.
Am I doing some thing wrong in conversion or my understanding is wrong.
 
Thanks
Deb

1 Reply

Reply to Thread
0
Liquid Support Replied
Employee Post
Hi,
 
Can you please send a link to the full dtd?
 
It looks like <!ELEMENT SHIPMENT (DATETIME,....(TRANSTERMS)?,(WAREHOUSE)?,(USERAREA)? may be a different element to ORACLE.SHOW_SHIPMENT_005.SHIPMENT.USERAREA.
 
 

Reply to Thread