
On Fri, Dec 03, 2004 at 08:46:10AM -0500, Joshua Hutchinson wrote:
I'm curious to see if your script can handle tables. That is our current biggest bugaboo when it comes to transforming to PG TXT format.
My DTD doesn't mention them (yet?). It focuses mainly on the French books of the ebooksgratuits site. I guess it can very easily be injected in a more complete DTD (TEI, Docbook, whatever). I already did Perl (not XSLT!) translations of XML tables (Docbook, for example) to other formats (HTML: easy; LaTeX: harder...; TXT: w3m -dump of the HTML version is usually good enough) for other projects. I heard there were now Perl modules able to deal with XML and XSLT so it should be even easier to take care of. XSLT-style of programming is not for me... How complex are your tables and what do you need to do with them? Any example of (input, output desired, and constraints [API, language...] of the transformation)?