From e30eca72199bfbca53cf2dd21acd836bdc59002f Mon Sep 17 00:00:00 2001 From: Jirka Kosek Date: Mon, 14 Apr 2003 15:22:16 +0000 Subject: [PATCH] Initial support for timestamp PI. From now you can use to get current datetime in your document. More features like localization and exctracting date from CVS tag will follow. --- xsl/common/pi.xsl | 160 ++++++++++++++++++++++++++++++++++++++++ xsl/fo/docbook.xsl | 1 + xsl/html/Makefile.param | 4 +- xsl/html/docbook.xsl | 1 + 4 files changed, 165 insertions(+), 1 deletion(-) create mode 100644 xsl/common/pi.xsl diff --git a/xsl/common/pi.xsl b/xsl/common/pi.xsl new file mode 100644 index 000000000..9a874f038 --- /dev/null +++ b/xsl/common/pi.xsl @@ -0,0 +1,160 @@ + + + + + + + + + + + + + + + + format + + + + + + + c + + + + + + + + padding + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + Timestamp processing requires XSLT processor with EXSLT date support. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + 0 + + + + + + + 0 + + + + 0 + + + + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/xsl/fo/docbook.xsl b/xsl/fo/docbook.xsl index 73c11ec76..187939792 100644 --- a/xsl/fo/docbook.xsl +++ b/xsl/fo/docbook.xsl @@ -31,6 +31,7 @@ + diff --git a/xsl/html/Makefile.param b/xsl/html/Makefile.param index 8fa48e860..ea1e1c5e0 100644 --- a/xsl/html/Makefile.param +++ b/xsl/html/Makefile.param @@ -231,4 +231,6 @@ PARAMS=../params/admon.graphics.xml \ ../params/table.footnote.number.symbols.xml \ ../params/entry.propagates.style.xml \ ../params/glossentry.show.acronym.xml \ - ../params/xref.with.number.and.title.xml + ../params/xref.with.number.and.title.xml \ + ../params/ebnf.assignment.xml \ + ../params/ebnf.statement.terminator.xml diff --git a/xsl/html/docbook.xsl b/xsl/html/docbook.xsl index 5c4d66132..5311c66ad 100644 --- a/xsl/html/docbook.xsl +++ b/xsl/html/docbook.xsl @@ -30,6 +30,7 @@ + -- 2.49.0