Mark Bulas schrieb am 20.08.2010 um 10:47 (-0400):
> I'm trying to get libxml to output xml without separate close-tags - I
> want "<element attr="1" />" instead of the apparent default "<element
> attr="1"></element>"

I don't know the C API, but the default serialization of the API for
Perl and PHP does not produce separate closing tags. Same story for
xmllint, so you could take a look at the source code of the xmllint
tool, which does not produce separate closing tags either.

-- 
Michael Ludwig
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
[email protected]
http://mail.gnome.org/mailman/listinfo/xml

Reply via email to