prototype.xsl 472 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:nc="http://www.unidata.ucar.edu/namespaces/netcdf/ncml-2.2"
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" encoding="UTF-8" indent="yes"/>
  <xsl:template match="/">
    <netcdf-xml>
      <xsl:for-each select="/nc:netcdf/nc:attribute">
        <attr><xsl:value-of select="./@name"/></attr>
      </xsl:for-each>
    </netcdf_xml>
  </xsl:template>
</xsl:stylesheet>