[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Parsing ASP functions/includes in xsl

Subject: Parsing ASP functions/includes in xsl
From: Peter Tsantes <PTsantes@xxxxxxxxxxxxxx>
Date: Thu, 5 Oct 2000 12:54:01 -0400
asp functions
I'm trying to include the following lines of asp code in my xsl file, which
is then, 
along with the xml file, parsed into an asp page by a vbscript. I need these
lines at the
top of the generated asp page to include the file/functions for the webpage.
I've tried using CDATA and
<xsl:script> but no luck. Anyone have a clue.



<!--#include virtual="/include/autohtml.asp" -->
<% dynaHeader "Careers at Tradescape.com", "1"%>
<% sideNavHeader "lnav", "#ffffff" %>

Here is the vbscript if ti helps:

sXml 	= "intranetjobs.xml"
    Set fso=CreateObject("Scripting.FileSystemObject")
    Set fstream=fso.OpenTextFile("intranetjobs.asp",2,True)
	sXsl 	= "intranetjobs.xsl"
	Set oXmlDoc = CreateObject("MICROSOFT.XMLDOM")
	Set oXslDoc = CreateObject("MICROSOFT.XMLDOM")
	oXmlDoc.async = false
	oXslDoc.async = false

	oXmlDoc.load(sXml)
	oXslDoc.load(sXsl)
   
	fstream.Write  oXmlDoc.transformNode(oXslDoc)
    fstream.close
    Set oXmlDoc=Nothing
	Set oXslDoc=Nothing
    Set fstream=Nothing


Regards,
Peter S. Tsantes
Webdeveloper
www.tradescape.com


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.