User pagemaster - process region-start area using stylesheet

View: New views
2 Messages — Rating Filter:   Alert me  

User pagemaster - process region-start area using stylesheet

by Tobias Anstett [k15t.com] :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

in my custom user pagemaster I have defined a region-start area.

<fo:region-start region-name="xsl-region-start-odd"
extent="{$cl.region.start.extent}"></fo:region-start>

Now I want to display a logo in this area on every page. I know that I
can just define a background image, but I want to be able to add more
content to this area in the future. Thus I am interested in if there
is a way similar to the header.xsl and footer.xsl files to use a
stylesheet for this area.

Any ideas?

Cheers,
Tobias

---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@...
For additional commands, e-mail: docbook-apps-help@...


Re: User pagemaster - process region-start area using stylesheet

by Tobias Anstett [k15t.com] :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I found the solution :) Just wanted to tell you how I solved the
problem - maybe somebody else has the same question.

Analog to the <xsl:template match="*" mode="running.head.mode">
template located at pagesetup.xsl I have introduced a <xsl:template
match="*" mode="running.start.mode"> template. To be sure that it is
executed during runtime, you have to add it to the component.xsl (in
my case the article template) the same way the head template is
called.

That's all :)

Cheers,
Tobias


On Sun, Aug 30, 2009 at 11:41 AM, Tobias Anstett
[k15t.com]<tobias@...> wrote:

> Hi,
>
> in my custom user pagemaster I have defined a region-start area.
>
> <fo:region-start region-name="xsl-region-start-odd"
> extent="{$cl.region.start.extent}"></fo:region-start>
>
> Now I want to display a logo in this area on every page. I know that I
> can just define a background image, but I want to be able to add more
> content to this area in the future. Thus I am interested in if there
> is a way similar to the header.xsl and footer.xsl files to use a
> stylesheet for this area.
>
> Any ideas?
>
> Cheers,
> Tobias
>

---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@...
For additional commands, e-mail: docbook-apps-help@...