Sha256: cbc9e09be943f90a1f2123d809346480a6125c9cfd6eef5a95e8bc8ccfef0e82

Contents?: true

Size: 1.67 KB

Versions: 28

Compression:

Stored size: 1.67 KB

Contents

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main"
                xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships"
                xmlns:o="urn:schemas-microsoft-com:office:office"
                xmlns:v="urn:schemas-microsoft-com:vml"
                xmlns:WX="http://schemas.microsoft.com/office/word/2003/auxHint"
                xmlns:aml="http://schemas.microsoft.com/aml/2001/core"
                xmlns:w10="urn:schemas-microsoft-com:office:word"
                xmlns:pkg="http://schemas.microsoft.com/office/2006/xmlPackage"
                xmlns:msxsl="urn:schemas-microsoft-com:xslt"
                xmlns:ext="http://www.xmllab.net/wordml2html/ext"
                xmlns:java="http://xml.apache.org/xalan/java"
                xmlns:str="http://exslt.org/strings"
                xmlns:func="http://exslt.org/functions"
                xmlns:fn="http://www.w3.org/2005/xpath-functions"
                version="1.0"
                exclude-result-prefixes="java msxsl ext w o v WX aml w10"
                extension-element-prefixes="func">


  <xsl:template match="a[starts-with(@href, 'http://') or starts-with(@href, 'https://')]" name="link">
    <w:hyperlink>
      <xsl:attribute name="r:id"><xsl:call-template name="relationship-id"/></xsl:attribute>
      <w:r>
        <w:rPr>
          <w:rStyle w:val="Hyperlink"/>
          <w:color w:val="000080"/>
          <w:u w:val="single"/>
        </w:rPr>
        <w:t xml:space="preserve">
          <xsl:value-of select="."/>
        </w:t>
      </w:r>
    </w:hyperlink>
  </xsl:template>
</xsl:stylesheet>

Version data entries

28 entries across 28 versions & 2 rubygems

Version Path
avv2word-1.1.30 lib/avv2word/xslt/links.xslt
avv2word-1.1.29 lib/avv2word/xslt/links.xslt
avv2word-1.1.28 lib/avv2word/xslt/links.xslt
avv2word-1.1.27 lib/avv2word/xslt/links.xslt
avv2word-1.1.26 lib/avv2word/xslt/links.xslt
avv2word-1.1.25 lib/avv2word/xslt/links.xslt
avv2word-1.1.24 lib/avv2word/xslt/links.xslt
avv2word-1.1.23 lib/avv2word/xslt/links.xslt
avv2word-1.1.22 lib/avv2word/xslt/links.xslt
avv2word-1.1.21 lib/avv2word/xslt/links.xslt
avv2word-1.1.20 lib/avv2word/xslt/links.xslt
avv2word-1.1.18 lib/avv2word/xslt/links.xslt
avv2word-1.1.17 lib/avv2word/xslt/links.xslt
avv2word-1.1.16 lib/avv2word/xslt/links.xslt
avv2word-1.1.15 lib/avv2word/xslt/links.xslt
avv2word-1.1.14 lib/avv2word/xslt/links.xslt
avv2word-1.1.13 lib/avv2word/xslt/links.xslt
avv2word-1.1.12 lib/avv2word/xslt/links.xslt
avv2word-1.1.5 lib/avv2word/xslt/links.xslt
avv2word-1.1.4 lib/avv2word/xslt/links.xslt