|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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
|
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
|

Cart








