Sorry, mea culpa: even though I looked and looked and looked, I didn't look hard enough: I had the namespace URL incorrect. I had an extra /.<br><br>It all works was expected. Of course, I figured this out trying to come up with a minimal example. I should have done that up front, but the machine I was using was not connected to the Internet and I only had limited access to it.<br>
<br>Sorry for the false report.<br><br><div class="gmail_quote">On Thu, Jan 15, 2009 at 12:06 AM, Andrew Welch <span dir="ltr"><<a href="mailto:andrew.j.welch@gmail.com">andrew.j.welch@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Can you provide a small, complete runnable example which demonstrates<br>
the problem? For example, does this do it:<br>
<div class="Ih2E3d"><br>
declare namespace saxon = "<a href="http://saxon.sf.net/" target="_blank">http://saxon.sf.net/</a>";<br>
declare option saxon:output "method=text";<br>
<br>
</div>'a'<br>
<br>
Also run it with the -t option which will show you which version of<br>
Saxon you are using.<br>
<br>
cheers<br>
andrew<br>
<br>
<br>
2009/1/15 Kevin Grover <<a href="mailto:kevin@kevingrover.net">kevin@kevingrover.net</a>>:<br>
<div><div></div><div class="Wj3C7c">> I'm using<br>
><br>
> declare namespace saxon = "<a href="http://saxon.sf.net/" target="_blank">http://saxon.sf.net/</a>";<br>
> declare option saxon:output "method=text";<br>
><br>
> and I'm still getting the xml declaration.<br>
><br>
> I also tried adding<br>
><br>
> declare option saxon:output "omit-xml-declaration=yes";<br>
><br>
> and no joy.<br>
><br>
> However, adding '!method=text' to the command line works. I did some<br>
> googling and notices that this occured between 8.4 and 8.5, but 'was going<br>
> to be fixed soon'.<br>
><br>
> What am I missing?<br>
><br>
> Thanks<br>
><br>
> - Kevin<br>
><br>
><br>
</div></div>> _______________________________________________<br>
> <a href="mailto:talk@x-query.com">talk@x-query.com</a><br>
> <a href="http://x-query.com/mailman/listinfo/talk" target="_blank">http://x-query.com/mailman/listinfo/talk</a><br>
><br>
<font color="#888888"><br>
<br>
<br>
--<br>
Andrew Welch<br>
<a href="http://andrewjwelch.com" target="_blank">http://andrewjwelch.com</a><br>
Kernow: <a href="http://kernowforsaxon.sf.net/" target="_blank">http://kernowforsaxon.sf.net/</a><br>
</font></blockquote></div><br>