[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: Current date?
-----BEGIN PGP SIGNED MESSAGE----- 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 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@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 -----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-----
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]