<script type="text/javascript">
text=text+"<title>Harry Potter</title>";
text=text+"<author>J K. Rowling</author>";
text=text+"<year>2005</year>";
text=text+"</bookstore>";
xmlDoc=new ActiveXObject("Microsoft.XMLDOM");
xmlDoc=parser.parseFromString(text,"text/xml");