Subject: RE: [xsl] Help parsing a node From: Michele R Combs <mrrothen@xxxxxxx> Date: Thu, 26 Apr 2012 17:39:45 +0000 |
Pretty sure they're using 1.0 but I can check. -----Original Message----- From: Martin Honnen [mailto:Martin.Honnen@xxxxxx] Sent: Thursday, April 26, 2012 1:39 PM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: Re: [xsl] Help parsing a node Michele R Combs wrote: > <did> > <unittitle>Files</unittitle> > <container id="cid172002" type="Box" label="Text">8</container> > <container id="cid172001" type="Box" label="Mixed > materials">19</container> </did> > > And it's evaluating both of those type="Box" as unique even though they're not. If I understand correctly, this is because it's not looking at sibling containers but rather only at later non-sibling containers, yes? And since it's the end of the document there are no non-sibling containers below it in the tree, hence nothing to compare to, hence they all appear to be unique? > > What's the best way to fix this? Do you use XSLT 2.0 or 1.0? -- Martin Honnen --- MVP Data Platform Development http://msmvps.com/blogs/martin_honnen/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Help parsing a node, Martin Honnen | Thread | Re: [xsl] Help parsing a node, Martin Honnen |
Re: [xsl] Help parsing a node, Martin Honnen | Date | Re: [xsl] Help parsing a node, Martin Honnen |
Month |