Subject: Re: [xsl] A problem using the xsl:key facility From: Michael Kay <mike@xxxxxxxxxxxx> Date: Tue, 20 Jul 2010 21:30:53 +0100 |
Calling boolean() is redundant here: the test attribute does it anyway.
<xsl:choose> <xsl:when test="boolean(dataset)">
That's a rather longwinded way of doing<xsl:element name="NestedDataset"> <xsl:attribute name="name"> <xsl:value-of select="@name"/> </xsl:attribute> <xsl:apply-templates/> </xsl:element>
<xsl:variable name="sName"><xsl:value-of select="."/></xsl:variable>
Michael Kay Saxonica
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] A problem using the xsl:key f, Nathan Potter | Thread | Re: [xsl] A problem using the xsl:k, Lars Huttar |
[xsl] A problem using the xsl:key f, Nathan Potter | Date | Re: [xsl] A problem using the xsl:k, Lars Huttar |
Month |