[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Micro XSD for Micro XML?
On Fri, Dec 17, 2010 at 3:21 PM, John Madden <john.madden@duke.edu> wrote: > > On Dec 17, 2010, at 9:13 AM, Stephen Green wrote: > >> Ignoring complexTypes and not attempting to be valid XSD, how about >> just the following? >> >> <element name="schema"> >> <element name="element"> >> <attribute name="name" type="string"/> >> <attribute name="type" type="string"> >> <!-- enumerations = string integer decimal date --> >> </attribute> >> </element> >> <element name="attribute"> >> <attribute name="name" type="string"/> >> <attribute name="type" type="string"> >> <!-- enumerations = string integer decimal date --> >> </attribute> >> </element> >> </element> >> >> I think it is valid MicoXML, isn't it, and in the spirit of MicroXML >> - easy to parse >> - easy even to execute in MicroXML parsers if need be >> >> Or adding a little more and it could be valid XSD too (but that >> might be going too far in the direction of XSD). >> > > Looks a lot like Relax NG without namespaces. Element referencing is not in this example. In my opinion, this is a CRUCIAL feature.
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] |
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
|