[thelist] beginner XML ASP question

Duncan O'Neill dbaxo at ihug.co.nz
Tue Oct 1 10:18:01 CDT 2002


Jacques Capesius wrote:
>
> Dim xml,root,i
> set xml = Server.CreateObject("Microsoft.XMLDOM")
> xml.async = False
> xml.load (Server.MapPath("test.xml"))
> set root = xml.documentElement
> For i = 0 To (root.childNodes.length)
>    document.write(root.childNodes.item(i).text & "<br>")
> Next

Oops, I knew I forgot something.

You should be using response.write, rather than
document.write

--
Duncan O'Neill
================================================




More information about the thelist mailing list