I have my XSL transformation working grand with my xml up till now.
Now I have added in some CDATA with HTML code in it. It works grand if the <xsl
utput method='text' but the problem is that the rest of the document is in 'html'
<xsl:value-of select="warning"/> will spit out the CDATA html code and all if the method is text, but I want it to work with method='text'
I thought the following would work (copied from some searched site)
<xsl:text disable-output-escaping="yes"><%</xsl:text>
<xsl:value-of select="warning"/>
<xsl:text disable-output-escaping="yes">%></xsl:text>
But it displays nothing
Now I have added in some CDATA with HTML code in it. It works grand if the <xsl
<xsl:value-of select="warning"/> will spit out the CDATA html code and all if the method is text, but I want it to work with method='text'
I thought the following would work (copied from some searched site)
<xsl:text disable-output-escaping="yes"><%</xsl:text>
<xsl:value-of select="warning"/>
<xsl:text disable-output-escaping="yes">%></xsl:text>
But it displays nothing