RE: [xsl] HTML tags from XML content

Subject: RE: [xsl] HTML tags from XML content
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Sat, 10 Feb 2001 14:43:22 -0000
> I am trying to transform an XML file to HTML format. The original XML
> elements contain some HTML formatting tags in 
> "&amp;lt;P&amp;gt;" format. If
> I don't do anything about it, "&lt;P&gt;" will be displayed, 
> that is, the
> "&amp" is converted to "&" and that is it. 
> I want this to be converted to "<P>".

Use xsl:value-of with disable-output-escaping="yes".

Mike Kay

 XSL-List info and archive:

Current Thread