1 <?xml version='
1.0' encoding='ISO-
8859-
1'
?>
8 <xsl:stylesheet xmlns:
xsl=
"http://www.w3.org/1999/XSL/Transform"
11 <!-- Stylesheet to create profiled XML output.
12 Replaces {docbook-xsl}/profiling/profile.xsl -->
14 <!-- Include common profiling stylesheet -->
15 <xsl:import href=
"docbook-xsl-1.78.1/profiling/profile-mode.xsl"/>
17 <!-- This file must be included, because profile-mode uses
19 <xsl:import href=
"docbook-xsl-1.78.1/common/stripns.xsl"/>
21 <!-- In two pass processing there is no need for the base URI fixup -->
22 <xsl:param name=
"profile.baseuri.fixup" select=
"false()"/>
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"/>
29 <!-- Profiling parameters:
30 profile.separator changed from ";" to "," to let it work on the command
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=
"','"/>
50 <!-- Call common profiling mode -->
51 <xsl:template match=
"/">
52 <xsl:apply-templates select=
"." mode=
"profile"/>