XML utilities
This topic describes the common XML utilities available with BMC Atrium Orchestrator Content.
Convert JSON to XML
This utility converts JSON to XML. To use this utility, the json.jar file must be installed on your BMC Atrium Orchestrator peers and BMC Atrium Orchestrator Development Studio.
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.
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 |