Subject: Re: [xsl] "Convert" true/false to 0/1 From: "Aron Bock" <aronbock@xxxxxxxxxxx> Date: Wed, 28 Sep 2005 02:16:23 +0000 |
From: Andrew Franz <afranz0@xxxxxxxxxxxxxxxx> Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: Re: [xsl] "Convert" true/false to 0/1 Date: Wed, 28 Sep 2005 06:09:14 +1000
<xsl:template match="data"> <data><xsl:apply-templates /></data> </xsl:template>
<xsl:template match="foo[(@edible='false')]"> <foo edible="0"><xsl:apply-templates select="@*" /></foo> </xsl:template> <xsl:template match="foo"> <foo edible="1"><xsl:apply-templates select="@*" /></foo> </xsl:template>
<xsl:template match="@edible" />
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] "Convert" true/false to 0, Andrew Franz | Thread | RE: [xsl] "Convert" true/false to 0, Aron Bock |
Re: [xsl] Speed difference attribut, Soren Kuula | Date | [xsl] Namespace Problem, jaya vardhani |
Month |