[xquery-talk] Serializing using fn:put()
Vyacheslav Zholudev
vyacheslav.zholudev at gmail.com
Wed Mar 23 09:31:02 PST 2011
Thanks, Michael and Matthias, for the replies!
Out of curiosity, what are the reasons that it's not easily doable in "pure" XQuery?
Vyacheslav
On Mar 23, 2011, at 9:05 AM, Matthias Brantner wrote:
> In Zorba, we have developed a file module for such use cases (e.g. http://www.zorba-xquery.com/doc/zorba-latest/zorba/xqdoc/xhtml/www.zorba-xquery.com_modules_file.html). This module is part of EXPath. Other processors (I know from BaseX) implement it as well.
>
> Best
>
> Matthias
>
>
> On Mar 22, 2011, at 9:11 PM, Vyacheslav Zholudev wrote:
>
>> Hi all,
>>
>> I'm trying to produce multiple documents from a single XQuery. I chose to use fn:put() for this purpose. (is there a better way?)
>> However, an XQuery processor (Saxon) puts an XML declaration "<?xml version="1.0" encoding="UTF-8"?>".
>>
>> Is there a way to avoid this? (since the result is not XML). I guess it's implementation-specific, or isn't it?
>>
>> Thanks!!!
>>
>> Best,
>> Vyacheslav
>>
>>
>>
>> _______________________________________________
>> talk at x-query.com
>> http://x-query.com/mailman/listinfo/talk
>
Best,
Vyacheslav
More information about the talk
mailing list