Re: [xml] How to "inline" close-tags?
- From: Michael Ludwig <milu71 gmx de>
- To: xml gnome org
- Subject: Re: [xml] How to "inline" close-tags?
- Date: Fri, 20 Aug 2010 20:33:40 +0200
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]