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

  • From: "John E. Simpson" <simpson@p...>
  • To: Michel Rodriguez <mrodrigu@i...>
  • 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@p...      | going to be up all night." (Steven Wright)


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

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