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

Question about Including external stylesheets

Subject: Question about Including external stylesheets
From: "Brian Erickson (SWUS)" <Brian.Erickson@xxxxxxxxxxxxxxxxx>
Date: Wed, 8 Aug 2001 16:13:09 -0600
xsl external stylesheets
This is a rather strange problem but I'll try and explain it as best I can.
In my client application, I am using a certain stylesheet to transform the
output from our app. server. Depending on the content of the XML I want to
include(import actually) one of several stylesheets dynamically. I've
noticed that it is not possible to use a variable in the call to an
xsl:include statement (I don't think) and certainly not with an import since
it has to be the first thing in the stylesheet. Does anyone have any ideas
about how I can link a stylesheet with another stylesheet dynamically? 

Here is another representation of what I'm trying to do...

top_level.xsl imports middle_level.xsl imports bottom_level.xsl

I want to be able to change out 'middle_level.xsl' depending on the content
I get back from the server. The goal is to have multiple 'panes' of the HTML
page, enabling the user to switch out the content he has shown in the middle
pane (middle_level.xsl).

Any ideas would be appreciated. I'll try and go into detail and answer any
questions if desired.

Brian Erickson
GE Smallworld

 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.