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
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 _=
2 matches
Mail list logo