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

Read XML Path

Chuck Smith
Level 1
Level 1

I am trying to use the get xml document data step in CRS to read an XML file for the status of a particular call center. What would the path be for the XML data in this XML code?

<OfficeSiteStatus xmlns="http://schemas.datacontract.org/2004/07/Cti.Data.Schema">Open</OfficeSiteStatus>

I should be able to read status "Open" to a variable for later processing.

Normally there is a child node to read but in this case there is no child. How do you read the data from the parent?

1 Reply 1

voiceops
Level 1
Level 1

I don't know What's this: "xmlns="http://schemas.datacontract.org/2004/07/Cti.Data.Schema"

but lets say you have:

Open

you would use this:

//OfficeSiteStatus for the xml path in the extract or get xml document data.