1 | <?xml version='1.0'?> |
---|
2 | <!-- |
---|
3 | $Id$ |
---|
4 | Copyright (C) Authors contributing to this file. |
---|
5 | |
---|
6 | This file is part of BASE - BioArray Software Environment. |
---|
7 | Available at http://base.thep.lu.se/ |
---|
8 | |
---|
9 | BASE is free software; you can redistribute it and/or |
---|
10 | modify it under the terms of the GNU General Public License |
---|
11 | as published by the Free Software Foundation; either version 3 |
---|
12 | of the License, or (at your option) any later version. |
---|
13 | |
---|
14 | BASE is distributed in the hope that it will be useful, |
---|
15 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
16 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
17 | GNU General Public License for more details. |
---|
18 | |
---|
19 | You should have received a copy of the GNU General Public License |
---|
20 | along with BASE. If not, see <http://www.gnu.org/licenses/>. |
---|
21 | --> |
---|
22 | <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'> |
---|
23 | <xsl:import href="../docbook/xsl/html/docbook.xsl" /> |
---|
24 | <xsl:param name="admon.style"></xsl:param> |
---|
25 | <xsl:param name="chunker.message.nofilename">0</xsl:param> |
---|
26 | |
---|
27 | <xsl:output method="xml" doctype-system="helpfile.dtd" indent="yes" encoding="UTF-8" /> |
---|
28 | |
---|
29 | <xsl:template match="/"> |
---|
30 | <xsl:comment> |
---|
31 | Copyright (C) Authors contributing to this file. |
---|
32 | |
---|
33 | This file is part of BASE - BioArray Software Environment. Available at |
---|
34 | http://base.thep.lu.se/ |
---|
35 | |
---|
36 | BASE is free software; you can redistribute it and/or modify it under the terms of the |
---|
37 | GNU General Public License as published by the Free Software Foundation; either version |
---|
38 | 3 of the License, or (at your option) any later version. |
---|
39 | |
---|
40 | BASE is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; |
---|
41 | without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR |
---|
42 | PURPOSE. See the GNU General Public License for more details. |
---|
43 | |
---|
44 | You should have received a copy of the GNU General Public License along with this |
---|
45 | program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite |
---|
46 | </xsl:comment> |
---|
47 | <xsl:element name="helptexts"> |
---|
48 | <xsl:attribute name="clientExternalID">net.sf.basedb.clients.web</xsl:attribute> |
---|
49 | <xsl:for-each select="//helptext"> |
---|
50 | <xsl:element name="helpitem"> |
---|
51 | <xsl:attribute name="externalID"> |
---|
52 | <xsl:value-of select="@external_id" /> |
---|
53 | </xsl:attribute> |
---|
54 | <xsl:element name="name"> |
---|
55 | <xsl:value-of select="@title" /> |
---|
56 | </xsl:element> |
---|
57 | <xsl:element name="description"> |
---|
58 | <xsl:text disable-output-escaping="yes"><![CDATA[</xsl:text> |
---|
59 | <xsl:apply-templates select="*"/> |
---|
60 | <xsl:text disable-output-escaping="yes">]]></xsl:text> |
---|
61 | </xsl:element> |
---|
62 | </xsl:element> |
---|
63 | </xsl:for-each> |
---|
64 | </xsl:element> |
---|
65 | </xsl:template> |
---|
66 | |
---|
67 | <!-- skip text marked with <nohelp> tag --> |
---|
68 | <xsl:template match="nohelp"> |
---|
69 | </xsl:template> |
---|
70 | |
---|
71 | <xsl:template match="seeother"> |
---|
72 | <h4>See also</h4> |
---|
73 | <ul> |
---|
74 | <xsl:for-each select="other"> |
---|
75 | <li>{@link <xsl:value-of select="@external_id" /><xsl:text> </xsl:text><xsl:value-of select="." />}</li> |
---|
76 | </xsl:for-each> |
---|
77 | </ul> |
---|
78 | </xsl:template> |
---|
79 | |
---|
80 | <xsl:template match="guibutton"> |
---|
81 | <btn><xsl:apply-templates /></btn> |
---|
82 | </xsl:template> |
---|
83 | |
---|
84 | <xsl:template match="guilabel"> |
---|
85 | <lbl><xsl:apply-templates /></lbl> |
---|
86 | </xsl:template> |
---|
87 | |
---|
88 | <xsl:template match="bridgehead"> |
---|
89 | <h4><xsl:apply-templates /></h4> |
---|
90 | </xsl:template> |
---|
91 | |
---|
92 | </xsl:stylesheet> |
---|