1 <xsl:stylesheet xmlns:
xsl=
"http://www.w3.org/1999/XSL/Transform" version=
"1.0">
3 <xsl:import href=
"../htmlchunk.xsl"/>
5 <xsl:param name=
"chunker.output.encoding" select=
"'Shift_JIS'"/>
7 <xsl:template name=
"person.name.family-given">
8 <xsl:param name=
"node" select=
"."/>
10 <xsl:if test=
"$node//honorific">
11 <xsl:apply-templates select=
"$node//honorific[1]"/>
12 <xsl:value-of select=
"$punct.honorific"/>
15 <xsl:if test=
"$node//firstname">
16 <xsl:if test=
"$node//honorific">
17 <xsl:text> </xsl:text>
19 <xsl:apply-templates select=
"$node//firstname[1]"/>
22 <xsl:if test=
"$node//othername and $author.othername.in.middle != 0">
23 <xsl:if test=
"$node//honorific or $node//firstname">
24 <xsl:text> </xsl:text>
26 <xsl:apply-templates select=
"$node//othername[1]"/>
29 <xsl:if test=
"$node//surname">
30 <xsl:if test=
"$node//honorific or $node//firstname
31 or ($node//othername and $author.othername.in.middle != 0)">
32 <xsl:text> </xsl:text>
34 <xsl:apply-templates select=
"$node//surname[1]"/>
37 <xsl:if test=
"$node//lineage">
38 <xsl:text>,
</xsl:text>
39 <xsl:apply-templates select=
"$node//lineage[1]"/>