cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
487
Views
0
Helpful
2
Replies

looping through xml file

jamjam200
Level 1
Level 1

I have an xml file that list a number of business states, i.e, major outage , minor outage or normal. when a user calls in the script checks the xml file for the "current_state" and will play a prompt depending on that state, this works fine.

if I want to enter two states in the xml file. i.e there could be a major and minor outage, so I need the script to loop throught the xml file and check all states and play prompts for each state it finds.- I am having trouble doing this,

any tips would be great

Thanks

2 Replies 2

Email me your script and the XML file. I will make the necessary mods and send that to you.

If available. Please post modifications to script and .xml file.

Thank you.