File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes XML and Related Technologies and the fly likes XML making and output tool Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "XML making and output tool" Watch "XML making and output tool" New topic

XML making and output tool

Tay Thotheolh
Ranch Hand

Joined: Aug 07, 2008
Posts: 84
Hi. Is there any good tool to make xml documents and output them ? I have seen many xml tools but most are too focused on reading and parsing then outputting and writing xml documents and many of the tools that can output and write xml documents are pretty much 'esoteric' and not easy to understand.

I hope I don't need to write my own xml writing and output class since it would eat into my project time but if I need to do it I might try to if there isn't any good xml writing and output classes that are easy to use.
David Newton

Joined: Sep 29, 2008
Posts: 12617

I guess that depends on what you think would make a good tool. I'm not sure which ones you think are "esoteric"; there are any number of Java-based XML libraries that seem to do just fine for people.

Depending on your needs you might find a language that supports builder-style APIs/DSLs easier--but this really depends on what your needs are and what your environment is.
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13027
My first question would be - what is the source of the data you wish to format as XML. Some common formats already have conversion tools. For example the Servingxml toolkit

ServingXML is an open source, Apache 2.0 licensed, framework for flat/XML data transformations. It defines an extensible markup vocabulary for expressing flat-XML, XML-flat, flat-flat, and XML-XML processing in pipelines.

Depending on your data source, you may not have to write much code at all.

David Newton

Joined: Sep 29, 2008
Posts: 12617

Hey, I didn't know about that--I might actually use that this week! Thanks!
I agree. Here's the link:
subject: XML making and output tool
jQuery in Action, 3rd edition