Eu tenho a estrutura xml como esta:
<info>
<name>XYZ</name>
<age>20</age>
</info>
Gostaria de mudar a idade para 30 na caixa de texto HTML e depois clique no botão de 'Editar' para atualizar os dados armazenados no arquivo xml mostrado acima. Abaixo está o código HTML:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Documento sem título</title>
</head>
<body>
<form method="post" action="info.asp">
<table border="2">
<h2>Informações (edit):</h2>
<table border="1">
<tr>
<td>Nome</td>
<td>
<input type="text">
</td>
</tr>
<tr>
<td>Idade</td>
<td>
<input type="text">
</td>
</tr>
</table>
<input type="submit" id="btn_sub" name="btn_sub" value="Enviar">
</table>
</form>
</body>
</html>
Você poderia me ajudar a corrigir isso? Obrigado.