In article <>, Morten Helgaland wrote:
> Hello
>
> I'm relatively new to xsl and I've taken over a bunch of of xml
> documents which have an element with escaped html in it. For example;
> <BodyCopy><p>This is a paragraph</p></BodyCopy>
>
> And I need to use xsl to output this as
> <p>This is a paragraph</p>
>
> output method="text" won't do it because the rest of the stylesheet
> requires method="html"...
>
> I can't for the life of me figure out how to do it... I've seen
> something about output-escaping and CDATA sections, but all these
> hints seem to solve a "reversed" problem to mine.
>
> Are there any other answers than; "give up" and "rtfm"?
Do the following example xml and xsl documents help?
XML document:
<?xml version="1.0"?>
<BodyCopy><p>This is a paragraph</p></BodyCopy>
XSL document:
<?xml version="1.0"?>
<xsl:stylesheet version="1.0" xmlns

sl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="BodyCopy">
<xsl:value-of select="." disable-output-escaping="yes"/>
</xsl:template>
</xsl:stylesheet>