File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "XML making and output tool" Watch "XML making and output tool" New topic
Author

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
Author
Rancher

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
Rancher

Joined: Mar 22, 2000
Posts: 12761
    
    5
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.

Bill
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Hey, I didn't know about that--I might actually use that this week! Thanks!
 
 
subject: XML making and output tool
 
Similar Threads
fail to understand XML mystry
Object persistance causing OutOfMemoryError
How to build xml document from Database
What do I need to start xml development?
Which parser to choose DOM or SAX?