[exslt] Fixes for 'date and time' extension

Michael Kefeder ml at weird-birds.org
Sun Aug 22 03:17:15 MDT 2004


Hi List

I'm using xsltproc (http://www.xmlsoft.org/) and saw that there are a 
few flaws in your date package:

- The namespace URI is invalid, error-message:

date_orig/functions/duration/date.duration.xsl:2: parser warning : 
xmlns:date: 'http://exslt.org/dates and times' is not avalid URI
:func="http://exslt.org/functions" xmlns:date="http://exslt.org/dates 
and times"

- extracted from the date.zip package there are 2 files trying to import 
files from the string package (i simply removed the import elements - 
didn't seem to have a negative effect, but keep in mind that i only use 
a few templates of the date package)

- xsltproc doesn't like it when import elements appear in the middle of 
the sheet:

compilation error: file 
date_orig/functions/format-date/date.format-date.xsl line 5 element import
xsltParseStylesheetTop: ignoring misplaced import element


Attached to this email is the diff of my changes to make it work with 
xsltproc. I converted all files to DOS line endings, even though not all 
files were in DOS format originally (i like to keep things consistent). 
Working means that there are no errors or warnings - i did not verify if 
all functions really work, i think there's a dependency to exslt string 
extensions for some functions, although the xsl transformer should 
theoretically scream if there's a template or function that it doesn't 
know, which it does not...


A problem i wasn't able to fix is - the date extension does not work 
with sablotron (http://www.gingerall.com), here's the error-message from 
the sabcmd tool:

Error [code:74] 
[URI:file:///home/mike/exsltest/date/functions/date/date.date.function.xsl] 
[line:10] [node:element'<func:function>']
   extension element 'func:function' not supported


I hope you can successfully apply the patch without breaking support for 
other xsl transformers. It would be nice if somebody has a hint about 
how to fix the error with sablotron, because sablotron has javascript 
support (xsltproc does not), which may makes the functions of the date 
extension work, which would be great.

  Mike
-------------- next part --------------
diff -ur date_orig/date.xsl date/date.xsl
--- date_orig/date.xsl	2003-10-20 14:31:12.000000000 +0200
+++ date/date.xsl	2004-08-22 10:43:06.362281880 +0200
@@ -1,30 +1,30 @@
-<?xml version="1.0" encoding="utf-8"?>
-<stylesheet xmlns="http://www.w3.org/1999/XSL/Transform" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:date="http://exslt.org/Dates and Times" version="1.0" extension-element-prefixes="date" date:doc="http://www.exslt.org/date">
-   <import href="functions/date-time/date.date-time.xsl"/>
-   <import href="functions/date/date.date.xsl"/>
-   <import href="functions/time/date.time.xsl"/>
-   <import href="functions/year/date.year.xsl"/>
-   <import href="functions/leap-year/date.leap-year.xsl"/>
-   <import href="functions/month-in-year/date.month-in-year.xsl"/>
-   <import href="functions/month-name/date.month-name.xsl"/>
-   <import href="functions/month-abbreviation/date.month-abbreviation.xsl"/>
-   <import href="functions/week-in-year/date.week-in-year.xsl"/>
-   <import href="functions/day-in-year/date.day-in-year.xsl"/>
-   <import href="functions/day-in-month/date.day-in-month.xsl"/>
-   <import href="functions/day-of-week-in-month/date.day-of-week-in-month.xsl"/>
-   <import href="functions/day-in-week/date.day-in-week.xsl"/>
-   <import href="functions/day-name/date.day-name.xsl"/>
-   <import href="functions/day-abbreviation/date.day-abbreviation.xsl"/>
-   <import href="functions/hour-in-day/date.hour-in-day.xsl"/>
-   <import href="functions/minute-in-hour/date.minute-in-hour.xsl"/>
-   <import href="functions/second-in-minute/date.second-in-minute.xsl"/>
-   <import href="functions/format-date/date.format-date.xsl"/>
-   <import href="functions/parse-date/date.parse-date.xsl"/>
-   <import href="functions/week-in-month/date.week-in-month.xsl"/>
-   <import href="functions/difference/date.difference.xsl"/>
-   <import href="functions/add/date.add.xsl"/>
-   <import href="functions/add-duration/date.add-duration.xsl"/>
-   <import href="functions/sum/date.sum.xsl"/>
-   <import href="functions/seconds/date.seconds.xsl"/>
-   <import href="functions/duration/date.duration.xsl"/>
+<?xml version="1.0" encoding="utf-8"?>
+<stylesheet xmlns="http://www.w3.org/1999/XSL/Transform" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:date="http://exslt.org/dates%20and%20times" version="1.0" extension-element-prefixes="date" date:doc="http://www.exslt.org/date">
+   <import href="functions/date-time/date.date-time.xsl"/>
+   <import href="functions/date/date.date.xsl"/>
+   <import href="functions/time/date.time.xsl"/>
+   <import href="functions/year/date.year.xsl"/>
+   <import href="functions/leap-year/date.leap-year.xsl"/>
+   <import href="functions/month-in-year/date.month-in-year.xsl"/>
+   <import href="functions/month-name/date.month-name.xsl"/>
+   <import href="functions/month-abbreviation/date.month-abbreviation.xsl"/>
+   <import href="functions/week-in-year/date.week-in-year.xsl"/>
+   <import href="functions/day-in-year/date.day-in-year.xsl"/>
+   <import href="functions/day-in-month/date.day-in-month.xsl"/>
+   <import href="functions/day-of-week-in-month/date.day-of-week-in-month.xsl"/>
+   <import href="functions/day-in-week/date.day-in-week.xsl"/>
+   <import href="functions/day-name/date.day-name.xsl"/>
+   <import href="functions/day-abbreviation/date.day-abbreviation.xsl"/>
+   <import href="functions/hour-in-day/date.hour-in-day.xsl"/>
+   <import href="functions/minute-in-hour/date.minute-in-hour.xsl"/>
+   <import href="functions/second-in-minute/date.second-in-minute.xsl"/>
+   <import href="functions/format-date/date.format-date.xsl"/>
+   <import href="functions/parse-date/date.parse-date.xsl"/>
+   <import href="functions/week-in-month/date.week-in-month.xsl"/>
+   <import href="functions/difference/date.difference.xsl"/>
+   <import href="functions/add/date.add.xsl"/>
+   <import href="functions/add-duration/date.add-duration.xsl"/>
+   <import href="functions/sum/date.sum.xsl"/>
+   <import href="functions/seconds/date.seconds.xsl"/>
+   <import href="functions/duration/date.duration.xsl"/>
 </stylesheet>
\ No newline at end of file
diff -ur date_orig/functions/add/date.add.xsl date/functions/add/date.add.xsl
--- date_orig/functions/add/date.add.xsl	2003-10-20 14:31:52.000000000 +0200
+++ date/functions/add/date.add.xsl	2004-08-22 10:43:06.183309088 +0200
@@ -1,7 +1,7 @@
-<?xml version="1.0" encoding="utf-8"?>
-<stylesheet xmlns="http://www.w3.org/1999/XSL/Transform" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:func="http://exslt.org/functions" xmlns:date="http://exslt.org/dates and times" version="1.0" extension-element-prefixes="date" date:doc="http://www.exslt.org/date">
-   <import href="date.add.function.xsl"/>
-   <import href="date.add.template.xsl"/>
-   <func:script language="exslt:javascript" implements-prefix="date" src="date.js"/>
-   <func:script language="exslt:msxsl" implements-prefix="date" src="date.msxsl.xsl"/>
+<?xml version="1.0" encoding="utf-8"?>
+<stylesheet xmlns="http://www.w3.org/1999/XSL/Transform" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:func="http://exslt.org/functions" xmlns:date="http://exslt.org/dates%20and%20times" version="1.0" extension-element-prefixes="date" date:doc="http://www.exslt.org/date">
+   <import href="date.add.function.xsl"/>
+   <import href="date.add.template.xsl"/>
+   <func:script language="exslt:javascript" implements-prefix="date" src="date.js"/>
+   <func:script language="exslt:msxsl" implements-prefix="date" src="date.msxsl.xsl"/>
 </stylesheet>
\ No newline at end of file
diff -ur date_orig/functions/add-duration/date.add-duration.xsl date/functions/add-duration/date.add-duration.xsl
--- date_orig/functions/add-duration/date.add-duration.xsl	2003-10-20 14:31:54.000000000 +0200
+++ date/functions/add-duration/date.add-duration.xsl	2004-08-22 10:43:06.220303464 +0200
@@ -1,7 +1,7 @@
-<?xml version="1.0" encoding="utf-8"?>
-<stylesheet xmlns="http://www.w3.org/1999/XSL/Transform" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:func="http://exslt.org/functions" xmlns:date="http://exslt.org/dates and times" version="1.0" extension-element-prefixes="date" date:doc="http://www.exslt.org/date">
-   <import href="date.add-duration.function.xsl"/>
-   <import href="date.add-duration.template.xsl"/>
-   <func:script language="exslt:javascript" implements-prefix="date" src="date.js"/>
-   <func:script language="exslt:msxsl" implements-prefix="date" src="date.msxsl.xsl"/>
+<?xml version="1.0" encoding="utf-8"?>
+<stylesheet xmlns="http://www.w3.org/1999/XSL/Transform" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:func="http://exslt.org/functions" xmlns:date="http://exslt.org/dates%20and%20times" version="1.0" extension-element-prefixes="date" date:doc="http://www.exslt.org/date">
+   <import href="date.add-duration.function.xsl"/>
+   <import href="date.add-duration.template.xsl"/>
+   <func:script language="exslt:javascript" implements-prefix="date" src="date.js"/>
+   <func:script language="exslt:msxsl" implements-prefix="date" src="date.msxsl.xsl"/>
 </stylesheet>
\ No newline at end of file
diff -ur date_orig/functions/date/date.date.xsl date/functions/date/date.date.xsl
--- date_orig/functions/date/date.date.xsl	2003-10-20 14:31:20.000000000 +0200
+++ date/functions/date/date.date.xsl	2004-08-22 10:43:05.110472184 +0200
@@ -1,7 +1,7 @@
-<?xml version="1.0" encoding="utf-8"?>
-<stylesheet xmlns="http://www.w3.org/1999/XSL/Transform" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:func="http://exslt.org/functions" xmlns:date="http://exslt.org/dates and times" version="1.0" extension-element-prefixes="date" date:doc="http://www.exslt.org/date">
-   <import href="date.date.function.xsl"/>
-   <import href="date.date.template.xsl"/>
-   <func:script language="exslt:javascript" implements-prefix="date" src="date.js"/>
-   <func:script language="exslt:msxsl" implements-prefix="date" src="date.msxsl.xsl"/>
+<?xml version="1.0" encoding="utf-8"?>
+<stylesheet xmlns="http://www.w3.org/1999/XSL/Transform" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:func="http://exslt.org/functions" xmlns:date="http://exslt.org/dates%20and%20times" version="1.0" extension-element-prefixes="date" date:doc="http://www.exslt.org/date">
+   <import href="date.date.function.xsl"/>
+   <import href="date.date.template.xsl"/>
+   <func:script language="exslt:javascript" implements-prefix="date" src="date.js"/>
+   <func:script language="exslt:msxsl" implements-prefix="date" src="date.msxsl.xsl"/>
 </stylesheet>
\ No newline at end of file
diff -ur date_orig/functions/date-time/date.date-time.xsl date/functions/date-time/date.date-time.xsl
--- date_orig/functions/date-time/date.date-time.xsl	2003-10-20 14:31:16.000000000 +0200
+++ date/functions/date-time/date.date-time.xsl	2004-08-22 10:43:05.078477048 +0200
@@ -1,5 +1,5 @@
-<?xml version="1.0" encoding="utf-8"?>
-<stylesheet xmlns="http://www.w3.org/1999/XSL/Transform" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:func="http://exslt.org/functions" xmlns:date="http://exslt.org/dates and times" version="1.0" extension-element-prefixes="date" date:doc="http://www.exslt.org/date">
-   <func:script language="exslt:javascript" implements-prefix="date" src="date.js"/>
-   <func:script language="exslt:msxsl" implements-prefix="date" src="date.msxsl.xsl"/>
+<?xml version="1.0" encoding="utf-8"?>
+<stylesheet xmlns="http://www.w3.org/1999/XSL/Transform" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:func="http://exslt.org/functions" xmlns:date="http://exslt.org/dates%20and%20times" version="1.0" extension-element-prefixes="date" date:doc="http://www.exslt.org/date">
+   <func:script language="exslt:javascript" implements-prefix="date" src="date.js"/>
+   <func:script language="exslt:msxsl" implements-prefix="date" src="date.msxsl.xsl"/>
 </stylesheet>
\ No newline at end of file
diff -ur date_orig/functions/day-abbreviation/date.day-abbreviation.xsl date/functions/day-abbreviation/date.day-abbreviation.xsl
--- date_orig/functions/day-abbreviation/date.day-abbreviation.xsl	2003-10-20 14:31:44.000000000 +0200
+++ date/functions/day-abbreviation/date.day-abbreviation.xsl	2004-08-22 10:43:05.945345264 +0200
@@ -1,7 +1,7 @@
-<?xml version="1.0" encoding="utf-8"?>
-<stylesheet xmlns="http://www.w3.org/1999/XSL/Transform" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:func="http://exslt.org/functions" xmlns:date="http://exslt.org/dates and times" version="1.0" extension-element-prefixes="date" date:doc="http://www.exslt.org/date">
-   <import href="date.day-abbreviation.function.xsl"/>
-   <import href="date.day-abbreviation.template.xsl"/>
-   <func:script language="exslt:javascript" implements-prefix="date" src="date.js"/>
-   <func:script language="exslt:msxsl" implements-prefix="date" src="date.msxsl.xsl"/>
+<?xml version="1.0" encoding="utf-8"?>
+<stylesheet xmlns="http://www.w3.org/1999/XSL/Transform" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:func="http://exslt.org/functions" xmlns:date="http://exslt.org/dates%20and%20times" version="1.0" extension-element-prefixes="date" date:doc="http://www.exslt.org/date">
+   <import href="date.day-abbreviation.function.xsl"/>
+   <import href="date.day-abbreviation.template.xsl"/>
+   <func:script language="exslt:javascript" implements-prefix="date" src="date.js"/>
+   <func:script language="exslt:msxsl" implements-prefix="date" src="date.msxsl.xsl"/>
 </stylesheet>
\ No newline at end of file
diff -ur date_orig/functions/day-in-month/date.day-in-month.xsl date/functions/day-in-month/date.day-in-month.xsl
--- date_orig/functions/day-in-month/date.day-in-month.xsl	2003-10-20 14:31:38.000000000 +0200
+++ date/functions/day-in-month/date.day-in-month.xsl	2004-08-22 10:43:05.728378248 +0200
@@ -1,7 +1,7 @@
-<?xml version="1.0" encoding="utf-8"?>
-<stylesheet xmlns="http://www.w3.org/1999/XSL/Transform" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:func="http://exslt.org/functions" xmlns:date="http://exslt.org/dates and times" version="1.0" extension-element-prefixes="date" date:doc="http://www.exslt.org/date">
-   <import href="date.day-in-month.function.xsl"/>
-   <import href="date.day-in-month.template.xsl"/>
-   <func:script language="exslt:javascript" implements-prefix="date" src="date.js"/>
-   <func:script language="exslt:msxsl" implements-prefix="date" src="date.msxsl.xsl"/>
+<?xml version="1.0" encoding="utf-8"?>
+<stylesheet xmlns="http://www.w3.org/1999/XSL/Transform" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:func="http://exslt.org/functions" xmlns:date="http://exslt.org/dates%20and%20times" version="1.0" extension-element-prefixes="date" date:doc="http://www.exslt.org/date">
+   <import href="date.day-in-month.function.xsl"/>
+   <import href="date.day-in-month.template.xsl"/>
+   <func:script language="exslt:javascript" implements-prefix="date" src="date.js"/>
+   <func:script language="exslt:msxsl" implements-prefix="date" src="date.msxsl.xsl"/>
 </stylesheet>
\ No newline at end of file
diff -ur date_orig/functions/day-in-week/date.day-in-week.xsl date/functions/day-in-week/date.day-in-week.xsl
--- date_orig/functions/day-in-week/date.day-in-week.xsl	2003-10-20 14:31:42.000000000 +0200
+++ date/functions/day-in-week/date.day-in-week.xsl	2004-08-22 10:43:05.828363048 +0200
@@ -1,7 +1,7 @@
-<?xml version="1.0" encoding="utf-8"?>
-<stylesheet xmlns="http://www.w3.org/1999/XSL/Transform" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:func="http://exslt.org/functions" xmlns:date="http://exslt.org/dates and times" version="1.0" extension-element-prefixes="date" date:doc="http://www.exslt.org/date">
-   <import href="date.day-in-week.function.xsl"/>
-   <import href="date.day-in-week.template.xsl"/>
-   <func:script language="exslt:javascript" implements-prefix="date" src="date.js"/>
-   <func:script language="exslt:msxsl" implements-prefix="date" src="date.msxsl.xsl"/>
+<?xml version="1.0" encoding="utf-8"?>
+<stylesheet xmlns="http://www.w3.org/1999/XSL/Transform" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:func="http://exslt.org/functions" xmlns:date="http://exslt.org/dates%20and%20times" version="1.0" extension-element-prefixes="date" date:doc="http://www.exslt.org/date">
+   <import href="date.day-in-week.function.xsl"/>
+   <import href="date.day-in-week.template.xsl"/>
+   <func:script language="exslt:javascript" implements-prefix="date" src="date.js"/>
+   <func:script language="exslt:msxsl" implements-prefix="date" src="date.msxsl.xsl"/>
 </stylesheet>
\ No newline at end of file
diff -ur date_orig/functions/day-in-year/date.day-in-year.xsl date/functions/day-in-year/date.day-in-year.xsl
--- date_orig/functions/day-in-year/date.day-in-year.xsl	2003-10-20 14:31:34.000000000 +0200
+++ date/functions/day-in-year/date.day-in-year.xsl	2004-08-22 10:43:05.679385696 +0200
@@ -1,7 +1,7 @@
-<?xml version="1.0" encoding="utf-8"?>
-<stylesheet xmlns="http://www.w3.org/1999/XSL/Transform" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:func="http://exslt.org/functions" xmlns:date="http://exslt.org/dates and times" version="1.0" extension-element-prefixes="date" date:doc="http://www.exslt.org/date">
-   <import href="date.day-in-year.function.xsl"/>
-   <import href="date.day-in-year.template.xsl"/>
-   <func:script language="exslt:javascript" implements-prefix="date" src="date.js"/>
-   <func:script language="exslt:msxsl" implements-prefix="date" src="date.msxsl.xsl"/>
+<?xml version="1.0" encoding="utf-8"?>
+<stylesheet xmlns="http://www.w3.org/1999/XSL/Transform" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:func="http://exslt.org/functions" xmlns:date="http://exslt.org/dates%20and%20times" version="1.0" extension-element-prefixes="date" date:doc="http://www.exslt.org/date">
+   <import href="date.day-in-year.function.xsl"/>
+   <import href="date.day-in-year.template.xsl"/>
+   <func:script language="exslt:javascript" implements-prefix="date" src="date.js"/>
+   <func:script language="exslt:msxsl" implements-prefix="date" src="date.msxsl.xsl"/>
 </stylesheet>
\ No newline at end of file
diff -ur date_orig/functions/day-name/date.day-name.xsl date/functions/day-name/date.day-name.xsl
--- date_orig/functions/day-name/date.day-name.xsl	2003-10-20 14:31:42.000000000 +0200
+++ date/functions/day-name/date.day-name.xsl	2004-08-22 10:43:05.879355296 +0200
@@ -1,7 +1,7 @@
-<?xml version="1.0" encoding="utf-8"?>
-<stylesheet xmlns="http://www.w3.org/1999/XSL/Transform" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:func="http://exslt.org/functions" xmlns:date="http://exslt.org/dates and times" version="1.0" extension-element-prefixes="date" date:doc="http://www.exslt.org/date">
-   <import href="date.day-name.function.xsl"/>
-   <import href="date.day-name.template.xsl"/>
-   <func:script language="exslt:javascript" implements-prefix="date" src="date.js"/>
-   <func:script language="exslt:msxsl" implements-prefix="date" src="date.msxsl.xsl"/>
+<?xml version="1.0" encoding="utf-8"?>
+<stylesheet xmlns="http://www.w3.org/1999/XSL/Transform" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:func="http://exslt.org/functions" xmlns:date="http://exslt.org/dates%20and%20times" version="1.0" extension-element-prefixes="date" date:doc="http://www.exslt.org/date">
+   <import href="date.day-name.function.xsl"/>
+   <import href="date.day-name.template.xsl"/>
+   <func:script language="exslt:javascript" implements-prefix="date" src="date.js"/>
+   <func:script language="exslt:msxsl" implements-prefix="date" src="date.msxsl.xsl"/>
 </stylesheet>
\ No newline at end of file
diff -ur date_orig/functions/day-of-week-in-month/date.day-of-week-in-month.xsl date/functions/day-of-week-in-month/date.day-of-week-in-month.xsl
--- date_orig/functions/day-of-week-in-month/date.day-of-week-in-month.xsl	2003-10-20 14:31:40.000000000 +0200
+++ date/functions/day-of-week-in-month/date.day-of-week-in-month.xsl	2004-08-22 10:43:05.791368672 +0200
@@ -1,7 +1,7 @@
-<?xml version="1.0" encoding="utf-8"?>
-<stylesheet xmlns="http://www.w3.org/1999/XSL/Transform" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:func="http://exslt.org/functions" xmlns:date="http://exslt.org/dates and times" version="1.0" extension-element-prefixes="date" date:doc="http://www.exslt.org/date">
-   <import href="date.day-of-week-in-month.function.xsl"/>
-   <import href="date.day-of-week-in-month.template.xsl"/>
-   <func:script language="exslt:javascript" implements-prefix="date" src="date.js"/>
-   <func:script language="exslt:msxsl" implements-prefix="date" src="date.msxsl.xsl"/>
+<?xml version="1.0" encoding="utf-8"?>
+<stylesheet xmlns="http://www.w3.org/1999/XSL/Transform" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:func="http://exslt.org/functions" xmlns:date="http://exslt.org/dates%20and%20times" version="1.0" extension-element-prefixes="date" date:doc="http://www.exslt.org/date">
+   <import href="date.day-of-week-in-month.function.xsl"/>
+   <import href="date.day-of-week-in-month.template.xsl"/>
+   <func:script language="exslt:javascript" implements-prefix="date" src="date.js"/>
+   <func:script language="exslt:msxsl" implements-prefix="date" src="date.msxsl.xsl"/>
 </stylesheet>
\ No newline at end of file
diff -ur date_orig/functions/difference/date.difference.xsl date/functions/difference/date.difference.xsl
--- date_orig/functions/difference/date.difference.xsl	2003-10-20 14:31:50.000000000 +0200
+++ date/functions/difference/date.difference.xsl	2004-08-22 10:43:06.136316232 +0200
@@ -1,7 +1,7 @@
-<?xml version="1.0" encoding="utf-8"?>
-<stylesheet xmlns="http://www.w3.org/1999/XSL/Transform" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:func="http://exslt.org/functions" xmlns:date="http://exslt.org/dates and times" version="1.0" extension-element-prefixes="date" date:doc="http://www.exslt.org/date">
-   <import href="date.difference.function.xsl"/>
-   <import href="date.difference.template.xsl"/>
-   <func:script language="exslt:javascript" implements-prefix="date" src="date.js"/>
-   <func:script language="exslt:msxsl" implements-prefix="date" src="date.msxsl.xsl"/>
+<?xml version="1.0" encoding="utf-8"?>
+<stylesheet xmlns="http://www.w3.org/1999/XSL/Transform" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:func="http://exslt.org/functions" xmlns:date="http://exslt.org/dates%20and%20times" version="1.0" extension-element-prefixes="date" date:doc="http://www.exslt.org/date">
+   <import href="date.difference.function.xsl"/>
+   <import href="date.difference.template.xsl"/>
+   <func:script language="exslt:javascript" implements-prefix="date" src="date.js"/>
+   <func:script language="exslt:msxsl" implements-prefix="date" src="date.msxsl.xsl"/>
 </stylesheet>
\ No newline at end of file
diff -ur date_orig/functions/duration/date.duration.xsl date/functions/duration/date.duration.xsl
--- date_orig/functions/duration/date.duration.xsl	2003-10-20 14:31:58.000000000 +0200
+++ date/functions/duration/date.duration.xsl	2004-08-22 10:43:06.328287048 +0200
@@ -1,7 +1,7 @@
-<?xml version="1.0" encoding="utf-8"?>
-<stylesheet xmlns="http://www.w3.org/1999/XSL/Transform" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:func="http://exslt.org/functions" xmlns:date="http://exslt.org/dates and times" version="1.0" extension-element-prefixes="date" date:doc="http://www.exslt.org/date">
-   <import href="date.duration.function.xsl"/>
-   <import href="date.duration.template.xsl"/>
-   <func:script language="exslt:javascript" implements-prefix="date" src="date.js"/>
-   <func:script language="exslt:msxsl" implements-prefix="date" src="date.msxsl.xsl"/>
+<?xml version="1.0" encoding="utf-8"?>
+<stylesheet xmlns="http://www.w3.org/1999/XSL/Transform" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:func="http://exslt.org/functions" xmlns:date="http://exslt.org/dates%20and%20times" version="1.0" extension-element-prefixes="date" date:doc="http://www.exslt.org/date">
+   <import href="date.duration.function.xsl"/>
+   <import href="date.duration.template.xsl"/>
+   <func:script language="exslt:javascript" implements-prefix="date" src="date.js"/>
+   <func:script language="exslt:msxsl" implements-prefix="date" src="date.msxsl.xsl"/>
 </stylesheet>
\ No newline at end of file
diff -ur date_orig/functions/format-date/date.format-date.function.xsl date/functions/format-date/date.format-date.function.xsl
--- date_orig/functions/format-date/date.format-date.function.xsl	2003-09-29 15:03:30.000000000 +0200
+++ date/functions/format-date/date.format-date.function.xsl	2004-08-22 10:43:05.031484192 +0200
@@ -6,8 +6,6 @@
                 xmlns:func="http://exslt.org/functions"
                 extension-element-prefixes="date str func">
 
-<xsl:import href="str.padding.function.xsl" />
-
 <date:months>
    <date:month length="31" abbr="Jan">January</date:month>
    <date:month length="28" abbr="Feb">February</date:month>
@@ -412,4 +410,4 @@
    </xsl:choose>
 </func:function>
 
-</xsl:stylesheet>
\ No newline at end of file
+</xsl:stylesheet>
diff -ur date_orig/functions/format-date/date.format-date.template.xsl date/functions/format-date/date.format-date.template.xsl
--- date_orig/functions/format-date/date.format-date.template.xsl	2003-09-29 15:03:34.000000000 +0200
+++ date/functions/format-date/date.format-date.template.xsl	2004-08-22 10:43:05.045482064 +0200
@@ -5,8 +5,6 @@
                 xmlns:str="http://exslt.org/strings"
                 extension-element-prefixes="date str">
 
-<xsl:import href="../../../str/functions/padding/str.padding.template.xsl" />
-
 <date:months>
    <date:month length="31" abbr="Jan">January</date:month>
    <date:month length="28" abbr="Feb">February</date:month>
@@ -505,4 +503,4 @@
    </xsl:choose>
 </xsl:template>
 
-</xsl:stylesheet>
\ No newline at end of file
+</xsl:stylesheet>
diff -ur date_orig/functions/format-date/date.format-date.xsl date/functions/format-date/date.format-date.xsl
--- date_orig/functions/format-date/date.format-date.xsl	2003-10-20 14:31:14.000000000 +0200
+++ date/functions/format-date/date.format-date.xsl	2004-08-22 10:43:05.011487232 +0200
@@ -1,7 +1,7 @@
-<?xml version="1.0" encoding="utf-8"?>
-<stylesheet xmlns="http://www.w3.org/1999/XSL/Transform" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:func="http://exslt.org/functions" xmlns:date="http://exslt.org/dates and times" version="1.0" extension-element-prefixes="date" date:doc="http://www.exslt.org/date">
-   <func:script language="exslt:javascript" implements-prefix="date" src="date.js"/>
-   <func:script language="exslt:msxsl" implements-prefix="date" src="date.msxsl.xsl"/>
-   <import href="date.format-date.function.xsl"/>
-   <import href="date.format-date.template.xsl"/>
-</stylesheet>
\ No newline at end of file
+<?xml version="1.0" encoding="utf-8"?>
+<stylesheet xmlns="http://www.w3.org/1999/XSL/Transform" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:func="http://exslt.org/functions" xmlns:date="http://exslt.org/dates%20and%20times" version="1.0" extension-element-prefixes="date" date:doc="http://www.exslt.org/date">
+   <import href="date.format-date.function.xsl"/>
+   <import href="date.format-date.template.xsl"/>
+   <func:script language="exslt:javascript" implements-prefix="date" src="date.js"/>
+   <func:script language="exslt:msxsl" implements-prefix="date" src="date.msxsl.xsl"/>
+</stylesheet>
diff -ur date_orig/functions/hour-in-day/date.hour-in-day.xsl date/functions/hour-in-day/date.hour-in-day.xsl
--- date_orig/functions/hour-in-day/date.hour-in-day.xsl	2003-10-20 14:31:46.000000000 +0200
+++ date/functions/hour-in-day/date.hour-in-day.xsl	2004-08-22 10:43:05.991338272 +0200
@@ -1,7 +1,7 @@
-<?xml version="1.0" encoding="utf-8"?>
-<stylesheet xmlns="http://www.w3.org/1999/XSL/Transform" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:func="http://exslt.org/functions" xmlns:date="http://exslt.org/dates and times" version="1.0" extension-element-prefixes="date" date:doc="http://www.exslt.org/date">
-   <import href="date.hour-in-day.function.xsl"/>
-   <import href="date.hour-in-day.template.xsl"/>
-   <func:script language="exslt:javascript" implements-prefix="date" src="date.js"/>
-   <func:script language="exslt:msxsl" implements-prefix="date" src="date.msxsl.xsl"/>
+<?xml version="1.0" encoding="utf-8"?>
+<stylesheet xmlns="http://www.w3.org/1999/XSL/Transform" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:func="http://exslt.org/functions" xmlns:date="http://exslt.org/dates%20and%20times" version="1.0" extension-element-prefixes="date" date:doc="http://www.exslt.org/date">
+   <import href="date.hour-in-day.function.xsl"/>
+   <import href="date.hour-in-day.template.xsl"/>
+   <func:script language="exslt:javascript" implements-prefix="date" src="date.js"/>
+   <func:script language="exslt:msxsl" implements-prefix="date" src="date.msxsl.xsl"/>
 </stylesheet>
\ No newline at end of file
diff -ur date_orig/functions/leap-year/date.leap-year.xsl date/functions/leap-year/date.leap-year.xsl
--- date_orig/functions/leap-year/date.leap-year.xsl	2003-10-20 14:31:26.000000000 +0200
+++ date/functions/leap-year/date.leap-year.xsl	2004-08-22 10:43:05.171462912 +0200
@@ -1,7 +1,7 @@
-<?xml version="1.0" encoding="utf-8"?>
-<stylesheet xmlns="http://www.w3.org/1999/XSL/Transform" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:func="http://exslt.org/functions" xmlns:date="http://exslt.org/dates and times" version="1.0" extension-element-prefixes="date" date:doc="http://www.exslt.org/date">
-   <import href="date.leap-year.function.xsl"/>
-   <import href="date.leap-year.template.xsl"/>
-   <func:script language="exslt:javascript" implements-prefix="date" src="date.js"/>
-   <func:script language="exslt:msxsl" implements-prefix="date" src="date.msxsl.xsl"/>
+<?xml version="1.0" encoding="utf-8"?>
+<stylesheet xmlns="http://www.w3.org/1999/XSL/Transform" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:func="http://exslt.org/functions" xmlns:date="http://exslt.org/dates%20and%20times" version="1.0" extension-element-prefixes="date" date:doc="http://www.exslt.org/date">
+   <import href="date.leap-year.function.xsl"/>
+   <import href="date.leap-year.template.xsl"/>
+   <func:script language="exslt:javascript" implements-prefix="date" src="date.js"/>
+   <func:script language="exslt:msxsl" implements-prefix="date" src="date.msxsl.xsl"/>
 </stylesheet>
\ No newline at end of file
diff -ur date_orig/functions/minute-in-hour/date.minute-in-hour.xsl date/functions/minute-in-hour/date.minute-in-hour.xsl
--- date_orig/functions/minute-in-hour/date.minute-in-hour.xsl	2003-10-20 14:31:48.000000000 +0200
+++ date/functions/minute-in-hour/date.minute-in-hour.xsl	2004-08-22 10:43:06.053328848 +0200
@@ -1,7 +1,7 @@
-<?xml version="1.0" encoding="utf-8"?>
-<stylesheet xmlns="http://www.w3.org/1999/XSL/Transform" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:func="http://exslt.org/functions" xmlns:date="http://exslt.org/dates and times" version="1.0" extension-element-prefixes="date" date:doc="http://www.exslt.org/date">
-   <import href="date.minute-in-hour.function.xsl"/>
-   <import href="date.minute-in-hour.template.xsl"/>
-   <func:script language="exslt:javascript" implements-prefix="date" src="date.js"/>
-   <func:script language="exslt:msxsl" implements-prefix="date" src="date.msxsl.xsl"/>
+<?xml version="1.0" encoding="utf-8"?>
+<stylesheet xmlns="http://www.w3.org/1999/XSL/Transform" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:func="http://exslt.org/functions" xmlns:date="http://exslt.org/dates%20and%20times" version="1.0" extension-element-prefixes="date" date:doc="http://www.exslt.org/date">
+   <import href="date.minute-in-hour.function.xsl"/>
+   <import href="date.minute-in-hour.template.xsl"/>
+   <func:script language="exslt:javascript" implements-prefix="date" src="date.js"/>
+   <func:script language="exslt:msxsl" implements-prefix="date" src="date.msxsl.xsl"/>
 </stylesheet>
\ No newline at end of file
diff -ur date_orig/functions/month-abbreviation/date.month-abbreviation.xsl date/functions/month-abbreviation/date.month-abbreviation.xsl
--- date_orig/functions/month-abbreviation/date.month-abbreviation.xsl	2003-10-20 14:31:30.000000000 +0200
+++ date/functions/month-abbreviation/date.month-abbreviation.xsl	2004-08-22 10:43:05.411426432 +0200
@@ -1,7 +1,7 @@
-<?xml version="1.0" encoding="utf-8"?>
-<stylesheet xmlns="http://www.w3.org/1999/XSL/Transform" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:func="http://exslt.org/functions" xmlns:date="http://exslt.org/dates and times" version="1.0" extension-element-prefixes="date" date:doc="http://www.exslt.org/date">
-   <import href="date.month-abbreviation.function.xsl"/>
-   <import href="date.month-abbreviation.template.xsl"/>
-   <func:script language="exslt:javascript" implements-prefix="date" src="date.js"/>
-   <func:script language="exslt:msxsl" implements-prefix="date" src="date.msxsl.xsl"/>
+<?xml version="1.0" encoding="utf-8"?>
+<stylesheet xmlns="http://www.w3.org/1999/XSL/Transform" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:func="http://exslt.org/functions" xmlns:date="http://exslt.org/dates%20and%20times" version="1.0" extension-element-prefixes="date" date:doc="http://www.exslt.org/date">
+   <import href="date.month-abbreviation.function.xsl"/>
+   <import href="date.month-abbreviation.template.xsl"/>
+   <func:script language="exslt:javascript" implements-prefix="date" src="date.js"/>
+   <func:script language="exslt:msxsl" implements-prefix="date" src="date.msxsl.xsl"/>
 </stylesheet>
\ No newline at end of file
diff -ur date_orig/functions/month-in-year/date.month-in-year.xsl date/functions/month-in-year/date.month-in-year.xsl
--- date_orig/functions/month-in-year/date.month-in-year.xsl	2003-10-20 14:31:26.000000000 +0200
+++ date/functions/month-in-year/date.month-in-year.xsl	2004-08-22 10:43:05.228454248 +0200
@@ -1,7 +1,7 @@
-<?xml version="1.0" encoding="utf-8"?>
-<stylesheet xmlns="http://www.w3.org/1999/XSL/Transform" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:func="http://exslt.org/functions" xmlns:date="http://exslt.org/dates and times" version="1.0" extension-element-prefixes="date" date:doc="http://www.exslt.org/date">
-   <import href="date.month-in-year.function.xsl"/>
-   <import href="date.month-in-year.template.xsl"/>
-   <func:script language="exslt:javascript" implements-prefix="date" src="date.js"/>
-   <func:script language="exslt:msxsl" implements-prefix="date" src="date.msxsl.xsl"/>
+<?xml version="1.0" encoding="utf-8"?>
+<stylesheet xmlns="http://www.w3.org/1999/XSL/Transform" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:func="http://exslt.org/functions" xmlns:date="http://exslt.org/dates%20and%20times" version="1.0" extension-element-prefixes="date" date:doc="http://www.exslt.org/date">
+   <import href="date.month-in-year.function.xsl"/>
+   <import href="date.month-in-year.template.xsl"/>
+   <func:script language="exslt:javascript" implements-prefix="date" src="date.js"/>
+   <func:script language="exslt:msxsl" implements-prefix="date" src="date.msxsl.xsl"/>
 </stylesheet>
\ No newline at end of file
diff -ur date_orig/functions/month-name/date.month-name.xsl date/functions/month-name/date.month-name.xsl
--- date_orig/functions/month-name/date.month-name.xsl	2003-10-20 14:31:28.000000000 +0200
+++ date/functions/month-name/date.month-name.xsl	2004-08-22 10:43:05.370432664 +0200
@@ -1,7 +1,7 @@
-<?xml version="1.0" encoding="utf-8"?>
-<stylesheet xmlns="http://www.w3.org/1999/XSL/Transform" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:func="http://exslt.org/functions" xmlns:date="http://exslt.org/dates and times" version="1.0" extension-element-prefixes="date" date:doc="http://www.exslt.org/date">
-   <import href="date.month-name.function.xsl"/>
-   <import href="date.month-name.template.xsl"/>
-   <func:script language="exslt:javascript" implements-prefix="date" src="date.js"/>
-   <func:script language="exslt:msxsl" implements-prefix="date" src="date.msxsl.xsl"/>
+<?xml version="1.0" encoding="utf-8"?>
+<stylesheet xmlns="http://www.w3.org/1999/XSL/Transform" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:func="http://exslt.org/functions" xmlns:date="http://exslt.org/dates%20and%20times" version="1.0" extension-element-prefixes="date" date:doc="http://www.exslt.org/date">
+   <import href="date.month-name.function.xsl"/>
+   <import href="date.month-name.template.xsl"/>
+   <func:script language="exslt:javascript" implements-prefix="date" src="date.js"/>
+   <func:script language="exslt:msxsl" implements-prefix="date" src="date.msxsl.xsl"/>
 </stylesheet>
\ No newline at end of file
diff -ur date_orig/functions/parse-date/date.parse-date.xsl date/functions/parse-date/date.parse-date.xsl
--- date_orig/functions/parse-date/date.parse-date.xsl	2003-10-20 14:31:14.000000000 +0200
+++ date/functions/parse-date/date.parse-date.xsl	2004-08-22 10:43:05.065479024 +0200
@@ -1,5 +1,5 @@
-<?xml version="1.0" encoding="utf-8"?>
-<stylesheet xmlns="http://www.w3.org/1999/XSL/Transform" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:func="http://exslt.org/functions" xmlns:date="http://exslt.org/dates and times" version="1.0" extension-element-prefixes="date" date:doc="http://www.exslt.org/date">
-   <func:script language="exslt:javascript" implements-prefix="date" src="date.js"/>
-   <func:script language="exslt:msxsl" implements-prefix="date" src="date.msxsl.xsl"/>
+<?xml version="1.0" encoding="utf-8"?>
+<stylesheet xmlns="http://www.w3.org/1999/XSL/Transform" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:func="http://exslt.org/functions" xmlns:date="http://exslt.org/dates%20and%20times" version="1.0" extension-element-prefixes="date" date:doc="http://www.exslt.org/date">
+   <func:script language="exslt:javascript" implements-prefix="date" src="date.js"/>
+   <func:script language="exslt:msxsl" implements-prefix="date" src="date.msxsl.xsl"/>
 </stylesheet>
\ No newline at end of file
diff -ur date_orig/functions/second-in-minute/date.second-in-minute.xsl date/functions/second-in-minute/date.second-in-minute.xsl
--- date_orig/functions/second-in-minute/date.second-in-minute.xsl	2003-10-20 14:31:48.000000000 +0200
+++ date/functions/second-in-minute/date.second-in-minute.xsl	2004-08-22 10:43:06.088323528 +0200
@@ -1,7 +1,7 @@
-<?xml version="1.0" encoding="utf-8"?>
-<stylesheet xmlns="http://www.w3.org/1999/XSL/Transform" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:func="http://exslt.org/functions" xmlns:date="http://exslt.org/dates and times" version="1.0" extension-element-prefixes="date" date:doc="http://www.exslt.org/date">
-   <import href="date.second-in-minute.function.xsl"/>
-   <import href="date.second-in-minute.template.xsl"/>
-   <func:script language="exslt:javascript" implements-prefix="date" src="date.js"/>
-   <func:script language="exslt:msxsl" implements-prefix="date" src="date.msxsl.xsl"/>
+<?xml version="1.0" encoding="utf-8"?>
+<stylesheet xmlns="http://www.w3.org/1999/XSL/Transform" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:func="http://exslt.org/functions" xmlns:date="http://exslt.org/dates%20and%20times" version="1.0" extension-element-prefixes="date" date:doc="http://www.exslt.org/date">
+   <import href="date.second-in-minute.function.xsl"/>
+   <import href="date.second-in-minute.template.xsl"/>
+   <func:script language="exslt:javascript" implements-prefix="date" src="date.js"/>
+   <func:script language="exslt:msxsl" implements-prefix="date" src="date.msxsl.xsl"/>
 </stylesheet>
\ No newline at end of file
diff -ur date_orig/functions/seconds/date.seconds.xsl date/functions/seconds/date.seconds.xsl
--- date_orig/functions/seconds/date.seconds.xsl	2003-10-20 14:31:58.000000000 +0200
+++ date/functions/seconds/date.seconds.xsl	2004-08-22 10:43:06.298291608 +0200
@@ -1,5 +1,5 @@
-<?xml version="1.0" encoding="utf-8"?>
-<stylesheet xmlns="http://www.w3.org/1999/XSL/Transform" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:func="http://exslt.org/functions" xmlns:date="http://exslt.org/dates and times" version="1.0" extension-element-prefixes="date" date:doc="http://www.exslt.org/date">
-   <func:script language="exslt:javascript" implements-prefix="date" src="date.js"/>
-   <func:script language="exslt:msxsl" implements-prefix="date" src="date.msxsl.xsl"/>
+<?xml version="1.0" encoding="utf-8"?>
+<stylesheet xmlns="http://www.w3.org/1999/XSL/Transform" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:func="http://exslt.org/functions" xmlns:date="http://exslt.org/dates%20and%20times" version="1.0" extension-element-prefixes="date" date:doc="http://www.exslt.org/date">
+   <func:script language="exslt:javascript" implements-prefix="date" src="date.js"/>
+   <func:script language="exslt:msxsl" implements-prefix="date" src="date.msxsl.xsl"/>
 </stylesheet>
\ No newline at end of file
diff -ur date_orig/functions/sum/date.sum.xsl date/functions/sum/date.sum.xsl
--- date_orig/functions/sum/date.sum.xsl	2003-10-20 14:31:56.000000000 +0200
+++ date/functions/sum/date.sum.xsl	2004-08-22 10:43:06.255298144 +0200
@@ -1,5 +1,5 @@
-<?xml version="1.0" encoding="utf-8"?>
-<stylesheet xmlns="http://www.w3.org/1999/XSL/Transform" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:func="http://exslt.org/functions" xmlns:date="http://exslt.org/dates and times" version="1.0" extension-element-prefixes="date" date:doc="http://www.exslt.org/date">
-   <func:script language="exslt:javascript" implements-prefix="date" src="date.js"/>
-   <func:script language="exslt:msxsl" implements-prefix="date" src="date.msxsl.xsl"/>
+<?xml version="1.0" encoding="utf-8"?>
+<stylesheet xmlns="http://www.w3.org/1999/XSL/Transform" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:func="http://exslt.org/functions" xmlns:date="http://exslt.org/dates%20and%20times" version="1.0" extension-element-prefixes="date" date:doc="http://www.exslt.org/date">
+   <func:script language="exslt:javascript" implements-prefix="date" src="date.js"/>
+   <func:script language="exslt:msxsl" implements-prefix="date" src="date.msxsl.xsl"/>
 </stylesheet>
\ No newline at end of file
diff -ur date_orig/functions/time/date.time.xsl date/functions/time/date.time.xsl
--- date_orig/functions/time/date.time.xsl	2003-10-20 14:31:22.000000000 +0200
+++ date/functions/time/date.time.xsl	2004-08-22 10:43:05.122470360 +0200
@@ -1,7 +1,7 @@
-<?xml version="1.0" encoding="utf-8"?>
-<stylesheet xmlns="http://www.w3.org/1999/XSL/Transform" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:func="http://exslt.org/functions" xmlns:date="http://exslt.org/dates and times" version="1.0" extension-element-prefixes="date" date:doc="http://www.exslt.org/date">
-   <import href="date.time.function.xsl"/>
-   <import href="date.time.template.xsl"/>
-   <func:script language="exslt:javascript" implements-prefix="date" src="date.js"/>
-   <func:script language="exslt:msxsl" implements-prefix="date" src="date.msxsl.xsl"/>
+<?xml version="1.0" encoding="utf-8"?>
+<stylesheet xmlns="http://www.w3.org/1999/XSL/Transform" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:func="http://exslt.org/functions" xmlns:date="http://exslt.org/dates%20and%20times" version="1.0" extension-element-prefixes="date" date:doc="http://www.exslt.org/date">
+   <import href="date.time.function.xsl"/>
+   <import href="date.time.template.xsl"/>
+   <func:script language="exslt:javascript" implements-prefix="date" src="date.js"/>
+   <func:script language="exslt:msxsl" implements-prefix="date" src="date.msxsl.xsl"/>
 </stylesheet>
\ No newline at end of file
diff -ur date_orig/functions/week-in-month/date.week-in-month.xsl date/functions/week-in-month/date.week-in-month.xsl
--- date_orig/functions/week-in-month/date.week-in-month.xsl	2003-10-20 14:31:32.000000000 +0200
+++ date/functions/week-in-month/date.week-in-month.xsl	2004-08-22 10:43:05.628393448 +0200
@@ -1,7 +1,7 @@
-<?xml version="1.0" encoding="utf-8"?>
-<stylesheet xmlns="http://www.w3.org/1999/XSL/Transform" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:func="http://exslt.org/functions" xmlns:date="http://exslt.org/dates and times" version="1.0" extension-element-prefixes="date" date:doc="http://www.exslt.org/date">
-   <import href="date.week-in-month.function.xsl"/>
-   <import href="date.week-in-month.template.xsl"/>
-   <func:script language="exslt:javascript" implements-prefix="date" src="date.js"/>
-   <func:script language="exslt:msxsl" implements-prefix="date" src="date.msxsl.xsl"/>
+<?xml version="1.0" encoding="utf-8"?>
+<stylesheet xmlns="http://www.w3.org/1999/XSL/Transform" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:func="http://exslt.org/functions" xmlns:date="http://exslt.org/dates%20and%20times" version="1.0" extension-element-prefixes="date" date:doc="http://www.exslt.org/date">
+   <import href="date.week-in-month.function.xsl"/>
+   <import href="date.week-in-month.template.xsl"/>
+   <func:script language="exslt:javascript" implements-prefix="date" src="date.js"/>
+   <func:script language="exslt:msxsl" implements-prefix="date" src="date.msxsl.xsl"/>
 </stylesheet>
\ No newline at end of file
diff -ur date_orig/functions/week-in-year/date.week-in-year.xsl date/functions/week-in-year/date.week-in-year.xsl
--- date_orig/functions/week-in-year/date.week-in-year.xsl	2003-10-20 14:31:30.000000000 +0200
+++ date/functions/week-in-year/date.week-in-year.xsl	2004-08-22 10:43:05.516410472 +0200
@@ -1,7 +1,7 @@
-<?xml version="1.0" encoding="utf-8"?>
-<stylesheet xmlns="http://www.w3.org/1999/XSL/Transform" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:func="http://exslt.org/functions" xmlns:date="http://exslt.org/dates and times" version="1.0" extension-element-prefixes="date" date:doc="http://www.exslt.org/date">
-   <import href="date.week-in-year.function.xsl"/>
-   <import href="date.week-in-year.template.xsl"/>
-   <func:script language="exslt:javascript" implements-prefix="date" src="date.js"/>
-   <func:script language="exslt:msxsl" implements-prefix="date" src="date.msxsl.xsl"/>
+<?xml version="1.0" encoding="utf-8"?>
+<stylesheet xmlns="http://www.w3.org/1999/XSL/Transform" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:func="http://exslt.org/functions" xmlns:date="http://exslt.org/dates%20and%20times" version="1.0" extension-element-prefixes="date" date:doc="http://www.exslt.org/date">
+   <import href="date.week-in-year.function.xsl"/>
+   <import href="date.week-in-year.template.xsl"/>
+   <func:script language="exslt:javascript" implements-prefix="date" src="date.js"/>
+   <func:script language="exslt:msxsl" implements-prefix="date" src="date.msxsl.xsl"/>
 </stylesheet>
\ No newline at end of file
diff -ur date_orig/functions/year/date.year.xsl date/functions/year/date.year.xsl
--- date_orig/functions/year/date.year.xsl	2003-10-20 14:31:24.000000000 +0200
+++ date/functions/year/date.year.xsl	2004-08-22 10:43:05.151465952 +0200
@@ -1,7 +1,7 @@
-<?xml version="1.0" encoding="utf-8"?>
-<stylesheet xmlns="http://www.w3.org/1999/XSL/Transform" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:func="http://exslt.org/functions" xmlns:date="http://exslt.org/dates and times" version="1.0" extension-element-prefixes="date" date:doc="http://www.exslt.org/date">
-   <import href="date.year.function.xsl"/>
-   <import href="date.year.template.xsl"/>
-   <func:script language="exslt:javascript" implements-prefix="date" src="date.js"/>
-   <func:script language="exslt:msxsl" implements-prefix="date" src="date.msxsl.xsl"/>
+<?xml version="1.0" encoding="utf-8"?>
+<stylesheet xmlns="http://www.w3.org/1999/XSL/Transform" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:func="http://exslt.org/functions" xmlns:date="http://exslt.org/dates%20and%20times" version="1.0" extension-element-prefixes="date" date:doc="http://www.exslt.org/date">
+   <import href="date.year.function.xsl"/>
+   <import href="date.year.template.xsl"/>
+   <func:script language="exslt:javascript" implements-prefix="date" src="date.js"/>
+   <func:script language="exslt:msxsl" implements-prefix="date" src="date.msxsl.xsl"/>
 </stylesheet>
\ No newline at end of file


More information about the exslt mailing list