This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Parsing ASP functions/includes in xsl


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]