Ignore:
Timestamp:
Jul 18, 2008, 3:37:21 AM (12 years ago)
Author:
julian.reschke@…
Message:

Upgrade to latest version of rfc2629.xslt

File:
1 edited

Legend:

Unmodified
Added
Removed
  • rfc2629xslt/rfc2629toFO.xslt

    r272 r285  
    3232<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    3333    version="1.0"
     34    xmlns:ed="http://greenbytes.de/2002/rfcedit"
     35    xmlns:exslt="http://exslt.org/common"
    3436    xmlns:fo="http://www.w3.org/1999/XSL/Format"
    35 
    36     xmlns:ed="http://greenbytes.de/2002/rfcedit"
     37    xmlns:msxsl="urn:schemas-microsoft-com:xslt"
     38    xmlns:myns="mailto:julian.reschke@greenbytes.de?subject=rcf2629.xslt"
     39    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    3740    xmlns:x="http://purl.org/net/xml2rfc/ext"
    38     xmlns:myns="mailto:julian.reschke@greenbytes.de?subject=rcf2629.xslt"
    39 
    40     xmlns:msxsl="urn:schemas-microsoft-com:xslt"
    41     xmlns:exslt="http://exslt.org/common"
    42 
    43     exclude-result-prefixes="msxsl exslt myns ed x"
     41
     42    exclude-result-prefixes="ed exslt msxsl  myns rdf x"
    4443>
    4544
     
    206205    </fo:block>
    207206  </xsl:for-each>
    208         <xsl:if test="address/uri">
    209     <fo:block>URI:&#0160;<fo:basic-link external-destination="url('{address/uri}')" xsl:use-attribute-sets="external-link"><xsl:value-of select="address/uri" /></fo:basic-link></fo:block>
    210   </xsl:if>
     207        <xsl:for-each select="address/uri">
     208    <xsl:variable name="uri">
     209      <xsl:call-template name="extract-uri"/>
     210    </xsl:variable>
     211    <fo:block>URI:&#0160;<fo:basic-link external-destination="url('{$uri}')" xsl:use-attribute-sets="external-link"><xsl:value-of select="$uri" /></fo:basic-link></fo:block>
     212  </xsl:for-each>
    211213</xsl:template>
    212214
     
    24012403</xsl:template>
    24022404
     2405<!-- XML checking -->
     2406<xsl:template match="x:parse-xml">
     2407  <xsl:apply-templates/>
     2408</xsl:template>
     2409
    24032410<xsl:template match="x:abnf-char-sequence">
    24042411  <xsl:choose>
     
    24152422    </xsl:otherwise>
    24162423  </xsl:choose>
     2424</xsl:template>
     2425
     2426<!-- inlined RDF support -->
     2427<xsl:template match="rdf:Description">
     2428  <!-- ignore -->
    24172429</xsl:template>
    24182430
Note: See TracChangeset for help on using the changeset viewer.