Oxygen XML Editor
 
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] XQuery basics


Subject: RE: [xsl] XQuery basics
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Wed, 4 Jun 2008 23:32:33 +0100

> well it depends for simple cases its easy enough to write a 
> recursive function, essentially implementing apply-templates 
> by hand

XQuery doesn't have any dynamic despatch mechanism so you can't emulate
apply-templates precisely. The caller has to know whom to call. That means
that the logic of your code is closely tied to the structure of your data in
a way that needn't happen with XSLT.

Michael Kay
http://www.saxonica.com/


Current Thread
 
© 2002-2008 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy
This website was created & generated with <oXygen/> XML Editor
Keywords