<div dir="ltr"><div>&nbsp;</div>
<div><br>&nbsp;</div>
<div class="gmail_quote">On Mon, Oct 20, 2008 at 6:08 AM, Yves Forkl <span dir="ltr">&lt;<a href="mailto:Y.Forkl@srz.de">Y.Forkl@srz.de</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div class="Ih2E3d">Ivan Pedruzzi wrote:<br><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">DataDirect XQuery allows to pipe a CSV converter among others.<br>&nbsp;In this particular example the input document has a perfect structure and can be directly piped.<br>
&nbsp;declare option ddtek:serialize &quot;method=CSV:root=list:row=entry&quot;;<br></blockquote><br></div>Thank you very much for this hint.<br><br>However, I am not just copying row-type elements from the input file, but rather summing up the values found in the &quot;quantity&quot; children of the entries, after grouping them by the content of &quot;property1&quot; and &quot;property2&quot; (see the first message in this thread).<br>
<br>I wonder how I could perform this task using the above approach.<br><font color="#888888"><br></font></blockquote>
<div>&nbsp;</div>
<div>
<div>We have blogged the solution here</div>
<div><a href="http://www.xml-connection.com/2008/10/generating-non-xml-files-from-xquery-is.html">http://www.xml-connection.com/2008/10/generating-non-xml-files-from-xquery-is.html</a></div>
<div>&nbsp;</div>
<div>Hope this helps</div>
<div>Ivan</div>
<div><br></div></div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><font color="#888888"><span id=""></span>&nbsp;Yves<br></font></blockquote></div><br></div>