i have a set-top box, inquiry
shows the status below:
never did vbscript before. can anybody show me how to get the text <e2instandby>, and show it as Boolean(false=on/true=off) for my set-top box status?
so far i came up with , dont know what to do next:
HTML Code:
http://192.168.0.3/web/powerstate
HTML Code:
<e2powerstate> <e2instandby>false</e2instandby> </e2powerstate>
so far i came up with , dont know what to do next:
PHP Code:
Sub Main()
Set xmlDoc = CreateObject("Microsoft.XMLDOM")
xmlDoc.Async = "False"
xmlDoc.Load("http://192.168.0.3/web/powerstate")
Set colNodes=xmlDoc.selectNodes ("//e2powerstate/e2instandby")
End Sub
Comment