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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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[ at 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 at sco dot com

---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe at lists dot oasis-open dot org
For additional commands, e-mail: docbook-apps-help at lists dot oasis-open dot org


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