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

Re: XQuery Updates in XSLT

Subject: Re: XQuery Updates in XSLT
From: "Jesper Tverskov" <jesper@xxxxxxxxxxx>
Date: Wed, 29 Oct 2008 22:32:32 +0100
Re:  XQuery Updates in XSLT
I'm in love with the modified identity template that is the real XSLT.
But the problem is that the modified identity template has nothing to
do with an extremely common use case: the update of XML and its data.

The modified identity template does not recreate the original XML
declaration unless we do something extra to put it back in, or the
DOCTYPE declaration. CDATA sections are lost that is replaced by
escapes, character entities are expanded, default attributes are
copied to output from DTD, and a few other things. See my tutorial as
a reminder: http://www.xmlplease.com/identity-template.

If we don't get something similar to XQuery Updates as a feature also
in XSLT, this issue is going to be the first argument for why XSLT is
simply too far out to start learning unless you really need to apply
templates all the time.

At least it would be nice if Saxon's extension function,
saxon:query(), could make also XQuery Updates in XSLT possible when it
makes things so much easier or even possible.

Cheers,
Jesper

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.