At 2008-12-08 23:18 +0530, Kalpana Pathak wrote:
I would like to insert header and footer in my PDF output using the
xsl file. For example, I get the the page numbers in the footer in the
PDF output. But, now I want the manual name also to be appeared in the
footer and section name to be appeared in the header.
Can anyone tell me which are the attributes/elements I need to place
in the xsl file?
Since you are already using XSL-FO according to your first sentence,
in the stylesheet you'll find reference to <fo:page-number/>. That
is the construct that is exposing the page number in the resulting footer.
That has to be in an <fo:block> because using <fo:block> is the only
way to create lines using XSL-FO.
Inside that block you'll need to change your XSLT to fetch the manual
and section values from your XML and place them around the page
number as desired.
There are no "automatic" elements or attributes ... you'll have to do
the work of fetching the needed content and use the desired formatting.
I hope this helps.
. . . . . . . . Ken
--
Upcoming XSLT/XSL-FO, UBL and code list hands-on training classes:
: Sydney, AU 2009-01/02; Brussels, BE 2009-03; Prague, CZ 2009-03
Training tools: Comprehensive interactive XSLT/XPath 1.0/2.0 video
Video sample lesson: http://www.youtube.com/watch?v=PrNjJCh7Ppg
Video course overview: http://www.youtube.com/watch?v=VTiodiij6gE
G. Ken Holman mailto:gkholman(_at_)CraneSoftwrights(_dot_)com
Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/
Male Cancer Awareness Nov'07 http://www.CraneSoftwrights.com/s/bc
Legal business disclaimers: http://www.CraneSoftwrights.com/legal
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--