Changes between Version 15 and Version 16 of XPATH


Ignore:
Timestamp:
Apr 17, 2009, 4:09:45 AM (15 years ago)
Author:
heikki
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • XPATH

    v15 v16  
    7171
    7272I have already created code for an XPATH interpreter that recursively processes an XPATH expression to the desired level, so it seems it won't be too difficult to support these 'advanced' features. The interpreter uses the [http://commons.apache.org/jxpath/ JXPath] library. An example is:
    73 
     73 {{{
    7474input XPATH :
    7575//rim:ExtrinsicObject[@objectType='urn:x-ogc:specification:csw-ebrim-cim:ObjectType:MetadataInformation']/rim:Slot[@name='http://purl.org/dc/elements/1.1/language' and @ slotType='urn:ogc:def:dataType:RFC-4646:Language']
     
    8686        step: rim:Slot[@name = 'http://purl.org/dc/elements/1.1/language' and @slotType = 'urn:ogc:def:dataType:RFC-4646:Language'] xpath axis:  child
    8787operation 'and': @name = 'http://purl.org/dc/elements/1.1/language' and @slotType = 'urn:ogc:def:dataType:RFC-4646:Language'
     88 }}}
    8889
    8990
     
    9293
    9394
    94