This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [docbook-apps] Saxon and linenumbering


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thursday June 10 2004 22:32, Bob Stayton wrote:
> 1.  Set the stylesheet parameter use.extensions to 1, as described in:
> http://www.sagehill.net/docbookxsl/AnnotateListing.html#LineNumbering
Done, except that when prosessing I get the following:
No numberLines function available.
Processing terminated by xsl:message at line 298
I bet it has to do with the following:

> 2.  Add the DocBook Saxon extensions to your Java CLASSPATH, as described
> in:
> http://www.sagehill.net/docbookxsl/InstallingAProcessor.html#InstallSaxon
I can't find the extensions, all I have is (installed by my distro, gentoo):
/usr/share/saxon/lib/saxon.jar
/usr/share/saxon/lib/saxon-jdom.jar
/usr/share/saxon/package.env

package.env contains:
DESCRIPTION=The SAXON package is a collection of tools for processing XML 
documents: XSLT processor, XSL library, parser.
CLASSPATH=:/usr/share/saxon/lib/saxon.jar:/usr/share/saxon/lib/saxon-jdom.jar:

and my CLASSPATH is set accordingly to that.
Where are the extensions ?

Thanks.

> By the way, that reference to the Saxon line numbering extension on the
> saxon.sourceforge.net site is related to getting the line number of an
> element in the XML *source* file, not the output.  It has nothing to do
> with the above extensions that were written by Norm Walsh for use with
> DocBook and Saxon.
Thanks for the info. :) It is always welcome.
- -- 
Pupeno: pupeno@pupeno.com - http://www.pupeno.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAySBxfW48a9PWGkURAvCkAJ9t3zGYLmgY8M/CKj2x5Ij0mKL6pgCfQCiX
pifSJy/i52aPQfhU1g/tGJ4=
=/zU2
-----END PGP SIGNATURE-----

To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]