Ignore:
Timestamp:
14/11/07 11:39:24 (12 years ago)
Author:
lawrence
Message:

Improved the query for numsim searches.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI05-delivery/ows_framework/trunk/ows_server/ows_server/models/ndg_xqueries.py

    r2985 r3016  
    2626for $dd in collection('/db/NumSim')//root()[. &= 'SEARCHSTRING'] 
    2727return <summary> 
    28 <id>{$dd/n:simulationMetadata/n:model/n:id/m:repositoryIdentifier/text()}__{$dd/n:simulationMetadata/n:model/n:id/m:schemeIdentifier/text()}__{$dd/n:simulationMetadata/n:model/n:id/m:localIdentifier/text()}</id> 
    29 <name>{$dd/n:simulationMetadata/n:model/n:name/text()}</name> 
     28<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> 
     29<name>{$dd/n:simulationMetadata/*/n:name/text()}</name> 
    3030<type>Numsim-{$dd/n:simulationMetadata/*[1]/name()}</type> 
    3131</summary> 
Note: See TracChangeset for help on using the changeset viewer.