This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: XSL from DocBook refEntry -> man
- To: David Hardeman <david at 2gen dot com>
- Subject: Re: DOCBOOK-APPS: XSL from DocBook refEntry -> man
- From: "Rafael R. Sevilla" <sevillar at team dot ph dot inter dot net>
- Date: Tue, 10 Jul 2001 10:38:05 +0800 (PHT)
- Cc: docbook-apps at lists dot oasis-open dot org
On Mon, 9 Jul 2001, David Hardeman wrote:
> On Mon, Jul 09, 2001 at 09:09:40AM +0200, Jirka Kosek wrote:
> > > any XSL stylesheets to convert refEntry DocBook documents to man pages?
> >
> > Look at http://docbook2x.sf.net
>
> Yes, but those tools were perl tools as far as I could understand, I'm
> looking for "true" XSL stylesheets (thinking about writing them
> myself, just want to make sure that no such sheets already exist
> first)
>
You can't use XSL stylesheets to generate man pages, not without a lot of
klugery anyhow. XSLT is designed to transform XML documents into other
XML documents, and any attempt to make XSLT generate non-XML output is
extremely troublesome, and in some cases XSLT will not allow you to make
certain output constructions that you need to do because they violate the
rules of XML.
--
Rafael R. Sevilla <sevillar@team.ph.inter.net> +63(2) 8177746 ext. 8311
Programmer, InterdotNet Philippines +63(917) 4458925
http://dido.engr.internet.org.ph/
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GAT d- s:- a- C++++ UL+++ P+++ L+++ E++ W++ N+ o K- w---
O- M-- V- PS+ PE Y+ PGP++ t+ 5 X+ R tv+ b+++ DI++ D+
G e++ h! r++ y+
------END GEEK CODE BLOCK------