[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: orgname not displayed in authorgroup
Hi,
after crawling up about a dozen templates I found out why my orgname was
not showing on verso book titlepage. It was not referenced within
person.name.first-last so I modified the template (see below). I'm not
sure this is the right place nor the right way to do it, I'll let
experts inject that upstream if needed.
Camille.
<xsl:template name="person.name.first-last">
<xsl:param name="node" select="."/>
<xsl:if test="$node//honorific">
<xsl:apply-templates select="$node//honorific[1]"/>
<xsl:value-of select="$punct.honorific"/>
</xsl:if>
<xsl:if test="$node//firstname">
<xsl:if test="$node//honorific">
<xsl:text> </xsl:text>
</xsl:if>
<xsl:apply-templates select="$node//firstname[1]"/>
</xsl:if>
<xsl:if test="$node//othername and $author.othername.in.middle != 0">
<xsl:if test="$node//honorific or $node//firstname">
<xsl:text> </xsl:text>
</xsl:if>
<xsl:apply-templates select="$node//othername[1]"/>
</xsl:if>
<!-- Add orgname support -->
<xsl:if test="$node//orgname">
<xsl:if test="$node//honorific or $node//firstname
or ($node//othername and $author.othername.in.middle
!= 0)">
<xsl:text> </xsl:text>
</xsl:if>
<xsl:apply-templates select="$node//orgname[1]"/>
</xsl:if>
<xsl:if test="$node//surname">
<xsl:if test="$node//honorific or $node//firstname
or ($node//othername and $author.othername.in.middle
!= 0)">
<xsl:text> </xsl:text>
</xsl:if>
<xsl:apply-templates select="$node//surname[1]"/>
</xsl:if>
<xsl:if test="$node//lineage">
<xsl:text>, </xsl:text>
<xsl:apply-templates select="$node//lineage[1]"/>
</xsl:if>
</xsl:template>
begin:vcard fn;quoted-printable:Camille B=C3=A9gnis n;quoted-printable:B=C3=A9gnis;Camille org:NeoDoc adr:;;139 rue Philippe de Girard;Pertuis;;84120;France email;internet:camille@neodoc.biz tel;work:+33.9.54.96.99.55 tel;fax:+33.9.59.96.99.55 tel;cell:+33.6.33.15.10.23 url:http://www.neodoc.biz version:2.1 end:vcard
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]