On Wednesday 07 October 2009 13:07:41 you wrote:
> Use xmlTextWriterStartElement or xmlTextWriterStartElementNS with
> xmlTextWriterFullEndElement
Thanks! Unfortunately, I still get the same result.

Here's the smallest code to reproduce:
    writer = xmlNewTextWriterDoc( &doc, 0 );
    xmlTextWriterStartDocument( writer, NULL, "UTF-8", NULL );
    xmlTextWriterStartElement( writer, BAD_CAST "element" );
    xmlTextWriterFullEndElement( writer );
    xmlTextWriterEndDocument( writer );
    xmlSaveFile( "-", doc );

Any other suggestions?

-- 
Yours sincerely,
 TOP-TOY A/S
 Martin Olsen, IT-Systemdeveloper
 Telephone   +45 4616 3710
 Facsimile   +45 4616 3681
All information in this e-mail and all transactions are subject to 
TOP-TOY's standard terms and conditions: 
http://www2.top-toy.com/Start?SuccTPL=legal_notice
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
[email protected]
http://mail.gnome.org/mailman/listinfo/xml

Reply via email to