Table of Contents

Search

  1. Preface
  2. Introduction to Data Transformation
  3. Data Processor Transformation
  4. Wizard Input and Output Formats
  5. Relational Input and Output
  6. Using the IntelliScript Editor
  7. XMap
  8. Libraries
  9. Schema Object
  10. Command Line Interface
  11. Scripts
  12. Parsers
  13. Script Ports
  14. Document Processors
  15. Formats
  16. Data Holders
  17. Anchors
  18. Transformers
  19. Actions
  20. Serializers
  21. Mappers
  22. Locators, Keys, and Indexing
  23. Streamers
  24. Validators, Notifications, and Failure Handling
  25. Validation Rules
  26. Custom Script Components

User Guide

User Guide

Data Processor Functions

Data Processor Functions

The Expression Editor has Data Processor functions that you can use for the Data Processor transformation.
The Data Processor transformation uses the following XPath functions:
dp:as_xml
Receives a node as an input and returns the node value and the value of all the children as an XML string recursively. The as_xml function uses the following syntax:
dp:as_XML(<node>)
dp:get_id
Generates a unique ID associated with a node and returns it. You can use the ID to create primary key-foreign key relationships in the data. Map the ID to a node in the schema and map it to keys in relational data. The get_id function uses the following syntax:
dp:get_id(<node>)
dp:input
Returns the node that provides the current input context. Use the function in the Output field to refer to a node from the Input schema. The input function uses the following syntax:
dp:input()
dp:transform
Call a Data Processor transformation transformer that you define in a Script. You can perform an inline or external transformation. The function uses the following syntax:
dp:transform(<transform-name>,<transform-value>)
The transform function uses the following parameters:
  • Transform-name. The name of the transformer in the Script.
  • Transform-value. The transform value upon which to perform the transformation.
The lookup function is available through the use of the
dp:transform
function.
dp:output
Returns the node that provides the current output context. Use the function in the Input field to refer to a node in the output schema. The output function uses the following syntax:
dp:output()

0 COMMENTS

We’d like to hear from you!