复制代码 代码如下: <% Load XML set xml = Server CreateObject( "Microsoft XMLDOM ") xml async = false xml load(Server MapPath( "cdcatalog xml ")) Load XSL set xsl = Server CreateObject( "Microsoft XMLDOM ") xsl async = false xsl load(Server MapPath( "cdcatalog xsl ")) Transform file Response Write(xml transformNode(xsl)) %>
复制代码 代码如下:

<%
'Load XML
set xml = Server.CreateObject("Microsoft.XMLDOM") xml.async = false xml.load(Server.MapPath("cdcatalog.xml"))
'Load XSL
set xsl = Server.CreateObject("Microsoft.XMLDOM") xsl.async = false xsl.load(Server.MapPath("cdcatalog.xsl"))
'Transform file
Response.Write(xml.transformNode(xsl))
%>

关键字标签:

上一篇:ASP运行出错:缺少对象: 'xmlDoc.documentElement'错误解决方法
下一篇:捕捉并保存ASP运行错误的函数代码