> A pragma should work (with version < 8 weeks old)...
Thanks for the pointer, Pierrick, but I was testing Grant's example with a
CVS build only three days old. I can see that the code you cite ought to
ensure that a pragma-specified option is honoured, so presumably the fact
that it isn't means that the Xquery parser isn't forwarding the required
parameter to the method concerned?
The logs show that the the pragma is being correctly parsed at compile time:
2005-08-29 10:11:28,761 [main] DEBUG (LocalXPathQueryService.java
- Setting serialization property from pragma: omit-xml-declaration = no
but all the same no XML declaration appears on the output.
(::pragma exist:serialize omit-xml-declaration=no ::)
let $doc :=
Results in simply