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


Hi Pupeno,

The jar file you need is here:

  /usr/share/sgml/docbook/xsl-stylesheets-1.62.4/extensions/saxon651.jar

Pupeno <pupeno@pupeno.com> writes:

> 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.

Attachment: pgp00000.pgp
Description: PGP signature


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