1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103
|
<?xml version='1.0'?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'>
<xsl:output method="text"/>
<!-- éventuellement des paramètres -->
<xsl:template match="tagfile">
<xsl:apply-templates select="compound[@kind = 'page']"/>
<xsl:apply-templates select="compound[@kind = 'group']"/>
</xsl:template>
<xsl:template match="compound[@kind = 'page']">
<table width="100%" style="border : solid 1px #597ba8 ; border-right-style: none; border-top-style: none; border-left-style: none;"><tr><td>Plug-ins Reference</td><td align="right">
<img src="../common/logo.png" width="32"/></td></tr></table>
</xsl:template>
<xsl:template match="compound[@kind = 'group']">
<a name="<xsl:value-of select="name"/>">
<table border="0" width="100%" align="bottom" height="70px" bgcolor="#E5E5E5"><tr><td><h1 align="right"><xsl:value-of select="title"/> </h1></td></tr></table>
</a>
<xsl:for-each select="class">
<xsl:variable name="name_class" select="concat('class',current())"/>
<a name="<xsl:value-of select="current()"/>"><br/>
<h2 align="left"><xsl:value-of select="current()"/><hr style="border:1px; background-color:#597ba8; height:1px"/></h2></a>
<xsl:for-each select="document(concat('xml/class',current(),'.xml'))/doxygen/compounddef[@id=$name_class]">
<p><u>Description</u><br/></p>
<xsl:apply-templates select="briefdescription"/>
<br/>
<xsl:apply-templates select="detaileddescription"/>
<br/>
</xsl:for-each>
</xsl:for-each>
</xsl:template>
<xsl:template match="briefdescription|detaileddescription">
<xsl:apply-templates select="para"/>
</xsl:template>
<xsl:template match="para">
<p>
<xsl:apply-templates/>
</p>
</xsl:template>
<xsl:template match="ulink">
<a href="<xsl:value-of select="@url"/>"><xsl:value-of select="current()"/></a>
</xsl:template>
<xsl:template match="simplesect[@kind='author']">
<dl><dt><b>AUTHORS</b></dt>
<dd>
<xsl:apply-templates/>
</dd></dl>
</xsl:template>
<xsl:template match="simplesect[@kind='note']">
<dl><dt><b>NOTES</b></dt>
<dd>
<xsl:apply-templates/>
</dd></dl>
</xsl:template>
<xsl:template match="simplesect[@kind='version']">
<dl><dt><b>VERSION</b></dt>
<dd>
<xsl:apply-templates/>
</dd></dl>
</xsl:template>
<xsl:template match="itemizedlist">
<ul>
<xsl:apply-templates/>
</ul>
</xsl:template>
<xsl:template match="listitem">
<li>
<xsl:apply-templates/>
</li>
</xsl:template>
<xsl:template match="bold">
<b>
<xsl:apply-templates/>
</b>
</xsl:template>
<xsl:template match="ref">
<font color="#6c94cb">
<xsl:apply-templates/>
</font>
</xsl:template>
<xsl:template match="linebreak">
<br/>
<xsl:apply-templates/>
</xsl:template>
</xsl:stylesheet>
<!--<xsl:for-each select="document('tulip-plugins.tag')/tagfile/compound[@kind ='class']">
<xsl:if test="$name_class = name">
<keyword ref="doxygen/tulip-plugins/<xsl:value-of select="filename"/>"><xsl:value-of select="name"/></keyword>
</xsl:if>
</xsl:for-each>-->
|