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

Re: How to determine the 'first' time a template has b

Subject: Re: How to determine the 'first' time a template has been called
From: Chris Gow <cgow@xxxxxxxxxxxxxxxxxx>
Date: Mon, 19 Mar 2001 16:03:13 -0500
chris gow
Sure...The template is going to need to reference an external JavaScript file, and I figured instead of having a number of extra <script src=.../> tags that would include the same file, I would only do the necessary include the first time. Its not a problem that it doesn't work, it is just an extra step that the users of this template are going to have to do.

--Chris

At 09:29 PM 3/19/01 +0100, you wrote:

On Mon, Mar 19 '01 at 15:06, Chris Gow wrote:
> I was wondering if it is possible to determine if a template has been
> called previously.  I would like to take a special action the first time
> the template is called.  By called, I mean through an <xsl:call-template>
> tag.  I would prefer not to use mode or a special parameter in this case.
This is not possible, but if you would tell us, why you want to take
this special cation, we might be able to offer you a working sollution
...

Cu,
    Goetz.

===============================================================================


The only person who ever got work done by Friday was Robinson Crusoe.

-------------------------------------------------------------------------------
Chris Gow                                           Digital Fairway Corporation
Software Engineer                                   180 Attwell Drive Suite 360
cgow@xxxxxxxxxxxxxxxxxx                             Etobicoke, ON M9W 6A9
http://www.digitalfairway.com                       416.628.7534
===============================================================================


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.