Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Software that manipulates XML files

 
M Marin
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I am working with a java program that exports data from database as an xml file. I would like to know wheter there is a "ready to use" program, which can manipulate the data in the xml file, so I do not need to develop it myself. The data and structure of the xml file is flexible depending on the fields the user wants to export. Is there a java application that reads any xml file and gives the opportunity to work with it directly with little or no configuration.

Thank you.

M. Marin
 
Paul Clapham
Sheriff
Posts: 21107
32
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sure, there's lots of them... if we remove your requirement that they be Java applications. (Why is that a requirement anyway?) Stylus Studio comes to mind, and XMLSpy from Altova, and I'm sure there's lots more.
 
Jimmy Clark
Ranch Hand
Posts: 2187
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there a java application that reads any xml file and gives the opportunity to work with it directly with little or no configuration.


In terms of your question, it depends on what you mean by ''work." XML is a meta-language for creating markup languages, so there are thousands of them. Each one is different. There is no single tool that can address data processing requirements for all of the existing XML-based languages and those to be created in the future. Basically, the only tools that work with all XML-based languages are editors, e.g. XMLSpy, XML X-Ray, etc., and XML parsers, e.g. Xerces, Crimson, etc.

Also, Java is a name so the first letter should be in upper-case and XML is an acronym so each letter should be in upper-case.
 
Lester Burnham
Rancher
Posts: 1337
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For programmatic manipulation of XMl documents, check out libraries like XOM, JDOM and dom4j.
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13061
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The servingxml toolkit does all sorts of transformations like that.

Bill
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic