Re: [xsl] Help parsing a node

Subject: Re: [xsl] Help parsing a node
From: Martin Honnen <Martin.Honnen@xxxxxx>
Date: Thu, 26 Apr 2012 17:54:34 +0200
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/

Current Thread