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


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

Re: Line Numbering not working in <programlisting> tag.


> Using Dsssl 1.72, and xml 4.1.2, the programlisting tag igores the 
> linenumbering="numbered" attrib, and produces the same grey box in fixed 
> width font (without line numbers) as if the attribute was not specified.
> 
> Example use:
> <sect1>
>   <title>This is a Title</title>
>   <para>
>    This is a paragraph, listing follows.
>   </para>
>   <programlisting linenumbering="numbered">
> Listing line 1
> line 2
> 3rd line
> etc.
>   </programlisting>
> </sect1>
> 
> Perhaps someone can see what I'm doing wrong.
You need at least to activate the extensions mechanism with
the following in your XSLT stylesheet, 
<xsl:param name="use.extensions" select="1"/>
and, of course, you need also to put the extension jar file for saxon or
xalan in your class path. mg




----------------------------------------------------------------
To subscribe or unsubscribe from this elist use the subscription
manager: <http://lists.oasis-open.org/ob/adm.pl>


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