Activity - xUpdateStatement

Activity Type: XML

Description

Run an XUpdate update on an XMLDB data resource. The update 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

<xUpdateStatement name="statement">
  <collection>musicians/folksingers</collection>
  <resourceId>someResource</resourceId>
  <expression>
    <xu:modifications version="1.0"
      xmlns:xu="http://www.xmldb.org/xupdate">
      <xu:update select="/entry/phone">123123123123</xu:update>
    </xu:modifications>
  </expression>
  <outputStream name="statementOutput"/>
</xUpdateStatement>

Specification

Element xUpdateStatement:

XML Schema

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

Implementation

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