2658 |
05 May 08 |
olle |
1 |
<?xml version="1.0" encoding="ISO-8859-1"?> |
2658 |
05 May 08 |
olle |
2 |
<xsl:stylesheet version="1.0" |
2658 |
05 May 08 |
olle |
3 |
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" |
2658 |
05 May 08 |
olle |
4 |
xmlns:GAML="http://www.bioml.com/gaml/" > |
2658 |
05 May 08 |
olle |
5 |
<!-- |
2658 |
05 May 08 |
olle |
X! tandem default style sheet |
2658 |
05 May 08 |
olle |
Copyright (C) 2003 Ronald C. Beavis |
2658 |
05 May 08 |
olle |
All Rights Reserved |
2658 |
05 May 08 |
olle |
This source code is distributed under the terms of the |
2658 |
05 May 08 |
olle |
Artistic License. |
2658 |
05 May 08 |
olle |
11 |
--> |
2658 |
05 May 08 |
olle |
12 |
|
2658 |
05 May 08 |
olle |
13 |
<xsl:template match="/"> |
2658 |
05 May 08 |
olle |
14 |
<html> |
2658 |
05 May 08 |
olle |
15 |
<head> |
2658 |
05 May 08 |
olle |
16 |
<title><xsl:value-of select="/bioml/@label" /></title> |
2658 |
05 May 08 |
olle |
17 |
<link rel="stylesheet" href="http://v.thegpm.org/tandem/tandem-style.css" /> |
2658 |
05 May 08 |
olle |
18 |
</head> |
2658 |
05 May 08 |
olle |
19 |
|
2658 |
05 May 08 |
olle |
20 |
<body bgcolor="#FFFFFF"> |
2658 |
05 May 08 |
olle |
21 |
<TABLE CELLSPACING="3" CELLPADDING="3"> |
2658 |
05 May 08 |
olle |
22 |
<TR> |
2658 |
05 May 08 |
olle |
23 |
<TD WIDTH="500" VALIGN="TOP" ALIGN="LEFT" class="top_note">X! tandem <xsl:value-of select="/bioml/@label" /> method</TD> |
2658 |
05 May 08 |
olle |
24 |
</TR> |
2658 |
05 May 08 |
olle |
25 |
</TABLE> |
2658 |
05 May 08 |
olle |
26 |
<table border="0" cellspacing="2" cellpadding="2"> |
2658 |
05 May 08 |
olle |
27 |
<xsl:apply-templates select="/bioml/note" /> |
2658 |
05 May 08 |
olle |
28 |
</table> |
2658 |
05 May 08 |
olle |
29 |
</body> |
2658 |
05 May 08 |
olle |
30 |
</html> |
2658 |
05 May 08 |
olle |
31 |
</xsl:template> |
2658 |
05 May 08 |
olle |
32 |
|
2658 |
05 May 08 |
olle |
33 |
<xsl:template match="note"> |
2658 |
05 May 08 |
olle |
34 |
<xsl:if test="contains(@type,'input')"> |
2658 |
05 May 08 |
olle |
35 |
<xsl:variable name="str_label" select="@label" /> |
2658 |
05 May 08 |
olle |
36 |
<xsl:variable name="str_value" select="text()" /> |
2658 |
05 May 08 |
olle |
37 |
<TR> |
2658 |
05 May 08 |
olle |
38 |
<TD WIDTH="200" VALIGN="TOP" ALIGN="RIGHT"><I><xsl:value-of select="@label" /></I></TD> |
2658 |
05 May 08 |
olle |
39 |
<TD WIDTH="350" VALIGN="TOP" ALIGN="LEFT"><B><xsl:value-of select="text()" /></B></TD> |
2658 |
05 May 08 |
olle |
40 |
</TR> |
2658 |
05 May 08 |
olle |
41 |
</xsl:if> |
2658 |
05 May 08 |
olle |
42 |
<xsl:if test="contains(@type,'description') "> |
2658 |
05 May 08 |
olle |
43 |
<TR> |
2658 |
05 May 08 |
olle |
44 |
<TD WIDTH="550" VALIGN="TOP" COLSPAN="2" ALIGN="LEFT"><xsl:value-of select="text()" /></TD> |
2658 |
05 May 08 |
olle |
45 |
</TR> |
2658 |
05 May 08 |
olle |
46 |
</xsl:if> |
2658 |
05 May 08 |
olle |
47 |
<xsl:if test="contains(@type,'heading') "> |
2658 |
05 May 08 |
olle |
48 |
<TR> |
2658 |
05 May 08 |
olle |
49 |
<TR> |
2658 |
05 May 08 |
olle |
50 |
<TD WIDTH="200" VALIGN="TOP" ALIGN="CENTER"><B><xsl:value-of select="text()" /></B></TD> |
2658 |
05 May 08 |
olle |
51 |
<TD WIDTH="350" VALIGN="TOP" ALIGN="LEFT"></TD> |
2658 |
05 May 08 |
olle |
52 |
</TR> |
2658 |
05 May 08 |
olle |
53 |
</TR> |
2658 |
05 May 08 |
olle |
54 |
</xsl:if> |
2658 |
05 May 08 |
olle |
55 |
</xsl:template> |
2658 |
05 May 08 |
olle |
56 |
|
2658 |
05 May 08 |
olle |
57 |
|
2658 |
05 May 08 |
olle |
58 |
|
2658 |
05 May 08 |
olle |
59 |
</xsl:stylesheet> |
2658 |
05 May 08 |
olle |
60 |
|