Reading or "Parsing" XML with ASP:
set objXML = CreateObject("Microsoft.XMLDOM")
set objLst = CreateObject("Microsoft.XMLDOM")
objXML.async = false
strXML = "somefile.xml"
objXML.LoadXML strXML
set objLst = objXML.getElementsByTagName("*")
for i = 2 to (objLst.length - 1)
msgbox objLst.item(i).text
next
set objXML = Nothing
set objLst = Nothing
Writing XML with ASP:
Dim objFSO
Dim objStream
Set objFSO = Server.CreateObject("Scripting.FileSystemObject")
Set objStream = objFSO.OpenTextFile("C:\Commands.XML", ForWriting, True)
objStream.WriteLine "<scm>"
objStream.WriteLine " <commands>"
objStream.WriteLine " <command>stop</command>"
objStream.WriteLine " </commands>"
objStream.WriteLine "</scm>"
objStream.Close
These are pretty simple examples, let me know if you need help with a specific problem ...