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

removeSystemNamespaceXML

removeSystemNamespaceXML

Removes system namespaces from an XML document to provide a more simplified and readable XML structure.

Syntax

util:removeSystemNamespaceXML(currentElement)

Return Value

The function returns a more simplified and readable XML structure.

Examples

The following table contains an example of an XML code snippet that is passed as an input in the function and the corresponding XML output:
SAMPLE FUNCTION
OUTPUT
<root> <Request xmlns:sf="http://schemas.active-endpoints.com/appmodules/screenflow/2010/10/avosScreenflow.xsd" xmlns:aetgt="http://schemas.informatica.com/spi/types/2013/12/spi-interface/" xmlns:ns2="http://schemas.informatica.com/spi/types/2013/12/spi-interface/" xmlns:type="http://schemas.informatica.com/spi/types/2013/12/spi-interface/" xmlns:ns4="http://schemas.active-endpoints.com/appmodules/screenflow/2011/06/avosHostEnvironment.xsd" xmlns:ns3="http://schemas.active-endpoints.com/appmodules/screenflow/2011/07/avosCommon.xsd" xmlns:ns5="http://schemas.active-endpoints.com/appmodules/screenflow/2012/09/avosObjectDiscovery.xsd" xmlns:ns6="http://schemas.active-endpoints.com/appmodules/screenflow/2010/10/avosScreenflow.xsd"> <MessageID>001</MessageID> <Customer> <CustomerID>CUST123</CustomerID> <Name>Jane Doe</Name> </Customer> <Order> <OrderID>ORD789</OrderID> <Product>Gadget X</Product> <Quantity>5</Quantity> </Order> </Request> </root>
<root> <Request> <MessageID>001</MessageID> <Customer> <CustomerID>CUST123</CustomerID> <Name>Jane Doe</Name> </Customer> <Order> <OrderID>ORD789</OrderID> <Product>Gadget X</Product> <Quantity>5</Quantity> </Order> </Request> </root>

Back to Top

0 COMMENTS

We’d like to hear from you!