source: stylesheets/lfs-xsl/docbook-xsl-1.78.1/profiling/profile.xsl@ 15c7d39

10.0 10.0-rc1 10.1 10.1-rc1 11.0 11.0-rc1 11.0-rc2 11.0-rc3 11.1 11.1-rc1 11.2 11.2-rc1 11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 7.5 7.6 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 arm bdubbs/gcc13 ml-11.0 multilib renodr/libudev-from-systemd s6-init trunk xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/lfs-next xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since 15c7d39 was 15c7d39, checked in by Matthew Burgess <matthew@…>, 11 years ago

Update stylesheets to docbook-xsl-1.78.1.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10355 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 2.2 KB
Line 
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<xsl:param name="exsl.node.set.available">
44 <xsl:choose>
45 <xsl:when xmlns:exsl="http://exslt.org/common" exsl:foo="" test="function-available('exsl:node-set') or contains(system-property('xsl:vendor'), 'Apache Software Foundation')">1</xsl:when>
46 <xsl:otherwise>0</xsl:otherwise>
47 </xsl:choose>
48</xsl:param>
49
50<!-- Call common profiling mode -->
51<xsl:template match="/">
52 <xsl:apply-templates select="." mode="profile"/>
53</xsl:template>
54
55</xsl:stylesheet>
56
Note: See TracBrowser for help on using the repository browser.