[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Re: Peter Desjardins convert HTML to DITA

Subject: Re: Re: Peter Desjardins convert HTML to DITA
From: Peter Desjardins <peter.desjardins.us@xxxxxxxxx>
Date: Mon, 24 May 2010 12:07:32 -0400
Re:  Re: Peter Desjardins convert HTML to DITA
Hi. Thanks for pointing this out.

I tried using h2d.xsl a few weeks ago and found that it didn't work
very well for my content. I wondered whether it would be more work to
clean up the original HTML and adjust the IBM stylesheet or to write
my own stylesheet.

I want to have fine control over the output XML and the option of
converting to DocBook. I also want to expand my grasp of XSLT. These
have all let me to try to create my own.

Peter


On Sat, May 22, 2010 at 12:10 PM, Hoskins & Gretton
<hoskgret@xxxxxxxxxxxxxxxx> wrote:
> 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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.