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

Re: Identity transformation for XSLT 2.0

Subject: Re: Identity transformation for XSLT 2.0
From: "Jesper Tverskov" <jesper@xxxxxxxxxxx>
Date: Mon, 17 Dec 2007 09:10:24 +0100
Re:  Identity transformation for XSLT 2.0
On 12/17/07, Colin Paul Adams wrote:
> It uses saxon:parse() and saxon:serialize(), and so is Saxon-specific - not XSLT 2.0.
>
> Otherwise, a nice try.


As I say in the tutorial, we can do without saxon:parse() and
saxon:serialize(), using temporary files instead and reload them with
collection() and unparsed-text().

I have that solution working too except that I have not managed yet to
make it work if input is not UNICODE.

But since the "files" solution also only works in SAXON, AltovaXML not
allowing unparsed-text() to read files saved by the same stylesheet, I
prefer using saxon:parse() and saxon:serialize().

Using saxon:parse() and saxon:serialize() gives us a much more elegant
solution, and much more user-friendly with no need for temporary files
and getting URLs right, etc.

Originally I had both solutions in the same stylesheet but to make it
easier to understand I dropped the "files" solution.

Cheers,
Jesper Tverskov

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.