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] Can we treat XML elements and attributes as sets

[ Lists Home | Date Index | Thread Index ]

> The discussion topic I started was, "can we treat XML
> elements and attributes as sets" still eludes me. I
> think they should be treated as sets, as we can
> perform useful mathematical operations on XML
> documents using set operators.

Perhaps.  But XML says that the order of elements is important, so you
can't do that.  It might have been less confusing to you had the various
things you've read said "ordered set," but XML never claimed to be a
mathematical system.

The order of elements matters; the order of attributes doesn't.  It's not
going to change.


Rich Salz                  Chief Security Architect
DataPower Technology       http://www.datapower.com
XS40 XML Security Gateway  http://www.datapower.com/products/xs40.html


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

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