Changeset 832 for rfc2629xslt/rfc2629toFO.xslt
- Timestamp:
- 01/07/10 13:30:11 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
rfc2629xslt/rfc2629toFO.xslt
r799 r832 706 706 <xsl:call-template name="format-initials"/> 707 707 </xsl:variable> 708 <xsl:variable name="truncated-initials" select="concat(substring-before($initials,'.'),'.')"/> 708 709 <xsl:choose> 709 710 <xsl:when test="@surname and @surname!=''"> 710 711 <xsl:choose> 711 712 <xsl:when test="@surname and position()=last() and position()!=1"> 712 <xsl:value-of select="concat($ initials,' ',@surname)" />713 <xsl:value-of select="concat($truncated-initials,' ',@surname)" /> 713 714 </xsl:when> 714 715 <xsl:when test="@surname"> 715 <xsl:value-of select="concat(@surname,', ',$ initials)" />716 <xsl:value-of select="concat(@surname,', ',$truncated-initials)" /> 716 717 </xsl:when> 717 718 <xsl:when test="organization/text()">
Note: See TracChangeset
for help on using the changeset viewer.