xsl-list
[Top] [All Lists]

[xsl] Re: Peter Desjardins convert HTML to DITA

2010-05-22 11:11:18
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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>