Subject: [xsl] IF in a variable declaration From: Xavier DAMAY <xsl.list@xxxxxxxxxxxxxxx> Date: Thu, 16 May 2002 15:31:29 +0200 |
<compte> <pdf>1</pdf> <pdf>3</pdf> </compte>
<xsl:variable name="present"> <xsl:for-each select="/liste/id/compte/pdf"> <xsl:if test="/liste/id/compte/pdf=$ID">O</xsl:if> </xsl:for-each> </xsl:variable> <xsl:value-of select="$present"/>
Do you have any help please ? I managed to do this when <pdf> tag enclude other tags or attribute. I don't know how to write the test for itself.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Does the XalanTransformer, J.Pietschmann | Thread | Re: [xsl] IF in a variable declarat, J.Pietschmann |
[xsl] Does the XalanTransformer cla, AnneMarie_O'Brien | Date | [xsl] Adjusting sorted list, Andrew Timberlake |
Month |