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: Bob Stayton <bobs at sco dot com>
- To: Jirka Kosek <jirka at kosek dot cz>
- Cc: DocBookApps <docbook-apps at lists dot oasis-open dot org>,"docbook-developers at lists dot sourceforge dot net" <docbook-developers at lists dot sourceforge dot net>
- Date: Thu, 3 Apr 2003 01:52:49 -0800
- Subject: Re: [docbook-apps] Standardizing stylesheets PIs (Was: Re: [docbook-apps] Current date?)
- References: <1048863783.1339.0.camel@mi6.local> <3E8ABFF2.3090009@goolo.com> <3E8AC9BC.5090806@enggaard-lausen.dk> <3E8ACD97.C58D169F@kosek.cz>
On Wed, Apr 02, 2003 at 01:46:31PM +0200, Jirka Kosek wrote:
> Rune Enggaard Lausen wrote:
>
> > If you are willing to rely on EXSLT support in the XSLT processor, you
> > could do like I did in our XSL-FO customization layer. It works with
> > Saxon and xsltproc. Don't know about Xalan.
>
> It brings interesting idea to me. What about adding support for some
> timestamp PI into stylesheets. For example one could write something
> like:
>
> <pubdate><?dbtimestamp format="M-D-Y h:m:s"?></pubdate>
>
> or
>
> <releaseinfo>This document was generated at
> <?dbtimestamp?></releaseinfo>
>
> and stylesheet will take care of expanding <?dbtimestamp into correct
> value according to format specifier. Placing timestamp into document is
> commonly requested feature so it might be usefull to have it
> standardized and don't force users to investigate their ad-hoc
> solutions.
>
> Norm what do you think about this idea?
>
> It reminds me also another commonly requested feature. Although it is
> not good from pure semantical point of view, one is time to time forced
> to place manual line-break or page-break into document. Wouldn't be
> reasonable to standardize PIs for this also?
>
> What other folks and stylesheet developers (I'm CCing this message)
> think? I can take care of implementing these new PIs and also write some
> documentaion which will summarize all PIs supported by stylesheets.
I think this is a great idea, and would prove very
useful to many people.
--
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications voice: (831) 427-7796
The SCO Group fax: (831) 429-1887
email: bobs at sco dot com
---------------------------------------------------------------------
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