|
Subject: [xsl] "Convert" true/false to 0/1 From: "Aron Bock" <aronbock@xxxxxxxxxxx> Date: Tue, 27 Sep 2005 06:35:44 +0000 |
<data>
<foo name="apple" edible="false"/>
<foo name="banana"/>
</data><data> <foo name="apple" edible="0"/> <foo name="banana" edible="1"/> </data>
<xsl:choose> <xsl:when test="$foo/@edible and $foo/@edible = false">0</xsl:when> <xsl:otherwise>1</xsl:otherwise> </xsl:choose>
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| RE: [xsl] apply-templates with-para, Xiaocun Xu | Thread | RE: [xsl] "Convert" true/false to 0, Michael Kay |
| [xsl] apply-templates with-param fa, Xiaocun Xu | Date | Re: [xsl] RELAX NG validator, Eric van der Vlist |
| Month |