[xsl] Docbook <programlisting> alignment

Subject: [xsl] Docbook <programlisting> alignment
From: "Hiral Parikh" <hparikh@xxxxxxxxxxxxxxxx>
Date: Fri, 18 Mar 2005 15:14:51 -0500
I have a <table> that has <programlisting> in one of the columns. Instead of
both the columns being left aligned, the <programlisting> column is
'centered' at page level because of which it overlaps the text in column2.

How can we programmitacally set the <programlisting> alignment so that it
does not do a centre alignment when enclosed in a table?

Following is a sample code:
           <table id="someid" label="1.1">
              <title>Sample table</title>
              <tgroup cols="2">
                 <colspec colnum="1" colname="col1"/>
                 <colspec colnum="2" colname="col2"/>
                             <emphasis>private void getMe()</emphasis>
                           <para>gets me</para>

Thanks for your help in advance!


Current Thread