[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] XSD: What will it do?
I've been following the XSD thread for a while, and basically agree with the goals, but other than being in XML format, what do you want SDDs to be able to do that DTDs can't? Documentation is an important one, but that doesn't help with the structure. And if it can do things DTDs cant, then you're always going to loose information when you translate to and from DTDs. Don't get me wrong - I all for the idea - I just want some clarification on what you all see as being it's extra capabilities. Also, on the syntax side, are you thinking along the lines of the following (sans prolog) (eg a simplified HTML SDD: <xsd> (or should it be <sdd>?) <element> <name>html</name> <description>The root tag for HTML</description> <element-list type="ordered"> <element-type name="head"/> <element-list type="or"> <element-type name="body"/> <element-type name="frameset"/> </element-list> </element-list> </element> <element> <name>body</name> <description>Contains the body text of the document</description> <element-list type="unordered"> <element-item name="p"/> <element-item name="h1"/> <element-item name="hr"/> </element-list> <attribute-list> <attribute> <name>background</name> <description>The URL for the background image of the page</description> <type>PCDATA</type> </attribute> <attribute> <name>text</name> <description>The text colour</description> <type>PCDATA</type> </attribute> </attribute-list> </element> <etc-etc-etc/> </xsd> Now, I'm not trying to advocate a syntax or a DTD for XSD yet, I'm asking if I'm on the right track. Is this basically the type of thing XSD is trying to do? What else will it do? Should I eat rice bubbles or corn flakes in the morning? David xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i... Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ To (un)subscribe, mailto:majordomo@i... the following message; (un)subscribe xml-dev To subscribe to the digests, mailto:majordomo@i... the following message; subscribe xml-dev-digest List coordinator, Henry Rzepa (mailto:rzepa@i...)
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|