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

RE: conditional inlcudes -is it possible?

Subject: RE: conditional inlcudes -is it possible?
From: "Robert Koberg" <rob@xxxxxxxxxx>
Date: Thu, 3 Oct 2002 04:56:27 -0700
in conditional arabic
Hi,

> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Andrew Welch
> Sent: Thursday, October 03, 2002 3:58 AM
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: RE:  conditional inlcudes -is it possible?
>
>
>
> 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


I guess now I am confused too. I think I was thinking about the URIResolver
howto I had recently posted. In the example I had one XSL include one of two
sets of head/nav XSLs that functioned in two different ways. I guess I was
thinking of the primary XSL as the global and the navs as local (based on user
pref). But I guess it could be thought of the other way around just as easily
(the nav's are global too, just the include of one or the other is optional). So
I don't think you misread me, it was me being confus(ing | ed).

-Rob

>
>
>
>
> > -----Original Message-----
> > From: Robert Koberg [mailto:rob@xxxxxxxxxx]
> > Sent: 01 October 2002 19:55
> > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> > Subject: RE:  conditional inlcudes -is it possible?
> >
> >
> > Hi,
> >
> > > -----Original Message-----
> > > From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> > > [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of
> > Michael Kay
> > > Sent: Tuesday, October 01, 2002 9:07 AM
> > > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> > > Subject: RE:  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


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.