[Home] [By Thread] [By Date] [Recent Entries]

  • From: "James Fuller" <james.fuller.2007@g...>
  • To: "Christoph LANGE" <ch.lange@j...>
  • Date: Tue, 2 Dec 2008 14:31:27 +0100

each major xquery engine I have used (saxon, eXist, marklogic) has
such an extension and can be found in their documentation

here is an example in saxon

http://www.saxonica.com/documentation/extensions/functions/transform.html

u may find some of the techniques I have written about in XQuery here useful

http://www.ibm.com/developerworks/edu/x-dw-x-advxquery.html

the generic treewalker for example could be modified to do either
breadth or depth first traversal.

gl, Jim Fuller
On Tue, Dec 2, 2008 at 2:20 PM, Christoph LANGE
<ch.lange@j...> wrote:
> On Tuesday 02 December 2008 12:52:15 James Fuller wrote:
>> u might want to take another look at xquery  ... I have found that
>> most of the functional idioms are doable with extensions (1st class
>> funcs) and XQuery lends itself readily to working with XML... u may
>> even find you can port your code through time by directly using your
>> existing xslt transforms from within XQuery as you figure out
>> refactoring them.
>
> Thanks, sounds interesting!  Now that I only have basic knowledge about
> XQuery, could you tell me
>
> * how to use XSL transformations from within XQuery
> * where to find such functional extensions
> ?
>
> Then, I'm not so sure whether XQuery is the right solution for my problem, as
> the processing order in which I do most of my XML->RDF extraction is a
> depth-first recursive traversal of the input tree, i.e. what XSLT gives me for
> free.
>
> Thanks in advance,
>
> Christoph
>
> --
> Christoph Lange, Jacobs Univ. Bremen, http://kwarc.info/clange, Skype duke4701
>
>


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member