Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

XML making and output tool

 
Tay Thotheolh
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13062
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey, I didn't know about that--I might actually use that this week! Thanks!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic