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

RE: Import stylesheet

Subject: RE: Import stylesheet
From: "Mark Williams" <mark@xxxxxxxxxxx>
Date: Tue, 11 Oct 2005 11:14:01 +0100
import stylesheet
Brilliant.  One of those moments where I wish I'd thought of that.
Thanks very much indeed.

Just one question.  We cache our stylesheets to avoid load time.  The
"fixed" xsl will be cached.  If we make the on the fly xsl the dominant
one, do you know if the imported or fixed xsl still be loaded from
cache?

Regards,

Mark

> -----Original Message-----
> From: David Carlisle [mailto:davidc@xxxxxxxxx]
> Sent: Tuesday, October 11, 2005 11:08 AM
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: Re:  Import stylesheet
>
>
> Yoe need to invert your processing:
>
> Don't try to import a stylesheet depending on a parameter
> (It's a compile time directive so can't depend on any values)
>
> Instead just make your dynamically generated stylesheets
> import the main one with all the common code.
>
> then rather than call your main stylesheet passing the name
> of the dynamic sheet as parameter, just execute the newly
> created stylesheet.
>
> David
>
>
> ______________________________________________________________
> __________
> This e-mail has been scanned for all viruses by Star. The
> service is powered by MessageLabs. For more information on a
> proactive anti-virus service working around the clock, around
> the globe, visit:
> http://www.star.net.uk
> ______________________________________________________________
> __________

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.