aboutsummaryrefslogtreecommitdiffstats
path: root/stylesheets
diff options
context:
space:
mode:
authorManuel Canales Esparcia <manuel@linuxfromscratch.org>2005-02-27 11:53:32 +0000
committerManuel Canales Esparcia <manuel@linuxfromscratch.org>2005-02-27 11:53:32 +0000
commita4f0f02360180a6416c9ebc6db336962f4c9deb5 (patch)
tree75808833400b296e8ac478d8ded78de715a06d6c /stylesheets
parentaaeb190cb8162829f03367d013e6d4bb33cedb20 (diff)
Fixing a bug in the original stylesheets.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@4697 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'stylesheets')
-rw-r--r--stylesheets/lfs-profile.xsl30
1 files changed, 28 insertions, 2 deletions
diff --git a/stylesheets/lfs-profile.xsl b/stylesheets/lfs-profile.xsl
index 7e63811e5..8af9ca94e 100644
--- a/stylesheets/lfs-profile.xsl
+++ b/stylesheets/lfs-profile.xsl
@@ -1,9 +1,35 @@
<?xml version='1.0' encoding='ISO-8859-1'?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:fo="http://www.w3.org/1999/XSL/Format"
version="1.0">
- <xsl:import href="http://docbook.sourceforge.net/release/xsl/1.67.2/profiling/profile.xsl"/>
+ <!-- Include common profiling stylesheet -->
+ <xsl:include href="http://docbook.sourceforge.net/release/xsl/1.67.2/profiling/profile-mode.xsl"/>
+
+ <!-- Generate DocBook instance with correct DOCTYPE -->
+ <xsl:output method="xml"
+ doctype-public="-//OASIS//DTD DocBook XML V4.4//EN"
+ doctype-system="http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd"/>
+
+ <!-- Profiling parameters -->
+ <xsl:param name="profile.arch" 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.userlevel" select="''"/>
+ <xsl:param name="profile.vendor" 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>