Home » Javascript » How can i convert this XML code to (JScript or VBscript)? [on hold]

How can i convert this XML code to (JScript or VBscript)? [on hold]

Posted by: admin August 19, 2018 Leave a comment

Questions:

is there anyway to convert this XML code to JScript OR VBscript?

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE smsBatch PUBLIC "-//PERVASIVE//DTD CPAS 1.0//EN" 
"http://www.ubicomp.ir/dtd/Cpas.dtd">
<smsBatch company="COMPANYNAME" batchID="COMPANYNAME+20121018142458485680">
<sms msgClass="1" binary="true" dcs="8">
<destAddr><![CDATA[+XX912XXXXXXX]]></destAddr>
<origAddr><![CDATA[+XX1000XXXX]]></origAddr>
<message><![CDATA[testMessage]]></message>
</sms>
</smsBatch>

This code is suggested by a SMS company in XML (for send a sms we should send this xml file to this address:http://1xx.1xx.2x.1x:2xxx/CPSMSService/Access) and we have a monitoring app in our company that can send a SMS on some special flag.But this app doesn’t know XML. it just knows JScript OR VBscript.
SO is there anyway to convert this XML code to JScript OR VBscript?
if there is pls experts tell me what is the code?
Thanks a galaxy

Answers: