Wrox Programmer Forums
|
Javascript How-To Ask your "How do I do this with Javascript?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 14th, 2006, 08:02 AM
Registered User
 
Join Date: Sep 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Basic Stuff...

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.

Code:
   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






Similar Threads
Thread Thread Starter Forum Replies Last Post
How to: Have no borders and stuff! Apocolypse2005 Beginning VB 6 7 May 8th, 2007 11:56 AM
INI's and stuff! Apocolypse2005 Beginning VB 6 2 May 8th, 2007 11:38 AM
VB basic stuff for newbie blotcho Beginning VB 6 5 August 19th, 2006 03:05 AM
DAL 'stuff' pithhelmet VB Databases Basics 0 November 10th, 2004 04:42 PM
Debug Stuff wolftrap1 BOOK: Beginning PHP4/PHP 5 ISBN: 978-0-7645-4364-7; v5 ISBN: 978-0-7645-5783-5 3 January 13th, 2004 10:18 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.