xsl-list
[Top] [All Lists]

RE: conditional inlcudes -is it possible?

2002-10-03 03:58:00

Robert Koberg:
MK:
The usual mistake. You should import the global stylesheet into the
local one, not the other way around.


I would say this is bad advice if you have a manager-type 
webapp. One that has
to control several different subprojects with each subproject 
having a different
look and feel. Though no performance gain is acheived by 
having global XSL,
there is definiteley benefits for maintainence.

Rob,

Can you expand on this a little - I can't see when using multiple
specific stylesheets importing a single global one is a bad idea.  Maybe
Ive misread what you mean?

cheers
andrew 




-----Original Message-----
From: Robert Koberg [mailto:rob(_at_)koberg(_dot_)com]
Sent: 01 October 2002 19:55
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: RE: [xsl] conditional inlcudes -is it possible?


Hi,

-----Original Message-----
From: owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
[mailto:owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com]On Behalf Of 
Michael Kay
Sent: Tuesday, October 01, 2002 9:07 AM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: RE: [xsl] conditional inlcudes -is it possible?


This is our situation. We have a global xsl that
ensures that all our webpages have a certain content.
We are trying to make the inclusion of local xsl
stylesheets conditional

The usual mistake. You should import the global stylesheet into the
local one, not the other way around.


I would say this is bad advice if you have a manager-type 
webapp. One that has
to control several different subprojects with each subproject 
having a different
look and feel. Though no performance gain is acheived by 
having global XSL,
there is definiteley benefits for maintainence.

best,
-Rob



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.391 / Virus Database: 222 - Release Date: 19/09/2002
 


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.391 / Virus Database: 222 - Release Date: 19/09/2002
 

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list