Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XSLT
|
XSLT General questions and answers about XSLT. For issues strictly specific to the book XSLT 1.1 Programmers Reference, please post to that forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XSLT section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 31st, 2007, 05:41 AM
Authorized User
 
Join Date: Nov 2005
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default Xalan v. Saxon and Xquery

Hi All,

Does Xalan support Xquery in any form?

I have found that Saxon does but I have a problem with running XQuery Update Facility - does anybody has a useful link to learn more about installation/upgrade?

Thanks in advance
M.

 
Old January 31st, 2007, 08:09 AM
mhkay's Avatar
Wrox Author
 
Join Date: Apr 2004
Posts: 4,962
Thanks: 0
Thanked 292 Times in 287 Posts
Default

Xalan has no support for XQuery (or XPath 2.0, or XSLT 2.0).

To find an open-source XQuery processor that supports the draft XQuery update specification, I suggest you ask on the xquery list (talk at x-query.com). Check the archives first, I believe the question has been asked recently.

Michael Kay
http://www.saxonica.com/
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference
 
Old May 26th, 2009, 11:52 AM
Registered User
 
Join Date: May 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default multiple invocations of XQueryExpression?

Hi,
I need to call XQueryExpression recursively with results (or sub-results) being evaluated in the loop. However, I want to work with built NodeInfo (or Item objects), rather then strings. (e.g. build dom document once, then perform xquery analysis and then use results for subsequence xquery analyses). Apparently, the XQueryExpression does not work on the second level of the tree, when I submit the dom element rather than document. It looks like it finds root of the document and searches through the whole tree. Is there any way to make XQueryExpression to only look through specified element (or make element root) of the process expression?

Thanks
Ed
 
Old May 26th, 2009, 12:00 PM
Friend of Wrox
 
Join Date: Nov 2007
Posts: 1,243
Thanks: 0
Thanked 245 Times in 244 Posts
Default

You might want to look for a forum dedicated to that XQuery API you use. This forum is about XSLT and not about XQuery.
__________________
Martin Honnen
Microsoft MVP (XML, Data Platform Development) 2005/04 - 2013/03
My blog
 
Old May 26th, 2009, 12:17 PM
mhkay's Avatar
Wrox Author
 
Join Date: Apr 2004
Posts: 4,962
Thanks: 0
Thanked 292 Times in 287 Posts
Default

Asking a new question in the form of a reply to a question raised two years ago is incredibly unhelpful. Does your question have anything to do with Xalan, which is named in the subject heading? I suspect not. Also, your question is about XQuery, which is off topic for this forum. I suggest you ask it again on the saxon-help list at SourceForge. You will have to be much clearer about what you are trying to do - it's not at all clear what your problem is.
__________________
Michael Kay
http://www.saxonica.com/
Author, XSLT 2.0 and XPath 2.0 Programmer\'s Reference
 
Old May 26th, 2009, 12:44 PM
Registered User
 
Join Date: May 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

ok thank,s I will. Though the heading of the thread confused me though...





Similar Threads
Thread Thread Starter Forum Replies Last Post
XQuery from command line Tomi XSLT 2 January 16th, 2008 01:58 PM
install saxon instead of xalan li72 XSLT 1 September 5th, 2007 06:59 AM
security on Xquery Tomi XSLT 3 May 7th, 2007 07:34 AM
How to get a XQuery.msi ? goldensaying XML 1 December 13th, 2006 01:01 PM
XQuery sonicDace XML 2 March 19th, 2004 05:45 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.