Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved


Chapter 20 XML Activities Palette : Render XML

Render XML
Activity
The Render XML activity takes an instance of an XML schema element and renders it as a stream of bytes containing XML or an XML string. The schema is processed based on the XSD file specified.
Rendering Date and Datetime Strings
WhenTIBCO ActiveMatrix BusinessWorks generates datetime strings, it always uses UTC time. For example, the time 55 minutes, 31 seconds, and 112 milliseconds after 2PM on February 10th, 2002 would be represented as the following by the Render XML activity:
 
2002-02-10T14:55:31.112Z
Configuration
The Configuration tab has the following fields.
You can specify any valid XML encoding value listed in IANA-Charsets. See http://www.iana.org/assignments/character-sets for a complete list. Encoding names are case insensitive.
Advanced
The Advanced tab allows you to specify which elements in the input schema can contain CDATA sections. CDATA sections allow you to enclose text within an element that should not be treated as XML.
The + button allows you to add elements of the input schema to the list. When you click the + button, a dialog appears that allows you to locate and select the input schema by location in the project or by namespace. Use the By Location tab if your input schema is located in the project directory. Use the By Namespace tab if you constructed the input schema on the Input Editor tab.
Use the X button to remove elements from the list and the up and down arrows to move elements in the list.
Input Editor
The Input Editor tab allows you to define a schema for the incoming XML data you want to render. See Appendix A, Specifying Data Schema for a complete description of using the Input Editor tab.
Input
See TIBCO ActiveMatrix BusinessWorks Process Design for more information about mapping and transforming input data.
The input for the activity is the following.
You can specify any valid XML encoding value listed in IANA-Charsets. See http://www.iana.org/assignments/character-sets for a complete list. Encoding names are case insensitive.
Output
The output for the activity is the following.
Error Output
The Error Output tab lists the possible exceptions that can be thrown by this activity. See TIBCO ActiveMatrix BusinessWorks Error Codes for more information about error codes and corrective action to take.
 

Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved