Activity - xslTransform

Activity Type: Transformation

Description

Apply an XSL transform to data output from another activity.

Examples

<xslTransform name="transform">
  <inputXSLT from="deliverXSLTOutput"/>
  <inputXML from="statementOutput"/>
  <output name="transformedOutput"/>
</xslTransform>
<xslTransform name="transformInLine">
  <inputXSLT>
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
      version="1.0">
      <xsl:output method="text" indent="yes" />
      <xsl:template match="/">
        <xsl:value-of select="RowSet/data/row/col[1]"/>
      </xsl:template>
    </xsl:stylesheet>
  </inputXSLT>
  <inputXML from="statementOutput"/>
  <output name="transformedOutput"/>
</xslTransform>

Specification

Element xslTransform:

XML Schema

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

Implementation

OGSA-DAI/src/java/activities/uk/org/ogsadai/activity/transform/XSLTransformActivity.java