Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - How to create an home page using xsl and jsp with header,footer and navbar written in separate files? [Thread Next] Re: How to create an home page using xsl and jsp with header,footer and navbar written in separate files?To: NULL Date: 5/5/2007 11:14:00 AM
On 3 May 2007 13:40:45 -0700, elena.bellodi@s... wrote:
>Hi!
>apply the 3 template inside the template of index.xsl. I'm still green
>so I don't know if this solution is correct (at the moment it doesn't
>work:"impossible to compile the stylesheet"), or is there another
>FOOTER.XSL
In the XSL file, I think this should be under <xsl:stylesheet />
element, not under <xsl:template /> element.
<xsl:output method="html" indent="yes"/>
Although the stylesheet appears "well formed", it's not a valid
stylesheet when written in that way (so it can't be "compiled" by the
XSLT processor)
HTH
Cheers - Neil
><?xml version="1.0" encoding="ISO8859-1"?>
><xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
>version="1.1">
>
> <xsl:template name= "foot">
> <xsl:output method="html" indent="yes"/>
> <html>
> <head>
> <title>Footer</title>
> </head>
> <body>
> <table width="100%" align="center" cellspacing="0"
>cellpadding="0">
> <tr><td align="center"><img src="/Bank/Images/
>hr.jpg" /></td></tr>
> </table>
> <table class="foot" align="center" cellspacing="0"
>cellpadding="0">
> <tr>
> <td><img src="/Bank/Images/Bank logo.jpg"
>height="40"/></td>
> <td><p> Bank Project</p></td>
> <td ><img src="/Bank/Images/Bank logo.jpg"
>height="40"/></td>
> </tr>
> </table>
> </body>
> </html>
> </xsl:template>
></xsl:stylesheet>
------------------------------------------------
Digital Media MVP : 2004-2007
http://mvp.support.microsoft.com/mvpfaqs
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
