Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: How to create an home page using xsl and jsp with header,footer and navbar written in separate files?

From: "Neil Smith [MVP Digital Media]" <neil@------.--->
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


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent