Writing XML DOM Document - empty tag

K

Krzysztof Nogal

Hello,

I have following Problem:
I am writing DOM XML Document with usage of Transformer. It runs ok and
produces correct XML file. But I would like the writer to write empty
elements following way:

<element></element>
instead of:
<element />

Is it possible? How can I achieve that? I searched among all
OutputProperties for an option to do that but no result. Any tips?

TIA

Regards,
Krzysztof Nogal
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,756
Messages
2,569,540
Members
45,025
Latest member
KetoRushACVFitness

Latest Threads

Top