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: Custom fop header... again

Hello list,

After reading, and reading and reading again the Bob's document about
header.content, I made a try.

In my custom-layer.xsl file I first put this :

    <xsl:template name="header.content">
        <xsl:param name="pageclass" select="''"/>
        <xsl:param name="sequence" select="''"/>
        <xsl:param name="position" select="''"/>
        <xsl:param name="gentext-key" select="''"/>
            <xsl:when test="$sequence = 'first' and $position = 'left'">
    And every fist page of a chapter the word "FOO" appears on the top
left. YEAH ! Great victory for me :-)

But the target is to put a logo in this place so I have changed :


by :

<fo:external-graphic src="/Users/jacques/Documents/images/logo.png"/>

And... it doesn't work. 

Using xsltproc to generate the fo file I have this error :

/Users/jacques/Documents/custom-layer.xsl:11: namespace error :
Namespace prefix fo on external-graphic is not defined

Did I have to use a <xmlns:...> statement somewhere ? And if yes where,
and which one ? I must admit that I haven't insterstood this name space

Thanks in advance for your help.
Pour qu'il y ait le moins de mécontents possible, il faut toujours taper sur les mêmes

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