Sha256: b509d539cbfd945a034134512fea2a9bb1cfc05055f00999ae90f8046356580e

Contents?: true

Size: 685 Bytes

Versions: 4

Compression:

Stored size: 685 Bytes

Contents

<?xml version="1.0"?>
<xsl:stylesheet exclude-result-prefixes="d"
                 xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:d="http://docbook.org/ns/docbook"
version="2.0">
  <xsl:output method="xml" omit-xml-declaration="no" doctype-public="-//OASIS//DTD DocBook XML V4.4//EN" doctype-system="http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" indent="no"/>
  <xsl:template match="@*|*|comment()|processing-instruction()">
    <xsl:copy>
      <xsl:apply-templates select="@*|node()"/>
    </xsl:copy>
  </xsl:template>
  <xsl:template match="text()">
    <xsl:value-of select="replace(replace(., '[a-z]', 'x'), '[0-9]', 'd')"/>
  </xsl:template>
</xsl:stylesheet>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
booky-0.0.4 lib/stylesheets/epub/bin/xslt/obfuscate.xsl
booky-0.0.3 lib/stylesheets/epub/bin/xslt/obfuscate.xsl
booky-0.0.2 lib/stylesheets/epub/bin/xslt/obfuscate.xsl
booky-0.0.1 lib/stylesheets/epub/bin/xslt/obfuscate.xsl