Need closing element name
Solved
General and Desktop
-
When I use QXmlStreamWriter, I can start an element with writeStartElement which will the name of the starting element. If I have no children under this element then when I close it with writeEndElement it just puts a slash on the starting element. An example below.
If there is a child:<test> <value/> </test>
if there is no child
<test/>
What I would like:
<test> </test>
-
Then you have to create your xml by yourself. Since there is no semantic difference between those two there is no need to provide an option for the latter.
-
That is what I thought. Thanks for the confirmation.
-