aspose 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
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Reply 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://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: creating huge xml file using xmlbeans
 
Similar Threads
Java-XML Binding with Facet Enforcement
Parsing CDATA using JAXB.
XmlBeans
XmlBeans - Creating an XSD from an XML file
converting xml tag elements