Fixed issue #938: *Backlash* between user name and domain name is incorrectly replace...
[TortoiseGit.git] / doc / xsl / ja / htmlchunk.xsl
blobc0612c3248d16dfa0b3b586949e9d635c3cff3cd
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"/>
13 </xsl:if>
15 <xsl:if test="$node//firstname">
16 <xsl:if test="$node//honorific">
17 <xsl:text> </xsl:text>
18 </xsl:if>
19 <xsl:apply-templates select="$node//firstname[1]"/>
20 </xsl:if>
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>
25 </xsl:if>
26 <xsl:apply-templates select="$node//othername[1]"/>
27 </xsl:if>
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>
33 </xsl:if>
34 <xsl:apply-templates select="$node//surname[1]"/>
35 </xsl:if>
37 <xsl:if test="$node//lineage">
38 <xsl:text>, </xsl:text>
39 <xsl:apply-templates select="$node//lineage[1]"/>
40 </xsl:if>
41 </xsl:template>
43 </xsl:stylesheet>