XML utilities


This topic describes the common XML utilities available with BMC Atrium Orchestrator Content.

Important

The XML utilities are compatible only with BMC Atrium Orchestrator Platform 7.9 and later. On the BMC Atrium Orchestrator peers, the json-20160316j6.jar file is located in the /tomcat/webapps/baocdp/WEB-INF/lib folder.

Convert JSON to XML

This utility converts JSON to XML. 

Workflow input elements

Input element

Description

Required

JSON

Specifies the JSON to be converted into XML

Yes

Workflow output elements

Output element

Description

XML

Specifies the XML output

Convert XML to JSON

This utility converts XML to JSON. The XML namespaces are striped to be converted to JSON.

Note

For XML with attributes, use the Convert XML Attributes to Elements workflow to convert XML attributes to elements first, and then convert to JSON.

Workflow input elements

Input element

Description

Required

XML

Specifies the XML to be converted into JSON

Yes

Workflow output elements

Output element

Description

JSON

Specifies the JSON output

Convert XML Attributes to Elements

This utility converts XML attributes to elements before converting it to JSON. 

Workflow input elements

Input element

Description

Required

XML

Specifies the XML whose attributes need to be converted into elements

Yes

Workflow output elements

Output element

Description

XMLNoAttribute

Specifies XML with no attributes

Strip Namespaces

This utility strips namespaces from the XML document. 

Workflow input elements

Input element

Description

Required

XML

Specifies the XML document from which to strip the namespaces

Yes

Workflow output elements

Output element

Description

XML

The submitted XML without namespaces

XML String to XML

This utility strips the XML headers and doctype elements from the XML strings to XML.

Workflow input elements

Input element

Description

Required

XML String

Specifies the formatted XML string

Yes

Workflow output elements

Output element

Description

XML

The submitted XML without the XML strings

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*