Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-04-2007, 10:18 AM
Senior Member
 
Join Date: Jun 2007
Posts: 130
Jack is on a distinguished road
add a xml document
I would like to know what are JAVA frameworks for update and query an XML document?

thanks.
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 07-04-2007, 10:19 AM
Ed Ed is offline
Senior Member
 
Join Date: Jun 2007
Posts: 110
Ed is on a distinguished road
JDOM, any XSLT processor like Xalan.

What might be more interesting is what you want to do. If you really want to create an XML document from another XML document with selections and filtering, I would go with an XSLT processor. Inserting nodes is probably better done with something like JDOM.
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 07-04-2007, 10:21 AM
Senior Member
 
Join Date: Jun 2007
Posts: 164
Heather is on a distinguished road
If you want to add nodes in an object-oriented way JDOM is the best. Sure the whole document is in memory but what do you expect? Object = something in memory ;-)

In case you need some java binding, objects that are mapped to xml and back, try castor or jaxb. But this is memory expensive too.
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Building a document from a DOM Java Tip Java Tips 0 01-03-2008 10:22 AM
Need help with Document interface cbalu AWT / Swing 1 12-01-2007 12:03 AM
Personal Document Manager 0.6 JavaBean Java Announcements 0 08-11-2007 11:43 PM
Parsed Document nick211001 New To Java 1 07-29-2007 02:53 AM
load a document to the server Heather JavaServer Pages (JSP) and JSTL 2 06-29-2007 03:08 PM


All times are GMT +3. The time now is 11:26 AM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org