OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: Re: Current date?

Hash: SHA1

/ "Scott Shepard" <scottdavidshepard@hotmail.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

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

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,

- -- 
Norman Walsh <ndw@nwalsh.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
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.7 <http://mailcrypt.sourceforge.net/>


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]