Click here to Skip to main content
15,885,754 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi,

I have a XML node like this :
<meta>
   <briefing>
     <text lang="en"><![CDATA[<html><head>...</body></html>
     </text>
  </briefing>


I want to copy all the content of this node using a XSLT?. I did it like this
<xsl:for-each select="briefing">
 <xsl:copy>
  <xsl:apply-templates select="@* | node()" />
 </xsl:copy>
<briefing/>


But in the generated XML, in the HTML content, the symbol "<" is replaced by < and ">" is replaced by ">". how to solve this issue ?

Thank you
Posted
Comments
Sergey Alexandrovich Kryukov 1-Jun-15 12:53pm    
Not clear. First, the first sample is not well-formed XML. When you say, "replaced by", you show the same thing.
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900