Subject: Re: [xsl] DocBook to plain text - what do you use? From: Nicolas Mailhot <Nicolas.Mailhot@xxxxxxxxxxx> Date: Wed, 28 Jul 2004 08:47:47 +0200 |
On mar, 2004-07-27 at 23:23 -0500, Paul DuBois wrote: > The DocBook XSL stylesheets can produce FO, HTML, XHTML, ... but > I'm wondering: What's a good way to produce plain text? > > My searches thus far turn up things like sgmltools-lite and docbook2X, > but I'm interested in XML DocBook, not SGML DocBook, and I prefer not > to use something that requires Jade or DSSSL. > > One option is to use the DocBook stylesheets to produce HTML, then > run that through lynx -dump to generate plain text. Are there other > useful approaches? What do *you* do? If I had to do it once that'd be HTML + lynx -dump. For anything more repetitive I'd write a custom XSLT stylesheet - outputing plain text seems a lot easier than the transforms the current stylesheets do now. Of course, that depends on your xslt experience and the time you can allocate. If you need a good control of the outputed text nothing will beat an XSL IMHO. Regards, -- Nicolas Mailhot
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] DocBook to plain text - what , Paul DuBois | Thread | Re: [xsl] DocBook to plain text - w, Paul DuBois |
RE: [xsl] Merging and sorting multi, Herve Dubreuil | Date | RE: [xsl] Merging and sorting multi, Herve Dubreuil |
Month |