[xml] xmlwriter and writing canonicalized

Hi ,Â

I m using libxml 2.7.1 on LinuxÂ

I am using theÂxmlTextWriterStartElement APIÂ

xmlTextWriterStartElement(writer, BAD_CAST "Foo")
Write Sub ElementÂ

I find that in some cases when the if(..) evaluates to false the subelement is not writtenÂ
and the outer element Foo is written out asÂ


Is there a way I can force this to always write this asÂ

even if there is no data ?Â

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]