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


Go to topic 49685

Return to index page 175
Return to index page 174
Return to index page 173
Return to index page 172
Return to index page 171
Return to index page 170
Return to index page 169
Return to index page 168
Return to index page 167
Return to index page 166