Project

General

Profile

1
<?xml version="1.0"?>
2
<!--
3
*  '$RCSfile$'
4
*    Copyright: 2005 Regents of the University of California and the
5
*               National Center for Ecological Analysis and Synthesis
6
*
7
*   '$Author: jones $'
8
*     '$Date: 2005-12-08 14:02:06 -0800 (Thu, 08 Dec 2005) $'
9
* '$Revision: 2821 $'
10
*
11
* This program is free software; you can redistribute it and/or modify
12
* it under the terms of the GNU General Public License as published by
13
* the Free Software Foundation; either version 2 of the License, or
14
* (at your option) any later version.
15
*
16
* This program is distributed in the hope that it will be useful,
17
* but WITHOUT ANY WARRANTY; without even the implied warranty of
18
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19
* GNU General Public License for more details.
20
*
21
* You should have received a copy of the GNU General Public License
22
* along with this program; if not, write to the Free Software
23
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
24
-->
25
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
26
  <xsl:output method="text"/>
27
  <xsl:template match="/">
28
         <xsl:for-each select="resultset/document">
29
           <xsl:sort select="./param[@name='dataset/creator/organizationName']"/>
30
           <xsl:value-of select="./docid"/>,<xsl:value-of select="./param[@name='creator/organizationName' and starts-with(text(),'NCEAS ')]"/><xsl:text>
31
</xsl:text>
32
         </xsl:for-each>
33
    </xsl:template>
34
</xsl:stylesheet>
(4-4/4)