headers and footers in seperate xsl file

Here should go questions about transforming XML with XSLT and FOP.
Posts: 2
Joined: Tue Feb 27, 2007 4:20 pm
Location: India

headers and footers in seperate xsl file

Post by Maheswaran » Tue Feb 27, 2007 4:44 pm

hi forum,
i am using xsl:fo to generate PDF file.

i am having one simple page maser as follows:
<fo:simple-page-master master-name="A4" >
<fo:region-before region-name="header-main" extent="50mm"/>
<fo:region-after region-name="footer-main" extent="20mm" />

i need to have the header and footer in seperate xsl file and have to import the file in the main xsl file.

is it possible to import the header and footer alone from seperate xsl file.

or is it possible to refer template of some other file. i e. i ll have header.xsl which has a template to header part and i ll have to import the template from the header.xsl file to my main Report.xsl file..

can anyone help in this regard....
Thanks and Regards,