Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


using entitites in XSL

From: Roman Banks <technical_wr@-----.--->
To: xml-dev@-----.---.---
Date: 11/4/2007 11:22:00 AM
Hi all,

I am customizing a footer template. As part of
customization, I would like to insert copyright
information as follows:

 <xsl:template name="footer.content">  
  <xsl:param name="pageclass" select="''"/>
  <xsl:param name="sequence" select="''"/>
  <xsl:param name="position" select="''"/>
  <xsl:param name="gentext-key" select="''"/>
  <fo:block>  
    <xsl:choose>
      <xsl:when test="$double.sided = 0 and
$position='center'">
        <fo:page-number/>
      </xsl:when>

    <xsl:when test="$double.sided = 0 and
$position='left'">
      <xsl:text>&j_copyright;</xsl:text>
    </xsl:when>
    <xsl:when test="$double.sided != 0 and
$position='center'">
      <xsl:text>&j_copyright;</xsl:text>
    </xsl:when>
 </xsl:choose>
  </fo:block>
</xsl:template>

As you can see, I would like to use an entity
(&j_copyright) instead of a regular copyright text. I
defined this entity (which contains the copyright
info) in my definitions.ent file where I store all my
entities which I use in my XML sources. In my XSL
customization layer, I called definitions.ent via
xi:include. However, as you can already guess, this
does not work when I try to compile a PDF. The
compiler says that the entity is not defined. Is there
any way to process entities inside XSL?

Thank you in advance!

My best wishes,
Roman

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent