.sourceforge.net/">Saxon 6.* implementation of line numbering for verbatim environments. (It is used by the Verbatim class.)
The general design is this: the stylesheets construct a result tree fragment for some verbatim environment. The Verbatim class initializes a NumberLinesEmitter with information about what lines should be numbered and how. Then the result tree fragment is "replayed" through the NumberLinesEmitter; the NumberLinesEmitter builds a new result tree fragment from this event stream, decorated with line numbers, and that is returned.
Change Log:
- 1.0
Initial release.
@see Verbatim
@author Norman Walsh
ndw@nwalsh.com
@version $Id: NumberLinesEmitter.java,v 1.4 2006/04/27 08:26:47 xmldoc Exp $