Subject: Re: [xsl] XQuery Updates in XSLT From: Robert Koberg <rob@xxxxxxxxxx> Date: Wed, 29 Oct 2008 17:31:08 -0400 |
Yes. It's a few lines of easily readable XQuery Update, versus a few
complete XSLT templates and an explanation of how the identity transform
works.
XQuery Update solution:[snip]XSLT 2.0 solution:[snip]
So, what is the prize for the "best" solution? (separate prize for defining "best" that everyone agrees on)
This is already an old argument... those who use XQuery day in day out prefer the XQuery solution, those who use XSLT will prefer that (but if you're modifying a file in an XML database you'd use XQuery, if you're using the filesystem, probably XSLT). So it doesn't really matter.
(btw, it's funny that you think an explanation of the identity template is needed, but not XQuery update syntax? Neither are exactly intuitive...! )
-- Andrew Welch http://andrewjwelch.com Kernow: http://kernowforsaxon.sf.net/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] XQuery Updates in XSLT, Andrew Welch | Thread | Re: [xsl] XQuery Updates in XSLT, Jesper Tverskov |
Re: [xsl] XQuery Updates in XSLT, Andrew Welch | Date | Re: [xsl] XQuery Updates in XSLT, Jesper Tverskov |
Month |