View Full Version : any xml and asp expert here?
ClueLess
12-04-2002, 05:30 PM
I need help...but don't know how to explain it in here. It is a simple problem, but it is long explaination....Please email me if you understand xml and asp well.....thanks very much.
Hi:
The nature of this site means that you'll need to post your question in order for others to help. It's not appropriate to solicit members to email you- this is a forum, and your question may benefit others should someone post a solution.
Thanks,
rohanrehman
12-15-2002, 02:23 PM
OUch that was cold
brothercake
12-15-2002, 04:56 PM
Not cold I don't think ... just true
ASP has XSL capabilities; all you need to do is associate your xml and xsl together, and ASP will output the result of the transformation:
<%
'Load XML
set xmlDoc = Server.CreateObject("Microsoft.XMLDOM")
xmlDoc.async = false
xmlDoc.load(Server.MapPath("data.xml"))
'Load XSL
set xslDoc = Server.CreateObject("Microsoft.XMLDOM")
xslDoc.async = false
xslDoc.load(Server.MapPath("stylesheet.xsl"))
'Transform file
Response.Write(xmlDoc.transformNode(xslDoc))
%>
ClueLess
12-15-2002, 05:07 PM
thanks for the basic instruction!
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.