OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: table customization problem


Hi

I am using XML mind XML editor  for creating the  XMl file  and generating
Javahelp jar file  using the ant script.

My problem is that I have two table in the XML file  and I want to specify
border for one table and no borders for the other table.

I am using the  Javahelp HSviewer to see the jar file .

I have  added the "frame"  "rowsep" and "colsep" in the table in which I
have want the borders and my Customization style sheet  settings related to
the tables are as follows.

     <xsl:param name="css.decoration" select="1"/>
     <xsl:param name="default.table.width" select="830"/>
     <xsl:param name="table.borders.with.css" select="1"/>
     <xsl:param name="table.frame.border.color" select="gray"/>
     <xsl:param name="table.frame.border.thickness" select="thin"/>
     <xsl:param name="table.frame.border.style" select="solid"/>

In the Css I have defined the table attribute like

.table{
         border="1";
         font-family: Ariel, Helvetica, sans-serif;
}





The XML file contains the following code

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd">
<book>
   <title>This is table test </title>

   <chapter>
     <title>table </title>


       <informaltable>
         <tgroup cols="2">
           <tbody>
             <row>
               <entry>cel1</entry>

               <entry>cel2</entry>
             </row>

             <row>
               <entry>cel3</entry>

               <entry>cell4</entry>
             </row>
           </tbody>
         </tgroup>
       </informaltable>

   </chapter>

   <chapter>
     <title>table 2</title>
     <informaltable frame="all">
       <tgroup cols="2" colsep="1">
         <tbody>
           <row security="1">
             <entry>cell1</entry>

             <entry>cell2</entry>
           </row>

           <row>
             <entry>cell3</entry>

             <entry>cell4</entry>
           </row>
         </tbody>
       </tgroup>
     </informaltable>
   </chapter>
</book>

As you can see I have defined the frame in the table tag.


But when I see the out put using the Javahelp Hsviewer there is no
difference in the border of both the tables and no border is shown.


I am not able to understand what is the problem. I am also referring to the
sagehill_docbookxsl  by Bob Stayton.


Please help  me

----------------------------------
Mita Majumdar
Developer - IT Solutions
mita.majumdar@ideafarms.com

Confidign Solutions P. Ltd.
IdeaFarms
B 25, Okhla Phase - 1,
New Delhi - 110 020.
INDIA

Tel : +91 11 2681 8255
Fax : +91 11 2681 5124

http://www.ideafarms.com
----------------------------------



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]