Re: [basex-talk] Error [FODC0002] when XSL returns sequence

2015-07-28 Thread Christian Grün
Hi Max, Right, the xslt:transform expects the result to be a single, well-formed XML document. However, you can retrieve the transformation result as text and then apply fn:parse-xml-fragment on it: fn:parse-xml-fragment( xslt:transform-text($DATA, $XSL) ) Hope this helps, Christian

[basex-talk] Error [FODC0002] when XSL returns sequence

2015-07-27 Thread Maximilian Gärber
Hi, calling the test-xsl function does not work (might be a bug). I think returning a document fragment from xsl is not forbidden (at least exist-db permits it). The transform itself uses Saxon HE but this seems not related. -- start xqm -- xquery version 3.0; module namespace _=