remove an old note for file
[linux_from_scratch.git] / BOOK / stylesheets / lfs-xsl / profile.xsl
blob63e73d28d960ff5871d35492cee9d30c6aff54a7
1 <?xml version='1.0' encoding='ISO-8859-1'?>
3 <!--
4 $LastChangedBy$
5 $Date$
6 -->
8 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
9 version="1.0">
11 <!-- Stylesheet to create profiled XML output.
12 Replaces {docbook-xsl}/profiling/profile.xsl -->
14 <!-- Include common profiling stylesheet -->
15 <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/profiling/profile-mode.xsl"/>
17 <!-- This file must be included, because profile-mode uses
18 templates from it -->
19 <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/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
31 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="','"/>
50 <!-- Call common profiling mode -->
51 <xsl:template match="/">
52 <xsl:apply-templates select="." mode="profile"/>
53 </xsl:template>
55 </xsl:stylesheet>