[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: LinuxDoc -> DocBook conversion tools
Hmm...I had thought of writing a set of scripts to clean up the HTML, then
identify the places where I would substitute the appropriate HTML tags for
SGML tags, and iteratively move the docset closer and closer to DocBook. I
had found an html2sgml perl script that'll get me from HTML -> LinuxDoc
(though it needs some work).
I figured if I could get it to that point, and then translate it from
LinuxDoc -> DocBook, that would solve 80% of it -- the rest will require
manual intervention.
I'm going to look into your suggestion of massaging it into XML and
applying a stylesheet. I'm new to SGML/XML, so I'm still at the bottom third
of my learning curve, but there's enough info on the net and in the O'Reilly
book to get me going.
thanks,
Scott
-----Original Message-----
From: [email protected] [mailto:[email protected]]
Sent: Tuesday, May 02, 2000 1:05 AM
To: Scott Goodwin
Cc: [email protected]
Subject: Re: LinuxDoc -> DocBook conversion tools
[email protected] said:
> ��� I'm looking for a conversion tool that will take LinuxDoc format
> and convert it to DocBook format. �
% sgmltools -b ld2db
The ld2db backend of SGMLtools drives a DSSSL stylesheet that converts
Linuxdoc to Docbook.
> �� I am converting a bunch of HTML docs into DocBook format. If anyone
> has any other suggestions or knows and easier way for me to do this,
> let me know. �
I'd massage the HTML into something XML compliant (sgmlnorm might do the
job),
and then apply an XSL transformation stylesheet.
--
Cees de Groot http://www.cdegroot.com <[email protected]>
http://sgmltools-lite.sourceforge.net/
GnuPG 1024D/E0989E8B 0016 F679 F38D 5946 4ECD 1986 F303 937F E098 9E8B Forge
your CipherSaber and list it: http://www.xs4all.nl/~cg/ciphersaber/
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]