XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Jean ChiSubject: How to add a header and footer to the output html on all pages using xsl
Author: Jean Chi
Date: 29 Dec 2005 07:05 PM
Hi,

I need to add a header and footer on all pages for my html output from a xsl transformation. I want to do this in my xsl file. Could anyone show me how to do this? Thanks

Jean

Postnext
Minollo I.Subject: How to add a header and footer to the output html on all pages using xsl
Author: Minollo I.
Date: 29 Dec 2005 10:31 PM
Jean,
is your XSLT transformation generating multiple HTML pages? In that case it won't be easy helping you without some more details about how you are doing that.

If your XSLT is generating a single HTML page, then I'm not sure I see the problem.

Also, a good place for general XSLT-specific questions is the
xsl-list at http://www.mulberrytech.com/xsl/xsl-list/index.html

Minollo

Postnext
Jean ChiSubject: How to add a header and footer to the output html on all pages using xsl
Author: Jean Chi
Date: 30 Dec 2005 01:59 PM
Hi,

My xslt generates a single html document. Before I added my header and footer by making the whole html within one table. Then I added my header and footer in the table. During the pdf converstion, the footer and header appears on all pages.

But now my xsl changed: Multiple templates defined for some deep tree structure. And each tree structure using table to construct their own data table. So my header and footer no longer works.

I tried to use xsl:fo to format the docuement. But failed. Is there any examples for me to read?

Thanks.

Jean

Postnext
Minollo I.Subject: How to add a header and footer to the output html on all pages using xsl
Author: Minollo I.
Date: 30 Dec 2005 04:46 PM
xsl:fo won't help you if you are trying to generate HTML.

If your XSLT is generating a single HTML page, handling headers and footers won't be more complicated then handling the rest of the XSLT transformation; depending on your approach, the root template or some other entry point you are using might be a good candidate for adding header and footer.

Minollo

Posttop
Jean ChiSubject: How to add a header and footer to the output html on all pages using xsl
Author: Jean Chi
Date: 30 Dec 2005 04:54 PM
Minollo:

Thanks. I am trying to add header and footer in my main entry point. Actually, what I am doing here is I first transform my xml document into html according to the marketing report specs, after that another software mdoule will convert the html into a pdf file.

Thanks for your help. Happy new year.

Jean

 
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.