diff options
| author | Luca Falavigna <dktrkranz@debian.org> | 2014-04-26 15:11:58 +0200 |
|---|---|---|
| committer | Luca Falavigna <dktrkranz@debian.org> | 2014-04-26 15:11:58 +0200 |
| commit | 140d836e9cd54fb67b969fd82ef7ed19ba574d40 (patch) | |
| tree | 0df3e32ee39603d43f9b90fd2f2e1f7cce4249d4 /src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/profiling/profile.xsl | |
| parent | cb3425abe0bc2d05caf401ca24b82a25a81f009d (diff) | |
Imported Upstream version 2.3.1upstream/2.3.1
Diffstat (limited to 'src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/profiling/profile.xsl')
| -rw-r--r-- | src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/profiling/profile.xsl | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/profiling/profile.xsl b/src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/profiling/profile.xsl new file mode 100644 index 0000000..b188fbb --- /dev/null +++ b/src/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/profiling/profile.xsl @@ -0,0 +1,56 @@ +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + version="1.0"> + +<!-- Include common profiling stylesheet --> +<xsl:import href="profile-mode.xsl"/> + +<!-- This file must be included, because profile-mode is using templates from it --> +<xsl:import href="../common/stripns.xsl"/> + +<!-- In the two pass processing there is no need for base URI fixup --> +<xsl:param name="profile.baseuri.fixup" select="false()"/> + +<!-- If you need to validate profiled content against DTD, + create customization that will import this stylesheet and + will use xsl:output (see example bellow) to output reference + to the desired DTD version. --> +<!-- Generate DocBook instance with correct DOCTYPE --> +<!-- +<xsl:output method="xml" + doctype-public="-//OASIS//DTD DocBook XML V4.5//EN" + doctype-system="http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"/> +--> + +<!-- Profiling parameters --> +<xsl:param name="profile.arch" select="''"/> +<xsl:param name="profile.audience" select="''"/> +<xsl:param name="profile.condition" select="''"/> +<xsl:param name="profile.conformance" select="''"/> +<xsl:param name="profile.lang" select="''"/> +<xsl:param name="profile.os" select="''"/> +<xsl:param name="profile.revision" select="''"/> +<xsl:param name="profile.revisionflag" select="''"/> +<xsl:param name="profile.role" select="''"/> +<xsl:param name="profile.security" select="''"/> +<xsl:param name="profile.status" select="''"/> +<xsl:param name="profile.userlevel" select="''"/> +<xsl:param name="profile.vendor" select="''"/> +<xsl:param name="profile.wordsize" select="''"/> +<xsl:param name="profile.attribute" select="''"/> +<xsl:param name="profile.value" select="''"/> +<xsl:param name="profile.separator" select="';'"/> + +<xsl:param name="exsl.node.set.available"> + <xsl:choose> + <xsl:when xmlns:exsl="http://exslt.org/common" exsl:foo="" test="function-available('exsl:node-set') or contains(system-property('xsl:vendor'), 'Apache Software Foundation')">1</xsl:when> + <xsl:otherwise>0</xsl:otherwise> + </xsl:choose> +</xsl:param> + +<!-- Call common profiling mode --> +<xsl:template match="/"> + <xsl:apply-templates select="." mode="profile"/> +</xsl:template> + +</xsl:stylesheet> + |
