[f8c4e94] | 1 | <?xml version='1.0' encoding='ISO-8859-1'?> |
---|
| 2 | |
---|
| 3 | <!-- |
---|
| 4 | $LastChangedBy$ |
---|
| 5 | $Date$ |
---|
| 6 | --> |
---|
| 7 | |
---|
| 8 | <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" |
---|
| 9 | version="1.0"> |
---|
| 10 | |
---|
| 11 | <!-- Stylesheet to create profiled XML output. |
---|
| 12 | Replaces {docbook-xsl}/profiling/profile.xsl --> |
---|
| 13 | |
---|
| 14 | <!-- Include common profiling stylesheet --> |
---|
| 15 | <xsl:import href="docbook-xsl-snapshot/profiling/profile-mode.xsl"/> |
---|
| 16 | |
---|
| 17 | <!-- This file must be included, because profile-mode is using |
---|
| 18 | templates from it --> |
---|
| 19 | <xsl:import href="docbook-xsl-snapshot/common/stripns.xsl"/> |
---|
| 20 | |
---|
| 21 | <!-- In the two pass processing there is no need for base URI fixup --> |
---|
| 22 | <xsl:param name="profile.baseuri.fixup" select="false()"/> |
---|
| 23 | |
---|
| 24 | <!-- Generate DocBook instance with correct DOCTYPE --> |
---|
| 25 | <xsl:output method="xml" |
---|
| 26 | doctype-public="-//OASIS//DTD DocBook XML V4.5//EN" |
---|
| 27 | doctype-system="http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"/> |
---|
| 28 | |
---|
| 29 | <!-- Profiling parameters: |
---|
| 30 | profile.separator changed from ";" to "," to let it work |
---|
| 31 | at command line. --> |
---|
| 32 | <xsl:param name="profile.arch" select="''"/> |
---|
| 33 | <xsl:param name="profile.audience" select="''"/> |
---|
| 34 | <xsl:param name="profile.condition" select="''"/> |
---|
| 35 | <xsl:param name="profile.conformance" select="''"/> |
---|
| 36 | <xsl:param name="profile.lang" select="''"/> |
---|
| 37 | <xsl:param name="profile.os" select="''"/> |
---|
| 38 | <xsl:param name="profile.revision" select="''"/> |
---|
| 39 | <xsl:param name="profile.revisionflag" select="''"/> |
---|
| 40 | <xsl:param name="profile.role" select="''"/> |
---|
| 41 | <xsl:param name="profile.security" select="''"/> |
---|
| 42 | <xsl:param name="profile.status" select="''"/> |
---|
| 43 | <xsl:param name="profile.userlevel" select="''"/> |
---|
| 44 | <xsl:param name="profile.vendor" select="''"/> |
---|
| 45 | <xsl:param name="profile.wordsize" select="''"/> |
---|
| 46 | <xsl:param name="profile.attribute" select="''"/> |
---|
| 47 | <xsl:param name="profile.value" select="''"/> |
---|
| 48 | <xsl:param name="profile.separator" select="','"/> |
---|
| 49 | |
---|
| 50 | <!-- Call common profiling mode --> |
---|
| 51 | <xsl:template match="/"> |
---|
| 52 | <xsl:apply-templates select="." mode="profile"/> |
---|
| 53 | </xsl:template> |
---|
| 54 | |
---|
| 55 | </xsl:stylesheet> |
---|