[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
multiple stylesheets in one
Subject: multiple stylesheets in one From: Matt Watson <Matt.Watson@xxxxxxxxxxxxxxxxxx> Date: Fri, 21 Jul 2000 13:16:25 +0100 |
Hi, 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 <?xml...> <people> <person age="50" name="larry"/> <person age="50" name="larry"/> </people> that uses a stylesheet that includes this data plus three other (essentially) static html files. ie :- header.xsl data.xsl - using the above xml file footer.xsl I want the header.xsl to contain html that defines the menuing system for the page ie. something like <table> <tr> <td> <a href="/">Home</a> </td> <td> <a href="/movies/">Movies</a> </td> <td> <a href="/shop/">Shop</a> </td> </table> 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 directly? Any clues would be fantastic. Thanks for your time. -matt XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: sql to xml question, subramanian | Thread | Re: multiple stylesheets in one, Jeni Tennison |
Re: A simple xsl:if question from a, Cristobal Galiano Fe | Date | RE: multiple stylesheets in one, Kay Michael |
Month |