<div dir="ltr"><div> </div>
<div><br> </div>
<div class="gmail_quote">On Mon, Oct 20, 2008 at 6:08 AM, Yves Forkl <span dir="ltr"><<a href="mailto:Y.Forkl@srz.de">Y.Forkl@srz.de</a>></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> In this particular example the input document has a perfect structure and can be directly piped.<br>
declare option ddtek:serialize "method=CSV:root=list:row=entry";<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 "quantity" children of the entries, after grouping them by the content of "property1" and "property2" (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> </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> </div>
<div>Hope this helps</div>
<div>Ivan</div>
<div><br></div></div>
<div> </div>
<div> </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> Yves<br></font></blockquote></div><br></div>