ASP Error: 70
Description: Permission denied
Source: Microsoft VBScript runtime error

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

RE: Caching document in browser

Subject: RE: Caching document in browser
From: cknell@xxxxxxxxxx
Date: Fri, 24 Jan 2003 13:00:11 -0500
caching document
-----Original Message-----
From:     Al Byers <byersa@xxxxxxxxxxxxxxxxxxxx>
Sent:     Fri, 24 Jan 2003 10:01:58 -0700
To:       xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject:   Caching document in browser

If I were to write an XSL script to be executed on a browser and that script imported another XML doc using the document()
method, would that document be cached by the browser so that
it did not have to be reloaded each time?


Thanks

What event are you referring to when you say "each time"?


I'm going to assume that you don't mean "each time the page is loaded". If you did, you would have to store information in a session variable and that's way outside the topic of this list.

Let's say that you mean that you want to have access to the contents of the imported document after the script is executed. If your processor exposes the imported document via an API, you could dynamically insert it into the HTML page's DOM document using DOM programming such as .appendChild(), and refer to it via DOM programming methods such as .getElementById(), but I guess that, too is off topic. Does this help?

--
Charles Knell
cknell@xxxxxxxxxx - email


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.