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

Re: : Problems with Javascript block / Netscape

Subject: Re: : Problems with Javascript block / Netscape
From: "Michael Beddow" <mbnospam@xxxxxxxxxxx>
Date: Fri, 17 Aug 2001 10:16:45 +0100
xslt javascript block
On Friday, August 17, 2001 9:22 AM
Jeni Tennison wrote:

> Chuck Evans' suggestion of putting the script in an external file and
> referencing it is an even better solution if you're not generating
> parts of the JavaScript on the fly.

And there are two further points in favour of this approach.
1) Since an XML editor and and XSLT processor will let you accidentally
damage the innards of a <script> element while editing the XSLT code,
it's much better to keep the static parts out of harm's way in their own
js libraries
2) You can invoke such libraries from multiple html pages. That way,
they can stay cached after the first invocation and don't get sent
again, even if the main page is refreshed.

Michael
---------------------------------------------------------
Michael Beddow   http://www.mbeddow.net/
XML and the Humanities page:  http://xml.lexilog.org.uk/
---------------------------------------------------------


 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.