This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] Standardizing stylesheets PIs (Was: Re: [docbook-apps]Current date?)
- From: Jirka Kosek <jirka at kosek dot cz>
- To: Jens Stavnstrup <js at ddre dot dk>
- Cc: DocBookApps <docbook-apps at lists dot oasis-open dot org>
- Date: Thu, 03 Apr 2003 15:36:59 +0200
- Subject: Re: [docbook-apps] Standardizing stylesheets PIs (Was: Re: [docbook-apps]Current date?)
- References: <Pine.LNX.4.44.0304031505270.19210-100000@ares.ddre.dk>
Jens Stavnstrup wrote:
ahaed. I would think it would be to complicated to parse the format
specifier using XSLT.
It is quite easy. You must inspect character by character and if it is
format specifier then replace it with appropriate value. Similar
approach is used on several other places in stylesheets. For example
replacing %g, %n, %t, %p in gentext templates.
Jirka
--
-----------------------------------------------------------------
Jirka Kosek
e-mail: jirka at kosek dot cz
http://www.kosek.cz
---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe at lists dot oasis-open dot org
For additional commands, e-mail: docbook-apps-help at lists dot oasis-open dot org