Project

General

Profile

« Previous | Next » 

Revision 39

Added by Matt Jones about 24 years ago

creating display stylesheet for eml-variable

View differences:

eml-variable-display.xsl
1 1
<?xml version="1.0"?>
2
<!--
3
  * eml-variable-display.xsl
4
  *
5
  *      Authors: Matt Jones
6
  *    Copyright: 2000 Regents of the University of California and the
7
  *               National Center for Ecological Analysis and Synthesis
8
  *  For Details: http://www.nceas.ucsb.edu/
9
  *      Created: 2000 April 5
10
  *    File Info: '$Id$'
11
  * 
12
  * This is an XSLT (http://www.w3.org/TR/xslt) stylesheet designed to
13
  * convert an XML file that is valid with respect to the eml-variable.dtd
14
  * module of the Ecological Metadata Language (EML) into an HTML format
15
  * suitable for rendering with modern web browsers.
16
  *
17
  ***                                                                       ***
18
  *** WARNING: THIS stylesheet was written for an early version if Internet ***
19
  *** Explorer 5, and DOES NOT COMPLY with the W3C XSLT standard.           ***
20
  ***                                                                       ***
21
-->
2 22
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
3 23
<HTML>
4 24
  <HEAD>
......
11 31
    </STYLE>
12 32
    <XML id="eml_variable">
13 33
      <xsl:apply-templates select="eml_variable">
14
        <xsl:template><xsl:copy><xsl:apply-templates select="@*"/><xsl:apply-templates/></xsl:copy></xsl:template>
34
        <xsl:template>
35
          <xsl:copy>
36
            <xsl:apply-templates select="@*"/>
37
            <xsl:apply-templates/>
38
          </xsl:copy>
39
        </xsl:template>
15 40
      </xsl:apply-templates>
16 41
    </XML>
17 42
    <XML id="sorted"><xsl:eval/></XML>

Also available in: Unified diff