OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: [xml-dev] RE : [xml-dev] Text or tags choice with XSD

[ Lists Home | Date Index | Thread Index ]

[John Cowan]

> Why is using a different element name so much simpler than adding a
> attribute value?

Fewer things to remember ... less syntax to get wrong .... fewer characters
so less chance of a typo... fewer checks when processing (test for element
name then test for attribute value, vs simply test for element name)...
How'm I doing so far?


Tom P


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS