Hi Jan,
- " return xslt:transform($in, $style)";
Maybe your transformation does not return a single XML document. Did you try xslt:transform-text ?
Running the XQuery in the BaseX GUI does not work, since the GUI only provides support for XLST 1.0. Is there a way to change that?
How do you start the GUI?
Cheers, Christian