Changeset 4670 for exist


Ignore:
Timestamp:
17/12/08 09:36:15 (11 years ago)
Author:
sdonegan
Message:

Get rid of bug with targetCollection setter.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • exist/trunk/xquery/mdip2moles.xq

    r4653 r4670  
    1212declare namespace gco='http://www.isotc211.org/2005/gco'; 
    1313 
    14 declare variable collection($targetCollection) as xs:string := 'TargetCollection'; 
     14declare variable $targetCollection as xs:string := 'TargetCollection'; 
    1515declare variable $input_repository as xs:string := 'RepositoryID'; 
    1616declare variable $input_repository_local as xs:string := 'repository_localid'; 
    1717declare variable $input_DatasetIdentifier as xs:string := 'Input_Entry_ID'; 
    18 (:declare variable $input_DatasetIdentifier as xs:string := 'MRMLN00400000061';:) 
    1918declare variable $output_local_id as xs:string := 'LocalID'; 
    2019 
    21 (:declare variable collection($targetCollection) := doc("AMRMLN00400000061.xml");:) 
    2220 
    2321for $MDIP in collection($targetCollection)/mdip:Metadata[mdip:DatasetIdentifier=$input_DatasetIdentifier] 
Note: See TracChangeset for help on using the changeset viewer.