Chilkat HOME Android™ ASP Visual Basic VB.NET C# iOS (IPhone) Objective-C C++ C Unicode C++ Unicode C MFC Delphi DLL Delphi ActiveX FoxPro Java Perl PHP Extension PHP ActiveX Python PowerShell Ruby SQL Server VBScript
|
|
ASP Script to Iterate XML RecordsASP script showing how to iterate over XML records. <%@ LANGUAGE="VBSCRIPT" %>
<HTML>
<HEAD>
<TITLE>XML Iterate</TITLE>
</HEAD>
<BODY>
<%
' Create an ASP XML parser object
set xml0 = Server.CreateObject("Chilkat.Xml")
' Returns the XML page as a Variant
set xml = xml0.HttpGet("http://www.xml-parser.com/companies.xml")
set company = xml.FirstChild()
While Not (company Is Nothing)
Response.write company.GetChildContent("name") + "<br>"
set company = company.NextSibling()
Wend
%>
</BODY>
</HTML>
|
© 2000-2013 Chilkat Software, Inc. All Rights Reserved.