Ignore:
Timestamp:
07/10/08 15:26:22 (12 years ago)
Author:
cbyrom
Message:

Extend vocabtermdata module to provide utility methods to check if a
vocab data item is of the type deployable (i.e. usable as part of a
deployment) and is of the type deployment + expose method to retrieve
'pretty' title for subtypes + adjust search xqueries to retrieve the
full term urls for atom types and subtypes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • exist/trunk/python/ndgUtils/eXistInterface.py

    r4280 r4295  
    183183<id>{$DE/atom:entry/atom:id/text()}</id> \ 
    184184<name>{$DE/atom:entry/atom:title/text()}</name> \ 
    185 <type>{string($DE/atom:entry/atom:category[@term='ATOM_TYPE']/@label)}</type> \ 
    186 <subtype>{string($DE/atom:entry/atom:category[@term='ATOM_SUBTYPE']/@label)}</subtype> \ 
     185<type>{string($DE/atom:entry/atom:category[@term='ATOM_TYPE']/@scheme)}</type> \ 
     186<subtype>{string($DE/atom:entry/atom:category[@term='ATOM_SUBTYPE']/@scheme)}</subtype> \ 
    187187<href>{string($DE/atom:entry/atom:link[@rel='self']/@href)}</href> \ 
    188188<providerID>{$DE/atom:entry/moles:entity/moles:molesISO/moles:providerID/text()}</providerID> \ 
Note: See TracChangeset for help on using the changeset viewer.