Subject: RE: [xsl] Problem involving position() and COnditional filtering From: Florent Georges <darkman_spam@xxxxxxxx> Date: Tue, 30 May 2006 13:46:30 +0200 (CEST) |
Pankaj Bishnoi wrote: Hi > The problem is that the position function generates value > according to the source xml occurrences and not the actual > occurrence in output. If you use a predicate in the select of the xsl:for-each, instead of an xsl:if, you'll get the same position in the node set and in the output tree: <xsl:for-each select="/NounOutcome/DocumentIds / DocumentIdType[Id = '43]"> ... </xsl:for-each> Regards, --drkm ___________________________________________________________________________ Yahoo! Mail riinvente le mail ! Dicouvrez le nouveau Yahoo! Mail et son interface rivolutionnaire. http://fr.mail.yahoo.com
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Problem involving position() , Pankaj Bishnoi | Thread | Re: [xsl] Problem involving positio, Jagdishwar B |
[xsl] Problem involving position() , Pankaj Bishnoi | Date | Re: [xsl] XSL Injection, is it poss, G. T. Stresen-Reuter |
Month |