Last change
on this file since 29 was
29,
checked in by landauf, 17 years ago
|
updated boost from 1_33_1 to 1_34_1
|
File size:
1.2 KB
|
Line | |
---|
1 | <?xml version="1.0" encoding="utf-8"?> |
---|
2 | <!-- |
---|
3 | Copyright (c) 2002 Douglas Gregor <doug.gregor -at- gmail.com> |
---|
4 | |
---|
5 | Distributed under the Boost Software License, Version 1.0. |
---|
6 | (See accompanying file LICENSE_1_0.txt or copy at |
---|
7 | http://www.boost.org/LICENSE_1_0.txt) |
---|
8 | --> |
---|
9 | <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" |
---|
10 | version="1.0"> |
---|
11 | |
---|
12 | <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/html/admon.xsl"/> |
---|
13 | <xsl:import href="relative-href.xsl"/> |
---|
14 | |
---|
15 | <xsl:template name="admon.graphic"> |
---|
16 | <xsl:param name="node" select="."/> |
---|
17 | |
---|
18 | <xsl:call-template name="href.target.relative"> |
---|
19 | <xsl:with-param name="target" select="$admon.graphics.path"/> |
---|
20 | </xsl:call-template> |
---|
21 | |
---|
22 | <xsl:choose> |
---|
23 | <xsl:when test="local-name($node)='note'">note</xsl:when> |
---|
24 | <xsl:when test="local-name($node)='warning'">warning</xsl:when> |
---|
25 | <xsl:when test="local-name($node)='caution'">caution</xsl:when> |
---|
26 | <xsl:when test="local-name($node)='tip'">tip</xsl:when> |
---|
27 | <xsl:when test="local-name($node)='important'">important</xsl:when> |
---|
28 | <xsl:otherwise>note</xsl:otherwise> |
---|
29 | </xsl:choose> |
---|
30 | |
---|
31 | <xsl:value-of select="$admon.graphics.extension"/> |
---|
32 | </xsl:template> |
---|
33 | |
---|
34 | </xsl:stylesheet> |
---|
Note: See
TracBrowser
for help on using the repository browser.