Hola mis estimados tengo la siguiente pregunta.
 
 
con este codigo leo registros de un xml
 
 
 'Llamamos al XML
url = "XML/xml.xml" 
set xmlhttp = CreateObject("Microsoft.XMLHTTP") ' objeto para windows 2000 server
xmlhttp.open "GET", url, false 
xmlhttp.setRequestHeader "Content-Type", "application/x-www-form-urlencoded" 
xmlhttp.send "" 
 
 
 
For Each objItem in xmlhttp.responseXML.SelectNodes("aspxml/contents/Content")
 
			'Response.Write ("ID: " & objItem.SelectSingleNode("ID").text & "<br>")
			Response.Write ("Evento: " & objItem.SelectSingleNode("evento").text & "<br>")
			Response.Write ("Lugar: " & objItem.SelectSingleNode("lugar").text & "<br>")
			'Response.Write ("ID Estado: " & objItem.SelectSingleNode("estado").text & "<br>")
			Response.Write ("Fecha: " & CDate(objItem.SelectSingleNode("fecha").text) & "<br>")
			Response.Write ("<img src=img_eventos/" & objItem.SelectSingleNode("tipo").text & ".jpg width=50 height=50><br><hr>")
 
	Next
 
 
Todo jala bien.
 
 
Mi pregunta es saber cuantos registros obtendre de ese XML y no se como hacerle espero que me puedan ayudar como siempre saludos...
 
 
 
 
****************** 
  
 
. ¿Lo asignaste a alguna variable o dónde lo pusiste?. La única otra opción que se me ocurre es poner un contador en el bucle For, así al final del bucle sabrás cuántos elementos tiene. 
 
