DTD to XSD

M

mikea_59

Extracted from DTD:
<!ELEMENT aaa (#PCDATA)>

Why does the conversion using XmlSpy or some other tools turn out to
be:
<xsd:element name="aaa">
<xs:complexType mixed="true"/>
</xsd:element>


When we expect the following:
<xsd:element name="aaa" type="xsd:string"/>


or maybe something like this

<xs:element name="aaa">
<xs:simpleContent>
<xs:extension base="xs:string"/>
</xs:simpleContent>
</xs:element>

Anyone know of a tool that will convert as we would expect?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,954
Messages
2,570,116
Members
46,704
Latest member
BernadineF

Latest Threads

Top