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: Re: [docbook-apps] How can i customize some elements?


On Tue, Apr 08, 2003 at 02:30:50PM +0200, Anton Wardaschko (PA) wrote:
> Hi!
> 
> What is wrong with following xsl?
> 
> <xsl:template match="informaltable[@label='setup']">
> 	
> 	<xsl:apply-imports/>
> 	<xsl:param name="informaltable.frame.border.thickness" select="'3.0px'"/>
> 	<xsl:param name="informaltable.frame.border.color" select="'green'"/>
> 	
> </xsl:template>
> 
> FOP dont't generate PDF at all an i'm get an ERROR-Message
> 
> "A table column must be childof fo:table, not fo:block"

Two things are wrong:

1.  The xsl:apply-imports executes the processing of
the informaltable using the templates in the
stock stylesheets.  Setting parameters after the table
has already been processed does nothing.

2.  There are no stylesheet parameters named informal.table.border.*
in the DocBook XSL stylesheets.  Setting such values will
have no effect on your informaltables if the parameters are not
actually used in the stylesheet templates.

Are you trying to make this customization for
HTML or FO output?

-- 

Bob Stayton                                 400 Encinal Street
Publications Architect                      Santa Cruz, CA  95060
Technical Publications                      voice: (831) 427-7796
The SCO Group                               fax:   (831) 429-1887
                                            email: bobs@sco.com


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