Changeset 2499 for rfc2629xslt/samples/rfc2629.xslt
- Timestamp:
- 18/11/13 18:08:56 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
rfc2629xslt/samples/rfc2629.xslt
r2461 r2499 1457 1457 </xsl:template> 1458 1458 1459 <xsl:template match="list[starts-with(@style,'format ') and (contains(@style,'%c') or contains(@style,'% d'))]/t">1459 <xsl:template match="list[starts-with(@style,'format ') and (contains(@style,'%c') or contains(@style,'%C') or contains(@style,'%d') or contains(@style,'%i') or contains(@style,'%I'))]/t"> 1460 1460 <xsl:variable name="list" select=".." /> 1461 1461 <xsl:variable name="format" select="substring-after(../@style,'format ')" /> … … 1476 1476 <xsl:value-of select="substring-before($format,'%c')"/><xsl:number value="$pos" format="a" /><xsl:value-of select="substring-after($format,'%c')"/> 1477 1477 </xsl:when> 1478 <xsl:when test="contains($format,'%C')"> 1479 <xsl:value-of select="substring-before($format,'%C')"/><xsl:number value="$pos" format="A" /><xsl:value-of select="substring-after($format,'%C')"/> 1480 </xsl:when> 1481 <xsl:when test="contains($format,'%d')"> 1482 <xsl:value-of select="substring-before($format,'%d')"/><xsl:number value="$pos" /><xsl:value-of select="substring-after($format,'%d')"/> 1483 </xsl:when> 1484 <xsl:when test="contains($format,'%i')"> 1485 <xsl:value-of select="substring-before($format,'%i')"/><xsl:number value="$pos" format="i" /><xsl:value-of select="substring-after($format,'%i')"/> 1486 </xsl:when> 1487 <xsl:when test="contains($format,'%I')"> 1488 <xsl:value-of select="substring-before($format,'%I')"/><xsl:number value="$pos" format="I" /><xsl:value-of select="substring-after($format,'%I')"/> 1489 </xsl:when> 1478 1490 <xsl:otherwise> 1479 <xsl:value-of select="substring-before($format,'%d')"/><xsl:number value="$pos" format="1" /><xsl:value-of select="substring-after($format,'%d')"/> 1491 <xsl:value-of select="$format"/> 1492 <xsl:call-template name="warning"> 1493 <xsl:with-param name="msg" select="concat('@format string ',$format,' not understood')"/> 1494 </xsl:call-template> 1480 1495 </xsl:otherwise> 1481 1496 </xsl:choose> … … 6687 6702 <xsl:text>http://greenbytes.de/tech/webdav/rfc2629.xslt, </xsl:text> 6688 6703 <!-- when RCS keyword substitution in place, add version info --> 6689 <xsl:if test="contains('$Revision: 1.60 7$',':')">6690 <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.60 7$', 'Revision: '),'$','')),', ')" />6704 <xsl:if test="contains('$Revision: 1.608 $',':')"> 6705 <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.608 $', 'Revision: '),'$','')),', ')" /> 6691 6706 </xsl:if> 6692 <xsl:if test="contains('$Date: 2013/1 0/15 13:23:22$',':')">6693 <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2013/1 0/15 13:23:22$', 'Date: '),'$','')),', ')" />6707 <xsl:if test="contains('$Date: 2013/11/05 01:54:09 $',':')"> 6708 <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2013/11/05 01:54:09 $', 'Date: '),'$','')),', ')" /> 6694 6709 </xsl:if> 6695 6710 <xsl:value-of select="concat('XSLT vendor: ',system-property('xsl:vendor'),' ',system-property('xsl:vendor-url'))" />
Note: See TracChangeset
for help on using the changeset viewer.