xsl-list
[Top] [All Lists]

RE: document(strHTML) ?

2004-05-20 17:54:25
Found it!  Gotta love google!

<xsl:value-of disable-output-escaping="yes" select="description"/>

Mr. Dawson's site, btw - thanks!

http://www.dpawson.co.uk

Jon Schwartz

-----Original Message-----
From: Jon Schwartz (Volt) [mailto:a-jonsch(_at_)microsoft(_dot_)com] 
Sent: Thursday, May 20, 2004 5:35 PM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] document(strHTML) ?

I have an XML RSS blog feed which includes in the description text node
a chunk of HTML.  I'd like to apply templates down into the contents of
that HTML string, so that I can render it as part of a new HTML page
based on the larger XML RSS item record.  As it is now, when I process
the description node, the HTML page displays the raw HTML string,
including the markup tags.  Ugly.  If I view the HTML source, the tags
have been rendered like:

&lt;P&gt;

I have a feeling there is a simple answer to this, haven't found one so
far, so thought I'd ask about it while I continue researching.  It seems
like a common need.  

Thanks in advance,

Jon Schwartz


--+------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--+--



<Prev in Thread] Current Thread [Next in Thread>