cancel
Showing results for 
Search instead for 
Did you mean: 

Parsing XML created using XML Generator: a simpler way

omair
Contributor

I’m trying to test a pipeline that receives incoming payload as XML and processes it using some static XML specified in the XML Generator SNAP. My problem is, I would like the XML Generator generated XML to be converted to JSON… Right now it looks like the XML Parser cannot directly serve as a downstream snap to the XML Generator snap… so I"m having to do the following to test with the generated XML:

1f4b201c5da5cf0b59c9e29e715a574e700b87e9.png

That’s right, I need to output the XML to a file and then read the file and parse that…

Can someone please tell me if there’s an easier way of going from XML Generator → XML Parser?

2 REPLIES 2

nganapathiraju
Former Employee

Did you try Doc->Binary and XML Parser? You dont have to do all of that
stuff in between.

Thanks & Regards,
Naveen

del
Contributor III

[After re-reading the original post and solution, I’m removing my initial response containing an unnecessary workaround]