ASP form skal opdatere indhold i XML
Jeg har noget xml:<?xml version="1.0" encoding="utf-8"?>
<etellerandet>
<row>
<ID>1</ID>
<Tekst>tekst</Tekst>
<xy>1234</xy>
<temperatur>123</temperatur>
</row>
<row>
<ID>2</ID>
<Tekst>tekst</Tekst>
<xy>1234</xy>
<temperatur>123</temperatur>
</row>
</etellerandet>
Her skal temperatur noden opdateres udfra en asp fil med en form:
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>Temperatur 1</td>
<td>
<form id="form1" name="form1" method="post" action="">
<label>
<select name="select">
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
<option>5</option>
</select>
</label>
<label>
<input type="submit" name="Submit" value="Opdater" />
</label>
</form></td>
</tr>
<tr>
<td>Temperatur 2 </td>
<td><form id="form2" name="form2" method="post" action="">
<label>
<select name="select">
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
<option>5</option>
</select>
</label>
<label>
<input type="submit" name="Submit" value="Opdater" />
</label>
</form></td>
</tr>
</table>
Anyone?