[xml] Self terminating tags

Title: Message
Is it possible to create a self-terminating tag?  By that I mean a tag with no data.
For example:
<MyTag attrib1="Hello" attrib2="goodbye" />
Using 2.4.28 of libXML under Windows I can only seem to get something like this:
<MyTag attrib1="Hello" attrib2="goodbye"></MyTag>



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