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

Re: xsl:include - multiple includes of the same file

Subject: Re: xsl:include - multiple includes of the same file
From: Robert Koberg <rob@xxxxxxxxxx>
Date: Thu, 05 Jun 2008 09:30:14 -0400
Re:  xsl:include - multiple includes of the same file
On Thu, 2008-06-05 at 14:24 +0100, Andrew Welch wrote:
> I'm aware that if you import the same file in multiple locations you
> end up with multiple copies of that file in the compiled module, so if
> possible it should be avoided - does the same apply with xsl:include?
> 
> So instead of:
> 
> A includes common
> A includes 100s of stylesheets
> 
> you have:
> 
> A includes 100s which each include common
> 
> With the latter approach the variables/templates in common are known
> to each stylesheet so the IDE (oXygen) doesn't complain that they're
> undefined... is there any problem with doing this?

Not unless you care about common being there a 100 times :)

But with oXygen you can add 'Additional Stylesheets' in the
transformation scenario edit dialogue.

best,
-Rob


> 
> 
> thanks

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.