Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.

How to convert XML document to xml variable?

Avatar

Level 7

Hi,

I have taken an xml variable in my process and reading a xml document file. Can anyone tell me how can i convert this xml document to xml variable so that i can parse the xml variable.

I am able to convert xml variable to xml document variable by using set value activity. But how do I perform reverse process.

I want to perform this conversion because i want to keep xml data in document format on storage drive and then parse this xml data so that i can read the nodes.

Any help will be appreciated..

Regards

Sunil

2 Replies

Avatar

Level 7

if i find out solution of this, i should be able to merge two xml document file into a single document file.

Avatar

Level 7

we can use set value activity to reach these xml docs and assign it to xml variable.

Then parsing of this xml can be browsed to find the nodes.

Regards

Sunil