Sha256: 838b9b5585d398d49f4a55bcecf68cf038a50cb8ddbc383d6b9d494dbf2fed82

Contents?: true

Size: 612 Bytes

Versions: 4

Compression:

Stored size: 612 Bytes

Contents

<?xml version="1.0" encoding="utf-8"?>
<!-- $Id: utils.xsl,v 1.1 2003/10/10 08:00:05 wconrad Exp $ -->
<!-- $Author: wconrad $ -->

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  xmlns:fo="http://www.w3.org/1999/XSL/Format"
  version="1.0">

  <xsl:template name="no-hash-mark">
    <xsl:param name="string"/>
    <xsl:choose>
      <xsl:when test="substring($string,1,1) = '#'">
        <xsl:value-of select="substring($string,2)"/>
      </xsl:when>
      <xsl:otherwise>
        <xsl:value-of select="$string"/>
      </xsl:otherwise>
    </xsl:choose>
  </xsl:template>

</xsl:stylesheet>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
sqlpostgres-1.3.0 tools/rdoc/contrib/xslfo/utils.xsl
sqlpostgres-1.2.6 tools/rdoc/contrib/xslfo/utils.xsl
sqlpostgres-1.2.5 tools/rdoc/contrib/xslfo/utils.xsl
sqlpostgres-1.2.4 tools/rdoc/contrib/xslfo/utils.xsl