[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: "Martinez, Brian" <brian.martinez@xxxxxxxx>
Date: Mon, 9 Sep 2002 13:12:54 -0600
brian martinez
> From: J.Pietschmann [mailto:j3322ptm@xxxxxxxx]
> Sent: Monday, September 09, 2002 12:35 PM
> Subject: Re:  XSL transform escape question
> 
> 
> Martinez, Brian wrote:
> > I think
> > the confusion (for me) is that d-o-e defaults to "yes" for 
> <xsl:text/> and
> > "no" for <xsl:value-of/>.
> 
> That's news to me. I always write my style sheets as if
> d-o-e always defaults to "no", and they happen to work.
> What's the source of your wisdom?

Er, Mr. Kay's reference book, but 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").

> I don't see why the output method should be relevant in this
> case either.

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/>.
And if the foregoing is true, then <xsl:value-of/> won't do what you want
anyway.  Something I wasn't explicit about in my first reply, and my
apologies.

b.

| brian martinez                              brian.martinez@xxxxxxxx |
| senior gui programmer                                  303.708.7248 |
| trip network, inc.                                 fax 303.790.9350 |
| 6436 s. racine cir.                             englewood, co 80111 |
| http://www.cheaptickets.com/                   http://www.trip.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.