[xquery-talk] How to run xquery dynamically on file listing fromdirectory

Gerald Sheehan gerald.sheehan at altova.com
Wed Apr 16 11:37:02 PDT 2008



It's not possible to use an external XQuery Engine in XMLSpy. This is on
our watch list for a future release!


Integrating Saxon as an external xslt engine w/XMLSpy is easy enough,
but the XQuery 1.0 engine used will always default to our own which is
also provided for free in the AltovaXML
<http://www.altova.com/components_xquery.html> . 


I wrote a blog post on how to integrate external xslt engines in XMLSpy
awhile ago if you're interested,



As to why you cannot get XQuery to work in XMLSpy
<http://www.altova.com/products/xmlspy/xquery_editor.html> , you haven't
provided any details about the problem. Please contact me off-list and
I'll be happy to help you. 


Best Regards, 

... Jerry Sheehan
... Pre-Sales Engineer
... Altova, Inc.

Altova(r)  accelerates  application development  and  data management
projects with  software  and  solutions  that enhance  productivity
and maximize results. Uncover why Altova is the preferred choice of
over three million users worldwide! Look into www.altova.com
<http://www.altova.com/>  today!

Altova,  XMLSpy, MapForce, StyleVision, SemanticWorks, SchemaAgent,
UModel, DiffDog, DatabaseSpy, AltovaXML, Authentic,  and MissionKit
are trademarks and/or  registered trademarks of  Altova GmbH in the 
United States,  the European Union,  and  numerous other countries.
The information transmitted in this message and/or as an attachment
to it  is intended  only for the  person or  entity to  which it is
addressed and may contain confidential  and/or privileged material.
Any  review,  retransmission,  dissemination  or  other use of,  or
taking of any action in reliance upon,  this information by persons
or entities other than the intended recipient is prohibited. If you
received this in error,  please contact  the sender  and delete the
material from any computer.  Altova GmbH  and  Altova, Inc.  do not
accept legal responsibility  for the contents of this message.  Any
views or opinions  presented are solely  those of the author and do
not  necessarily  represent those of  Altova GmbH and  Altova, Inc.
unless otherwise specifically stated. Thank you!






From: talk-bounces at x-query.com [mailto:talk-bounces at x-query.com] On
Behalf Of SELENE_PLATT at extcom.com
Sent: Wednesday, April 16, 2008 9:44 AM
To: talk at x-query.com
Subject: Re: [xquery-talk] How to run xquery dynamically on file listing


All of the responses on this thread are greatly appreciated!  I had been
distracted by another priority, but am now revisiting this issue.  To
answer the questions regarding my environment, I am on a PC running
Windows 5.1, and trying to get xquery to work in Altova XMLSpy
Enterprise Edition 8.  Is there something more I should be indicating?
I tried downloading Saxon from sourceforge (the .NET version - is this
correct?  or should it be the java version?  I have no idea)...but the
Extraction Wizard  gave me this error when unzipping the files:  "Error
reading the file". 

Even so, I won't be able to follow the instructions on integration Saxon
with XMLSpy b/c I don't have access to a unix command line (see
http://www.altova.com/forum/default.aspx?g=posts&t=1000000527).  I am
really at a loss as to what to do, if anyone can provide assistance...


Selene Platt
Site Developer, QVC.com
selene.platt at qvc.com

"Andrew Welch" <andrew.j.welch at gmail.com> 
Sent by: talk-bounces at x-query.com 

04/13/2008 05:42 AM 


"Kevin Grover" <kevin at kevingrover.net> 


talk at x-query.com, seleneplatt at comcast.net 


Re: [xquery-talk] How to run xquery dynamically on file listing from



On 11/04/2008, Kevin Grover <kevin at kevingrover.net> wrote:
> I feel for you on this.  It's taken me weeks to figure anything out.
>  The crux if it is that the 'collection()' function is implementation
>  dependent.
>  I've been trying with saxon for a long while and could not find any
>  documentation or examples.  After many attempts at searching
>   and some dumb luck (I searched the main saxon documentation toc  for
>  collection), I found saxon's documentation page:
>  http://www.saxonica.com/documentation/sourcedocs/collections.html
>  Still, no examples, but better.

For the archives then:


If you are using Saxon then you may also need to use
saxon:discard-document() when processing large collections of XML -
otherwise each one will be held in memory (if that applies to XQuery?)

Andrew Welch
Kernow: http://kernowforsaxon.sf.net/
talk at x-query.com


Selene Platt
Site Developer, QVC.com
selene.platt at qvc.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://x-query.com/pipermail/talk/attachments/20080416/78d9d579/attachment-0001.htm

More information about the talk mailing list