Changeset 1145 for rfc2629xslt/rfc2629toXHTML.xslt
- Timestamp:
- 01/03/11 09:24:49 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
rfc2629xslt/rfc2629toXHTML.xslt
r1103 r1145 612 612 <xsl:otherwise> 613 613 <xsl:variable name="start" select="substring-before($content,'
')"/> 614 <xsl:variable name="end" select="substring-after($content,'
')"/> 615 <xsl:if test="string-length($start) > 69 + $indent"> 614 <xsl:variable name="end" select="substring-after($content,'
')"/> 615 <xsl:variable name="max"> 616 <xsl:choose> 617 <xsl:when test="$indent!=''"><xsl:value-of select="69 + $indent"/></xsl:when> 618 <xsl:otherwise>69</xsl:otherwise> 619 </xsl:choose> 620 </xsl:variable> 621 <xsl:if test="string-length($start) > $max"> 616 622 <xsl:call-template name="warning"> 617 623 <xsl:with-param name="inline" select="'no'"/> … … 1026 1032 <xsl:apply-templates select="x:boilerplate"/> 1027 1033 <xsl:apply-templates select="abstract"/> 1028 <xsl:apply-templates select="note"/> 1034 1035 <!-- Notes except IESG Notes --> 1036 <xsl:apply-templates select="note[@title!='IESG Note' or $xml2rfc-private!='']"/> 1029 1037 <!-- show notes inside change tracking as well --> 1030 <xsl:apply-templates select="ed:replace[.//note ]"/>1038 <xsl:apply-templates select="ed:replace[.//note[@title!='IESG Note' or $xml2rfc-private!='']]"/> 1031 1039 1032 1040 <xsl:if test="$xml2rfc-private='' and $abstract-first"> … … 1133 1141 <!-- numbered list inside numbered list --> 1134 1142 <xsl:template match="list[@style='numbers']/t/list[@style='numbers']" priority="9"> 1135 <ol xmlns="http://www.w3.org/1999/xhtml" style="list-style-type: lower-alpha">1143 <ol xmlns="http://www.w3.org/1999/xhtml" class="la"> 1136 1144 <xsl:call-template name="insertInsDelClass"/> 1137 1145 <xsl:apply-templates/> … … 1140 1148 1141 1149 <xsl:template match="list[@style='letters']"> 1142 <ol xmlns="http://www.w3.org/1999/xhtml" style="list-style-type: lower-alpha">1150 <ol xmlns="http://www.w3.org/1999/xhtml" class="la"> 1143 1151 <xsl:call-template name="insertInsDelClass"/> 1144 1152 <xsl:apply-templates/> … … 1148 1156 <!-- nested lettered list uses uppercase --> 1149 1157 <xsl:template match="list//t//list[@style='letters']" priority="9"> 1150 <ol xmlns="http://www.w3.org/1999/xhtml" style="list-style-type: upper-alpha">1158 <ol xmlns="http://www.w3.org/1999/xhtml" class="ua"> 1151 1159 <xsl:call-template name="insertInsDelClass"/> 1152 1160 <xsl:apply-templates/> … … 3156 3164 margin-right: 2em; 3157 3165 } 3166 ol.la { 3167 list-style-type: lower-alpha; 3168 } 3169 ol.ua { 3170 list-style-type: upper-alpha; 3171 } 3158 3172 ol p { 3159 3173 margin-left: 0em; … … 4298 4312 </section> 4299 4313 4314 <!-- IESG Note goes here; see http://www.rfc-editor.org/rfc-style-guide/rfc-style --> 4315 <xsl:copy-of select="/rfc/front/note[@title='IESG Note']"/> 4316 4300 4317 <xsl:choose> 4301 4318 <xsl:when test="$ipr-2008-11"> … … 6082 6099 <xsl:text>http://greenbytes.de/tech/webdav/rfc2629.xslt, </xsl:text> 6083 6100 <!-- when RCS keyword substitution in place, add version info --> 6084 <xsl:if test="contains('$Revision: 1.54 0$',':')">6085 <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.54 0$', 'Revision: '),'$','')),', ')"/>6101 <xsl:if test="contains('$Revision: 1.543 $',':')"> 6102 <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.543 $', 'Revision: '),'$','')),', ')"/> 6086 6103 </xsl:if> 6087 <xsl:if test="contains('$Date: 2011-0 1-10 09:27:20 $',':')">6088 <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2011-0 1-10 09:27:20 $', 'Date: '),'$','')),', ')"/>6104 <xsl:if test="contains('$Date: 2011-02-18 21:03:40 $',':')"> 6105 <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2011-02-18 21:03:40 $', 'Date: '),'$','')),', ')"/> 6089 6106 </xsl:if> 6090 6107 <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.