Hi all,

I have a xml file with this order:
<SCAN>
<SITE>OS</SITE>
<NAME>jack</NAME>
</SCAN>

<SCAN>
<SITE>OD</SITE>
<NAME>mary</NAME>
</SCAN>

I need to select the name of site OD

ex:
if SITE=OD then
=nome
else
end if

Here is my code, it works fine i just need to search

HTML Code:
<%
Option Explicit
Response.Buffer = True
Dim xml
Set xml = Server.CreateObject("Microsoft.XMLDOM")
xml.async = False
xml.load (Server.MapPath("page.xml"))
Dim title, heading, paragraph,paragraph2,paragraph3,paragraph4, testHTML
title = xml.documentElement.childNodes(0).text
heading = xml.documentElement.childNodes(1).text
paragraph = xml.documentElement.childNodes(2).text
paragraph2 = xml.documentElement.childNodes(3).text
paragraph3 = xml.documentElement.childNodes(4).text
paragraph4 = xml.documentElement.childNodes(5).text
testHTML = xml.documentElement.childNodes(6).text
Set xml = Nothing
%>
<html>
<head>
<title><%= title %></title>
</head>
<body>
<h3 align="center"><%= heading %></h3>
<p align="center"><% = paragraph %></p>
<p align="center"><% = paragraph2 %></p>
<p align="center"><% = paragraph3 %></p>
<p align="center"><% = paragraph4 %></p>
<div align="center"><%= testHTML %></div>
</body>
</html>