Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/boost_1_33_1/tools/boostbook/xsl/admon.xsl @ 12

Last change on this file since 12 was 12, checked in by landauf, 17 years ago

added boost

File size: 1008 bytes
RevLine 
[12]1<?xml version="1.0" encoding="utf-8"?>
2<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
3                version="1.0">
4
5<xsl:import href="http://docbook.sourceforge.net/release/xsl/current/html/admon.xsl"/>
6<xsl:import href="relative-href.xsl"/>
7
8<xsl:template name="admon.graphic">
9    <xsl:param name="node" select="."/>
10
11    <xsl:call-template name="href.target.relative">
12        <xsl:with-param name="target" select="$admon.graphics.path"/>
13    </xsl:call-template>
14
15    <xsl:choose>
16        <xsl:when test="local-name($node)='note'">note</xsl:when>
17        <xsl:when test="local-name($node)='warning'">warning</xsl:when>
18        <xsl:when test="local-name($node)='caution'">caution</xsl:when>
19        <xsl:when test="local-name($node)='tip'">tip</xsl:when>
20        <xsl:when test="local-name($node)='important'">important</xsl:when>
21        <xsl:otherwise>note</xsl:otherwise>
22    </xsl:choose>
23
24    <xsl:value-of select="$admon.graphics.extension"/>
25</xsl:template>
26
27</xsl:stylesheet>
Note: See TracBrowser for help on using the repository browser.