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

RE: asp and xsl

Subject: RE: asp and xsl
From: "Kovach, Dave" <dave.kovach@xxxxxxx>
Date: Thu, 31 Jan 2002 07:27:37 +0100
embed asp in xsl
Gene,

It's not really possible - though you can do 1 of 2 things:

1) rename your xsl as .asp so the asp dll does pre-processing
server-side to what is just an xsl stylesheet

2) use the msxml namespace and use xsl:eval 

e.g -

	<xsl:eval language="VBScript">myFunkyFunction()</xsl:eval>

See the following:
http://www.topxml.com/xsl/articles/scripting/examples.asp?id=1

Embedding a complete active server page in an xslt is not practical,
is not reasonable to expect it to work, and defy's the logic behind
the rescursive behavior of XSLT. (i.e. - its much too difficult).
Make life easier:

Leave business logic in asp pages (pull back data from a dbms or
whatever) and have them create xml data and transform it via msxml
engine into html/xhtml whatever... using xsl stylesheets... xsl can
be very dynamic type documents by using PARAMS and even passing in
complete nodesets...


Just my thoughts as I have been hacking
around with ASP and XML/XSL recently alot,

David Kovach
SAP Labs
Palo Alto, CA

-----Original Message-----
From: Gene LaCava [mailto:e.f.lacava@xxxxxxxxxxx]
Sent: Wednesday, January 30, 2002 9:42 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject:  asp and xsl


Does anyone know if it's possible to embed an active server page inside an
xsl sheet.... Also, I have finally figured out my parameter problem, using
multiple xml docs in an xsl sheet, and embedding javascript in xsl... If
anyone wants some of the samples I created I'm willing to share, since so
many people try to help me....

Thanks again for all your help...this forum is great


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

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


Current Thread
  • asp and xsl
    • Gene LaCava - Thu, 31 Jan 2002 00:37:46 -0500 (EST)
      • <Possible follow-ups>
      • Kovach, Dave - Thu, 31 Jan 2002 01:25:46 -0500 (EST) <=

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.