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

Re: XSL transform escape question

Subject: Re: XSL transform escape question
From: "J.Pietschmann" <j3322ptm@xxxxxxxx>
Date: Mon, 09 Sep 2002 21:33:30 +0200
escape html markup in xsl
Martinez, Brian wrote:
I must be confused by the entry for
<xsl:text/> (on page 323 it says the default value of d-o-e is "no"; on the
next page it says it's "yes").

Report this to the publisher/author.


My point is if a node-set contains only HTML markup, you can avoid the whole
output-escaping issue by setting output to HTML and using <xsl:copy-of/>.

Now I'm seriously confused. What do you mean by "a node-set contains only HTML markup"? AFAIK a node set contains nodes, and it doesn't make a difference which vocabulary the element nodes are from. If you mean someone has a CDATA or something with text which resembles HTML markup, then no, xsl:copy-of wont convert this automagically into a node tree or whatever, is stays a text node after being copied.

J.Pietschmann


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.