[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: XSL transform escape question
> 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|