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

RE: XML serializer implemented in XSLT

Subject: RE: XML serializer implemented in XSLT
From: "Evan Lenz" <elenz@xxxxxxxxxxx>
Date: Tue, 29 May 2001 15:06:57 -0700
javascript escape xml
Dave Pawson wrote:
> > I recently finished working on this project. I've frequently
> > come across the
> > need to escape XML, especially for display in a browser.
> > Example uses of it
> > are given on the page referenced below. xml-to-string.xsl
> > will work with any
> > conformant XSLT processor. It is meant to be used as an
> > imported stylesheet
> > module. All feedback would be greatly appreciated.
>
> Simple feedback Evan :-)
>   Whats it for?

I wrote it for use in generating part of our software at XYZFind. The server
console in our next release has a query language tutorial that requires XML
queries to be displayed in an HTML textarea. (Everyone is free to use
xml-to-string.xsl, by the way.) The xml-to-string2.html document uses the
same basic JavaScript in the importing stylesheet, as I use in our product.
There are a number of times where we've needed functionality like this. At
one point, we implemented an extension element that extended saxon:output. I
never liked that of course, so I decided to try it out myself.

> Nothing on the page suggests when it might be useful?

I guess the examples might not speak very well for themselves, so I added a
couple sentences about how it might be useful.

Hope this helps,
Evan


 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.