Print Page | Close Window

XML & XSL

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: ASP.NET Discussion
Forum Description: Discussion and chat on ASP.NET related topics.
URL: https://forums.webwiz.net/forum_posts.asp?TID=7137
Printed Date: 29 March 2026 at 9:19am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: XML & XSL
Posted By: Mart
Subject: XML & XSL
Date Posted: 10 November 2003 at 9:48am

I am transforming an XML document using asp.net, is there a way to pass a variable to the xsl document. This is my code:

Dim docXML As New XMLDocument
Dim docXSL As New XSLTransform

docXML.Load(server.MapPath("tblMP3.XML"))
docXSL.Load(server.MapPath("tblMP3.xsl"))

docXSL.Transform(docXML, nothing, Response.Output)




Replies:
Posted By: Diep-Vriezer
Date Posted: 22 November 2003 at 3:12pm
MorningZ had a piece of code about how to insert an XML node into an existing XML document, which is then saved back to the XML document. Maybe you should have a look at it, it's in the 'XML Confusion' topic, sorry, no link..

-------------
Gone..



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net