Dynamically get values from server by index generated in XML and place by div java -


i have device , need values server , place in right place div.

there 3 groups of values digital, analogs , integer. values generating xml.cgi:

 getparams(xml.cgi?d|1|3|i|1|3|a|1|3);  

and generate xml:

  <pcoweb><pco> <digital> <variable> <index>1</index> <value>0</value> </variable> <variable> <index>2</index> <value>0</value> </variable><variable> <index>3</index> <value>0</value> </variable> </digital> <integer> <variable> <index>1</index> <value>0</value> </variable> <variable> <index>2</index> <value>0</value> </variable> <variable> <index>3</index> <value>0</value> </variable> </integer> <analog> <variable> <index>1</index> <value>5.0</value> </variable> <variable> <index>2</index> <value>5.9</value> </variable> <variable> <index>3</index> <value>0.0</value> </variable> </analog> </pco></pcoweb> 

how dynamically values , place on html using java , place right place div.


Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -