[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: HTML - need header on all pages except title page
Hello All, I have a title page with a mediaobject on it. I want that same mediaobject to apear on all the pages. I modified a copyright footer example from Bob Stayton's book like this: <xsl:template name="user.header.content"> <xsl:apply-templates select="//d:info/d:mediaobject" mode="titlepage.mode"/> </xsl:template> I don't fully understand this (specifically, I don't know what the mode="titlepage.mode" part does), but it works. However, the image now appears twice on the title page. Maybe I could fix this by just removing the mediaobject from the title page (would I then have to change the mode="..." to something else?), but how can the template find out if it is in a title page, i.e., <xsl:template name="user.header.content"> <xsl:if test="TEST-FOR-TITLE-PAGE=false"> <xsl:apply-templates select="//d:info/d:mediaobject" mode="titlepage.mode"/> </xsl:if> </xsl:template>
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]