Activity - xPathStatement

Activity Type: XML

Description

Run an XPath query on an XMLDB data resource. The query can be run upon an individual resource (in an XMLDB a resource is an XML document) within a collection or over an entire collection of resources.

Example

<xPathStatement name="statement">
  <collection>musicians/folksingers</collection>
  <resourceId>someResource</resourceId>
  <namespace prefix="c">http://folksingers/contact-details</namespace>
  <expression>/c:entry/c:address</expression>
  <resourceSetStream name="statementOutput"/>
</xPathStatement>

Specification

Element xPathStatement:

XML Schema

OGSA-DAI/schema/ogsadai/xsd/activities/xpath_statement.xsd

Implementation

OGSA-DAI/src/java/activities/uk/org/ogsadai/activity/xmldb/XPathStatementActivity.java