OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: Re: DOCBOOK-APPS: ASCII output from XML?


On Mon, Apr 01, 2002 at 06:20:14PM -0600, Dennis Grace wrote:
> I have a writer who needs to be able to provide an ASCII output of a
> document that she's putting into XML for outputs into HTML and PDF. Is
> there a DocBook XSL subset that can do this?

  The easy solution it to have your Makefiles convert the HTML to
ASCII with links, w3m, or similar.

HTML2TXT?=      ${PREFIX}/bin/links
HTML2TXTOPTS?=  -dump ${HTML2TXTFLAGS}

${DOC}.txt: ${DOC}.html
        ${HTML2TXT} ${HTML2TXTOPTS} ${.ALLSRC} > ${.TARGET}


   - Murray


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC