From: Dave Baldwin Date: 2011-12-08T22:16:20+09:00 Subject: Re: HTML to XML Not familiar with DITA, but have a look at builder. http://www.xml.com/pub/a/2006/01/04/creating-xml-with-ruby-and-builder.html Dave. On 8 Dec 2011, at 12:57, Wayne Brissette wrote: > I'm getting ready to try converting one of my behemoth AppleScripts to Ruby. This particular script is a custom HTML to DITA XML script that takes HTML generated from one of our SW tools at work and converts them to DITA XML for the writing group. I started playing around with nokogiri, which looks promising for the parsing part. My question is am I going to have to rewrite the XML output part or is there another tool that might be helpful? (FYI, for those not familiar with DITA, it's not as easy as just swapping tags out, there are a lot of things that also have to be done, especially with tables and row spans). > > Wayne