File: identity.xsl

package info (click to toggle)
docbook-defguide 2.0.17%2Bsvn9912-4
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 93,436 kB
  • sloc: xml: 396,482; perl: 4,471; python: 879; makefile: 150; sh: 80
file content (23 lines) | stat: -rw-r--r-- 742 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                xmlns:saxon="http://icl.com/saxon"
                exclude-result-prefixes="saxon"
                version="1.0">

  <xsl:output method="xml" indent="no"
              doctype-public="-//OASIS//DTD DocBook EBNF Module V1.2CR1//EN"
              doctype-system="http://www.oasis-open.org/docbook/xml/ebnf/1.2CR1/dbebnf.dtd"/>

  <xsl:preserve-space elements="*"/>

  <xsl:template match="*">
    <xsl:copy>
      <xsl:copy-of select="@*"/>
      <xsl:apply-templates/>
    </xsl:copy>
  </xsl:template>

  <xsl:template match="comment()|processing-instruction()|text()">
    <xsl:copy/>
  </xsl:template>
</xsl:stylesheet>