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

RE: scripts in xslt

Subject: RE: scripts in xslt
From: Pieter Reint Siegers Kort <pieter.siegers@xxxxxxxxxxx>
Date: Mon, 14 Feb 2005 17:03:57 -0600
call asp from xsl
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

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.