Changeset 1811


Ignore:
Timestamp:
05/12/06 09:57:12 (13 years ago)
Author:
mpritcha
Message:

Removed hardcoded doc name, oops.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI01-discovery/trunk/ws-Discovery2/src/ndg/services/discovery/PresentAgent.java

    r1808 r1811  
    115115                                        Vector queryParams = new Vector(); 
    116116 
    117                                         String xqueryStr = "let $doc := collection('/db/discovery/original')//root()[util:document-name(.) = 'badc.nerc.ac.uk_DIF_dataent72.xml' ] for $i in $doc return <document>{document-uri($i)}</document>"; 
     117                                        String xqueryStr = "let $doc := collection('/db/discovery/original')//root()[util:document-name(.) = '"+thisdoc+"' ] for $i in $doc return <document>{document-uri($i)}</document>"; 
    118118                                        System.out.println("Doc search for present\n" + xqueryStr); 
    119119 
Note: See TracChangeset for help on using the changeset viewer.