|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Choosing based on current node
I think Abel has given some good remarks.
But I think, your code fragment needs to be modified as: <xsl:for-each select="A|B|C">
<xsl:choose>
<xsl:when test="self::A">
<xsl:call-template name="do-A"/>
</xsl:when>
<xsl:when test="self::B">
<xsl:call-template name="do-B"/>
</xsl:when>
<xsl:otherwise>
<xsl:call-template name="do-C"/>
</xsl:otherwise>
</xsl:choose>
</xsl:for-each>On 2/12/07, sthomas2@xxxxxxx <sthomas2@xxxxxxx> wrote:
-- Regards, Mukul Gandhi
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|






