~ubuntu-branches/ubuntu/trusty/libstruts1.2-java/trusty-proposed

« back to all changes in this revision

Viewing changes to contrib/tag-doc/src/resources/taglibdoc/tag-frame.xsl

  • Committer: Bazaar Package Importer
  • Author(s): Arnaud Vandyck
  • Date: 2004-11-19 15:35:25 UTC
  • Revision ID: james.westby@ubuntu.com-20041119153525-mdu08a76z4zo67xt
Tags: upstream-1.2.4
ImportĀ upstreamĀ versionĀ 1.2.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
 
2
<xsl:output
 
3
        method="html"
 
4
        version="4.0"
 
5
        omit-xml-declaration="yes"
 
6
        indent="yes"
 
7
/>
 
8
 
 
9
<xsl:template match="*">
 
10
<HTML>
 
11
<HEAD>
 
12
  <LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style" />
 
13
</HEAD>
 
14
<BODY>
 
15
 
 
16
<!-- ======== START OF TAG DATA ======== -->
 
17
<A NAME="_top"><!-- --></A>
 
18
 
 
19
<SPAN CLASS="FrameTitle">
 
20
  <xsl:value-of select="taglib"/>:<xsl:value-of select="name"/>
 
21
</SPAN>
 
22
&#160;&#160;&#160;&#160;(
 
23
<A HREF="#_description">description</A>
 
24
)
 
25
 
 
26
<P/>
 
27
<!-- ========== ATTRIBUTE SUMMARY =========== -->
 
28
<A NAME="attribute_summary"><!-- --></A>
 
29
 
 
30
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
 
31
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
 
32
<TD COLSPAN="2">
 
33
  <SPAN CLASS="FrameHeading">Attribute Summary</SPAN>
 
34
</TD>
 
35
</TR>
 
36
 
 
37
<xsl:for-each select="attribute">
 
38
<xsl:sort select="required" order="descending"/>
 
39
<xsl:sort select="name" order="ascending"/>
 
40
<xsl:element name="TR">
 
41
  <xsl:attribute name="CLASS">TableRow<xsl:value-of select="substring(required,1,1)"/>
 
42
    <xsl:value-of select="substring(rtexprvalue,1,1)"/>
 
43
  </xsl:attribute>
 
44
<TD ALIGN="right" VALIGN="top" WIDTH="10%"><FONT SIZE="-1">
 
45
  &#160;<xsl:if test="rtexprvalue='true'"><CODE>RTExprValue</CODE></xsl:if>
 
46
</FONT></TD>
 
47
<TD>
 
48
  <xsl:element name="A">
 
49
    <xsl:attribute name="HREF">#<xsl:value-of select="name"/></xsl:attribute>
 
50
    <B><CODE><xsl:value-of select="name"/></CODE></B>
 
51
  </xsl:element>
 
52
<BR/>
 
53
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;
 
54
<xsl:value-of select="substring(info,1,80)"/>
 
55
</TD>
 
56
</xsl:element>
 
57
</xsl:for-each>
 
58
 
 
59
</TABLE>
 
60
 
 
61
<P/>
 
62
 
 
63
<!-- ============ ATTRIBUTE DETAIL ========== -->
 
64
<A NAME="attribute_detail"><!-- --></A>
 
65
 
 
66
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
 
67
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
 
68
<TD COLSPAN="1">
 
69
  <SPAN CLASS="FrameHeading">Attribute Detail</SPAN>
 
70
</TD>
 
71
</TR>
 
72
</TABLE>
 
73
 
 
74
<xsl:for-each select="attribute">
 
75
<xsl:sort select="required" order="descending"/>
 
76
<xsl:sort select="name" order="ascending"/>
 
77
<xsl:element name="A">
 
78
  <xsl:attribute name="NAME"><xsl:value-of select="name"/></xsl:attribute>
 
79
</xsl:element>
 
80
<H3><xsl:value-of select="name"/></H3>
 
81
<xsl:copy-of select="info"/>
 
82
 
 
83
<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0">
 
84
<TR>
 
85
<TD><B>Required:</B>&#160;&#160;&#160;&#160;</TD>
 
86
<TD><xsl:value-of select="required"/></TD>
 
87
</TR><TR>
 
88
<TD><B>RTExprValue:</B>&#160;&#160;&#160;&#160;</TD>
 
89
<TD><xsl:value-of select="rtexprvalue"/></TD>
 
90
</TR>
 
91
</TABLE>
 
92
<HR/>
 
93
</xsl:for-each>
 
94
 
 
95
<P/>
 
96
<P/>
 
97
 
 
98
<!-- ============ DESCRIPTION ========== -->
 
99
<A NAME="_description"><!-- --></A>
 
100
 
 
101
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
 
102
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
 
103
<TD COLSPAN="1">
 
104
  <SPAN CLASS="FrameHeading">Description</SPAN>
 
105
</TD>
 
106
</TR>
 
107
</TABLE>
 
108
<P/>
 
109
 
 
110
<xsl:value-of select="summary" />
 
111
<P/>
 
112
<xsl:copy-of select="info" />
 
113
<P/>
 
114
<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0">
 
115
<TR>
 
116
<TD><B>Tag Class:</B>&#160;&#160;&#160;&#160;</TD>
 
117
<TD><xsl:value-of select="tagclass"/></TD>
 
118
</TR><TR>
 
119
<TD><B>Tei Class:</B>&#160;&#160;&#160;&#160;</TD>
 
120
<TD><xsl:value-of select="teiclass"/></TD>
 
121
</TR><TR>
 
122
<TD><B>Body Content:</B>&#160;&#160;&#160;&#160;</TD>
 
123
<TD><xsl:value-of select="bodycontent"/></TD>
 
124
</TR>
 
125
</TABLE>
 
126
 
 
127
</BODY>
 
128
</HTML>
 
129
</xsl:template>
 
130
</xsl:stylesheet>