Project

General

Profile

1
<?xml version="1.0"?>
2
<!--
3
  *  '$RCSfile$'
4
  *      Authors: Matt Jones
5
  *    Copyright: 2000 Regents of the University of California and the
6
  *         National Center for Ecological Analysis and Synthesis
7
  *  For Details: http://www.nceas.ucsb.edu/
8
  *
9
  *   '$Author: barteau $'
10
  *     '$Date: 2008-01-15 17:12:44 -0800 (Tue, 15 Jan 2008) $'
11
  * '$Revision: 3689 $'
12
  *
13
  * This program is free software; you can redistribute it and/or modify
14
  * it under the terms of the GNU General Public License as published by
15
  * the Free Software Foundation; either version 2 of the License, or
16
  * (at your option) any later version.
17
  *
18
  * This program is distributed in the hope that it will be useful,
19
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
20
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21
  * GNU General Public License for more details.
22
  *
23
  * You should have received a copy of the GNU General Public License
24
  * along with this program; if not, write to the Free Software
25
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
26
  *
27
  * This is an XSLT (http://www.w3.org/TR/xslt) stylesheet designed to
28
  * convert an XML file that is valid with respect to the eml-dataset.dtd
29
  * module of the Ecological Metadata Language (EML) into an HTML format
30
  * suitable for rendering with modern web browsers.
31
-->
32
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
33
  <xsl:import href="../../../../common/eml-2/eml.xsl"/>
34
  <xsl:import href="./pageheader.xsl"/>
35
  <xsl:import href="./pagefooter.xsl"/>
36
  <xsl:import href="./page_leftsidebar.xsl"/>
37
  <xsl:import href="./page_rightsidebar.xsl"/>
38

    
39
  <xsl:output method="html" encoding="iso-8859-1"
40
    doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN"
41
    doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
42
    indent="yes" />  
43
  <!-- global variables to store id node set in case to be referenced-->
44
  <xsl:variable name="ids" select="//*[@id!='']"/>
45

    
46
  <xsl:template match="/">
47
    <html>
48
      <head>
49
        <link rel="stylesheet" type="text/css"
50
              href="./style/skins/sbclter/sbclter.css" />
51
      </head>
52
      <body>
53
        <!-- begin the header area -->
54
        <xsl:call-template name="pageheader" />
55
        <!-- end the header area -->
56
   
57
        <!-- begin the left sidebar area -->
58
        <xsl:call-template name="page_leftsidebar" />
59
        <!-- end the left sidebar area -->
60
   
61
        <!-- begin the content area -->
62
        <div id="{$mainTableAligmentStyle}">
63
          <xsl:apply-templates select="*[local-name()='eml']"/>
64
        </div>
65
        <!-- end the content area -->
66
   
67
        <!-- begin the right sidebar area -->
68
        <xsl:call-template name="page_rightsidebar" />
69
        <!-- end the right sidebar area -->
70

    
71
        <!-- begin the footer area -->
72
        <xsl:call-template name="pagefooter" />
73
        <!-- end the footer area -->
74
      </body>
75
    </html>
76
   </xsl:template>
77
   
78
</xsl:stylesheet>
(10-10/12)