At 2002-05-17 13:39 +0000, one_arrow wrote:
>I'm learning xsl now so I'm new to the xml/xsl world. I'd like to
>know how you can reference the current page number in a <xsl:when> or
><xsl:if> statement or store the current page number in a variable.
The formatting process is totally divorced from the formatting specification.
Your XSLT that creates the formatting specification sets up all the
requirements and contingencies needed for the actual process of formatting,
but there is no feedback from the formatter back to the stylesheet.
Therefore, you cannot reference the current page number in your XSLT
stylesheet specification because that is something that is known only to
the formatting process.
It is common to have to think of alternative approaches to solving a
formatting problem than typical or classical programming techniques.
Upcoming: 3-days XSLT/XPath and/or 2-days XSLFO: June 17-21, 2002
- : 3-days XML Information Modeling: July 31-August 2, 2002
G. Ken Holman mailto:gkholman@...
Crane Softwrights Ltd. http://www.CraneSoftwrights.com/f/
Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (Fax:-0995)
ISBN 0-13-065196-6 Definitive XSLT and XPath
ISBN 1-894049-08-X Practical Transformation Using XSLT and XPath
ISBN 1-894049-07-1 Practical Formatting Using XSLFO
XSL/XML/DSSSL/SGML/OmniMark services, books(electronic, printed),
Next public training: 2002-05-06,07,09,10,13,15,20,