[xmljs-users] XML help..
Brought to you by:
djoham,
witchhunter
From: Craig A. <cr...@at...> - 2006-01-02 11:33:54
|
Hi, I have a XML file that looks like the following. Data.xml <?xml version="1.0"?> <ControlME> <CurrentPresets> <Var0>2</Var0> <Var1>345</Var1> <Var2>34</Var2> <Var3>455</Var3> <Var4>1</Var4> <Var5>54</Var5> <Var6>67</Var6> </CurrentPresets> </ControlME> These values are constantly updating. I was wondering if any one would have a simple example of getting the values into a web page via button alert. eg: <input type="button" onclick="alert(getData('Data.xml', 'Var0'))" value="Var0"> Regards Craig |