I have an XML document that has a TextBlock that contains HTML code.
<TextBlock>
<h1>This is a header.</h1>
<p>This is a paragraph.</p>
</TextBlock>
In the actual XML, however, it is coded like this:
<TextBlock>
<h1>This is a header.</h1>
<p>This is a paragraph.</p>
</TextBlock>
So when I use <xsl:value-of select="TextBlock"/>
it displays all of the coding on the page. Is there a way using XSLT to convert <
to <
within the TextBlock element?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…