Clay Leeds wrote:
Sorry for responding to my own post, but... does anyone know of a workaround for this? Originally, I was thinking of doing something like this:

<xsl:when test="page-position=last()">
<xsl:value-of select="/doc/EOB/DETAIL/TOTAL/TOTALLINE/CHARGE"/>

(NOTE: that is "page-position=last()" and not position of XML content).
You cannot do it, xslt has no idea what page position is. xsl transformation and xsl formatting are two different processes, they cannot interact. The only way is xsl-fo facilities such as conditional page masters, markers etc.

I need to have a blank in the "TOTALS" section (which prints in the footer in every page) unless it's the LAST page.
Well, as last page is not implemented, it's not too simple. You can try using markers. Put marker with total value at the end of your page sequence, and retrieve it's value at the page footer. It's not fully safe method, but it should work.

Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel

--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to