Subject: Re: [xsl] XSLT Grouping/Filtering issue with preceding/following axes From: "Joris Gillis" <roac@xxxxxxxxxx> Date: Fri, 05 Aug 2005 16:59:48 +0200 |
<!-- This doesn't work...group is not filtered correctly --> <xsl:variable name="uh" select="//Record[CodeId='FRED']"/> <xsl:element name="Copy"> <xsl:copy-of select="$uh"/> </xsl:element> <xsl:element name="Filter"> <xsl:copy-of select="$uh[(not(AttributeName=preceding::*/AttributeName)]"/> </xsl:element>
There's a typo in the Xpath. It should be $uh[not(AttributeName=preceding::*/AttributeName)]
regards, -- Joris Gillis (http://users.telenet.be/root-jg/me.html) B+N&N9N;N.N:N?N?N= N5N9N=N1N9 N<N1N;N;N?N= N7 ON9N;ON;N1N;N?N=B; - NN;N5ON2N?ON;N?O
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] XSLT Grouping/Filtering issue, Jacquo Johnson | Thread | Re: [xsl] XSLT Grouping/Filtering i, Jacquo Johnson |
[xsl] RE: What did "template match", Michael Kay | Date | [xsl] , crvelin |
Month |