This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]