Ignore:
Timestamp:
Nov 1, 2010, 12:18:16 AM (9 years ago)
Author:
julian.reschke@…
Message:

bump up document dates, update to latest version of rfc2629.xslt

File:
1 edited

Legend:

Unmodified
Added
Removed
  • rfc2629xslt/xslt-test.xslt

    r6 r1072  
    22    XSLT test cases
    33
    4     Copyright (c) 2007, Julian Reschke (julian.reschke@greenbytes.de)
     4    Copyright (c) 2007-2010, Julian Reschke (julian.reschke@greenbytes.de)
    55    All rights reserved.
    66
     
    3434                xmlns:msxsl="urn:schemas-microsoft-com:xslt"
    3535                xmlns:exslt="http://exslt.org/common"
     36                xmlns:date="http://exslt.org/dates-and-times"
    3637                exclude-result-prefixes="msxsl exslt">
    3738
     
    7374      <xsl:call-template name="nodeset"/>
    7475      <xsl:call-template name="whitespace-treatment"/>
     76      <xsl:call-template name="date-time"/>
    7577    </body>
    7678  </html>
     
    121123          <tt>
    122124            <a href="{system-property('xsl:vendor-url')}"><xsl:value-of select="system-property('xsl:vendor-url')"/></a>
     125          </tt>
     126        </td>
     127      </tr>
     128      <tr>
     129        <td>
     130          <code>
     131            msxsl:version
     132          </code>
     133        </td>
     134        <td>
     135          <tt>
     136            <xsl:value-of select="system-property('msxsl:version')"/>
    123137          </tt>
    124138        </td>
     
    204218</xsl:template>
    205219
     220<xsl:template name="date-time">
     221  <h2 id="date-time">Date-Time Support</h2>
     222 
     223  <p>
     224    <code>
     225      <a href="http://www.exslt.org/date/functions/date-time/">exslt:date-time()</a>
     226    </code>:
     227    <xsl:choose>
     228      <xsl:when test="function-available('date:date-time')">
     229        <span class="green">Yes</span>, and returns: <xsl:value-of select="date:date-time()"/>
     230      </xsl:when>
     231      <xsl:otherwise>
     232        <span class="red">No</span>
     233      </xsl:otherwise>
     234    </xsl:choose>
     235  </p>
     236</xsl:template>
     237
    206238</xsl:transform>
Note: See TracChangeset for help on using the changeset viewer.