xsl-list
[Top] [All Lists]

Re: [xsl] Help parsing a node

2012-04-26 10:54:50
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/

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>