N
NSB
Hi all!
I've two questions about converting a DTD to a XML schema
Is the following conversion correct:
DTD (source):
<!ELEMENT uug-query:search-term (#PCDATA)>
Schema:
<xs:complexType name="search-term" type="general">
<xs:choise minOccurs="0" maxOccures="unbound"/>
</xs:complexType>
<xs:ekement name="search-term" type="search-term"/>
I've a hugh number of DTD elements with attribut lists looking like
this sample:
<!ELEMENT abc:xyz EMPTY>
<!ATTLIST abc:xyz parameter CDATA #IMPLIED>
How can I convert this structures correctly? Specifically EMPTY and
#IMPLIED.
Thanks in advance!
Best regards,
Nico
I've two questions about converting a DTD to a XML schema
Is the following conversion correct:
DTD (source):
<!ELEMENT uug-query:search-term (#PCDATA)>
Schema:
<xs:complexType name="search-term" type="general">
<xs:choise minOccurs="0" maxOccures="unbound"/>
</xs:complexType>
<xs:ekement name="search-term" type="search-term"/>
I've a hugh number of DTD elements with attribut lists looking like
this sample:
<!ELEMENT abc:xyz EMPTY>
<!ATTLIST abc:xyz parameter CDATA #IMPLIED>
How can I convert this structures correctly? Specifically EMPTY and
#IMPLIED.
Thanks in advance!
Best regards,
Nico