Well it work using disable-output-escaping="yes" ;-)

xml:
<blog>
&lt;b&gt; THIS SHOULD BE BOLD &lt;/b&gt;
</blog>

using xslt:
<?xml version="1.0" encoding="iso-8859-1"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; version="1.0">

<xsl:template match="blog">
  <html>
    <head>
      <title><xsl:value-of select="title"/></title>
    </head>
    <body>
            <!--xsl:apply-templates/ -->
            <xsl:value-of select="." disable-output-escaping="yes" />
    </body>
  </html>
</xsl:template>

</xsl:stylesheet>


On Sun, 29 Aug 2004 19:08:55 +0700, Superbiji <[EMAIL PROTECTED]> wrote:
> I have:
> <blog>
> &lt;b%gt; THIS SHOULD BE BOLD &lt;/b&gt;
> </blog>
> 
> how to show it as decoded html?
> I mean with bold text shown, not the html source...
> 
> with PHP I can use html_entities_decode()
> 
> Thx
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to