Changeset 1145 for rfc2629xslt/rfc2629toFO.xslt
- Timestamp:
- 01/03/11 09:24:49 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
rfc2629xslt/rfc2629toFO.xslt
r1103 r1145 345 345 <xsl:apply-templates select="x:boilerplate"/> 346 346 <xsl:apply-templates select="abstract" /> 347 <xsl:apply-templates select="note " />347 <xsl:apply-templates select="note[@title!='IESG Note' or $xml2rfc-private!='']" /> 348 348 349 349 <xsl:if test="$xml2rfc-private='' and $abstract-first"> … … 2321 2321 2322 2322 <xsl:template match="rfc" mode="bookmarks"> 2323 <xsl:if test="$xml2rfc-private=''"> 2324 <!-- Get status info formatted as per RFC2629--> 2325 <xsl:variable name="preamble"><xsl:call-template name="insertPreamble" /></xsl:variable> 2326 2327 <!-- emit it --> 2328 <xsl:choose> 2329 <xsl:when test="function-available('exslt:node-set')"> 2330 <xsl:apply-templates select="exslt:node-set($preamble)/node()" mode="bookmarks"/> 2331 </xsl:when> 2332 <xsl:otherwise> 2333 <xsl:variable name="temp" select="$preamble"/> 2334 <xsl:apply-templates select="$temp/node()" mode="bookmarks"/> 2335 </xsl:otherwise> 2336 </xsl:choose> 2323 <xsl:if test="$xml2rfc-private='' and not($abstract-first)"> 2324 <xsl:call-template name="emit-ietf-preamble-bookmarks"/> 2337 2325 </xsl:if> 2338 2326 2339 2327 <xsl:apply-templates select="front/abstract" mode="bookmarks"/> 2340 <xsl:apply-templates select="front/note" mode="bookmarks"/> 2328 <xsl:apply-templates select="front/note[@title!='IESG Note' or $xml2rfc-private!='']" mode="bookmarks"/> 2329 2330 <xsl:if test="$xml2rfc-private='' and $abstract-first"> 2331 <xsl:call-template name="emit-ietf-preamble-bookmarks"/> 2332 </xsl:if> 2341 2333 2342 2334 <xsl:if test="$xml2rfc-toc='yes'"> … … 2347 2339 2348 2340 <xsl:apply-templates select="middle|back" mode="bookmarks"/> 2341 </xsl:template> 2342 2343 <xsl:template name="emit-ietf-preamble-bookmarks"> 2344 <!-- Get status info formatted as per RFC2629--> 2345 <xsl:variable name="preamble"><xsl:call-template name="insertPreamble" /></xsl:variable> 2346 2347 <!-- emit it --> 2348 <xsl:choose> 2349 <xsl:when test="function-available('exslt:node-set')"> 2350 <xsl:apply-templates select="exslt:node-set($preamble)/node()" mode="bookmarks"/> 2351 </xsl:when> 2352 <xsl:otherwise> 2353 <xsl:variable name="temp" select="$preamble"/> 2354 <xsl:apply-templates select="$temp/node()" mode="bookmarks"/> 2355 </xsl:otherwise> 2356 </xsl:choose> 2349 2357 </xsl:template> 2350 2358
Note: See TracChangeset
for help on using the changeset viewer.