From 562d3339099fe5b612e528f438a893e34083d7b3 Mon Sep 17 00:00:00 2001 From: Nik Clayton <nik@FreeBSD.org> Date: Sun, 5 May 2002 17:03:10 +0000 Subject: [PATCH] Reorder the $FreeBSD$ line. Indent. Teach the stylesheet how to format our custom elements. --- share/xsl/freebsd.xsl | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/share/xsl/freebsd.xsl b/share/xsl/freebsd.xsl index 4fff793966..a9d6f8007a 100644 --- a/share/xsl/freebsd.xsl +++ b/share/xsl/freebsd.xsl @@ -1,16 +1,19 @@ +<?xml version='1.0'?> + <!-- $FreeBSD$ --> -<?xml version='1.0'?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0' xmlns="http://www.w3.org/TR/xhtml1/transitional" exclude-result-prefixes="#default"> - -<!-- Pull in the base stylesheets --> -<!-- XXX hardcoded path. Very bad. Should be turned in to a paramater --> -<xsl:import href="/usr/local/share/xml/docbook/xsl/modular/html/docbook.xsl"/> - -<!-- Redefine variables, and replace templates as necessary here --> + + <!-- Pull in the base stylesheets --> + <!-- XXX hardcoded path. Very bad. Should be turned in to a paramater --> + <xsl:import href="/usr/local/share/xml/docbook/xsl/modular/html/docbook.xsl"/> + + <!-- Redefine variables, and replace templates as necessary here --> + <xsl:template match="hostid|username|groupname|devicename|maketarget|makevar"> + <xsl:call-template name="inline.monoseq"/> + </xsl:template> </xsl:stylesheet> -