how can i save my html form input data to a xml file ? I have wrote html code but dont know hnow to save it in xml file. kindly also provide if some script is required as Im new to xml,
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://ift.tt/kkyg93">
<html xmlns="http://ift.tt/lH0Osb">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>HMS</title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<div id="Dadmin">
<form action="" class="login" method="get">
<input type="user-name" name="user-name" class="login-input" placeholder="user name">
<input type="age" name="age" class="login-input" placeholder="age">
<input type="Staff" name="Staff" class="login-input" placeholder="Staff">
<div style="text-align:center">
<label class="button">
<input type="radio" name="button" />
<span class="outer"><span class="inner"></span></span>
Male
</label>
<label class="button">
<input type="radio" name="button" />
<span class="outer"><span class="inner"></span></span>
Female
</label>
</div>
<input type="Desifnation" name="Designation" class="login-input" placeholder="Designation">
<input type="Department" name="Department" class="login-input" placeholder="Department">
<input type="Speciality" name="Speciality" class="login-input" placeholder="Speciality">
<input type="password" name="password" class="login-input" placeholder="Password">
<input type="submit" value="Done" class="login-submit">
</form>
</div>
No comments:
Post a Comment