cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1027
Views
0
Helpful
1
Replies

Get XML Document Data returns null

5rcooprider
Level 1
Level 1

I have created a Contact Center Express script, version 8.5 and am having a few issues with it. I am accessing an xml document from a web page using the Create URL Document step followed by the Create XML Document step, which works fine. However, when I go to pull the data out of the document using the Get XML Document Data step, all my variables I attempt to populate get populated with null. I believe this to be related to the fact that the xml document I am trying to use has xml namespaces in it. Does anyone have an idea on how to set the XML path in the Get XML Document Data step when namespaces are used? I have attached a sample xml file with the namespaces in it.

Thanks

Rich

1 Reply 1

villarrealed
Level 1
Level 1

Rich,

I've run into this issue before and I ended up performing a replace function on the XML document to reformat the xml to something that xpath can navigate.

Ed