[xquery-talk] Whitespace problem in CSV-like output

Ivan Pedruzzi ivanpedruzzi at gmail.com
Mon Oct 20 12:31:12 PDT 2008


On Mon, Oct 20, 2008 at 6:08 AM, Yves Forkl <Y.Forkl at srz.de> wrote:

> Ivan Pedruzzi wrote:
>
> DataDirect XQuery allows to pipe a CSV converter among others.
>>  In this particular example the input document has a perfect structure and
>> can be directly piped.
>>  declare option ddtek:serialize "method=CSV:root=list:row=entry";
>>
>
> Thank you very much for this hint.
>
> 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).
>
> I wonder how I could perform this task using the above approach.
>
>
 We have blogged the solution here
http://www.xml-connection.com/2008/10/generating-non-xml-files-from-xquery-is.html

Hope this helps
Ivan




>  Yves
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://x-query.com/pipermail/talk/attachments/20081020/e45bbff2/attachment.htm


More information about the talk mailing list