Changes between Version 15 and Version 16 of XPATH
- Timestamp:
- 04/17/09 04:09:45 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
XPATH
v15 v16 71 71 72 72 I 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 {{{ 74 74 input XPATH : 75 75 //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'] … … 86 86 step: rim:Slot[@name = 'http://purl.org/dc/elements/1.1/language' and @slotType = 'urn:ogc:def:dataType:RFC-4646:Language'] xpath axis: child 87 87 operation 'and': @name = 'http://purl.org/dc/elements/1.1/language' and @slotType = 'urn:ogc:def:dataType:RFC-4646:Language' 88 }}} 88 89 89 90 … … 92 93 93 94 94