[xml] How to "inline" close-tags?
- From: Mark Bulas <darthbulas gmail com>
- To: xml gnome org
- Subject: [xml] How to "inline" close-tags?
- Date: Fri, 20 Aug 2010 10:47:01 -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>" - but can't seem to get it to happen. Tried using xmlDocDumpFormatMemoryEnc(), and xmlSaveToBuffer()/xmlSaveDoc() with XML_SAVE_NO_EMPTY, but both methods are outputting the second example above.
Any tips?
Thanks in advance,
--- Mark ---
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]