You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by twfurst <th...@gmail.com> on 2010/08/25 17:58:17 UTC
different footer dependent on current element
I have been working on building a manual out of numerous XML files over the
past week. I have made a good deal of progress, I actually have the manual
created, mostly.
What I am having trouble figuring out is a way to change the footer for each
procedure. I will attach the files here that I am using, but in essence,
what I need is for the footer to display info held in attributes of each
dmodule/identAndStausSection with the XML.
If I use an <xsl:for-each> I get the value from every <dmodule> on every
footer. I tried to use the current() function from xsl, but it tried to
bring in the entire content of <dmodule>.
This is frustrating me like crazy.
Thanks for any help,
Tom
http://old.nabble.com/file/p29533921/XSL-PDF-XML.zip XSL-PDF-XML.zip
--
View this message in context: http://old.nabble.com/different-footer-dependent-on-current-element-tp29533921p29533921.html
Sent from the FOP - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: different footer dependent on current element
Posted by Jeremias Maerki <de...@jeremias-maerki.ch>.
Not sure, but I think you look for fo:marker and fo:retrieve-marker.
There are examples for its usage in FOP's examples/fo/markers directory.
And on the web there should be various tutorials covering the feature.
HTH
On 25.08.2010 17:58:17 twfurst wrote:
>
> I have been working on building a manual out of numerous XML files over the
> past week. I have made a good deal of progress, I actually have the manual
> created, mostly.
>
> What I am having trouble figuring out is a way to change the footer for each
> procedure. I will attach the files here that I am using, but in essence,
> what I need is for the footer to display info held in attributes of each
> dmodule/identAndStausSection with the XML.
>
> If I use an <xsl:for-each> I get the value from every <dmodule> on every
> footer. I tried to use the current() function from xsl, but it tried to
> bring in the entire content of <dmodule>.
>
> This is frustrating me like crazy.
>
> Thanks for any help,
>
> Tom
> http://old.nabble.com/file/p29533921/XSL-PDF-XML.zip XSL-PDF-XML.zip
>
> --
> View this message in context: http://old.nabble.com/different-footer-dependent-on-current-element-tp29533921p29533921.html
> Sent from the FOP - Users mailing list archive at Nabble.com.
>
Jeremias Maerki
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org