Re: Missing xml declaration and doctype when using XQuery

2005-04-27 Thread Martin Holmes
Answering my own question, in case anyone else has the same problem: My XQuery was returning this: {f:GetDoc()} If I make it return this: {f:GetDoc()} Then it works. Apparently the container tag is required before the doctype headers will be generated. Chee

Missing xml declaration and doctype when using XQuery

2005-04-27 Thread Martin Holmes
Hi there, I have the following two matches in my pipeline: In the case of the first, I get this at the top of my XHTML output document: http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";> http://www.w3.org/1999/xhtml";> In the ca