> > > Apply ReplaceString to Update XML in Business Processes

Apply ReplaceString to Update XML in Business Processes

14th June 2019

Cleo CLarify Business Process ReplaceString Task

With the advent of Version 2 transformations (Rulesets, Business Process, RDO, DBA), manipulating XML schemas in Clarify is difficult

There might be times users need to update XML tags due to namespaces, prefixes, and etc,

Below we show how to perform a smple ReplaceString in a Business Process to add

XML Scenario:

We need to add a namespace to the root level XML Node/Element

Applying ReplaceString:

We will use ReplaceString to identify the originating value:

<\?xml version=\“1.0\” encoding=\“UTF-8\”\?>

We will replace it with:

<?xml version=“1.0” encoding=“UTF-8” standalone=“no”?>
<!DOCTYPE  “http://xml.seanhoppe.com/schemas/XML/1.0/Invoice.xml”>

Clarify Twist:

Take note we ‘escape’ certain characters in the Regular Expression portion of the ReplaceString.


By: on