[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: Colin Paul Adams <colin@xxxxxxxxxxxxxxxxxx>
Date: Mon, 17 Dec 2007 08:30:57 +0000
Re:  Identity transformation for XSLT 2.0
>>>>> "Jesper" == Jesper Tverskov <jesper@xxxxxxxxxxx> writes:


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

Well, you can't use collection() portably anyway.

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

    Jesper> But since the "files" solution also only works in SAXON,
    Jesper> AltovaXML not allowing unparsed-text() to read files saved
    Jesper> by the same stylesheet

Hm. That is certainly not in violation with the spec. And it is very
much in the spirit of the spec, as you cannot use doc() or document()
to read files written out by xsl:result-document().

    Jesper> Using saxon:parse() and saxon:serialize() gives us a much
    Jesper> more elegant solution, and much more user-friendly with no

Hardly more user-friendly - the transformation won't compile with Gestalt.
-- 
Colin Adams
Preston Lancashire

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.