Subject: Re: [xsl] Help parsing a node From: Michael Kay <mike@xxxxxxxxxxxx> Date: Thu, 26 Apr 2012 18:18:40 +0100 |
Hi all --Roughly, it selects all the @type attributes provided there is no @type attribute later in the document with the same value.
Can someone translate this into plain English for me?
<xsl:variable name="uniqueTypes" select="ead/archdesc/dsc/descendant::*/container[not(@type=following::*/container/@type)]/@type" />
<container type="x"> <container type="x"/> </container>
Michael Kay Saxonica
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?
I thought I knew but it isn't behaving at all the way I expected.
Thanks --
Michele +++++++++++++++ Michele Combs Lead Archivist Special Collections Research Center Syracuse University 315-443-2081 mrrothen@xxxxxxx scrc.syr.edu library-blog.syr.edu/scrc
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Help parsing a node, Martin Honnen | Thread | RE: [xsl] Help parsing a node, Michele R Combs |
Re: [xsl] Help parsing a node, Martin Honnen | Date | RE: [xsl] Help parsing a node, Michele R Combs |
Month |