[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Help parsing a node
Sorry -- in this particular tag set, <ead> *is* the root element so I was shorthanding... -----Original Message----- From: Martin Honnen [mailto:Martin.Honnen@xxxxxx] Sent: Thursday, April 26, 2012 11:55 AM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: Re: Help parsing a node Michele R Combs wrote: > <xsl:variable name="uniqueTypes" > select="ead/archdesc/dsc/descendant::*/container[not(@type=following:: > */container/@type)]/@type" /> > > What exactly will this select? And (since it starts with the root node) will it select the exact same thing no matter where it's used? The root node is selected with "/", as your path starts with "ead" I don't see why you say it starts with the root node. Instead it selects relative to the context node. -- Martin Honnen --- MVP Data Platform Development http://msmvps.com/blogs/martin_honnen/
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|