[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: "patrick honner" <sw_pat@xxxxxxxxxxx>
Date: Mon, 24 Jan 2000 14:35:08 EST
patrick honner


The HTML tags are just ignored when they stand alone inside an element (at least when using XT). They don't appear at all in the output, not even as literals.

By putting them inside a CDATA *and* diabling the output-escaping, they are processed just as you would expect in the output HTML.

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. Using CDATA and disable-output-escaping works perfectly, *when* I am creating static HTML pages through XT. However, when I use cocoon (eventually to be used to dynamically create the output) the HTML tags appear literally.

Thanks for your interest, and thanks in advance if you can offer any advice.


> An example: can you not just allow HTML elements inside ESSAY, like so:

  <ESSAY><B>Here</B> is some HTML that I want to output
                      about <I>Apples</I>

putting it in a CDATA means you lose all the structure, which isn't
really in the spirit of the NewOrder.

Getting structured output out of unstructured input is _not_ something
XSL is particularly good at (although it could probably do this case,
given enough inducement)


Get Your Private, Free Email at http://www.hotmail.com

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

Current Thread


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.
First Name
Last Name
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.