Subject: Re: [docbook] Few DocBook queries and DSSSL
On Friday 28 September 2007 18:27, Dave Pawson wrote: > linuxguy wrote: > > Hi, I'm not sure if these questions are appropriate in this forum. I'm > > pretty new to DocBook. I understood the concept well. I had a few > > questions. > > > > I'm trying to make a HTML -> DocBook converter. Basically, it will take > > an HTML file and try to generate DocBook content. I know it may sounds > > dumb but thats what I'm trying to make. So how do I bring structure ( > > DocBook ) to an unstructured document ( HTML )? > > Try grouping, but use xslt, preferably xslt 2.0? try a google search for Html2DocBook.xsl I think it uses bridgeheads rather than sections and maybe you need to run the html through htmltidy first?