This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: ASCII output from XML?
- From: Murray Stokely <murray at FreeBSD dot org>
- To: Dennis Grace <dgrace at us dot ibm dot com>
- Cc: docbook-apps at lists dot oasis-open dot org
- Date: Mon, 01 Apr 2002 16:22:59 -0800
- Subject: Re: DOCBOOK-APPS: ASCII output from XML?
- References: <OFBAAE89B2.184DBD49-ON85256B8F.0001A8C8@pok.ibm.com>
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