Project

General

Profile

« Previous | Next » 

Revision 963

Added by berkley over 22 years ago

fixed my tagging error

View differences:

lib/style/resultset.xsl
181 181
                 </a><br />
182 182
                 <br/>
183 183
                 <p><pre>Document ID: <xsl:value-of select="./docid"/></pre></p>
184
                 <p><a>
185
                   <xsl:attribute name="href">http://dev.nceas.ucsb.edu:8091/qaengine/servlet/qaengine?action=getmetacatpackage&amp;testlang=1&amp;langsel=0&amp;mdocid=<xsl:value-of select="./docid"/></xsl:attribute>
186
                   Run less than test</a></p>
187
                 <p><a>
188
                   <xsl:attribute name="href">http://dev.nceas.ucsb.edu:8091/qaengine/servlet/qaengine?action=getmetacatpackage&amp;testlang=0&amp;langsel=2&amp;mdocid=<xsl:value-of select="./docid"/></xsl:attribute>
189
                   Run xy plot test</a></p>
184
<!--
185
                 <a>
186
                   <xsl:attribute name="href">javascript:submitform1('read','resource/%/abstract',document.<xsl:value-of select="translate(./docid,'.','')"/>)</xsl:attribute>
187
                   View Abstract
188
                 </a><br />
189
                 <a>
190
                   <xsl:attribute name="href">javascript:submitform2('read','zip',document.<xsl:value-of select="translate(./docid,'.','')"/>)</xsl:attribute>
191
                    Download Data and Metadata
192
                 </a><br />
193
-->
190 194
               </form>
191 195
             </td>
192

  
196
<!--
193 197
             <td>
198
               <xsl:if test="count(./relation) &gt; 0">
199
                 <xsl:for-each select="./relation">
200
                   <a>
201
                     <xsl:if test="starts-with(./triple, 'http')">
202
                       <xsl:attribute name="href">
203
                         <xsl:value-of select="./relationdoc" />
204
                       </xsl:attribute>
205
                       <xsl:if 
206
                        test="./relationdoctype = '-//NCEAS//eml-variable//EN'">
207
                         Variable Information
208
                       </xsl:if>
209
                       <xsl:if 
210
                        test="./relationdoctype = '-//NCEAS//eml-entity-2.0//EN'">
211
                         Table Information
212
                       </xsl:if>
213
                       <xsl:if 
214
                        test="./relationdoctype = '-//NCEAS//eml-physical-2.0//EN'">
215
                         File Information
216
                       </xsl:if>
217
                       <xsl:if 
218
                        test="./relationdoctype = '-//NCEAS//eml-distribution-2.0//EN'">
219
                         Distribution Information
220
                       </xsl:if>
221
                       <xsl:if 
222
                        test="./relationdoctype = '-//NCEAS//eml-access-2.0//EN'">
223
                         Access Information
224
                       </xsl:if>
225
                       <xsl:if 
226
                        test="./relationdoctype = '-//NCEAS//eml-context//EN'">
227
                         Context Information
228
                       </xsl:if>
229
                       <xsl:if 
230
                        test="./relationdoctype = '-//NCEAS//eml-software-2.0//EN'">
231
                         Software Information
232
                       </xsl:if>
233
                       <xsl:if 
234
                        test="./relationdoctype = '-//NCEAS//eml-status//EN'">
235
                         Status Information
236
                       </xsl:if>
237
                       <xsl:if 
238
                        test="./relationdoctype = '-//NCEAS//eml-supplement//EN'">
239
                         Supplemental Information
240
                       </xsl:if>
241
-->
242
                       <!-- If the doctype is null, this file is assumed to 
243
                            be a data file
244
                        -->
245
<!--
246
                       <xsl:if test="./relationdoctype = 'null'">
247
                         Data File
248
                       </xsl:if>
249
                     </xsl:if>
250
                     <xsl:if test="starts-with(./triple, '')">
251
                       <xsl:attribute name="href">
252
                         <xsl:text>@server@@servlet-path@?action=read&amp;qformat=knb&amp;docid=</xsl:text>
253
                         <xsl:value-of select="./relationdoc" />
254
                       </xsl:attribute>
255
                       <xsl:if 
256
                        test="./relationdoctype = '-//NCEAS//eml-variable//EN'">
257
                         Variable Information
258
                       </xsl:if>
259
                       <xsl:if 
260
                        test="./relationdoctype = '-//NCEAS//eml-entity-2.0//EN'">
261
                         Table Information
262
                       </xsl:if>
263
                       <xsl:if 
264
                        test="./relationdoctype = '-//NCEAS//eml-physical-2.0//EN'">
265
                         File Information
266
                       </xsl:if>
267
                       <xsl:if 
268
                        test="./relationdoctype = '-//NCEAS//eml-distribution-2.0//EN'">
269
                         Distribution Information
270
                       </xsl:if>
271
                       <xsl:if 
272
                        test="./relationdoctype = '-//NCEAS//eml-access-2.0//EN'">
273
                         Access Information
274
                       </xsl:if>
275
                       <xsl:if 
276
                        test="./relationdoctype = '-//NCEAS//eml-context//EN'">
277
                         Context Information
278
                       </xsl:if>
279
                       <xsl:if 
280
                        test="./relationdoctype = '-//NCEAS//eml-software-2.0//EN'">
281
                         Software Information
282
                       </xsl:if>
283
                       <xsl:if 
284
                        test="./relationdoctype = '-//NCEAS//eml-status//EN'">
285
                         Status Information
286
                       </xsl:if>
287
                       <xsl:if 
288
                        test="./relationdoctype = '-//NCEAS//eml-supplement//EN'">
289
                         Supplemental Information
290
                       </xsl:if>
291
-->
292
                       <!-- If the doctype is null, this file is assumed to 
293
                            be a data file
294
                        -->
295
<!--
296
                       <xsl:if test="./relationdoctype = 'null'">
297
                         Data File
298
                       </xsl:if>
299
                     </xsl:if>
300
                   </a>
301
                   <br/>
302
                 </xsl:for-each>  
303
               </xsl:if>
304
               <xsl:text> </xsl:text>
305
             </td>
306
-->
307
             <td>
194 308
               <xsl:for-each select="./param[@name='originator/individualName/surName']" >  
195 309
                 <xsl:value-of select="." />
196 310
                 <br/>
src/edu/ucsb/nceas/metacat/DBQuery.java
1105 1105
      filePath += "/";
1106 1106
    }
1107 1107
    String fileName = filePath + docImpl.getDocID();
1108
    zEntry = new ZipEntry(packageZipEntry+"/metadata/"+docImpl.getDocID());
1108
    zEntry = new ZipEntry(packageZipEntry+"/data/"+docImpl.getDocID());
1109 1109
    zipOut.putNextEntry(zEntry);
1110 1110
    FileInputStream fin = null;
1111 1111
    try
build.xml
58 58
      <!-- Customize these properties for your system -->
59 59
      <property name="tomcat" value="/usr/local/devtools/jakarta-tomcat" />
60 60
      <property name="webapps" value="/opt/tomcat/webapps" />
61
      <property name="context" value="berkley" />
62
      <property name="user" value="berkley"/>
63
      <property name="password" value="UnSinn123"/>
64
      <property name="server" value="dev.nceas.ucsb.edu:8091"/>
61
      <property name="context" value="tao" />
62
      <property name="user" value="tao"/>
63
      <property name="password" value="tdataint"/>
64
      <property name="server" value="dev.nceas.ucsb.edu"/>
65 65
      <property name="web-base-url" 
66 66
                value="http://knb.ecoinformatics.org"/>
67 67
      <property name="default-style" value="knb" />
......
103 103
      <property name="eml-version" value="2.0.0beta6" />
104 104
      <property name="eml-tag" value="RELEASE_EML_2_0_0_BETA_6" />
105 105
      <property name="cvsroot" 
106
                value=":ext:berkley@cvs.ecoinformatics.org:/cvs" />
106
                value=":ext:tao@cvs.ecoinformatics.org:/cvs" />
107 107

  
108 108
      <property name="cpath" 
109 109
                value="${xmlp}:${xalan}:${apis}:${jdbc}:${jsdk}:${srb}:${cos}:${morpho}"/>

Also available in: Unified diff