Add two new stylesheet driver files. default.xsl is the analogue of
default.dsl, and just calls freebsd.xsl. freebsd.xsl is where the project-specific customisations for the XSL stylesheets will go.
This commit is contained in:
parent
3fb94de348
commit
06a6db0650
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=12970
2 changed files with 31 additions and 0 deletions
15
share/xsl/default.xsl
Normal file
15
share/xsl/default.xsl
Normal file
|
@ -0,0 +1,15 @@
|
|||
<!-- $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 -->
|
||||
<xsl:import href="freebsd.xsl"/>
|
||||
|
||||
<!-- Redefine variables, and replace templates as necessary here -->
|
||||
|
||||
</xsl:stylesheet>
|
||||
|
16
share/xsl/freebsd.xsl
Normal file
16
share/xsl/freebsd.xsl
Normal file
|
@ -0,0 +1,16 @@
|
|||
<!-- $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 -->
|
||||
|
||||
</xsl:stylesheet>
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue