Get XML Document Data returns null
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2011 07:56 AM - edited 03-14-2019 08:37 AM
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
- Labels:
-
Other Contact Center
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2011 09:33 AM
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
