Table of Contents

Search

  1. Preface
  2. Understanding Data Types and Field Properties
  3. Designing Processes
  4. Using and Displaying Data
  5. Designing Guides
  6. Designing Process Objects
  7. Designing Service Connectors
  8. Using App Connections
  9. System Services, Listeners and Connectors
  10. Designing Human Tasks

Design

Design

simplifyXml

simplifyXml

Rearranges data within XML so that it can be used by the process objects.

Syntax

util:simplifyXml(undefined)

Return Value

When the process is deployed on the cloud server or agent, the function returns an output without name spaces and convert attributes into child elements.

Examples

The function returns the following output for the XML data provided as input:
INPUT
OUTPUT
<ns:root xmlns:ns="https://qwerty" attrKey="attrValue"> data </ns:root>
<root><attrKey>attrValue</attrKey> <text>data</text> </root>

0 COMMENTS

We’d like to hear from you!