On 27/04/07, Andy Grove <[EMAIL PROTECTED]> wrote:


Hi Caroline,

If I call xmlHelper->save(doc) I just get the prolog e.g. "<?xml
version="1.0" encoding="UTF-8"?>" and no content. I've tried with a
couple of different input documents and I have also confirmed that I do
get an exception if the input document doesn't exist.



I've had this happen too, and it was because the document wasn't valid
against the schema. The symptoms were as you describe. In my case (
http://www.mail-archive.com/[email protected]/msg10937.html) the
circumstances were a bit different, but probably something is amiss with
your input and libxml2 isn't kind enough to tell you.

Can you try pushing them through an XML validator?
--
Caroline

Reply via email to