[9882b55] | 1 | <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
---|
| 2 | version="1.0">
|
---|
| 3 |
|
---|
| 4 | <!-- Include common profiling stylesheet -->
|
---|
| 5 | <xsl:import href="profile-mode.xsl"/>
|
---|
| 6 |
|
---|
| 7 | <!-- This file must be included, because profile-mode is using templates from it -->
|
---|
| 8 | <xsl:import href="../common/stripns.xsl"/>
|
---|
| 9 |
|
---|
| 10 | <!-- In the two pass processing there is no need for base URI fixup -->
|
---|
| 11 | <xsl:param name="profile.baseuri.fixup" select="false()"/>
|
---|
| 12 |
|
---|
| 13 | <!-- If you need to validate profiled content against DTD,
|
---|
| 14 | create customization that will import this stylesheet and
|
---|
| 15 | will use xsl:output (see example bellow) to output reference
|
---|
| 16 | to the desired DTD version. -->
|
---|
| 17 | <!-- Generate DocBook instance with correct DOCTYPE -->
|
---|
| 18 | <!--
|
---|
| 19 | <xsl:output method="xml"
|
---|
| 20 | doctype-public="-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 21 | doctype-system="http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"/>
|
---|
| 22 | -->
|
---|
| 23 |
|
---|
| 24 | <!-- Profiling parameters -->
|
---|
| 25 | <xsl:param name="profile.arch" select="''"/>
|
---|
| 26 | <xsl:param name="profile.audience" select="''"/>
|
---|
| 27 | <xsl:param name="profile.condition" select="''"/>
|
---|
| 28 | <xsl:param name="profile.conformance" select="''"/>
|
---|
| 29 | <xsl:param name="profile.lang" select="''"/>
|
---|
| 30 | <xsl:param name="profile.os" select="''"/>
|
---|
| 31 | <xsl:param name="profile.revision" select="''"/>
|
---|
| 32 | <xsl:param name="profile.revisionflag" select="''"/>
|
---|
| 33 | <xsl:param name="profile.role" select="''"/>
|
---|
| 34 | <xsl:param name="profile.security" select="''"/>
|
---|
| 35 | <xsl:param name="profile.status" select="''"/>
|
---|
| 36 | <xsl:param name="profile.userlevel" select="''"/>
|
---|
| 37 | <xsl:param name="profile.vendor" select="''"/>
|
---|
| 38 | <xsl:param name="profile.wordsize" select="''"/>
|
---|
| 39 | <xsl:param name="profile.attribute" select="''"/>
|
---|
| 40 | <xsl:param name="profile.value" select="''"/>
|
---|
| 41 | <xsl:param name="profile.separator" select="';'"/>
|
---|
| 42 |
|
---|
| 43 | <!-- Call common profiling mode -->
|
---|
| 44 | <xsl:template match="/">
|
---|
| 45 | <xsl:apply-templates select="." mode="profile"/>
|
---|
| 46 | </xsl:template>
|
---|
| 47 |
|
---|
| 48 | </xsl:stylesheet>
|
---|
| 49 |
|
---|