|
Subject:
|
Basic Stuff...
|
|
Posted By:
|
Colm_L
|
Post Date:
|
9/14/2006 8:02:59 AM
|
Hi
Im using the below vb script to parse xml; ive been trying to response.write to a new window but using the javascript that i googled i get no response. Sorry if this has been covered a million times before ive only just started with web development.
Sub Parse (ByVal Sender As Object, ByVal e As RepeaterCommandEventArgs)
Dim stylef, xmlDoc, xslDoc, xmlf
Dim fileName as String
fileName = CType(e.CommandSource, LinkButton).Text()
xmlf = fileName
stylef = "style.xsl"
xmlDoc = Server.CreateObject("Microsoft.XMLDOM")
xslDoc = Server.CreateObject("Microsoft.XMLDOM")
xmlDoc.load(Server.Mappath(xmlf))
xslDoc.load(Server.Mappath(stylef))
url = "parser.asp"
Response.Write(xmlDoc.transformNode(xslDoc))
End Sub
Thanks alot guys,
Colm
|
|