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]

[docbook-apps] Re: Current date?


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

/ "Scott Shepard" <scottdavidshepard at hotmail dot com> was heard to say:
| There is something you can put in a docbook-xsl customization layer.
|
| Saxon has extensions you can use to make this happen. Here are two
| site addresses you might find useful:
|
| http://saxon.sourceforge.net/saxon6.5.2/extensions.html#EXSLT
| http://www.exslt.org/date/index.html
|
| I cannot offer any more advise on this. Date/Time features do not seem
| to be a part of the XML/XSLT specifications. So I look to the
| processors for that. But I am very new at this, so there may be
| another, better way.

Nope, that's the way. XSLT 2.0 will have direct support for dates and
times.

As to the question of what you can put in the DocBook document,
there's no support for "today's date". You'll have to use a stylesheet
customization.

Except for some special circumstances, I think dating documents with
the date they were formatted is not very useful. It tends to make two
documents appear to be different even if they were simply formatted on
two different days.

My own approach to the "today's date" versioning problem is to use a
CVS $Date$ somewhere. That way it's automatically updated whenever I
checkin a new version of a document.

Just my two cents.

                                        Be seeing you,
                                          norm

- -- 
Norman Walsh <ndw at nwalsh dot com>      | If there is no struggle there is
http://www.oasis-open.org/docbook/ | no progress. Those who would
Chair, DocBook Technical Committee | profess to favor freedom and yet
                                   | renounce controversy are people
                                   | who want crops without ploughing
                                   | the field.--Frederick Douglass
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.7 <http://mailcrypt.sourceforge.net/>

iD8DBQE+jUbuOyltUcwYWjsRApErAJ9LTkgfvyhtaT7tLmfKOuz38cJxRACeIQwB
h5vXq4ihylkGtfz7mUEG4ac=
=UZaQ
-----END PGP SIGNATURE-----

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


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