This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

creating huge xml file using xmlbeans

 
manish ahuja
Ranch Hand
Posts: 312
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic