This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: XSL transform escape question
- From: "Martinez, Brian" <brian dot martinez at trip dot com>
- To: "'xsl-list at lists dot mulberrytech dot com'" <xsl-list at lists dot mulberrytech dot com>
- Date: Mon, 9 Sep 2002 13:12:54 -0600
- Subject: RE: [xsl] XSL transform escape question
- Reply-to: xsl-list at lists dot mulberrytech dot com
> From: J.Pietschmann [mailto:j3322ptm@yahoo.de]
> Sent: Monday, September 09, 2002 12:35 PM
> Subject: Re: [xsl] 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@trip.com |
| 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