0

I need an XML root element like this.

<SYSTEM Version 1.0>
</SYSTEM>

How to do it with @XmlRootElement? I tried this

@XmlRootElement(name = "SYSTEM Version 1.0"), but it creates a closing tag like the one below.

</SYSTEM Version 1.0>

Thanks

Tas
  • 115
  • 3
  • 12
  • Please, take some time to read [how to ask](/help/how-to-ask) and [How to create a Minimal, Reproducible Example](/help/minimal-reproducible-example) – LMC Oct 18 '22 at 00:01

0 Answers0