[xquery-talk] Serializing using fn:put()
mike at saxonica.com
Tue Mar 22 21:20:31 PST 2011
Sadly, fn:put provides no control over serialization options.
You could consider using the Saxon extension function
(However, the constraint inherited from XSLT that it can't be called
while evaluating a function may be a bit restrictive. You might be
better off using XSLT for this job...)
On 22/03/2011 20:11, 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
> Is there a way to avoid this? (since the result is not XML). I guess
> it's implementation-specific, or isn't it?
> talk at x-query.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the talk