Project

General

Profile

1
<?xml version="1.0" ?>
2
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
3
  <xsl:output method="html"/>
4
  <xsl:template match="/">
5
  <!--
6
    List elements in the following order:
7
    - ID
8
    - Title
9
    - Alt title
10
    - URL
11
    - originator(s)
12
    - abstract
13
    - keyword info
14
      - keyword, keyword type
15
    - additionalInfo
16
  -->
17
  
18
  <html>
19
  <head>
20
  <title>
21
  <xsl:value-of select="title" />
22
  </title>
23
  </head>
24
  <body>
25
  <h1>
26
  <xsl:value-of select-"title" />
27
  </h1>
28
  <h2>
29
  <xsl:value-of select="alternateTitle" />
30
  </h2>
31
  <font size = 5>
32
  ID: <xsl:value-of select="identifier" />
33
  </font>
34
  <h3>URL:
35
  <xsl:value-of select="URL" />
36
  </h3>
37
  
38
  <h1>Document Owners</h1>
39
  <xsl:for-each select="originator">
40
   <p>
41
    <h4>Role:<xsl:value-of select="roleCode" /></h4>
42
    <xsl:value-of select="salutation" />
43
    <xsl:value-of select="givenName" />
44
    <xsl:value-of select="surName" />
45
    <br/>
46
    <xsl:value-of select="deliveryPoint" />
47
    <br/>
48
    <xsl:value-of select="city" />, 
49
    <xsl:value-of select="adminitrativeArea />
50
    <xsl:value-of select="postalCode" />
51
    <br/>
52
    <xsl:value-of select="electronicMailAddress" />
53
    <br/>
54
    <xsl:value-of select="onlineResource/URL" />
55
    <br/>
56
    <xsl:value-of select="hoursOfService" />
57
    <br/>
58
    <xsl:value-of select="contactInstructions" />
59
    <br/>
60
    voice:<xsl:value-of select="voice" />
61
    <br/>
62
    fax:<xsl:value-of select="facsimile" />
63
    <br/>
64
   </p> 
65
  </xsl:for-each>
66
  
67
  </body>
68
  </html>
(9-9/27)