File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes XML and Related Technologies and the fly likes creating huge xml file using xmlbeans Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "creating huge xml file using xmlbeans" Watch "creating huge xml file using xmlbeans" New topic
Author

creating huge xml file using xmlbeans

manish ahuja
Ranch Hand

Joined: Oct 23, 2003
Posts: 312
Hi All

I am using xmlbeans to fetch data. I have created the xsd of how the data we need. The sender application sends us the xml adhering to the specified xsd.

Now I need to send data to another application. I am planning to use xmlbeans here. The external app has specified the xsd according to which we have to send the xml.
I have scratched XMLBeans a bit & know the java file which xmlbeans implicitly creates from the xsd has the specified setter methods.
So i can invoke these setter methods & create an xml file from xmlbeans.

Since the resultset which I am gonna fetch will be huge. I will have to do something like xmlbeans.setXXElement(resultset.get()).

What I want to acheive is there someway where I can map the columns of the fetched resultset with the XMLBeans methods.
Is there someway I can make use of the column names or resultsetmeta data & match with the xml tags

Regards
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: creating huge xml file using xmlbeans