Changeset 4409 for exist


Ignore:
Timestamp:
04/11/08 11:47:53 (11 years ago)
Author:
lawrence
Message:

More general numsimSummary xquery that picks up both met office and
badc numsim records. (For some reason I can't get the qname out
easily). Note that this will break current browse search of numsim
documents.

Location:
exist/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • exist/trunk/python/setup.py

    r3997 r4409  
    66setup( 
    77        name='ndgUtils', 
    8     version='0.1.1', 
     8    version='0.1.2', 
    99    packages=find_packages(), 
    1010        test_suite='nose.collector', 
  • exist/trunk/xquery/numsimSummary.xq

    r3118 r4409  
    66<id>{$dd/n:simulationMetadata/*/n:id/m:repositoryIdentifier/text()}__{$dd/n:simulationMetadata/*/n:id/m:schemeIdentifier/text()}__{$dd/n:simulationMetadata/*/n:id/m:localIdentifier/text()}</id> 
    77<name>{$dd/n:simulationMetadata/*/n:name/text()}</name> 
    8 <type>Numsim-{$dd/n:simulationMetadata/*[1]/name()}</type> 
     8<type>numsim:{local-name($dd/n:simulationMetadata/*[1])}</type> 
    99</summary> 
Note: See TracChangeset for help on using the changeset viewer.