Changeset 5611


Ignore:
Timestamp:
12/08/09 16:27:27 (10 years ago)
Author:
sdonegan
Message:

Got rid of problem character

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ndgCommon/trunk/ndg/common/xmldb/xquery/DIF2DC.xq

    r5604 r5611  
    1 (: Return a specific DC document converting from the DIF present :) 
    2  
     1(:Return a specific DC document converting from the DIF present:) 
    32declare default element namespace 'http://gcmd.gsfc.nasa.gov/Aboutus/xml/dif/'; 
    43 
     
    87declare variable $localIdentifier as xs:string := 'RepositoryID:DIF:LocalID'; 
    98 
    10 for $DE in collection($targetCollection)/DIF[Entry_ID=$localIdentifier] return  
     9for $DE in collection($targetCollection)/DIF[Entry_ID=$localIdentifier] return 
    1110 
    1211element oai_dc:dc { 
     
    1615    element dc:identifier {replace(data($DE/Entry_ID),":DIF:","__DC__")}, 
    1716    element dc:description {data($DE/Summary)}, 
    18     element dc:date {data($DE/DIF_Revision_History)}     
     17    element dc:date {data($DE/DIF_Revision_History)} 
    1918} 
    20  
    21  
Note: See TracChangeset for help on using the changeset viewer.