Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Users might experience few discrepancies in Search results. We are working on this on our side. We apologize for the inconvenience it may have caused.
New Member

IPCC Express: Writing xml file from script

I am trying to create a step in a script that will write a variable into an xml file and was wondering if anyone had any experience with this. The xml file is in the following format:

<Weather>

<Weather1>0</Weather1>

</Weather>

There is a get digit string step that collects a string variable (weatherEntry) that should be inserted into the above xml file (named: weather.xml) where the 0 is. The string collected is also only one digit, if that matters.

Thanks in advance for any help on this.

1 REPLY
Silver

Re: IPCC Express: Writing xml file from script

Hi,

Use "Text Substitution For Keywords". Following URL specifies the usage of the same.

http://www.cisco.com/univercd/cc/td/doc/product/voice/sw_ap_to/apps_3_1/english/admn_app/step_ref/doc.htm#1049156

Do send me a mail if you have any further issues. I can send you sample script.

Regards

Yogi

135
Views
0
Helpful
1
Replies
CreatePlease to create content