[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: HTML encoded text
Yes Andreas, you can - see example below: <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="html" omit-xml-declaration="no"/> <xsl:template match="/"> <html> <head> </head> <body> <xsl:value-of select="node" disable-output-escaping="yes" /> </body> </html> </xsl:template> </xsl:stylesheet> Cheers, <prs/> -----Original Message----- From: Andreas Lindahl [mailto:andreas.lindahl@xxxxxxxxxx] Sent: Tuesday, November 16, 2004 3:26 AM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: HTML encoded text I have an XML file with HTML encoded values, for example: <node>&lt;p&gt;a paragraph&lt;/p&gt;</node> Is it possible to translate/convert this into valid HTML in my XSLT file? For example, I want my XSLT file to convert the above node value to <p>a paragraph</p>. Cheers, Andreas
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|