Subject: [xsl] Template matching preceding-sibling. From: Steve <subsume@xxxxxxxxx> Date: Thu, 8 Nov 2007 12:59:01 -0500 |
I'm missing something fundamental, what is it? <xsl:template match="Rec[activity != preceding-sibling::Rec/activity or not(preceding-sibling::Rec)]"> Ello xslers. </xsl:template> <xml> <Rec> <activity>hi</activity> </Rec> <Rec> <activity>hi</activity> </Rec> </xml> ---- Above should only print anything once, but I'm getting it each time. What am I not getting? -Steve
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] extending xsl with javasc, Scott Trenda | Thread | RE: [xsl] Template matching precedi, cknell |
Re: [xsl] extending xsl with javasc, Steve | Date | RE: Re: [xsl] extending xsl with ja, cknell |
Month |