[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: document(strHTML) ?

Subject: RE: document(strHTML) ?
From: "Jon Schwartz \(Volt\)" <a-jonsch@xxxxxxxxxxxxx>
Date: Thu, 20 May 2004 17:54:25 -0700
strhtml
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@xxxxxxxxxxxxx] 
Sent: Thursday, May 20, 2004 5:35 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject:  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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.