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

RE: Literal Text

Subject: RE: Literal Text
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Tue, 30 Mar 1999 17:10:39 +0100
literal text
Title: RE: Literal Text

> In the context of producing text output, which is how I've
> been seeing XSL, I
> think a literal-text output facility would vastly extend the
> range of what XSL
> could be used for, at very little cost in terms of
> complicating use for other
> purposes.  Not having such facility is a substantial loss. 

I agree, which is why I implemented this in SAXON: give it a try and let me know what you think.

SAXON has an inherited attribute saxon:escape="Y" or "N", so you can write
   <xsl:text saxon:escape="N">fun &amp; games</xsl:text>
to get the output
   fun & games

Or you can put the attribute on any outer element, e.g. xsl:template or xsl:stylesheet. I don't find any conflict here with the philosophy of XSL. You can use it two ways: to produce non-XML formats such as CSV files, or to cheat in getting the XML output you want when XSL is getting in your way. I guess it's the latter that the purists object to.

Mike Kay
SAXON is on http://home.iclweb.com/icl2/mhkay/saxon.html
There will soon be a version that gets even closer to full XSL conformance.

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.