Mike Perham

On Ruby, software and the Internet

Ruby, Rails and XFDL

March 5th, 2008 · No Comments

Brian writes:

My open-source web application will need to submit information to a URL in IBM xfdl format.  Is this possible with currently available tools?

In a word, absolutely.  There’s no XFDL “native” support that I know of but I’m guessing that XFDL is just another XML standard.  In this case, Ruby can create arbitrary XML with the builder library.  You should be able to build your XML document with builder and submit it to the website with Ruby’s standard support for HTTP.  Here’s a good introduction: http://www.xml.com/pub/a/2006/01/04/creating-xml-with-ruby-and-builder.html

Good luck!

Tags: Ruby

0 responses so far ↓

  • There are no comments yet...Kick things off by filling out the form below.

Leave a Comment