aboutsummaryrefslogtreecommitdiffstats
path: root/stylesheets/lfs-xsl/profile.xsl
diff options
context:
space:
mode:
authorManuel Canales Esparcia <manuel@linuxfromscratch.org>2007-07-05 21:18:33 +0000
committerManuel Canales Esparcia <manuel@linuxfromscratch.org>2007-07-05 21:18:33 +0000
commitc873d8072e3e1fb78b1be4ba5e3f8e3548d29694 (patch)
treefb2387ca1b158477659e00660269c92b94f4a00a /stylesheets/lfs-xsl/profile.xsl
parentbdbaf3eb1f0b1c8ef150764638c7473b9c25db96 (diff)
Added new-xsl files.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8196 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'stylesheets/lfs-xsl/profile.xsl')
-rw-r--r--stylesheets/lfs-xsl/profile.xsl55
1 files changed, 55 insertions, 0 deletions
diff --git a/stylesheets/lfs-xsl/profile.xsl b/stylesheets/lfs-xsl/profile.xsl
new file mode 100644
index 000000000..1ea247c70
--- /dev/null
+++ b/stylesheets/lfs-xsl/profile.xsl
@@ -0,0 +1,55 @@
+<?xml version='1.0' encoding='ISO-8859-1'?>
+
+<!--
+$LastChangedBy$
+$Date$
+-->
+
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ version="1.0">
+
+ <!-- Stylesheet to create profiled XML output.
+ Replaces {docbook-xsl}/profiling/profile.xsl -->
+
+ <!-- Include common profiling stylesheet -->
+ <xsl:import href="docbook-xsl-snapshot/profiling/profile-mode.xsl"/>
+
+ <!-- This file must be included, because profile-mode is using
+ templates from it -->
+ <xsl:import href="docbook-xsl-snapshot/common/stripns.xsl"/>
+
+ <!-- In the two pass processing there is no need for base URI fixup -->
+ <xsl:param name="profile.baseuri.fixup" select="false()"/>
+
+ <!-- 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:
+ profile.separator changed from ";" to "," to let it work
+ at command line. -->
+ <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="','"/>
+
+ <!-- Call common profiling mode -->
+ <xsl:template match="/">
+ <xsl:apply-templates select="." mode="profile"/>
+ </xsl:template>
+
+</xsl:stylesheet>