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

From
Roy Hoobler <>
Date
2001-09-06T01:59:36+00:00
ID
004901c13679$473f5480$fb00a8c0@cc299560a
Thread
Re: DOCBOOK: Line Numbering not working in <programlisting> tag.
Hi,

I would be interested in this as well.  I'm 
doing some custom XSL files, and if there is an 'extensions  jar' file will 
some functionality like this, it would be nice to know.  I guess I 
could start digging around :)

 

Thanks,

Roy

  
----- Original Message ----- 

  
From: 
  Michel 
  Goossens 

  
To: Jonathan Marks 

  
Cc: DocBook 

  
Sent: Wednesday, September 05, 2001 3:25 
  AM

  
Subject: Re: DOCBOOK: 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>