[Home] [By Thread] [By Date] [Recent Entries]


XML parsers are required to preserve element order as encountered; not so
for attributes.

> -----Original Message-----
> From: Bryce K. Nielsen [mailto:bryce@s...]
> Sent: Friday, January 31, 2003 1:16 PM
> To: XML Dev
> Subject: Re:  malfunctioning, evil adult as XML
> 
> 
> > I wouldn't enjoy this. Elements and attributes are not the same
> > thing. Attributes don't have order. Elements do. Elements 
> can contain
> > other elements. Attributes can't. If I don't need attributes, I just
> > won't use them.
> >
> 
> Elements have order? I thought native in XML, elements were unordered.
> 
> I don't mean to keep bringing this up, but a lot of posts I 
> read here talk
> about elements being ordered, so I'm often confused since I've always
> thought one of the powers of XML was the ability to allow unordered
> elements?
> 
> -BKN
> 
> 
> -----------------------------------------------------------------
> The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
> initiative of OASIS <http://www.oasis-open.org>
> 
> The list archives are at http://lists.xml.org/archives/xml-dev/
> 
> To subscribe or unsubscribe from this list use the subscription
> manager: <http://lists.xml.org/ob/adm.pl>
> 

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member