← Prev in month
← Prev in thread
How do I mirror Copyright text in the footer?
Hi guys,
Could someone help me with some XSL code?
I have a footer which has the following logo and text (which appears at
the bottom, left-hand side of odd pages):
LOGO Copyright 2005 Orion Ltd
Now, I want the mirror image of this exact same
footer, except on the even pages.
The following should appear on the bottom right-hand
side of the even pages:
Copyright 2005 Orion Ltd LOGO
This is the code I have used in my XSL Stylesheet:
<!-- Footers! -->
<xsl:template name="footer.table">
<xsl:choose>
<xsl:when test="$pageclass = 'titlepage' and
$sequence='first'">
<!-- no, book titlepages have
no footers at all -->
</xsl:when>
<xsl:when
test="$pageclass = 'titlepage'
and $sequence = 'even'">
</xsl:when>
<xsl:when
test="$pageclass = 'lot' and $sequence =
'first'">
</xsl:when>
<xsl:when
test="$sequence = 'blank'">
<!--
nothing for blank pages -->
</xsl:when>
<xsl:otherwise>
<fo:external-graphic
height="-1.0pt" scaling="uniform"
space-before="5pt" src="url(file:///C%3A/Program%20Files/DocBook/images/orionlogosmall.png)"
width="5.63pt"/>
<fo:block
hyphenate="false" line-height="10.3pt" space-before="0pt" margin-left="58.0pt">
<fo:inline font-family="Arial,
sans-serif" font-size="7.0pt">
Copyright 2005 Orion Systems
International Limited
</fo:inline>
</fo:block>
</xsl:otherwise>
</xsl:choose>
</xsl:if>
</xsl:template>
Thanks and regards,
Supun Gunasena
Technical Writer
Orion Systems International
Excellence in Health Innovation
Skype:
skypeID Phone: +64 9 6380600 Fax: +64 9
6380699 Email:
2nd Floor, Orion
House, cnr Enfield & Mary St, Mt Eden, PO Box 8273, Auckland, New
Zealand. http://www.orionhealth.com
This e-mail and any
attachments are intended only for the person to whom it is addressed and may
contain privileged, proprietary, or other data protected from disclosure
under applicable law. If you are not the addressee or the person responsible
for delivering this to the addressee you are hereby notified that reading,
copying or distributing this transmission is prohibited. If you have received
this e-mail in error, please telephone us immediately and remove all copies
of it from your system. Thank you for your co-operation.
← Prev in month
← Prev in thread