- From: T Kiernan <tkiernan@gmail.com>
- Date: Fri, 30 Sep 2005 13:20:35 +0100
- To: www-xsl-fo@w3.org
Hi , I am trying to do the following manipulation in XSL2.0 copying the contents of element tag into the new replaced tag element so with "cat" i want it replaced with following tag BEFORE --- <cat> blah blah </cat> AFTER ---<div class=cat blah blah ></div> using the following xsl to do the above - doesn't appear to do the substitude Any ideas why it's not ... ??? <xsl:template match="cat"> <xsl:text><![CDATA["<DIV class="]]> <xsl:copy-of select="@*"/> <xsl:copy-of select="node()"/> </xsl:text> <xsl:text><![CDATA[">"]]></xsl:text> <xsl:copy><![CDATA["."/>]]></xsl:copy> <xsl:text><![CDATA["</DIV"]]></xsl:text> </xsl:template>
Received on Saturday, 1 October 2005 02:28:27 UTC