Last change
on this file since 372 was 372, checked in by Yuri Dario, 13 years ago |
xslt: initial vendor import of xslt 1.1.26.
|
File size:
484 bytes
|
Line | |
---|
1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <xsl:stylesheet version="1.0"
|
---|
3 | xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
---|
4 | xmlns:date="http://exslt.org/dates-and-times"
|
---|
5 | extension-element-prefixes="date">
|
---|
6 |
|
---|
7 | <xsl:output method="text"/>
|
---|
8 | <xsl:strip-space elements="*"/>
|
---|
9 |
|
---|
10 | <xsl:template match="date">
|
---|
11 | duration : <xsl:value-of select="@seconds"/>
|
---|
12 | result : <xsl:value-of select="date:duration(@seconds)"/>
|
---|
13 | </xsl:template>
|
---|
14 |
|
---|
15 | </xsl:stylesheet>
|
---|
16 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.