<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body>
<p>Hello Gary,</p>
A possible way to achieve this is to "break" the XQuery in two
parts.<br>
One to access the Exist BD, and one to process the resulted data.<br>
Then execute the scenarios sequentially, by selecting in the
"Transformation View" or "Transformation Dialog" the desired
scenarios.<br>
<br>
Regards,<br>
Mircea.<br>
<p><br>
</p>
<div class="moz-cite-prefix">On 4/1/2021 1:14 AM, Gary Kopp wrote:<br>
</div>
<blockquote type="cite"
cite="mid:000001d7267b$461cbb80$d2563280$@runbox.com">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style>@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}div.WordSection1
{page:WordSection1;}</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]-->
<div class="WordSection1">
<p class="MsoNormal">It looks like I need two transformation
scenarios in one execution, and I’m not sure that’s possible,
or if there is another way to accomplish what I need. I want
to execute an XProc script containing a p:xquery step. In the
XQuery step the context will be whatever document I pass as
the XProc source node, which is fine. But within the p:xquery
step I also want to access (in let statements) documents
accessed from the eXist-db datasource defined in oXygen. Such
eXist datasource access normally requires an oXygen
transformation scenario of its own. Can I do this?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">--Gary Kopp<o:p></o:p></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
oXygen-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:oXygen-user@oxygenxml.com">oXygen-user@oxygenxml.com</a>
<a class="moz-txt-link-freetext" href="https://www.oxygenxml.com/mailman/listinfo/oxygen-user">https://www.oxygenxml.com/mailman/listinfo/oxygen-user</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="100">--
Enachescu Mircea, Product Architect
Syncro Soft | oXygen XML
Tel: +1-650-352-1250 ext.212
<a class="moz-txt-link-abbreviated" href="mailto:support@oxygenxml.com">support@oxygenxml.com</a>
<a class="moz-txt-link-freetext" href="http://www.oxygenxml.com">http://www.oxygenxml.com</a>
</pre>
</body>
</html>