Groups
Groups
Sign in
Groups
Groups
XML Schema
Conversations
About
Send feedback
Help
DTD to XSD
4 views
Skip to first unread message
mikea_59
unread,
Mar 4, 2008, 7:13:25 PM
3/4/08
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to XML Schema
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
<xs:complexType mixed="true">
<xs:simpleContent>
<xs:extension base="xs:string"/>
</xs:simpleContent>
</xs:complexType>
Anyone know of a tool that will convert as we would expect?
Jerry Sheehan
unread,
Mar 20, 2008, 9:39:41 AM
3/20/08
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to XML Schema
You wont find any tools that will do that for you, unless you want to
write your own stylesheet. I already looked for you.
You'll need to change the element content by hand in all instances.
msbalaji
unread,
Apr 15, 2008, 8:04:54 AM
4/15/08
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to XML Schema
Hi,
Try with some other tools,
http://www.w3.org/XML/Schema
http://www.w3.org/2000/04/schema_hack/#usa
Regards,
Balaji. M
Reply all
Reply to author
Forward
0 new messages