Folks,
I've a Java program that creates a XML document on the iSeries using JDOM.
I noticed that the XML when produced does not contain the following line.
<XML Version = "1.0" encoding = "UTF-8">
When looked at JDOM FAQ, it appears that I could use outputter.setEncoding() method to set.
However, when I used this method as outputter.setEncoding("UTF-8"), the program failed compilation as it could not find the method.
Any ideas what I am able to do here. I thought the default encoding and version are produced by JDOM.
I'm using JDOM ver 1.0.
Thanks for your help in advance.
rgds,
Rajesh Anand
Email:Rajesh_anand@ml.com