chepseskaf
chepseskaf

Reputation: 664

How to write empty element with StAX?

I'm using StAX in order to write an XML document but I can't find how to write the empty elements XML. I would like to write <element/> instead of <element></element>.

Upvotes: 1

Views: 1503

Answers (1)

Related Questions