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

Re: RE: Scripting, was "RE:CSS and XSL?"

Subject: Re: RE: Scripting, was "RE:CSS and XSL?"
From: "Alistair MacDonald" <AlistairMacDonald@xxxxxxxxxxxxx>
Date: Mon, 14 Jun 1999 10:29:11 +0100
alistair macdonald

>>> Russell Stone <rstone@xxxxxxxxxxxxxxxxxx> 06/11 11:41 pm >>>
> is the question will xsl include the majority of
> functionality in javaScript?
> because you can include javaScript currently in
> xsl. If it is not well formed js escape it in a cdata
> section and put all the js u want .. you can even import 
> it...

> <script>
[...]
> </script>

Actually,  you can't! XSLT doesn't support the <script> elements - they are (MS) extensions. The closest equivalent is the <functions> element, but, (and I quote from section 6.4.2 of WD-xslt-19990421), "An XSLT processor is not required to be able to make use of implementations provided by xsl:functions elements.".

You _can_ insert <script> into the _output_ stream, which means that the resulting tree can contain scripting, but you cannot guarantee that the XSL(T) processor supports anything other than the XSL(T) language.

Steven Livingstone wrote:
<re: scripting in XSL>
> Can (or will) XSL approach this level, or shall you still use the
> traditional scripting languages with XSL ??. 
[...]


Alistair


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


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.