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]

Re: XSLT for text files ?(Re: XSL from DocBook refentry-> man)


At 12:49 AM 7/11/01, David Härdeman wrote:

>As a little training I did a (really quick and ugly hack so don't take it too seriously) XSL stylesheet that should produce the correct output for the nologin manpage (which is my testcase right now), the goal would be 'man 7 man' compliance on a Linux box (note, I cleaned this up without checking that the cleaned up version actually works, too far from my XSLT processor right now):

If you are in a java environment, a minor add-on to the stylesheet 
might be the use of line-wrapping. 

The code, from Eric, is xt based and works well.

http://4xt.org/downloads/examples/outputhandlers/formatedtext/

HTH DaveP


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