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

Re: disable-output-escaping

Subject: Re: disable-output-escaping
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 25 Jan 2000 02:11:50 GMT
xsl copy disable output escaping
> The HTML tags are just ignored when they stand alone inside an element
> (at 

The elements are not ignored, they have the default template applied to
them which does nothing with the element, and recurses on the content,
which means, in the end you just get the character data.
You want to write an identity transform for these cases, the code for
which is in the xsl specification. or maybe its simpler than that
(see below)

> The problem is that I want to have, as an XML-element, a large HTML file 
> that will be properly rendered upon the <xsl:value-of> call. 

xsl:value-of just gives you the character data you want the structure
which is xsl:copy-of so just make the template for your essay element
call xsl:copy-of select="."

David


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.