<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
tt
        {mso-style-priority:99;
        font-family:"Courier New";}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Selene,<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>It’s not possible to use an external XQuery Engine in
XMLSpy. This is on our watch list for a future release!<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>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 <a
href="http://www.altova.com/components_xquery.html">AltovaXML</a>. <o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>I wrote a blog post on how to integrate external xslt engines in
XMLSpy awhile ago if you’re interested,<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><a
href="http://www.xmlscoop.com/2007/12/xslt-transformations-in-xmlspy-using.html">http://www.xmlscoop.com/2007/12/xslt-transformations-in-xmlspy-using.html</a><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>As to why you cannot get XQuery to work in <a
href="http://www.altova.com/products/xmlspy/xquery_editor.html">XMLSpy</a>, you
haven’t provided any details about the problem. Please contact me off-list
and I’ll be happy to help you. <o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:7.5pt;font-family:"Verdana","sans-serif";color:#1F497D'>Best
Regards,</span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'> </span><span style='color:#1F497D'><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:7.5pt;font-family:"Verdana","sans-serif";
color:#1F497D'>... Jerry Sheehan<br>
... Pre-Sales Engineer<br>
... Altova, Inc.<br>
<br>
</span><span style='font-size:7.5pt;font-family:"Courier New";color:#1F497D'>===================================================================<br>
Altova® accelerates application development and
data management<br>
projects with software and solutions that enhance
productivity<br>
and maximize results. Uncover why Altova is the preferred choice of<br>
over three million users worldwide! Look into </span><span style='font-size:
11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><a
href="http://www.altova.com/"><span style='font-size:7.5pt;font-family:"Courier New";
color:blue'>www.altova.com</span></a></span><span style='font-size:7.5pt;
font-family:"Courier New";color:#1F497D'> today!<br>
===================================================================<br>
<br>
Altova, XMLSpy, MapForce, StyleVision, SemanticWorks, SchemaAgent,<br>
UModel, DiffDog, DatabaseSpy, AltovaXML, Authentic, and MissionKit<br>
are trademarks and/or registered trademarks of Altova GmbH in the </span><span
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><br>
</span><span style='font-size:7.5pt;font-family:"Courier New";color:#1F497D'>United
States, the European Union, and numerous other countries.<br>
The information transmitted in this message and/or as an attachment<br>
to it is intended only for the person or entity
to which it is<br>
addressed and may contain confidential and/or privileged material.<br>
Any review, retransmission, dissemination or
other use of, or<br>
taking of any action in reliance upon, this information by persons<br>
or entities other than the intended recipient is prohibited. If you<br>
received this in error, please contact the sender and delete
the<br>
material from any computer. Altova GmbH and Altova,
Inc. do not<br>
accept legal responsibility for the contents of this message. Any<br>
views or opinions presented are solely those of the author and do<br>
not necessarily represent those of Altova GmbH and
Altova, Inc.<br>
unless otherwise specifically stated.</span><span style='font-size:11.0pt;
font-family:"Calibri","sans-serif";color:#1F497D'> </span><span lang=DE-AT
style='font-size:7.5pt;font-family:"Courier New";color:#1F497D'>Thank you!</span><span
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>
<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
talk-bounces@x-query.com [mailto:talk-bounces@x-query.com] <b>On Behalf Of </b>SELENE_PLATT@extcom.com<br>
<b>Sent:</b> Wednesday, April 16, 2008 9:44 AM<br>
<b>To:</b> talk@x-query.com<br>
<b>Subject:</b> Re: [xquery-talk] How to run xquery dynamically on file listing
fromdirectory<o:p></o:p></span></p>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><br>
<span style='font-family:"Arial","sans-serif"'>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".</span> <br>
<br>
<span style='font-family:"Arial","sans-serif"'>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...</span><o:p></o:p></p>
<div class=MsoNormal align=center style='text-align:center'>
<hr size=2 width="100%" noshade style='color:#ACA899' align=center>
</div>
<p style='margin-bottom:12.0pt'><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:#400080'>Selene Platt<br>
Site Developer, QVC.com<br>
selene.platt@qvc.com<br>
484-701-8173</span> <br>
<br>
<o:p></o:p></p>
<table class=MsoNormalTable border=0 cellpadding=0 width="100%"
style='width:100.0%'>
<tr>
<td width="40%" valign=top style='width:40.0%;padding:.75pt .75pt .75pt .75pt'>
<p class=MsoNormal><b><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'>"Andrew
Welch" <andrew.j.welch@gmail.com></span></b><span
style='font-size:7.5pt;font-family:"Arial","sans-serif"'> </span><br>
<span style='font-size:7.5pt;font-family:"Arial","sans-serif"'>Ext: </span><br>
<span style='font-size:7.5pt;font-family:"Arial","sans-serif"'>Sent by:
talk-bounces@x-query.com</span> <o:p></o:p></p>
<p><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'>04/13/2008
05:42 AM</span> <o:p></o:p></p>
</td>
<td width="59%" valign=top style='width:59.0%;padding:.75pt .75pt .75pt .75pt'>
<table class=MsoNormalTable border=0 cellpadding=0 width="100%"
style='width:100.0%'>
<tr>
<td valign=top style='padding:.75pt .75pt .75pt .75pt'>
<p class=MsoNormal align=right style='text-align:right'><span
style='font-size:7.5pt;font-family:"Arial","sans-serif"'>To</span><o:p></o:p></p>
</td>
<td valign=top style='padding:.75pt .75pt .75pt .75pt'>
<p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'>"Kevin
Grover" <kevin@kevingrover.net></span> <o:p></o:p></p>
</td>
</tr>
<tr>
<td valign=top style='padding:.75pt .75pt .75pt .75pt'>
<p class=MsoNormal align=right style='text-align:right'><span
style='font-size:7.5pt;font-family:"Arial","sans-serif"'>cc</span><o:p></o:p></p>
</td>
<td valign=top style='padding:.75pt .75pt .75pt .75pt'>
<p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'>talk@x-query.com,
seleneplatt@comcast.net</span> <o:p></o:p></p>
</td>
</tr>
<tr>
<td valign=top style='padding:.75pt .75pt .75pt .75pt'>
<p class=MsoNormal align=right style='text-align:right'><span
style='font-size:7.5pt;font-family:"Arial","sans-serif"'>Subject</span><o:p></o:p></p>
</td>
<td valign=top style='padding:.75pt .75pt .75pt .75pt'>
<p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'>Re:
[xquery-talk] How to run xquery dynamically on file listing from
directory</span><o:p></o:p></p>
</td>
</tr>
</table>
<p class=MsoNormal><o:p> </o:p></p>
<table class=MsoNormalTable border=0 cellpadding=0>
<tr>
<td valign=top style='padding:.75pt .75pt .75pt .75pt'></td>
<td valign=top style='padding:.75pt .75pt .75pt .75pt'></td>
</tr>
</table>
</td>
</tr>
</table>
<p style='margin-bottom:12.0pt'><br>
<br>
<br>
<tt><span style='font-size:10.0pt'>On 11/04/2008, Kevin Grover
<kevin@kevingrover.net> wrote:</span></tt><span style='font-size:10.0pt;
font-family:"Courier New"'><br>
<tt>> I feel for you on this. It's taken me weeks to figure anything
out.</tt><br>
<tt>> The crux if it is that the 'collection()' function is
implementation</tt><br>
<tt>> dependent.</tt><br>
<tt>></tt><br>
<tt>> I've been trying with saxon for a long while and could not find
any</tt><br>
<tt>> documentation or examples. After many attempts at
searching (Google),</tt><br>
<tt>> and some dumb luck (I searched the main saxon documentation toc
for</tt><br>
<tt>> collection), I found saxon's documentation page:</tt><br>
<tt>></tt><br>
<tt>>
http://www.saxonica.com/documentation/sourcedocs/collections.html</tt><br>
<tt>></tt><br>
<tt>> Still, no examples, but better.</tt><br>
<br>
<tt>For the archives then:</tt><br>
<br>
<tt>http://ajwelch.blogspot.com/2006/11/using-collection-and-saxondiscard.html</tt><br>
<br>
<tt>If you are using Saxon then you may also need to use</tt><br>
<tt>saxon:discard-document() when processing large collections of XML -</tt><br>
<tt>otherwise each one will be held in memory (if that applies to XQuery?)</tt><br>
<br>
<br>
<tt>-- </tt><br>
<tt>Andrew Welch</tt><br>
<tt>http://andrewjwelch.com</tt><br>
<tt>Kernow: http://kernowforsaxon.sf.net/</tt><br>
<tt>_______________________________________________</tt><br>
<tt>talk@x-query.com</tt><br>
<tt>http://x-query.com/mailman/listinfo/talk</tt><br>
<br>
</span><o:p></o:p></p>
<div class=MsoNormal align=center style='text-align:center'>
<hr size=2 width="100%" noshade style='color:#ACA899' align=center>
</div>
<p><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:#400080'>Selene
Platt<br>
Site Developer, QVC.com<br>
selene.platt@qvc.com<br>
484-701-8173</span><o:p></o:p></p>
</div>
</body>
</html>