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

multiple stylesheets in one

Subject: multiple stylesheets in one
From: Matt Watson <Matt.Watson@xxxxxxxxxxxxxxxxxx>
Date: Fri, 21 Jul 2000 13:16:25 +0100
multiple stylesheets in one page

I'm trying to evaluate cocoon for a project I need to do for a client.

What I want to test - I'm a nembie - is combining multiple stylesheets into
one document. I have seen some references to this in the nulberrytech lists
but nothing specifically seems to answer my question.

What I want to do is.

have an xml file

<person age="50" name="larry"/>
<person age="50" name="larry"/>

that uses a stylesheet that includes this data plus three other
(essentially) static 
html files.

ie :-

data.xsl - using the above xml file

I want the header.xsl to contain html that defines the menuing system for
the page ie. something like

<a href="/">Home</a>
<a href="/movies/">Movies</a>
<a href="/shop/">Shop</a>

whereas the footer will have the usual copyright stuff. ie.

<table><tr><td>This is the copyright message</td></<tr></table>

I have seen reference to the include/import and call-template routines but I
don't really 
understand how you use these. Will I have to put the contents of the header
and footer
into a xsl variable and use that or can I just incorporate the file

Any clues would be fantastic.

Thanks for your time.


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

Current Thread


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.
First Name
Last Name
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.