[xquery-talk] Serializing using fn:put()

Matthias Brantner matthias.brantner at 28msec.com
Wed Mar 23 09:05:28 PST 2011

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.



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

More information about the talk mailing list