summaryrefslogtreecommitdiff
path: root/tests/XSLTMark/dbonerow.xsl
blob: ce817026ccbe217509acb8f4c956e04bb33fcb9f (plain)
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
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">

  <xsl:output method="html" encoding="utf-8"/>

  <xsl:template match="row[id='0432']">
    <html>
      <head bgcolor="#ffffff">
      </head>
      <body>
        <table border="0">
          <tr>
            <td colspan="2" bgcolor="#000000">
              <font color="#ffffff">
                <xsl:value-of select="concat('personel record #', id)"/>
              </font>
            </td>
          </tr>
          <tr>
            <td bgcolor="#888888">
              First Name:
            </td>
            <td bgcolor="#dddddd">
              <xsl:value-of select="firstname"/>
            </td>
          </tr>
          <tr>
            <td bgcolor="#888888">
              Last Name:
            </td>
            <td bgcolor="#dddddd">
              <xsl:value-of select="lastname"/>
            </td>
          </tr>
          <tr>
            <td bgcolor="#888888">
              Street:
            </td>
            <td bgcolor="#dddddd">
              <xsl:value-of select="street"/>
            </td>
          </tr>
          <tr>
            <td bgcolor="#888888">
              City:
            </td>
            <td bgcolor="#dddddd">
              <xsl:value-of select="city"/>
            </td>
          </tr>
          <tr>
            <td bgcolor="#888888">
              State:
            </td>
            <td bgcolor="#dddddd">
              <xsl:value-of select="state"/>
            </td>
          </tr>
          <tr>
            <td bgcolor="#888888">
              Zip
            </td>
            <td bgcolor="#dddddd">
              <xsl:value-of select="zip"/>
            </td>
          </tr>
        </table>
      </body>
    </html>
  </xsl:template>

  <xsl:template match="text()"/>

</xsl:stylesheet>