复制代码代码如下 :
<%
'iconvertedsomeofyourexamplefoundonhttp : //www.iteam5.net/francesco/atom/overtojscript.
'FeelfreetouseItandkeepThegoodwork.
'Tysonkopczynski
기능적 (strurl)
{
varobjxml = newActiveXobject ( "msxml2.document.3.0");
objxml.async = false;
objxml.setProperty ( "serverhttprequest", true);
objxml.validateonparse = true;
objxml.preservewhitespace = false;
if (! objxml.load (strurl))
{
vararray = newArray ();
response.write ( "<p> error <br> 코드 :"+objxml.parseerror.errorcode)
response.write ( "<br> linea/col :"+objxml.parseerror.line & "/"+objxml.parseerror.linepos)
response.write ( "</p>")
반환 (배열)
}
또 다른
{
varobjnodelist = objxml.getElementsByTagName ( "entry");
vararrdicts = newArray (objnodelist.length);
for (vari = 0; i <objnodelist.length; i ++)
{
arrdicts [i] = newActivexObject ( "scripting.dictionary");