[xsl] Re: Peter Desjardins convert HTML to DITA

Subject: [xsl] Re: Peter Desjardins convert HTML to DITA
From: Hoskins & Gretton <hoskgret@xxxxxxxxxxxxxxxx>
Date: Sat, 22 May 2010 12:10:39 -0400
HI, I have adapted the files from IBM for this type of work. See http://www.ibm.com/developerworks/xml/library/x-dita8a/
There were a few problems that I had to fix to get it to run. You may need to use Tidy on the files first, and set the output to xml, rather than xhtml, I think. It's been a while since I did it.
The h2d.xsl for conversion to DITA is a v1.1 styelsheet, with Saxon extensions
<xsl:stylesheet version="1.1"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
xmlns:saxon="http://icl.com/saxon";
extension-element-prefixes="saxon">
You would have to analyze how to rewrite more efficiently in v2.0. If you did it successfully, you might be doing the DITA world a kindness by sharing your conversion.
Regards, Dorothy


Current Thread