Does anyone have an idea of how i can generate .java file from xml file? Tools like 
jakrata digester, JOX are there but both of them are useful in populating java beans 
from xml. My requirement is to generate .java file from .xml with getters and setters 
methods for xml elements/attributes. I also tried JAXB. But JAXB generates bunch of 
files and most of them are interfaces, which is not going to work for me. 
 
For e.g. i have following xml file and i want to generate Address.java file with 
getters/setters. Any ideas? 
<?xml version='1.0' encoding='UTF-8' ?>
 <Address>
    <FirstName type="String"/>
    <PoBox type="int"/>
..............
</Address>
 
 
Thanks,
Vicky




---------------------------------
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing

Reply via email to