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:

Input and Output Types

Data Resource Accessor

This activity can operate with any data resource accessor.

XML Schema

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

Class

uk.org.ogsadai.activity.transform.XSLTransformActivity

Client Toolkit Class

uk.org.ogsadai.client.toolkit.activity.transform.XSLTransform