I have an XML document with a TextBlock that contains HTML code.
<TextBlock> <h1>This is a header.</h1> <p>This is a paragraph.</p> </TextBlock>
In real XML, however, it is encoded as follows:
<TextBlock> <h1>This is a header.</h1> <p>This is a paragraph.</p> </TextBlock>
Therefore, when I use <xsl:value-of select="TextBlock"/> , it displays all the encodings on the page. Is there a way to use XSLT to convert < in < inside a TextBlock element?
xslt decoding
jrottier
source share