[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: scripts in xslt
Hi Prasad, > I would like to use javascript and asp in my xsl stylesheet. You cannot use asp in your stylesheet. And if the result is (x)html with extension .htm(l) then it neither will be executed on the client. Asp is typically used (in xml/xslt scenarios) to generate or load an xml input, load or create an existing stylesheet, perform one or more XSLTs, and return the result to the browser. If you want to generate dynamic asp pages as xxx.asp, then you must use <%= ... %> or <% ... %> inside CDATA sections or use d-o-e like David C. pointed out. You neither can use Javascript in your stylesheet other than using extensions. But I guess you'd like to use it to do something in the browser like handling UI aspects and behaviour? Cheers, <prs/> -----Original Message----- From: Prasad Akella [mailto:avlnprasad@xxxxxx] Sent: Saturday, February 12, 2005 7:24 AM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: scripts in xslt hello, I would like to use javascript and asp in my xsl stylesheet. i am working on transforming xforms to xhtml but am facing problems integrating my script with xsl. any help in the form of simple code as to how to call a script or links to understanding the same is needed. i have tried with containers but its not so easy as i want javascript in xsl or xsl in javascript sometimes to intervene certain conditions. is there any possibility. please help with regards, prasad __________________________________________________________ Mit WEB.DE FreePhone mit hoechster Qualitaet ab 0 Ct./Min. weltweit telefonieren! http://freephone.web.de/?mc=021201
|
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
|