[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 13:26:45 EST
patrick honner

An example:


XML
-------
<FRUIT>
    <NAME>Apple</NAME>
    <ESSAY><![CDATA[ <B>Here</B> is some HTML that I want to output
                     about <I>Apples</I>
             ]]>

    </ESSAY>
</FRUIT>

XSL
-------
<xsl:value-of select = "FRUIT/ESSAY" disable-output-escaping = "yes"/>

When using XT, the ESSAY section comes out as formatted HTML (that is bold and italicized text); when using cocoon, the tags are unprocessed (the <B>, </B> are printed literally).

Thoughts?

This approach and your use of the word "tags" usually indicates a flaw in
your methodology for generating HTML via XSL. Post an example of what
exactly you need to disable output escaping for. There is probably a way to
do it without jeopardizing well-formedness.


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

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


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.