I have a question about Java XMLBeans. I want to include the following declaration at the beginning of the XML file:
<?xml version="1.0" encoding="UTF-8"?>
Is there a way to do this natively using XMLBeans? The above can always be concatenated as String for xml content, but this is ugly.
Thanks!
source share