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


Help: OASIS Mailing Lists Help | MarkMail Help



   RE: Order in an XML document

[ Lists Home | Date Index | Thread Index ]
  • From: "John E. Simpson" <simpson@polaris.net>
  • To: Michel Rodriguez <mrodrigu@ieee.org>
  • Date: Wed, 24 May 2000 13:08:34 -0400

At 11:32 AM 5/24/2000 -0400, Michel Rodriguez wrote:
>And I was looking for a "standard" way to do simple comparisons, without
>delving into axes, so I guess using the document order (option 2 is
>probably an acceptable solution).

Again, I don't know exactly what you're after. But the XPath/XSLT axes 
aren't that involved. Basically, under their definition an element is 
assumed to follow another if its start tag follows the other's end tag, and 
to precede another if its end tag follows the other's start. So an element 
could never *follow* any of its ancestors in document order, nor could it 
*precede* its descendants.

John E. Simpson          | "I hate it when my foot falls asleep
http://www.flixml.org    | during the day because that means it's
simpson@polaris.net      | going to be up all night." (Steven Wright)

This is xml-dev, the mailing list for XML developers.
To unsubscribe, mailto:majordomo@xml.org&BODY=unsubscribe%20xml-dev
List archives are available at http://xml.org/archives/xml-dev/


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

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