[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|