p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


  Return to Index  

ms_xsl thread: includes


Message #1 by hopper_john@y... on Tue, 8 Jan 2002 14:35:17
Your Include File: YourFooter.xsl

<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:output method="html" version="1.0" encoding="UTF-8" indent="yes"/>
    <xsl:template name="Footer">
        YOUR FOOTER
    </xsl:template>
</xsl:stylesheet>

In your xsl file where you want to include the footer inside the
xsl:stylesheet tags
<xsl:include href="YourFooter.xsl"/>

And where you want include the footer:
<xsl:call-template name="Footer"/>


Bye


----- Original Message -----
From: <hopper_john@y...>
To: "ms_xsl" <ms_xsl@p...>
Sent: Tuesday, January 08, 2002 2:35 PM
Subject: [ms_xsl] includes


> I'd like to 'include' a footer file in an xsl file to appear in
> transformed web pages. Can someone tell me how this is done?


  Return to Index