xsl-list
[Top] [All Lists]

Re: [xsl] XQuery Updates in XSLT

2008-10-29 15:53:15

On Oct 29, 2008, at 3:48 PM, John Snelson wrote:

Robert Koberg wrote:

On Oct 29, 2008, at 3:21 PM, Scott Trenda wrote:

I think John is confusing the meaning of "functional" here. Dimitre
meant "functional" as in "based on functions/templates, like Haskell or
Scheme (as opposed to imperative)", and perhaps John interpreted
"functional" to mean "it works, it's not broken".

I am sure John knows what functional means. I was commenting about the use of XQuery as opposed to xsl's identity template with some exception templates. It sounds like he think XQuery is better at this type of thing.

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.


Really? Show me how you use typeswitch (or whatever you would like to use) to handle the XSL equivalent of exception templates in a few lines.

-Rob


John



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--