<?xml version="1.0" encoding="UTF-8"?><xsl:stylesheet version="1.0" xsi:schemaLocation="http://www.w3.org/1999/XSL/Transform xslt.xsd" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:fox="http://xml.apache.org/fop/extensions" xmlns:LU="lookup-table" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<!-- 
******************************************************************************
* XSL FORMATTING STYLESHEET: REQUEST                                         *
* DTD Version       : v1.9   01-07-2017                                      *
* Stylesheet Version: v                                                      *
*		2.58                                                      			 *
*		28/02/2026                                              			 *
******************************************************************************
*  contacts:                                                                 *
*  WIPO:  Tadanori MORIGUCHI; tadanori.moriguchi@wipo.int                    *
*  Special thanks to John Dunning                                            *
******************************************************************************
	-->
	<xsl:strip-space elements="*"></xsl:strip-space>
	<xsl:preserve-space elements="invention-title"></xsl:preserve-space>
	<xsl:output method="xml" version="1.0" indent="no" encoding="UTF-8"></xsl:output>
	<!-- ****************************************************************
	*  PARAMETER original                                               *
	*  Set at run-time via XSL Processor; sets                          *
	*  'Paper Copy' or 'Original (for Submission)' in top margin        *
	********************************************************************* -->
	<xsl:param name="original"></xsl:param>
	<!-- ****************************************************************
	*  PARAMETER ia_number                                              *
	*  Set at run-time via XSL Processor; sets                          *
	*  International Application Number                                 *
	********************************************************************* -->
	<xsl:param name="ia_number"></xsl:param>
	<!-- ***************************************************************
    * PARAMETER: mode                                                  * 
    * Set at run time or will be read from 'dtd-version' attribute.    *
    * specifies modal templates to use for different DTD versions      *
    ******************************************************************** -->
	<xsl:param name="mode">
		<xsl:if test="//request/@dtd-version">
			<xsl:value-of select="concat('v',//request/@dtd-version)"></xsl:value-of>
		</xsl:if>
	</xsl:param>
	<!-- ****************************************************************
	*  PARAMETER physical_media                                         *
	*  Set at run-time via XSL Processor; sets                          *
	*  renders type of physical media used for Box IX-17                *
	********************************************************************* -->
	<xsl:param name="physical_media">
		<xsl:choose>
			<xsl:when test="$lang='en'">PCT-SAFE Physical Media</xsl:when>
			<xsl:when test="$lang='ja' and contains($software_name,'SAFE')">PCT-SAFE 物理媒体</xsl:when>
			<xsl:when test="$lang='ja' and contains($software_name,'JPO')">JPO-PAS 物理媒体</xsl:when>
			<xsl:otherwise>PCT-SAFE Physical Media</xsl:otherwise>
		</xsl:choose>
	</xsl:param>
	<!-- *****************************************************************
     * PARAMETER page_size                                               *
     *  VALUES :  (a4 | A4 ) | (Letter | letter)                         *
     *  DEFAULT:  A4                                                     *
     *  Set at run-time via XSL Processor; calculates margins, page size *
     *  based on page size                                               *
     ********************************************************************* -->
	<xsl:param name="page_size" select="A4"></xsl:param>
	<!-- *****************************************************************
     * PARAMETER: renderer                                               *
     * VALUES:    (FOP | XEP)                                            *
     * DEFAULT:    FOP                                                   *
     * sets rendering tool (XEP | FOP) for bookmark extensions           *
     ********************************************************************* -->
	<xsl:param name="renderer"></xsl:param>
	<!-- *****************************************************************
     * PARAMETER: lang                                                   *
     * sets language for boilerplate text, hyphenation                   *
     ********************************************************************* -->
	<xsl:param name="lang" select="substring(translate(//request/@lang,'ABCDEFGHIJKLMNOPQRSTUVWXYZ','abcdefghijklmnopqrstuvwxyz'),1,2)"></xsl:param>
	<!-- ****************************************************************
	*  PARAMETER fee_reduction                                          *
	*  Set at run-time via XSL Processor; sets                          *
	*  text of fee-sheet box 12-12, default "PCT-SAFE fee reduction"    *
	********************************************************************* -->
	<xsl:param name="fee_reduction">
		<xsl:choose>
			<xsl:when test="$lang='en'">PCT-SAFE fee reduction</xsl:when>
			<xsl:when test="$lang='ja'">PCT-SAFE ‚É‚æ‚é—¿‹à‚ÌŒ¸Šz</xsl:when>
			<xsl:otherwise>PCT-SAFE fee reduction</xsl:otherwise>
		</xsl:choose>
	</xsl:param>
	<!-- ********************************************************************
     * PARAMETER 'officeUse':  hides office specific data section, unless   *
     * parameter is assigned new value by the XSL processor (anything but 1)*
     * as argument at run-time                                              *
     ************************************************************************-->
	<xsl:param name="officeUse" select="0"></xsl:param>
	<!-- **********************************************************************
	 * PARAMETER 'package': if a package-data document has been created based *
	 * on package-data.dtd, search for sequence listings and/or tables and    *
     * supply that filename and path as a parameter to the XSL processor as   *
     * argument at run-time.  This param will be used on the SERVER-SIDE to   *
     * produce the various sequence/sequence table parameters listed below    *
     **************************************************************************-->
	<xsl:param name="package"></xsl:param>
	<!-- ******************************************************************
     * PARAMETER seqlist                                                  *
     *  VALUES :  (0 | 1 )                                                *
     *  DEFAULT:  0                                                       *
     *  Set at run-time via XSL Processor or by PI 'seqlist'; used on     *
     *  CLIENT-SIDE to trigger box IX-16(A) sequence listings attached as *
     * part of description                                                *
     ********************************************************************** -->
	<xsl:param name="seqlist">
		<xsl:choose>
			<xsl:when test="//processing-instruction('seqlist')">
				<xsl:value-of select="//processing-instruction('seqlist')"></xsl:value-of>
			</xsl:when>
			<xsl:when test="document($package_doc)//document-name='SEQL' or document($package_doc)//document-name='SEQLTXT'">1</xsl:when>
			<xsl:otherwise>0</xsl:otherwise>
		</xsl:choose>
	</xsl:param>
	<!--**********************************************************************
     * PARAMETER seqlist-search                                              *
     *  VALUES :  (0 | 1 )                                                   *
     *  DEFAULT:  0                                                          *
     *  Set at run-time via XSL Processor or by PI 'seqlist-search'; used on *
     *  CLIENT-SIDE to trigger box IX-16(A)(i) sequence listings attached as *
     *  part of description                                                  *
     ************************************************************************* -->
	<xsl:param name="seqlist-search">
		<xsl:choose>
			<xsl:when test="//processing-instruction('seqlist-search')">
				<xsl:value-of select="//processing-instruction('seqlist-search')"></xsl:value-of>
			</xsl:when>
			<xsl:when test="document($package_doc)//document-name='SEQL-S' or document($package_doc)//document-name='SEQLTXT-S'">1</xsl:when>
			<xsl:otherwise>0</xsl:otherwise>
		</xsl:choose>
	</xsl:param>
	<!--********************************************************************
     * PARAMETER seqtab                                                    *
     *  VALUES :  (0 | 1 )                                                 *
     *  DEFAULT:  0                                                        *
     *  Set at run-time via XSL Processor or by PI 'seqtab'; used on       *
     *  CLIENT-SIDE to trigger box IX-6b sequence listings attached as     *
     *  part of description                                                *
     *********************************************************************** -->
	<xsl:param name="seqtab">
		<xsl:choose>
			<xsl:when test="//processing-instruction('seqtab')">
				<xsl:value-of select="//processing-instruction('seqtab')"></xsl:value-of>
			</xsl:when>
			<xsl:when test="document($package_doc)//document-name='SEQLTAB' or document($package_doc)//document-name='SEQLTABXML' or document($package_doc)//document-name='SEQLTABTXT'">1</xsl:when>
			<xsl:otherwise>0</xsl:otherwise>
		</xsl:choose>
	</xsl:param>
	<!-- **********************************************************************
     * PARAMETER seqtab-search                                                *
     *  VALUES :  (0 | 1 )                                                    *
     *  DEFAULT:  0                                                           *
     *  Set at run-time via XSL Processor or by PI 'seqtab-search'; used on   *
     *  CLIENT-SIDE to trigger box IX-6b(i) sequence listings attached as     *
     *  part of description                                                   *
     ************************************************************************** -->
	<xsl:param name="seqtab-search">
		<xsl:choose>
			<xsl:when test="//processing-instruction('seqtab-search')">
				<xsl:value-of select="//processing-instruction('seqtab-search')"></xsl:value-of>
			</xsl:when>
			<xsl:when test="document($package_doc)//document-name='SEQLTAB-S' or document($package_doc)//document-name='SEQLTABXML-S' or document($package_doc)//document-name='SEQLTABTXT-S'">1</xsl:when>
			<xsl:otherwise>0</xsl:otherwise>
		</xsl:choose>
	</xsl:param>
	<!--********************************************************************************
     * PARAMETER seqlist-additional                                                    *
     *  Set at run-time via XSL Processor or by PI 'seqlist-additional'; used on       *
     *  CLIENT-SIDE to trigger box IX-16(i) sequence listings attached as additional   *
     *  item and text for box IX-6a                                                    *
     *********************************************************************************** -->
	<xsl:param name="seqlist-additional">
		<xsl:choose>
			<xsl:when test="//processing-instruction('seqlist-additional')">
				<xsl:value-of select="//processing-instruction('seqlist-additional')"></xsl:value-of>
			</xsl:when>
			<xsl:otherwise>0</xsl:otherwise>
		</xsl:choose>
	</xsl:param>
	<!-- **********************************************************************
     * PARAMETER seqtab-additional                                            *
     *  Set at run-time via XSL Processor or by PI 'seqtab-additional'; used  *
     *  on CLIENT-SIDE to trigger box IX-16(ii) sequence listing table        *
     *  attached as additional item                                           *
     ************************************************************************** -->
	<xsl:param name="seqtab-additional">
		<xsl:value-of select="//processing-instruction('seqtab-additional')"></xsl:value-of>
	</xsl:param>
	<!-- *****************************************************************************
	 * PARAMETER 'declarations': if a declarations document has been created         *
     * based on declaration.dtd, *and* if that document contains *all* declarations, *
     * supply that filename and path as a parameter to the XSL processor as argument *
     * at run-time                                                                   *
     **********************************************************************************-->
	<xsl:param name="declarations"></xsl:param>
	<!-- ************************************************************************
	 * PARAMETER 'declaration1': the XML document based on declaration.dtd that *
     * contains declaration1, <identity-of-inventor>                            *
     ****************************************************************************-->
	<xsl:param name="declaration1"></xsl:param>
	<!-- ************************************************************************
	 * PARAMETER 'declaration2': the XML document based on declaration.dtd that *
     * contains declaration2, <entitlement-to-be-granted-patent>                * 
     ****************************************************************************-->
	<xsl:param name="declaration2"></xsl:param>
	<!-- ************************************************************************
	 * PARAMETER 'declaration3': the XML document based on declaration.dtd that *
     * contains declaration3, <entitlement-to-claim-priority>                   *
     ****************************************************************************-->
	<xsl:param name="declaration3"></xsl:param>
	<!-- ************************************************************************
	 * PARAMETER 'declaration4': the XML document based on declaration.dtd that *
     *  contains declaration4, <inventorship>                                   *
     ****************************************************************************-->
	<xsl:param name="declaration4"></xsl:param>
	<!-- ************************************************************************
	 * PARAMETER 'declaration5': the XML document based on declaration.dtd that *
     * contains declaration5, <lack-of-novelty>                                 *
     ****************************************************************************-->
	<xsl:param name="declaration5"></xsl:param>
	<!-- ***********************************************************************
	 * PARAMETER 'fees': if a fee-sheet document has been created, supply that *
     * filename and path as a parameter to the XSL processor as argument       *
     * at runtime                                                              *
     ***************************************************************************-->
	<xsl:param name="fees"></xsl:param>
	<!-- ************************************************************************
	 * PARAMETER 'bio': if an indication-bio-deposit document has been created, *
     * supply that filename and path as a parameter to the XSL processor as     *
     * argument at runtime                                                      *
     ****************************************************************************-->
	<xsl:param name="bio"></xsl:param>
	<!-- **********************************************************************
	 * PARAMETER 'power': if a power-of-attorney document has been created,   *
	 * supply that filename and path as a parameter to the XSL processor as   *
	 * argument at runtime                                                    *
	 **************************************************************************-->
	<xsl:param name="power"></xsl:param>

	<!--*********************************************************************
     * PARAMETER: XXX_font
	 * Note: It seems that FOP0.2X does not work well for font-family lists.
	 *       FOP0.2X always uses the first font so long as it is defined.
	 *        (even if it fails to render some characters)
     *********************************************************************-->
	<xsl:param name="helvetica_font">
		<xsl:choose>
			<xsl:when test="$lang = 'ar' ">Arialuni, Helvetica, WIPOUni</xsl:when>
			<xsl:when test="$lang = 'ja' ">IPAMincho-P, Helvetica, WIPOUni</xsl:when>
			<xsl:when test="$lang = 'ru' ">WIPOUni, Arialuni, Helvetica</xsl:when>
			<xsl:when test="$lang = 'zh' ">FZSongS-SIP, FZSongS, Simsun, WIPOUni, Helvetica</xsl:when>
			<xsl:otherwise>Arialuni, Helvetica, WIPOUni</xsl:otherwise>
		</xsl:choose>
	</xsl:param><xsl:param name="courier_font">
		<xsl:choose>
			<xsl:when test="$lang = 'ar' ">Arialuni, Courier, WIPOUni</xsl:when>
			<xsl:when test="$lang = 'ja' ">IPAGothic, Courier, WIPOUni</xsl:when>
			<xsl:when test="$lang = 'ru' ">WIPOUni, Courier, Arialuni</xsl:when>
			<xsl:when test="$lang = 'zh' ">FZSongS-SIP, FZSongS, Simhei, Courier, WIPOUni</xsl:when>
			<xsl:otherwise>Arialuni, Courier, WIPOUni</xsl:otherwise>
		</xsl:choose>
	</xsl:param>

	<!-- VARIABLE 'software_name': finds this PI, whether in doc prolog or doc -->
	<xsl:variable name="software_name">
		<xsl:value-of select="processing-instruction('software_name')"></xsl:value-of>
	</xsl:variable>
	<!-- VARIABLE 'software_version': finds this PI, whether in doc prolog or doc -->
	<xsl:variable name="software_version">
		<xsl:value-of select="processing-instruction('software_version')"></xsl:value-of>
	</xsl:variable>
	<!-- ************************************************************************
	 * PARAMETER 'rrri': if a RO-request-receiving-info document has been created, *
     * supply that filename and path as a parameter to the XSL processor as     *
     * argument at runtime                                                      *
     ****************************************************************************-->
	<xsl:param name="rrri"></xsl:param>
	<!-- *****************************************************************************
    * VARIABLE: EASY                                                                 * 
    * Set from $software_name.  Specifies EASY mode $software_name contains [EASY].  *
    ********************************************************************************** -->
	<xsl:variable name="EASY">
		<xsl:choose>
			<xsl:when test="contains($software_name,'EASY') or contains($software_name,'EFS-Web')">1</xsl:when>
			<xsl:otherwise></xsl:otherwise>
		</xsl:choose>
	</xsl:variable>
	<!-- *****************************************************************************
    * VARIABLE: EFSWEB                                                                 * 
    * Set from $software_name.  Specifies EASY/EFS-Web mode $software_name contains [EFS-Web].  *
    ********************************************************************************** -->
	<xsl:variable name="EFSWEB">
		<xsl:choose>
			<xsl:when test="contains($software_name,'EFS-Web')">1</xsl:when>
			<xsl:otherwise></xsl:otherwise>
		</xsl:choose>
	</xsl:variable>
	<!-- VARIABLE 'request_doc': used in fee-sheet components; declared here to prevent error -->
	<xsl:variable name="request_doc"></xsl:variable>
	<!-- VARIABLE 'package_doc': adds 'file:/' to path of 'package' parameter 
     (if necessary), if supplied as prior argument.  -->
	<xsl:variable name="package_doc">
		<xsl:if test="$package!= ''">
			<xsl:choose>
				<xsl:when test="contains($package,':')">
					<xsl:choose>
						<xsl:when test="contains($package,'file:/')">
							<xsl:value-of select="$package"></xsl:value-of>
						</xsl:when>
						<xsl:otherwise>
							<xsl:value-of select="concat('file:/',$package)"></xsl:value-of>
						</xsl:otherwise>
					</xsl:choose>
				</xsl:when>
				<xsl:otherwise>
					<xsl:value-of select="$package"></xsl:value-of>
				</xsl:otherwise>
			</xsl:choose>
		</xsl:if>
	</xsl:variable>
	<!-- VARIABLE 'dec_doc': adds 'file:/' to path of 'declarations' parameter 
     (if necessary), if supplied as prior argument.  -->
	<xsl:variable name="dec_doc">
		<xsl:if test="$declarations != ''">
			<xsl:choose>
				<xsl:when test="contains($declarations,':')">
					<xsl:choose>
						<xsl:when test="contains($declarations,'file:/')">
							<xsl:value-of select="$declarations"></xsl:value-of>
						</xsl:when>
						<xsl:otherwise>
							<xsl:value-of select="concat('file:/',$declarations)"></xsl:value-of>
						</xsl:otherwise>
					</xsl:choose>
				</xsl:when>
				<xsl:otherwise>
					<xsl:value-of select="$declarations"></xsl:value-of>
				</xsl:otherwise>
			</xsl:choose>
		</xsl:if>
	</xsl:variable>
	<!-- VARIABLE 'dec1_doc': adds 'file:/' to path of 'declaration1' parameter 
     (if necessary), if supplied as prior argument.  -->
	<xsl:variable name="dec1_doc">
		<xsl:if test="$declaration1 != ''">
			<xsl:choose>
				<xsl:when test="contains($declaration1,':')">
					<xsl:choose>
						<xsl:when test="contains($declaration1,'file:/')">
							<xsl:value-of select="$declaration1"></xsl:value-of>
						</xsl:when>
						<xsl:otherwise>
							<xsl:value-of select="concat('file:/',$declaration1)"></xsl:value-of>
						</xsl:otherwise>
					</xsl:choose>
				</xsl:when>
				<xsl:otherwise>
					<xsl:value-of select="$declaration1"></xsl:value-of>
				</xsl:otherwise>
			</xsl:choose>
		</xsl:if>
	</xsl:variable>
	<!-- VARIABLE 'dec2_doc': adds 'file:/' to path of 'declaration2' parameter 
     (if necessary), if supplied as prior argument.  -->
	<xsl:variable name="dec2_doc">
		<xsl:if test="$declaration2 != ''">
			<xsl:choose>
				<xsl:when test="contains($declaration2,':')">
					<xsl:choose>
						<xsl:when test="contains($declaration2,'file:/')">
							<xsl:value-of select="$declaration2"></xsl:value-of>
						</xsl:when>
						<xsl:otherwise>
							<xsl:value-of select="concat('file:/',$declaration2)"></xsl:value-of>
						</xsl:otherwise>
					</xsl:choose>
				</xsl:when>
				<xsl:otherwise>
					<xsl:value-of select="$declaration2"></xsl:value-of>
				</xsl:otherwise>
			</xsl:choose>
		</xsl:if>
	</xsl:variable>
	<!-- VARIABLE 'dec3_doc': adds 'file:/' to path of 'declaration3' parameter 
     (if necessary), if supplied as prior argument.  -->
	<xsl:variable name="dec3_doc">
		<xsl:if test="$declaration3 != ''">
			<xsl:choose>
				<xsl:when test="contains($declaration3,':')">
					<xsl:choose>
						<xsl:when test="contains($declaration3,'file:/')">
							<xsl:value-of select="$declaration3"></xsl:value-of>
						</xsl:when>
						<xsl:otherwise>
							<xsl:value-of select="concat('file:/',$declaration3)"></xsl:value-of>
						</xsl:otherwise>
					</xsl:choose>
				</xsl:when>
				<xsl:otherwise>
					<xsl:value-of select="$declaration3"></xsl:value-of>
				</xsl:otherwise>
			</xsl:choose>
		</xsl:if>
	</xsl:variable>
	<!-- VARIABLE 'dec4_doc': adds 'file:/' to path of 'declaration4' parameter 
     (if necessary), if supplied as prior argument.  -->
	<xsl:variable name="dec4_doc">
		<xsl:if test="$declaration4 != ''">
			<xsl:choose>
				<xsl:when test="contains($declaration4,':')">
					<xsl:choose>
						<xsl:when test="contains($declaration4,'file:/')">
							<xsl:value-of select="$declaration4"></xsl:value-of>
						</xsl:when>
						<xsl:otherwise>
							<xsl:value-of select="concat('file:/',$declaration4)"></xsl:value-of>
						</xsl:otherwise>
					</xsl:choose>
				</xsl:when>
				<xsl:otherwise>
					<xsl:value-of select="$declaration4"></xsl:value-of>
				</xsl:otherwise>
			</xsl:choose>
		</xsl:if>
	</xsl:variable>
	<!-- VARIABLE 'dec5_doc': adds 'file:/' to path of 'declaration5' parameter 
     (if necessary), if supplied as prior argument.  -->
	<xsl:variable name="dec5_doc">
		<xsl:if test="$declaration5 != ''">
			<xsl:choose>
				<xsl:when test="contains($declaration5,':')">
					<xsl:choose>
						<xsl:when test="contains($declaration5,'file:/')">
							<xsl:value-of select="$declaration5"></xsl:value-of>
						</xsl:when>
						<xsl:otherwise>
							<xsl:value-of select="concat('file:/',$declaration5)"></xsl:value-of>
						</xsl:otherwise>
					</xsl:choose>
				</xsl:when>
				<xsl:otherwise>
					<xsl:value-of select="$declaration5"></xsl:value-of>
				</xsl:otherwise>
			</xsl:choose>
		</xsl:if>
	</xsl:variable>
	<!-- VARIABLE 'fee_doc'" adds 'file:/' to path of 'fees' parameter (if necessary)
     if supplied as argument -->
	<xsl:variable name="fee_doc">
		<xsl:if test="$fees != ''">
			<xsl:choose>
				<xsl:when test="contains($fees,':')">
					<xsl:choose>
						<xsl:when test="contains($fees,'file:')">
							<xsl:value-of select="$fees"></xsl:value-of>
						</xsl:when>
						<xsl:otherwise>
							<xsl:value-of select="concat('file:///',$fees)"></xsl:value-of>
						</xsl:otherwise>
					</xsl:choose>
				</xsl:when>
				<xsl:otherwise>
					<xsl:value-of select="$fees"></xsl:value-of>
				</xsl:otherwise>
			</xsl:choose>
		</xsl:if>
	</xsl:variable>
	<!-- VARIABLE 'bio_doc'" adds 'file:/' to path of 'bio' parameter (if necessary)
     if supplied as argument -->
	<xsl:variable name="bio_doc">
		<xsl:if test="$bio != ''">
			<xsl:choose>
				<xsl:when test="contains($bio,':')">
					<xsl:choose>
						<xsl:when test="contains($bio,'file:')">
							<xsl:value-of select="$bio"></xsl:value-of>
						</xsl:when>
						<xsl:otherwise>
							<xsl:value-of select="concat('file:///',$bio)"></xsl:value-of>
						</xsl:otherwise>
					</xsl:choose>
				</xsl:when>
				<xsl:otherwise>
					<xsl:value-of select="$bio"></xsl:value-of>
				</xsl:otherwise>
			</xsl:choose>
		</xsl:if>
	</xsl:variable>
	<!-- VARIABLE 'power_doc'" adds 'file:/' to path of 'power' parameter (if necessary)
     if supplied as argument -->
	<xsl:variable name="power_doc">
		<xsl:if test="$power != ''">
			<xsl:choose>
				<xsl:when test="contains($power,':')">
					<xsl:choose>
						<xsl:when test="contains($power,'file:')">
							<xsl:value-of select="$power"></xsl:value-of>
						</xsl:when>
						<xsl:otherwise>
							<xsl:value-of select="concat('file:///',$power)"></xsl:value-of>
						</xsl:otherwise>
					</xsl:choose>
				</xsl:when>
				<xsl:otherwise>
					<xsl:value-of select="$power"></xsl:value-of>
				</xsl:otherwise>
			</xsl:choose>
		</xsl:if>
	</xsl:variable>
	<!-- VARIABLE 'rrri_doc'" adds 'file:/' to path of 'rrri' parameter (if necessary)
     if supplied as argument -->
	<xsl:variable name="rrri_doc">
		<xsl:if test="$rrri != ''">
			<xsl:choose>
				<xsl:when test="contains($rrri,':')">
					<xsl:choose>
						<xsl:when test="contains($rrri,'file:')">
							<xsl:value-of select="$rrri"></xsl:value-of>
						</xsl:when>
						<xsl:otherwise>
							<xsl:value-of select="concat('file:///',$rrri)"></xsl:value-of>
						</xsl:otherwise>
					</xsl:choose>
				</xsl:when>
				<xsl:otherwise>
					<xsl:value-of select="$rrri"></xsl:value-of>
				</xsl:otherwise>
			</xsl:choose>
		</xsl:if>
	</xsl:variable>
	<xsl:variable name="page_height">
		<xsl:choose>
			<xsl:when test="$page_size='A4' or $page_size='a4'">297</xsl:when>
			<xsl:when test="$page_size='Letter' or $page_size='letter'">279</xsl:when>
			<xsl:otherwise>297</xsl:otherwise>
		</xsl:choose>
	</xsl:variable>
	<xsl:variable name="page_width">
		<xsl:choose>
			<xsl:when test="$page_size='A4' or $page_size='a4'">210</xsl:when>
			<xsl:when test="$page_size='Letter' or $page_size='letter'">215</xsl:when>
			<xsl:otherwise>210</xsl:otherwise>
		</xsl:choose>
	</xsl:variable>
	<!-- parameter "baseDir":
     It holds a direct path to an image data referred from an input XML file.-->
	<xsl:param name="baseDir"></xsl:param>
	<!-- VARIABLE 'fop_version': finds this PI -->
	<xsl:variable name="fop_version">
		<xsl:value-of select="processing-instruction('fop_version')"></xsl:value-of>
	</xsl:variable>
	<xsl:template match="/">
		<fo:root>
			<fo:layout-master-set>
				<!-- NOTE: setting margin-bottom to '5cm' in attempt to emulate PCT-EASY output -->
				<fo:simple-page-master master-name="page" page-width="{$page_width}mm" page-height="{$page_height}mm" margin-top="1.5cm" margin-bottom="5cm" margin-left="2cm" margin-right="2.3cm">
					<fo:region-body margin-bottom="0mm" margin-right="0mm" margin-left="0mm" margin-top="19mm"></fo:region-body>
					<fo:region-before extent="2.5cm"></fo:region-before>
				</fo:simple-page-master>
				<fo:simple-page-master master-name="fees" page-width="{$page_width}mm" page-height="{$page_height}mm" margin-top="1.5cm" margin-bottom="5cm" margin-left="2cm" margin-right="2.3cm">
					<fo:region-body margin-bottom="0mm" margin-right="0mm" margin-left="0mm" margin-top="23mm"></fo:region-body>
					<fo:region-before extent="2.5cm"></fo:region-before>
				</fo:simple-page-master>
				<fo:simple-page-master master-name="bio" page-width="{$page_width}mm" page-height="{$page_height}mm" margin-top="1.5cm" margin-bottom="2cm" margin-left="2cm" margin-right="2.3cm">
					<fo:region-body margin-bottom="0mm" margin-right="0mm" margin-left="0mm" margin-top="23mm"></fo:region-body>
					<fo:region-before extent="2.5cm"></fo:region-before>
				</fo:simple-page-master>
				<fo:simple-page-master master-name="power" page-width="{$page_width}mm" page-height="{$page_height}mm" margin-top="1.5cm" margin-bottom="2cm" margin-left="2cm" margin-right="2.3cm">
					<fo:region-body margin-bottom="0mm" margin-right="0mm" margin-left="0mm" margin-top="23mm"></fo:region-body>
					<fo:region-before extent="2.5cm"></fo:region-before>
				</fo:simple-page-master>
				<fo:page-sequence-master master-name="request">
					<fo:repeatable-page-master-reference master-reference="page"></fo:repeatable-page-master-reference>
				</fo:page-sequence-master>
				<fo:page-sequence-master master-name="fee-sheet">
					<fo:repeatable-page-master-reference master-reference="fees"></fo:repeatable-page-master-reference>
				</fo:page-sequence-master>
				<fo:page-sequence-master master-name="power-of-attorney">
					<fo:repeatable-page-master-reference master-reference="power"></fo:repeatable-page-master-reference>
				</fo:page-sequence-master>
				<fo:page-sequence-master master-name="bio-deposit">
					<fo:repeatable-page-master-reference master-reference="bio"></fo:repeatable-page-master-reference>
				</fo:page-sequence-master>
			</fo:layout-master-set>
			<xsl:if test="$renderer='FOP'">
				<fox:outline internal-destination="requestSec">
					<fox:label>请求书</fox:label>
				</fox:outline>
				<xsl:if test="$declarations != '' or $declaration1 != '' or $declaration2 != '' or $declaration3 != '' or $declaration4 != '' or $declaration5 != ''">
					<fox:outline internal-destination="declarationSec">
						<fox:label>声明</fox:label>
					</fox:outline>
				</xsl:if>
				<xsl:if test="$fees != ''">
					<fox:outline internal-destination="feeSec">
						<fox:label>费用</fox:label>
					</fox:outline>
				</xsl:if>
				<xsl:if test="$power != ''">
					<fox:outline internal-destination="powerSec">
						<fox:label>委托书</fox:label>
					</fox:outline>
				</xsl:if>
				<xsl:if test="$bio != ''">
					<fox:outline internal-destination="bioSec">
						<fox:label>生物材料保藏</fox:label>
					</fox:outline>
				</xsl:if>
			</xsl:if>
			<xsl:variable name="avail_width">
				<xsl:value-of select="$page_width - 50"></xsl:value-of>
			</xsl:variable>
			<fo:page-sequence master-reference="request" initial-page-number="1" force-page-count="no-force">
				<fo:static-content flow-name="xsl-region-before">
					<fo:block font-family="{$helvetica_font}">
						<fo:table table-layout="fixed">
							<fo:table-column column-width="55mm"></fo:table-column>
							<fo:table-column column-width="55mm"></fo:table-column>
							<fo:table-column column-width="55mm"></fo:table-column>
							<fo:table-body>
								<fo:table-row>
									<fo:table-cell>
										<fo:block font-size="9pt">
											<xsl:value-of select=".//file-reference-id"></xsl:value-of>
										</fo:block>
									</fo:table-cell>
									<fo:table-cell>
										<fo:block></fo:block>
									</fo:table-cell>
									<fo:table-cell>
										<fo:block font-size="10pt" text-align="right">
											<fo:inline font-weight="bold">
												<xsl:value-of select="$ia_number"></xsl:value-of>
											</fo:inline>
										</fo:block>
									</fo:table-cell>
								</fo:table-row>
							</fo:table-body>
						</fo:table>
						<fo:table table-layout="fixed">
							<fo:table-column column-width="55mm"></fo:table-column>
							<fo:table-column column-width="55mm"></fo:table-column>
							<fo:table-column column-width="55mm"></fo:table-column>
							<fo:table-body>
								<fo:table-row>
									<fo:table-cell>
										<fo:block></fo:block>
									</fo:table-cell>
									<fo:table-cell>
										<fo:block text-align="center" font-size="10pt" background-color="white">
											<fo:page-number></fo:page-number>/<fo:page-number-citation ref-id="endofdoc"></fo:page-number-citation>
										</fo:block>
									</fo:table-cell>
									<fo:table-cell>
										<fo:block></fo:block>
									</fo:table-cell>
								</fo:table-row>
							</fo:table-body>
						</fo:table>
						<fo:table table-layout="fixed">
							<fo:table-column column-width="55mm"></fo:table-column>
							<fo:table-column column-width="55mm"></fo:table-column>
							<fo:table-column column-width="55mm"></fo:table-column>
							<fo:table-body>
								<fo:table-row>
									<fo:table-cell number-columns-spanned="2">
										<fo:block text-align="left" font-size="10pt" color="black" background-color="white">
											<fo:inline font-weight="bold">
												PCT请求书
											</fo:inline>
										</fo:block>
									</fo:table-cell>
									<fo:table-cell>
										<fo:block text-align="right" font-size="8pt" background-color="white"></fo:block>
									</fo:table-cell>
								</fo:table-row>
							</fo:table-body>
						</fo:table>
						<fo:table table-layout="fixed">
							<fo:table-column column-width="55mm"></fo:table-column>
							<fo:table-column column-width="55mm"></fo:table-column>
							<fo:table-column column-width="55mm"></fo:table-column>
							<fo:table-body>
								<fo:table-row>
									<fo:table-cell number-columns-spanned="3">
										<fo:block text-align="center" font-size="8pt" background-color="white">
											<xsl:choose>
												<xsl:when test="$original = '1' and $EASY = '1'">
													原件(
													<fo:inline font-weight="bold">
														提交
													</fo:inline>
													<xsl:text>)</xsl:text>
												</xsl:when>
												<xsl:when test="$original = '2' and $EASY = '1'">
													原件副本(
												</xsl:when>
												<xsl:when test="$EASY = '1'">
													Paper Copy 
													(不
													 用于提交)
												</xsl:when>
												<xsl:otherwise>
													(原件为电子形式)
												</xsl:otherwise>
											</xsl:choose>
										</fo:block>
									</fo:table-cell>
								</fo:table-row>
							</fo:table-body>
						</fo:table>
					</fo:block>
				</fo:static-content>
				<fo:flow flow-name="xsl-region-body">
					<fo:block xsl:use-attribute-sets="hyphenation" font-family="{$helvetica_font}">
						<xsl:attribute name="line-height"><xsl:choose><xsl:when test="$lang='ja' or $lang='ko' or $lang='zh'">1</xsl:when><xsl:otherwise>1.2</xsl:otherwise></xsl:choose></xsl:attribute>
						<xsl:attribute name="id">requestSec</xsl:attribute>
						<xsl:apply-templates select="request"></xsl:apply-templates>
					</fo:block>
					<fo:block id="endofdoc"></fo:block>
				</fo:flow>
			</fo:page-sequence>
			<!-- insert the fee-sheet pages if that parameter has been set; 
      start page numbering at '1' -->
			<xsl:if test="$fee_doc != ''">
				<fo:page-sequence master-reference="fee-sheet" initial-page-number="1" force-page-count="no-force">
					<fo:static-content flow-name="xsl-region-before">
						<fo:block width="{$avail_width}mm" font-family="{$helvetica_font}">
							<fo:table table-layout="fixed">
								<fo:table-column column-width="55mm"></fo:table-column>
								<fo:table-column column-width="55mm"></fo:table-column>
								<fo:table-column column-width="55mm"></fo:table-column>
								<fo:table-body>
									<fo:table-row>
										<fo:table-cell>
											<fo:block font-size="9pt">
												<xsl:value-of select=".//file-reference-id"></xsl:value-of>
											</fo:block>
										</fo:table-cell>
										<fo:table-cell>
											<fo:block></fo:block>
										</fo:table-cell>
										<fo:table-cell>
											<fo:block font-size="10pt" text-align="right">
												<fo:inline font-weight="bold">
													<xsl:value-of select="$ia_number"></xsl:value-of>
												</fo:inline>
											</fo:block>
										</fo:table-cell>
									</fo:table-row>
								</fo:table-body>
							</fo:table>
							<fo:table table-layout="fixed">
								<fo:table-column column-width="55mm"></fo:table-column>
								<fo:table-column column-width="55mm"></fo:table-column>
								<fo:table-column column-width="55mm"></fo:table-column>
								<fo:table-body>
									<fo:table-row>
										<fo:table-cell>
											<fo:block></fo:block>
										</fo:table-cell>
										<fo:table-cell>
											<fo:block text-align="center" font-size="10pt" background-color="white">
												<fo:page-number></fo:page-number>/<fo:page-number-citation ref-id="endofFeedoc"></fo:page-number-citation>
											</fo:block>
										</fo:table-cell>
										<fo:table-cell>
											<fo:block></fo:block>
										</fo:table-cell>
									</fo:table-row>
								</fo:table-body>
							</fo:table>
							<fo:table table-layout="fixed">
								<fo:table-column column-width="55mm"></fo:table-column>
								<fo:table-column column-width="55mm"></fo:table-column>
								<fo:table-column column-width="55mm"></fo:table-column>
								<fo:table-body>
									<fo:table-row>
										<fo:table-cell number-columns-spanned="2">
											<fo:block text-align="left" font-size="10pt" color="black" background-color="white">
												<fo:inline font-weight="bold">
													PCT (附件-费用计算页)
												</fo:inline>
											</fo:block>
										</fo:table-cell>
										<fo:table-cell>
											<fo:block text-align="right" font-size="8pt" background-color="white"></fo:block>
										</fo:table-cell>
									</fo:table-row>
								</fo:table-body>
							</fo:table>
							<fo:table table-layout="fixed">
								<fo:table-column column-width="55mm"></fo:table-column>
								<fo:table-column column-width="55mm"></fo:table-column>
								<fo:table-column column-width="55mm"></fo:table-column>
								<fo:table-body>
									<fo:table-row>
										<fo:table-cell number-columns-spanned="3">
											<fo:block text-align="center" font-size="8pt" background-color="white">
												<xsl:choose>
													<xsl:when test="$original = '1' and $EASY = '1'">
														原件(
														<fo:inline font-weight="bold">
															提交
														</fo:inline>
														<xsl:text>)</xsl:text>
													</xsl:when>
													<xsl:when test="$original = '2' and $EASY = '1'">
														原件副本(
													</xsl:when>
													<xsl:when test="$EASY = '1'">
														Paper Copy 
														(不
														 用于提交)
													</xsl:when>
													<xsl:otherwise>
														(原件为电子形式)
													</xsl:otherwise>
												</xsl:choose>
											</fo:block>
										</fo:table-cell>
									</fo:table-row>
								</fo:table-body>
							</fo:table>
							<fo:table table-layout="fixed">
								<fo:table-column column-width="55mm"></fo:table-column>
								<fo:table-column column-width="55mm"></fo:table-column>
								<fo:table-column column-width="55mm"></fo:table-column>
								<fo:table-body>
									<fo:table-row>
										<fo:table-cell number-columns-spanned="3" text-align="center" font-size="8pt" vertical-align="top">
											<fo:block background-color="white">
												(本页不是国际申请的组成部分，也不计作国际申请的一页)
											</fo:block>
										</fo:table-cell>
									</fo:table-row>
								</fo:table-body>
							</fo:table>
						</fo:block>
					</fo:static-content>
					<fo:flow flow-name="xsl-region-body">
						<fo:block font-family="{$helvetica_font}" xsl:use-attribute-sets="hyphenation">
							<xsl:attribute name="id">feeSec</xsl:attribute>
							<xsl:call-template name="fee_info">
								<xsl:with-param name="lang" select="$lang"></xsl:with-param>
							</xsl:call-template>
						</fo:block>
						<fo:block id="endofFeedoc"></fo:block>
					</fo:flow>
				</fo:page-sequence>
			</xsl:if>
			<!-- insert the power-of-attorney pages if that parameter has been set; 
      start page numbering at '1' -->
			<xsl:if test="$power_doc != ''">
				<fo:page-sequence master-reference="power-of-attorney" initial-page-number="1" force-page-count="no-force">
					<fo:static-content flow-name="xsl-region-before">
						<fo:block width="{$avail_width}mm" font-family="{$helvetica_font}">
							<fo:table table-layout="fixed">
								<fo:table-column column-width="55mm"></fo:table-column>
								<fo:table-column column-width="55mm"></fo:table-column>
								<fo:table-column column-width="55mm"></fo:table-column>
								<fo:table-body>
									<fo:table-row>
										<fo:table-cell>
											<fo:block font-size="9pt">
												<xsl:value-of select=".//file-reference-id"></xsl:value-of>
											</fo:block>
										</fo:table-cell>
										<fo:table-cell>
											<fo:block></fo:block>
										</fo:table-cell>
										<fo:table-cell>
											<fo:block font-size="10pt" text-align="right">
												<fo:inline font-weight="bold">
													<xsl:value-of select="$ia_number"></xsl:value-of>
												</fo:inline>
											</fo:block>
										</fo:table-cell>
									</fo:table-row>
								</fo:table-body>
							</fo:table>
							<fo:table table-layout="fixed">
								<fo:table-column column-width="55mm"></fo:table-column>
								<fo:table-column column-width="55mm"></fo:table-column>
								<fo:table-column column-width="55mm"></fo:table-column>
								<fo:table-body>
									<fo:table-row>
										<fo:table-cell>
											<fo:block></fo:block>
										</fo:table-cell>
										<fo:table-cell>
											<fo:block text-align="center" font-size="10pt" background-color="white">
												<fo:page-number></fo:page-number>/<fo:page-number-citation ref-id="endofPowerdoc"></fo:page-number-citation>
											</fo:block>
										</fo:table-cell>
										<fo:table-cell>
											<fo:block></fo:block>
										</fo:table-cell>
									</fo:table-row>
								</fo:table-body>
							</fo:table>
							<fo:table table-layout="fixed">
								<fo:table-column column-width="55mm"></fo:table-column>
								<fo:table-column column-width="55mm"></fo:table-column>
								<fo:table-column column-width="55mm"></fo:table-column>
								<fo:table-body>
									<fo:table-row>
										<fo:table-cell number-columns-spanned="2">
											<fo:block text-align="left" font-size="10pt" color="black" background-color="white">
												<fo:inline font-weight="bold">
													PCT委托书 
												</fo:inline>
											</fo:block>
										</fo:table-cell>
										<fo:table-cell>
											<fo:block text-align="right" font-size="8pt" background-color="white"></fo:block>
										</fo:table-cell>
									</fo:table-row>
								</fo:table-body>
							</fo:table>
							<fo:table table-layout="fixed">
								<fo:table-column column-width="55mm"></fo:table-column>
								<fo:table-column column-width="55mm"></fo:table-column>
								<fo:table-column column-width="55mm"></fo:table-column>
								<fo:table-body>
									<fo:table-row>
										<fo:table-cell number-columns-spanned="3">
											<fo:block text-align="center" font-size="8pt" background-color="white">
												<xsl:choose>
													<xsl:when test="$original = '1' and $EASY = '1'">
														原件(
														<fo:inline font-weight="bold">
															提交
														</fo:inline>
														<xsl:text>)</xsl:text>
													</xsl:when>
													<xsl:when test="$original = '2' and $EASY = '1'">
														原件副本(
													</xsl:when>
													<xsl:when test="$EASY = '1'">
														<fo:block></fo:block>
													</xsl:when>
													<xsl:otherwise>
														(原件为电子形式)
													</xsl:otherwise>
												</xsl:choose>
											</fo:block>
										</fo:table-cell>
									</fo:table-row>
								</fo:table-body>
							</fo:table>
							<fo:table table-layout="fixed">
								<fo:table-column column-width="55mm"></fo:table-column>
								<fo:table-column column-width="55mm"></fo:table-column>
								<fo:table-column column-width="55mm"></fo:table-column>
								<fo:table-body>
									<fo:table-row>
										<fo:table-cell number-columns-spanned="3" text-align="center" font-size="8pt" vertical-align="top">
											<fo:block background-color="white">
												(本页不是国际申请的组成部分，也不计作国际申请的一页)
											</fo:block>
										</fo:table-cell>
									</fo:table-row>
								</fo:table-body>
							</fo:table>
						</fo:block>
					</fo:static-content>
					<fo:flow flow-name="xsl-region-body">
						<fo:block font-family="{$helvetica_font}" xsl:use-attribute-sets="hyphenation">
							<xsl:attribute name="id">powerSec</xsl:attribute>
							<xsl:call-template name="power_of_attorney">
								<xsl:with-param name="lang" select="$lang"></xsl:with-param>
							</xsl:call-template>
						</fo:block>
						<fo:block id="endofPowerdoc"></fo:block>
					</fo:flow>
				</fo:page-sequence>
			</xsl:if>
			<!-- insert the bio-deposit pages if that parameter has been set; 
      start page numbering at '1' -->
			<xsl:if test="$bio_doc != ''">
				<fo:page-sequence master-reference="bio-deposit" initial-page-number="1" force-page-count="no-force">
					<fo:static-content flow-name="xsl-region-before">
						<fo:block width="{$avail_width}mm" font-family="{$helvetica_font}">
							<fo:table table-layout="fixed">
								<fo:table-column column-width="55mm"></fo:table-column>
								<fo:table-column column-width="55mm"></fo:table-column>
								<fo:table-column column-width="55mm"></fo:table-column>
								<fo:table-body>
									<fo:table-row>
										<fo:table-cell>
											<fo:block font-size="9pt">
												<xsl:value-of select=".//file-reference-id"></xsl:value-of>
											</fo:block>
										</fo:table-cell>
										<fo:table-cell>
											<fo:block></fo:block>
										</fo:table-cell>
										<fo:table-cell>
											<fo:block font-size="10pt" text-align="right">
												<fo:inline font-weight="bold">
													<xsl:value-of select="$ia_number"></xsl:value-of>
												</fo:inline>
											</fo:block>
										</fo:table-cell>
									</fo:table-row>
								</fo:table-body>
							</fo:table>
							<fo:table table-layout="fixed">
								<fo:table-column column-width="55mm"></fo:table-column>
								<fo:table-column column-width="55mm"></fo:table-column>
								<fo:table-column column-width="55mm"></fo:table-column>
								<fo:table-body>
									<fo:table-row>
										<fo:table-cell>
											<fo:block></fo:block>
										</fo:table-cell>
										<fo:table-cell>
											<fo:block text-align="center" font-size="10pt" background-color="white">
												<fo:page-number></fo:page-number>/<fo:page-number-citation ref-id="endofBiodoc"></fo:page-number-citation>
											</fo:block>
										</fo:table-cell>
										<fo:table-cell>
											<fo:block></fo:block>
										</fo:table-cell>
									</fo:table-row>
								</fo:table-body>
							</fo:table>
							<fo:table table-layout="fixed">
								<fo:table-column column-width="55mm"></fo:table-column>
								<fo:table-column column-width="55mm"></fo:table-column>
								<fo:table-column column-width="55mm"></fo:table-column>
								<fo:table-body>
									<fo:table-row>
										<fo:table-cell number-columns-spanned="2">
											<fo:block text-align="left" font-size="10pt" color="black" background-color="white">
												<fo:inline font-weight="bold">
													PCT
												</fo:inline>
											</fo:block>
										</fo:table-cell>
										<fo:table-cell>
											<fo:block text-align="right" font-size="8pt" background-color="white"></fo:block>
										</fo:table-cell>
									</fo:table-row>
								</fo:table-body>
							</fo:table>
							<fo:table table-layout="fixed">
								<fo:table-column column-width="55mm"></fo:table-column>
								<fo:table-column column-width="55mm"></fo:table-column>
								<fo:table-column column-width="55mm"></fo:table-column>
								<fo:table-body>
									<fo:table-row>
										<fo:table-cell number-columns-spanned="3">
											<fo:block text-align="center" font-size="8pt" background-color="white">
												<xsl:choose>
													<xsl:when test="$original = '1' and $EASY = '1'">
														原件(
														<fo:inline font-weight="bold">
															提交
														</fo:inline>
														<xsl:text>)</xsl:text>
													</xsl:when>
													<xsl:when test="$original = '2' and $EASY = '1'">
														原件副本(
													</xsl:when>
													<xsl:when test="$EASY = '1'">
														Paper Copy 
														(不
														 用于提交)
													</xsl:when>
													<xsl:otherwise>
														(原件为电子形式)
													</xsl:otherwise>
												</xsl:choose>
											</fo:block>
										</fo:table-cell>
									</fo:table-row>
								</fo:table-body>
							</fo:table>
							<fo:table table-layout="fixed">
								<fo:table-column column-width="55mm"></fo:table-column>
								<fo:table-column column-width="55mm"></fo:table-column>
								<fo:table-column column-width="55mm"></fo:table-column>
								<fo:table-body>
									<fo:table-row>
										<fo:table-cell number-columns-spanned="3" text-align="center" font-size="8pt" vertical-align="top">
											<fo:block background-color="white">
												(本页不是国际申请的组成部分，也不计作国际申请的一页)
											</fo:block>
										</fo:table-cell>
									</fo:table-row>
								</fo:table-body>
							</fo:table>
						</fo:block>
					</fo:static-content>
					<fo:flow flow-name="xsl-region-body">
						<fo:block font-family="{$helvetica_font}" xsl:use-attribute-sets="hyphenation">
							<xsl:attribute name="id">bioSec</xsl:attribute>
							<xsl:call-template name="indication_bio_deposit">
								<xsl:with-param name="lang" select="$lang"></xsl:with-param>
							</xsl:call-template>
						</fo:block>
						<fo:block id="endofBiodoc"></fo:block>
					</fo:flow>
				</fo:page-sequence>
			</xsl:if>
		</fo:root>
	</xsl:template>
	<!-- INCLUDE COMPONENT TEMPLATES -->
	<xsl:template name="caseCH">   
		<xsl:choose>   
			<xsl:when test="text()='ch' or text() = 'CH'">  
				<xsl:text>CH&amp;LI</xsl:text>  
				<xsl:if test="following-sibling::*[1][name()='country']">
					<xsl:text> 
					</xsl:text>  
				</xsl:if>   
			</xsl:when>   
			<xsl:when test="text() = 'li' or text() = 'LI'"></xsl:when>   
			<xsl:otherwise>  
				<xsl:value-of select="translate(.,'abdefghijklmnopqrstuvwxyz','ABDEFGHIJKLMNOPQRSTUVWXYZ')"></xsl:value-of>  
				<xsl:if test="following-sibling::*[1][name()='country'] or following-sibling::*[1][name()='protection-request']">
					<xsl:text> 
					</xsl:text>  
				</xsl:if>   
			</xsl:otherwise>   
		</xsl:choose>  
	</xsl:template>
	<xsl:template name="format_name">      
		<xsl:param name="name_arg"></xsl:param>      
		<xsl:param name="showOf">0</xsl:param>      
		<!-- TODO: add prefix?  See EASY data and add accordingly -->
		      
		<xsl:choose>         
			<xsl:when test="$name_arg/name">
				<xsl:value-of select="$name_arg/name"></xsl:value-of>           
				<xsl:if test="$showOf='1'"> 
					的           
				</xsl:if>         
			</xsl:when>         
			<xsl:when test="$name_arg/last-name">            
				<xsl:call-template name="uppercaser">               
					<xsl:with-param name="string" select="$name_arg/last-name"></xsl:with-param>            
				</xsl:call-template>    
				<xsl:if test="$name_arg/last-name/text()">
					<xsl:choose>
						<xsl:when test="$name_arg/@lang='zh'">
							<xsl:text> </xsl:text>            
						</xsl:when>
						<xsl:when test="$name_arg/@lang='ko'">
							<xsl:text></xsl:text>            
						</xsl:when>
						<xsl:when test="$name_arg/@lang='ja'">
							<xsl:text>　</xsl:text>            
						</xsl:when>
						<xsl:otherwise> 
							<xsl:text>, </xsl:text>            
						</xsl:otherwise>
					</xsl:choose>
				</xsl:if>        
				<xsl:value-of select="$name_arg/first-name"></xsl:value-of>            
				<xsl:if test="$name_arg/middle-name">            
					<xsl:text> 
					</xsl:text>            
					<xsl:value-of select="$name_arg/middle-name"></xsl:value-of>            
				</xsl:if>            
            
				<xsl:if test="$name_arg/suffix">            
					<xsl:text>, </xsl:text>            
					<xsl:value-of select="$name_arg/suffix"></xsl:value-of>            
				</xsl:if>                        
           
				<xsl:if test="$showOf='1'">            		 
					的           
				</xsl:if>
			</xsl:when>         
			<xsl:otherwise>             
				<xsl:value-of select="."></xsl:value-of>         
			</xsl:otherwise>                  
		</xsl:choose>   
	</xsl:template>
	<xsl:template name="inventorName">
		<xsl:param name="name"></xsl:param>
		<xsl:for-each select="//deceased-inventor">
			<xsl:choose>
				<xsl:when test="./name = $name">
					<xsl:value-of select="preceding-sibling::deceased-inventor[1]/name"></xsl:value-of>				
				</xsl:when>
				<xsl:when test="concat(./last-name,' ',./first-name) = $name">
					<xsl:value-of select="preceding-sibling::deceased-inventor[1]/last-name"></xsl:value-of>
					<xsl:text> </xsl:text>
					<xsl:value-of select="preceding-sibling::deceased-inventor[1]/first-name"></xsl:value-of>
				</xsl:when>
				<xsl:when test="concat(./last-name,', ',./first-name) = $name">
					<xsl:value-of select="preceding-sibling::deceased-inventor[1]/last-name"></xsl:value-of>
					<xsl:text>, </xsl:text>
					<xsl:value-of select="preceding-sibling::deceased-inventor[1]/first-name"></xsl:value-of>				
				</xsl:when>
			</xsl:choose>
		</xsl:for-each>
	</xsl:template>
	<xsl:template name="uppercaser">      
		<xsl:param name="string"></xsl:param>      
		<xsl:value-of select="translate(normalize-space($string),                                      'abcdefghijklmnopqrstuvwxyzàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþабвгдежзийклмнопрстуфхцчшщъыьэюяčďľĺňŕřšůťž',  'ABCDEFGHIJKLMNOPQRSTUVWXYZÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯČĎĽĹŇŔŘŠŮŤŽ')"></xsl:value-of>
	</xsl:template>
	<xsl:template name="format_date">      
		<xsl:param name="lang"></xsl:param>      
		<xsl:param name="date"></xsl:param>      
		<xsl:param name="text"></xsl:param>      
		<xsl:param name="year_only"></xsl:param>      
		<xsl:param name="show_date"></xsl:param>      
		<xsl:param name="add_comma"></xsl:param>      
		<xsl:param name="date_too"></xsl:param>      
		<xsl:param name="nDate">         
			<xsl:value-of select="normalize-space(translate($date,'/\.,-',''))"></xsl:value-of>      
		</xsl:param>      
		<xsl:param name="y" select="substring($nDate, 1,4)"></xsl:param>      
		<xsl:param name="m" select="substring($nDate,5,2)"></xsl:param>      
		<xsl:param name="d" select="substring($nDate,7,2)"></xsl:param>  
		<xsl:choose>
		<xsl:when test="number($nDate) = $nDate"> <!-- 09.02.18 for ePCT use during the process and not intended to be anything for output -->
			<xsl:choose>             
			<xsl:when test="$lang='ja' or $lang='zh'">  
				<xsl:choose>        
					<xsl:when test="$year_only='1'">
						<xsl:value-of select="$y"></xsl:value-of> 
					</xsl:when> 
					<xsl:when test="$text != '1'"> 
						<!-- Y 年  M 月  D 日 -->
						<xsl:value-of select="$d"></xsl:value-of>.<xsl:value-of select="$m"></xsl:value-of>.<xsl:value-of select="$y"></xsl:value-of>
					</xsl:when> 
					<xsl:otherwise>
						<xsl:value-of select="$y"></xsl:value-of>
						<xsl:text>年</xsl:text>
						<xsl:choose>   
							<xsl:when test="$m='01'">
								 1月    
							</xsl:when>   
							<xsl:when test="$m='02'"> 
								 2月    
							</xsl:when>   
							<xsl:when test="$m='03'"> 
								 3月    
							</xsl:when>   
							<xsl:when test="$m='04'"> 
								 4月    
							</xsl:when>   
							<xsl:when test="$m='05'"> 
								 5月    
							</xsl:when>   
							<xsl:when test="$m='06'"> 
								 6月    
							</xsl:when>   
							<xsl:when test="$m='07'"> 
								 7月    
							</xsl:when>   
							<xsl:when test="$m='08'"> 
								 8月    
							</xsl:when>   
							<xsl:when test="$m='09'"> 
								 9月    
							</xsl:when>   
							<xsl:when test="$m='10'"> 
								 10月    
							</xsl:when>   
							<xsl:when test="$m='11'"> 
								 11月    
							</xsl:when>   
							<xsl:when test="$m='12'"> 
								 12月    
							</xsl:when>
							<!-- trap error (e.g., 1-digit month) -->
							   
							<xsl:otherwise>  
								<xsl:value-of select="$m"></xsl:value-of>
								<xsl:text>月</xsl:text> 					  
								<!--xsl:value-of select = "$d"/>
								<xsl:text>日</xsl:text-->   
							</xsl:otherwise>
						</xsl:choose>
						<xsl:if test="$add_comma='1'">   
							<xsl:text>, </xsl:text>
						</xsl:if>
						<xsl:if test="$show_date='1'">   
							<xsl:value-of select="$d"></xsl:value-of>
							<xsl:text>日</xsl:text>
						</xsl:if> 
						<xsl:if test="$date_too = '1'">
							<xsl:text>  
							</xsl:text>
							<xsl:value-of select="concat('(',$d,'.',$m,'.',$y,')')"></xsl:value-of>
							<xsl:text>  
							</xsl:text> 
						</xsl:if> 
					</xsl:otherwise>  
				</xsl:choose>  
			</xsl:when>  
			<xsl:when test="$lang='ko'">  
				<xsl:choose>        
					<xsl:when test="$year_only='1'">
						<xsl:value-of select="$y"></xsl:value-of> 
					</xsl:when> 
					<xsl:when test="$text != '1'"> 
						<!-- Y 年  M 月  D 日 -->
						<xsl:value-of select="$d"></xsl:value-of>.<xsl:value-of select="$m"></xsl:value-of>.<xsl:value-of select="$y"></xsl:value-of>
					</xsl:when> 
					<xsl:otherwise>
						<xsl:value-of select="$y"></xsl:value-of>
						<xsl:text>년</xsl:text>
						<xsl:choose>   
							<xsl:when test="$m='01'">
								 1月    
							</xsl:when>   
							<xsl:when test="$m='02'"> 
								 2月    
							</xsl:when>   
							<xsl:when test="$m='03'"> 
								 3月    
							</xsl:when>   
							<xsl:when test="$m='04'"> 
								 4月    
							</xsl:when>   
							<xsl:when test="$m='05'"> 
								 5月    
							</xsl:when>   
							<xsl:when test="$m = '06'"> 
								 6月    
							</xsl:when>   
							<xsl:when test="$m='07'"> 
								 7月    
							</xsl:when>   
							<xsl:when test="$m='08'"> 
								 8月    
							</xsl:when>   
							<xsl:when test="$m='09'"> 
								 9月    
							</xsl:when>   
							<xsl:when test="$m='10'"> 
								 10月    
							</xsl:when>   
							<xsl:when test="$m='11'"> 
								 11月    
							</xsl:when>   
							<xsl:when test="$m='12'"> 
								 12月    
							</xsl:when>
							<!-- trap error (e.g., 1-digit month) -->
							   
							<xsl:otherwise>  
								<xsl:value-of select="$m"></xsl:value-of>
								<xsl:text>월</xsl:text> 					  
								<!--xsl:value-of select = "$d"/>
								<xsl:text>일</xsl:text-->   
							</xsl:otherwise>
						</xsl:choose>
						<xsl:if test="$add_comma='1'">   
							<xsl:text>, </xsl:text>
						</xsl:if>
						<xsl:if test="$show_date='1'">   
							<xsl:value-of select="$d"></xsl:value-of>
							<xsl:text>일</xsl:text>
						</xsl:if> 
						<xsl:if test="$date_too = '1'">
							<xsl:text>  
							</xsl:text>
							<xsl:value-of select="concat('(',$d,'.',$m,'.',$y,')')"></xsl:value-of>
							<xsl:text>  
							</xsl:text> 
						</xsl:if> 
					</xsl:otherwise>  
				</xsl:choose>  
			</xsl:when>  
			<xsl:otherwise>  
				<xsl:choose>        
					<xsl:when test="$year_only='1'">
						<xsl:value-of select="$y"></xsl:value-of> 
					</xsl:when> 
					<xsl:when test="$text != '1'">
						<xsl:value-of select="$d"></xsl:value-of>.<xsl:value-of select="$m"></xsl:value-of>.<xsl:value-of select="$y"></xsl:value-of>
					</xsl:when> 
					<xsl:otherwise>
						<xsl:if test="$show_date='1'">   
							<xsl:text> 
							</xsl:text>   
							<xsl:value-of select="$d"></xsl:value-of>   
							<xsl:if test="$lang='de'">.</xsl:if>
							<xsl:text> 
							</xsl:text>
						</xsl:if>
						<xsl:choose>   
							<xsl:when test="$m='01'"> 
								 1月    
							</xsl:when>   
							<xsl:when test="$m='02'"> 
								 2月    
							</xsl:when>   
							<xsl:when test="$m='03'"> 
								 3月    
							</xsl:when>   
							<xsl:when test="$m='04'"> 
								 4月    
							</xsl:when>   
							<xsl:when test="$m='05'"> 
								 5月    
							</xsl:when>   
							<xsl:when test="$m = '06'"> 
								 6月    
							</xsl:when>   
							<xsl:when test="$m='07'"> 
								 7月    
							</xsl:when>   
							<xsl:when test="$m='08'"> 
								 8月    
							</xsl:when>   
							<xsl:when test="$m='09'"> 
								 9月    
							</xsl:when>   
							<xsl:when test="$m='10'"> 
								 10月    
							</xsl:when>   
							<xsl:when test="$m='11'"> 
								 11月    
							</xsl:when>   
							<xsl:when test="$m='12'"> 
								 12月    
							</xsl:when>
							<!-- trap error (e.g., 1-digit month) -->
							<xsl:otherwise>  
								<xsl:value-of select="$m"></xsl:value-of> 
								<xsl:value-of select="$d"></xsl:value-of>   
							</xsl:otherwise>
						</xsl:choose>
						<xsl:value-of select="$y"></xsl:value-of>
						<xsl:if test="$add_comma='1'">   
							<xsl:text>, </xsl:text>
						</xsl:if> 
						<xsl:if test="$date_too = '1'">
							<xsl:text>  
							</xsl:text>
							<xsl:value-of select="concat('(',$d,'.',$m,'.',$y,')')"></xsl:value-of>
							<xsl:text>  
							</xsl:text> 
						</xsl:if> 
					</xsl:otherwise>  
				</xsl:choose> 
			</xsl:otherwise>
		</xsl:choose>
		</xsl:when>
		<xsl:otherwise> 
			<xsl:value-of select="$nDate"></xsl:value-of>
		</xsl:otherwise>
		</xsl:choose>   
	</xsl:template>
	<xsl:template name="showAddress">
		<xsl:choose>
			<xsl:when test="addressbook[1]/address/country='US' or addressbook[1]/address/country='CA'">
				<xsl:choose>
					<xsl:when test="addressbook[1]/text">
						<xsl:value-of select="."></xsl:value-of>
					</xsl:when>
					<xsl:otherwise>   
						<xsl:for-each select="addressbook[1]/address/*"> 
							<xsl:choose>
								<xsl:when test="name(.)='city'">   
									<xsl:value-of select="."></xsl:value-of>   
									<xsl:text>, </xsl:text>
								</xsl:when>
								<xsl:when test="name(.)='state'">   
									<xsl:value-of select="."></xsl:value-of>   
									<xsl:text> </xsl:text>
								</xsl:when>
								<xsl:when test="name(.)='postcode'">
									<xsl:value-of select="."></xsl:value-of>
									<xsl:text> </xsl:text>
								</xsl:when>
								<xsl:when test="name(.)='country'">
									<fo:block>
										<xsl:call-template name="country_ChoiceText">
											<xsl:with-param name="country" select="."></xsl:with-param>
										</xsl:call-template>
									</fo:block>
								</xsl:when>
								<xsl:otherwise>
									<xsl:choose>
										<xsl:when test="not(contains($fop_version, '0.2')) and ($fop_version != '')">
											<fo:block white-space="pre" wrap-option="wrap">
												<xsl:value-of select="."></xsl:value-of>
											</fo:block>
										</xsl:when>
										<xsl:otherwise>
											<fo:block white-space-collapse="false" wrap-option="wrap">															
												<xsl:value-of select="."></xsl:value-of>   
											</fo:block>
										</xsl:otherwise>
									</xsl:choose>
								</xsl:otherwise> 
							</xsl:choose>  
						</xsl:for-each>
					</xsl:otherwise>
				</xsl:choose>
			</xsl:when>
			<xsl:when test="addressbook[1]/address/country='AU'">
				<xsl:choose>
					<xsl:when test="addressbook[1]/text">
						<xsl:value-of select="."></xsl:value-of>
					</xsl:when>
					<xsl:otherwise>   
						<xsl:for-each select="addressbook[1]/address/*"> 
							<xsl:choose>
								<xsl:when test="name(.)='city'">   
									<xsl:value-of select="."></xsl:value-of>   
									<xsl:text>, </xsl:text>
								</xsl:when>
								<xsl:when test="name(.)='postcode'">
									<xsl:value-of select="."></xsl:value-of>
									<xsl:text> </xsl:text>
								</xsl:when>
								<xsl:when test="name(.)='state'">   
									<xsl:value-of select="."></xsl:value-of>   
									<xsl:text> </xsl:text>
								</xsl:when>
								<xsl:when test="name(.)='country'">
									<fo:block>
										<xsl:call-template name="country_ChoiceText">
											<xsl:with-param name="country" select="."></xsl:with-param>
										</xsl:call-template>
									</fo:block>
								</xsl:when>
								<xsl:otherwise>
									<xsl:choose>
										<xsl:when test="not(contains($fop_version, '0.2')) and ($fop_version != '')">
											<fo:block white-space="pre" wrap-option="wrap">
												<xsl:value-of select="."></xsl:value-of>
											</fo:block>
										</xsl:when>
										<xsl:otherwise>
											<fo:block white-space-collapse="false" wrap-option="wrap">															
												<xsl:value-of select="."></xsl:value-of>   
											</fo:block>
										</xsl:otherwise>
									</xsl:choose>
								</xsl:otherwise> 
							</xsl:choose>  
						</xsl:for-each>
					</xsl:otherwise>
				</xsl:choose>
			</xsl:when>
			<xsl:when test="addressbook[1]/address/country='DE'">
				<xsl:choose>
					<xsl:when test="addressbook[1]/text">
						<xsl:value-of select="."></xsl:value-of>
					</xsl:when>
					<xsl:otherwise>   
						<xsl:for-each select="addressbook[1]/address/*[not(name(.)='city' or name(.)='postcode' or name(.)='country')]"> 
							<xsl:choose>
								<xsl:when test="not(contains($fop_version, '0.2')) and ($fop_version != '')">
									<fo:block white-space="pre" wrap-option="wrap">
										<xsl:value-of select="."></xsl:value-of>
									</fo:block>
								</xsl:when>
								<xsl:otherwise>
									<fo:block white-space-collapse="false" wrap-option="wrap">															
										<xsl:value-of select="."></xsl:value-of>   
									</fo:block>
								</xsl:otherwise>
							</xsl:choose>
						</xsl:for-each>
						<fo:block>
							<xsl:value-of select="addressbook[1]/address/postcode"></xsl:value-of>
							<xsl:text> </xsl:text>
							<xsl:value-of select="addressbook[1]/address/city"></xsl:value-of>
						</fo:block>
						<fo:block>
							<xsl:call-template name="country_ChoiceText">
								<xsl:with-param name="country" select="addressbook[1]/address/country"></xsl:with-param>
							</xsl:call-template>
						</fo:block>
					</xsl:otherwise>
				</xsl:choose>
			</xsl:when>
			<!-- TODO: determine JA markup -->
			<xsl:when test="addressbook[1]/address/country='JP'">
				<xsl:choose>
					<xsl:when test="addressbook[1]/text">
						<xsl:value-of select="."></xsl:value-of>
					</xsl:when>
					<xsl:otherwise>
						<xsl:choose>
							<xsl:when test="not(contains($fop_version, '0.2')) and ($fop_version != '')">
								<fo:block white-space="pre" wrap-option="wrap">
									<xsl:value-of select="addressbook[1]/address/address-1"></xsl:value-of>
								</fo:block>
							</xsl:when>
							<xsl:otherwise>
								<fo:block white-space-collapse="false" wrap-option="wrap">															
									<xsl:value-of select="addressbook[1]/address/address-1"></xsl:value-of>
								</fo:block>
							</xsl:otherwise>
						</xsl:choose>
						<xsl:if test="addressbook[1]/address/address-2">
							<xsl:choose>
								<xsl:when test="not(contains($fop_version, '0.2')) and ($fop_version != '')">
									<fo:block white-space="pre" wrap-option="wrap">
										<xsl:value-of select="addressbook[1]/address/address-2"></xsl:value-of>
									</fo:block>
								</xsl:when>
								<xsl:otherwise>
									<fo:block white-space-collapse="false" wrap-option="wrap">															
										<xsl:value-of select="addressbook[1]/address/address-2"></xsl:value-of>
									</fo:block>
								</xsl:otherwise>
							</xsl:choose>
						</xsl:if>
						<xsl:if test="addressbook[1]/address/address-3">
							<xsl:choose>
								<xsl:when test="not(contains($fop_version, '0.2')) and ($fop_version != '')">
									<fo:block white-space="pre" wrap-option="wrap">
										<xsl:value-of select="addressbook[1]/address/address-3"></xsl:value-of>
									</fo:block>
								</xsl:when>
								<xsl:otherwise>
									<fo:block white-space-collapse="false" wrap-option="wrap">															
										<xsl:value-of select="addressbook[1]/address/address-3"></xsl:value-of>
									</fo:block>
								</xsl:otherwise>
							</xsl:choose>
						</xsl:if>
						<xsl:choose>
							<xsl:when test="not(contains($fop_version, '0.2')) and ($fop_version != '')">
								<fo:block white-space="pre" wrap-option="wrap">
									<xsl:for-each select="addressbook[1]/address/*[not(name(.)='address-1' or name(.)='address-2' or name(.)='address-3' or name(.)='postcode' or name(.)='country')]"> 
										<xsl:value-of select="."></xsl:value-of>
										<xsl:text>, </xsl:text>
									</xsl:for-each>
								</fo:block>
							</xsl:when>
							<xsl:otherwise>
								<fo:block white-space-collapse="false" wrap-option="wrap">															
									<xsl:for-each select="addressbook[1]/address/*[not(name(.)='address-1' or name(.)='address-2' or name(.)='address-3' or name(.)='postcode' or name(.)='country')]"> 
										<xsl:value-of select="."></xsl:value-of>
										<xsl:text>, </xsl:text>
									</xsl:for-each>
								</fo:block>
							</xsl:otherwise>
						</xsl:choose>
						<fo:block>
							<xsl:value-of select="addressbook[1]/address/postcode"></xsl:value-of>
						</fo:block>
						<fo:block>
							<xsl:call-template name="country_ChoiceText">
								<xsl:with-param name="country" select="addressbook[1]/address/country"></xsl:with-param>
							</xsl:call-template>
						</fo:block>
					</xsl:otherwise>
				</xsl:choose>
			</xsl:when>
			<xsl:when test="addressbook[1]/address/country='GB' or addressbook[1]/address/country='KR'">
				<xsl:choose>
					<xsl:when test="addressbook[1]/text">
						<xsl:value-of select="."></xsl:value-of>
					</xsl:when>
					<xsl:otherwise>   
						<xsl:for-each select="addressbook[1]/address/*"> 
							<xsl:choose>
								<xsl:when test="name(.)='postcode'">
									<fo:block>
										<xsl:value-of select="."></xsl:value-of>
									</fo:block>
								</xsl:when>
								<xsl:when test="name(.)='city'">   
									<fo:block>
										<xsl:value-of select="."></xsl:value-of>   
									</fo:block>
								</xsl:when>
								<xsl:when test="name(.)='country'">
									<fo:block>
										<xsl:call-template name="country_ChoiceText">
											<xsl:with-param name="country" select="."></xsl:with-param>
										</xsl:call-template>
									</fo:block>
								</xsl:when>
								<xsl:otherwise>
									<xsl:choose>
										<xsl:when test="not(contains($fop_version, '0.2')) and ($fop_version != '')">
											<fo:block white-space="pre" wrap-option="wrap">
												<xsl:if test="name(.)='address-2' or name(.)='address-3'">
													<xsl:text> </xsl:text>
												</xsl:if>
												<xsl:value-of select="."></xsl:value-of>
											</fo:block>
										</xsl:when>
										<xsl:otherwise>
											<fo:block white-space-collapse="false" wrap-option="wrap">															
												<xsl:if test="name(.)='address-2' or name(.)='address-3'">
													<xsl:text> </xsl:text>
												</xsl:if>
												<xsl:value-of select="."></xsl:value-of> 
											</fo:block>
										</xsl:otherwise>
									</xsl:choose>
								</xsl:otherwise> 
							</xsl:choose>  
						</xsl:for-each>
					</xsl:otherwise>
				</xsl:choose>
			</xsl:when>
			<xsl:when test="addressbook[1]/address/country='FR' or addressbook[1]/address/country='NL' or addressbook[1]/address/country='SE' or addressbook[1]/address/country='CH' or addressbook[1]/address/country='LI'">
				<xsl:choose>
					<xsl:when test="addressbook[1]/text">
						<xsl:value-of select="."></xsl:value-of>
					</xsl:when>
					<xsl:otherwise>   
						<xsl:for-each select="addressbook[1]/address/*[not(name(.)='city' or name(.)='postcode' or name(.)='country')]"> 
							<xsl:choose>
								<xsl:when test="not(contains($fop_version, '0.2')) and ($fop_version != '')">
									<fo:block white-space="pre" wrap-option="wrap">
										<xsl:value-of select="."></xsl:value-of>
									</fo:block>
								</xsl:when>
								<xsl:otherwise>
									<fo:block white-space-collapse="false" wrap-option="wrap">															
										<xsl:value-of select="."></xsl:value-of>
									</fo:block>
								</xsl:otherwise>
							</xsl:choose>
						</xsl:for-each>
						<fo:block>
							<xsl:value-of select="addressbook[1]/address/postcode"></xsl:value-of>
							<xsl:text> </xsl:text>
							<xsl:value-of select="addressbook[1]/address/city"></xsl:value-of>
						</fo:block>
						<fo:block>
							<xsl:call-template name="country_ChoiceText">
								<xsl:with-param name="country" select="addressbook[1]/address/country"></xsl:with-param>
							</xsl:call-template>
						</fo:block>
					</xsl:otherwise>
				</xsl:choose>
			</xsl:when>
			<xsl:when test="addressbook[1]/address/country='CN'">				
				<xsl:choose>			
					<xsl:when test="addressbook[1]/text">		
						<xsl:value-of select="."></xsl:value-of>
					</xsl:when>		
					<xsl:when test="$lang='zh'"> <!-- for when the stylesheet does not use "showZhAddress" for Chinese address -->
						<fo:block>
							<xsl:call-template name="country_ChoiceText">	
								<xsl:with-param name="country" select="addressbook[1]/address/country"></xsl:with-param>
							</xsl:call-template>
							<xsl:value-of select="addressbook[1]/address/state"></xsl:value-of>
							<xsl:value-of select="addressbook[1]/address/city"></xsl:value-of>
						</fo:block>
						<xsl:choose>
							<xsl:when test="not(contains($fop_version, '0.2')) and ($fop_version != '')">
								<fo:block white-space="pre" wrap-option="wrap">
									<xsl:value-of select="addressbook[1]/address/street"></xsl:value-of>
									<xsl:value-of select="addressbook[1]/address/address-1"></xsl:value-of>
									<xsl:value-of select="addressbook[1]/address/address-2"></xsl:value-of>
									<xsl:value-of select="addressbook[1]/address/address-3"></xsl:value-of>
								</fo:block>
							</xsl:when>
							<xsl:otherwise>
								<fo:block white-space-collapse="false" wrap-option="wrap">															
									<xsl:value-of select="addressbook[1]/address/street"></xsl:value-of>
									<xsl:value-of select="addressbook[1]/address/address-1"></xsl:value-of>
									<xsl:value-of select="addressbook[1]/address/address-2"></xsl:value-of>
									<xsl:value-of select="addressbook[1]/address/address-3"></xsl:value-of>
								</fo:block>
							</xsl:otherwise>
						</xsl:choose>
						<fo:block>
							<xsl:value-of select="addressbook[1]/address/postcode"></xsl:value-of>
						</fo:block>					
					</xsl:when>		
					<xsl:otherwise>		
						<xsl:for-each select="addressbook[1]/address/*[not(name(.)='street' or name(.)='city' or name(.)='state' or name(.)='postcode' or name(.)='country')]"> 	
							<xsl:choose>
								<xsl:when test="not(contains($fop_version, '0.2')) and ($fop_version != '')">
									<fo:block white-space="pre" wrap-option="wrap">
										<xsl:value-of select="."></xsl:value-of>
									</fo:block>
								</xsl:when>
								<xsl:otherwise>
									<fo:block white-space-collapse="false" wrap-option="wrap">															
										<xsl:value-of select="."></xsl:value-of>
									</fo:block>
								</xsl:otherwise>
							</xsl:choose>
						</xsl:for-each>		
						<xsl:if test="addressbook[1]/address/street">
							<xsl:choose>
								<xsl:when test="not(contains($fop_version, '0.2')) and ($fop_version != '')">
									<fo:block white-space="pre" wrap-option="wrap">
										<xsl:value-of select="addressbook[1]/address/street"></xsl:value-of>	
										<xsl:text> </xsl:text>
									</fo:block>
								</xsl:when>
								<xsl:otherwise>
									<fo:block white-space-collapse="false" wrap-option="wrap">															
										<xsl:value-of select="addressbook[1]/address/street"></xsl:value-of>	
										<xsl:text> </xsl:text>
									</fo:block>
								</xsl:otherwise>
							</xsl:choose>
						</xsl:if>
						<xsl:choose>
							<xsl:when test="addressbook[1]/address/city">
								<fo:block>		
									<xsl:value-of select="addressbook[1]/address/city"></xsl:value-of>
									<xsl:text>, </xsl:text>	
									<xsl:value-of select="addressbook[1]/address/state"></xsl:value-of>	
									<xsl:text> </xsl:text>	
									<xsl:value-of select="addressbook[1]/address/postcode"></xsl:value-of>	
								</fo:block>		
							</xsl:when>
							<xsl:otherwise>		
								<fo:block>		
									<xsl:value-of select="addressbook[1]/address/state"></xsl:value-of>	
									<xsl:text> </xsl:text>	
									<xsl:value-of select="addressbook[1]/address/postcode"></xsl:value-of>	
								</fo:block>		
							</xsl:otherwise>			
						</xsl:choose>
						<fo:block>		
							<xsl:call-template name="country_ChoiceText">	
								<xsl:with-param name="country" select="addressbook[1]/address/country"></xsl:with-param>
							</xsl:call-template>	
						</fo:block>		
					</xsl:otherwise>			
				</xsl:choose>				
			</xsl:when>					
			<xsl:when test="addressbook[1]/address/country='RU'">
				<xsl:choose>
					<xsl:when test="addressbook[1]/text">
						<xsl:value-of select="."></xsl:value-of>
					</xsl:when>
					<xsl:otherwise>   
						<xsl:for-each select="addressbook[1]/address/*[not(name(.)='city' or name(.)='postcode' or name(.)='country')]"> 
							<xsl:choose>
								<xsl:when test="not(contains($fop_version, '0.2')) and ($fop_version != '')">
									<fo:block white-space="pre" wrap-option="wrap">
										<xsl:value-of select="."></xsl:value-of>
									</fo:block>
								</xsl:when>
								<xsl:otherwise>
									<fo:block white-space-collapse="false" wrap-option="wrap">															
										<xsl:value-of select="."></xsl:value-of>
									</fo:block>
								</xsl:otherwise>
							</xsl:choose>
						</xsl:for-each>
						<fo:block>
							<xsl:value-of select="addressbook[1]/address/city"></xsl:value-of>
							<xsl:text> </xsl:text>	
							<xsl:value-of select="addressbook[1]/address/postcode"></xsl:value-of>
						</fo:block>
						<fo:block>
							<xsl:call-template name="country_ChoiceText">
								<xsl:with-param name="country" select="addressbook[1]/address/country"></xsl:with-param>
							</xsl:call-template>
						</fo:block>
					</xsl:otherwise>
				</xsl:choose>			
			</xsl:when>
			<!-- for all others, use European format by default -->
			<xsl:otherwise>
				<xsl:choose>
					<xsl:when test="addressbook[1]/text">
						<xsl:value-of select="."></xsl:value-of>
					</xsl:when>
					<xsl:otherwise>   
						<xsl:for-each select="addressbook[1]/address/*[not(name(.)='city' or name(.)='postcode' or name(.)='country')]"> 
							<xsl:choose>
								<xsl:when test="not(contains($fop_version, '0.2')) and ($fop_version != '')">
									<fo:block white-space="pre" wrap-option="wrap">
										<xsl:value-of select="."></xsl:value-of>
									</fo:block>
								</xsl:when>
								<xsl:otherwise>
									<fo:block white-space-collapse="false" wrap-option="wrap">															
										<xsl:value-of select="."></xsl:value-of>
									</fo:block>
								</xsl:otherwise>
							</xsl:choose>
						</xsl:for-each>
						<fo:block>
							<xsl:value-of select="addressbook[1]/address/postcode"></xsl:value-of>
							<xsl:text> </xsl:text>	
							<xsl:value-of select="addressbook[1]/address/city"></xsl:value-of>
						</fo:block>
						<fo:block>
							<xsl:call-template name="country_ChoiceText">
								<xsl:with-param name="country" select="addressbook[1]/address/country"></xsl:with-param>
							</xsl:call-template>
						</fo:block>
					</xsl:otherwise>
				</xsl:choose>
			</xsl:otherwise>
		</xsl:choose>
	</xsl:template>
	<xsl:template name="showEnAddress">
		<xsl:param name="address_arg" select="./addressbook[@lang='en']"></xsl:param>      
		<xsl:choose>
			<xsl:when test="$address_arg/address/country='US' or $address_arg/address/country='CA'">
				<xsl:choose>
					<xsl:when test="$address_arg/text">
						<xsl:value-of select="."></xsl:value-of>
					</xsl:when>
					<xsl:otherwise>   
						<xsl:for-each select="$address_arg/address/*"> 
							<xsl:choose>
								<xsl:when test="name(.)='city'">   
									<xsl:value-of select="."></xsl:value-of>   
									<xsl:text>, </xsl:text>
								</xsl:when>
								<xsl:when test="name(.)='state'">   
									<xsl:value-of select="."></xsl:value-of>   
									<xsl:text> </xsl:text>
								</xsl:when>
								<xsl:when test="name(.)='postcode'">
									<xsl:value-of select="."></xsl:value-of>
									<xsl:text> </xsl:text>
								</xsl:when>
								<xsl:when test="name(.)='country'">
									<fo:block>
										<xsl:call-template name="enCountry_ChoiceText">
											<xsl:with-param name="country" select="."></xsl:with-param>
										</xsl:call-template>
									</fo:block>
								</xsl:when>
								<xsl:otherwise>
									<xsl:choose>
										<xsl:when test="not(contains($fop_version, '0.2')) and ($fop_version != '')">
											<fo:block white-space="pre" wrap-option="wrap">
												<xsl:value-of select="."></xsl:value-of>
											</fo:block>
										</xsl:when>
										<xsl:otherwise>
											<fo:block white-space-collapse="false" wrap-option="wrap">															
												<xsl:value-of select="."></xsl:value-of>   
											</fo:block>
										</xsl:otherwise>
									</xsl:choose>
								</xsl:otherwise> 
							</xsl:choose>  
						</xsl:for-each>
					</xsl:otherwise>
				</xsl:choose>
			</xsl:when>
			<xsl:when test="$address_arg/address/country='AU'">
				<xsl:choose>
					<xsl:when test="$address_arg/text">
						<xsl:value-of select="."></xsl:value-of>
					</xsl:when>
					<xsl:otherwise>   
						<xsl:for-each select="$address_arg/address/*"> 
							<xsl:choose>
								<xsl:when test="name(.)='city'">   
									<xsl:value-of select="."></xsl:value-of>   
									<xsl:text>, </xsl:text>
								</xsl:when>
								<xsl:when test="name(.)='postcode'">
									<xsl:value-of select="."></xsl:value-of>
									<xsl:text> </xsl:text>
								</xsl:when>
								<xsl:when test="name(.)='state'">   
									<xsl:value-of select="."></xsl:value-of>   
									<xsl:text> </xsl:text>
								</xsl:when>
								<xsl:when test="name(.)='country'">
									<fo:block>
										<xsl:call-template name="enCountry_ChoiceText">
											<xsl:with-param name="country" select="."></xsl:with-param>
										</xsl:call-template>
									</fo:block>
								</xsl:when>
								<xsl:otherwise>
									<xsl:choose>
										<xsl:when test="not(contains($fop_version, '0.2')) and ($fop_version != '')">
											<fo:block white-space="pre" wrap-option="wrap">
												<xsl:value-of select="."></xsl:value-of>
											</fo:block>
										</xsl:when>
										<xsl:otherwise>
											<fo:block white-space-collapse="false" wrap-option="wrap">															
												<xsl:value-of select="."></xsl:value-of>   
											</fo:block>
										</xsl:otherwise>
									</xsl:choose>
								</xsl:otherwise> 
							</xsl:choose>  
						</xsl:for-each>
					</xsl:otherwise>
				</xsl:choose>
			</xsl:when>
			<xsl:when test="$address_arg/address/country='DE'">
				<xsl:choose>
					<xsl:when test="$address_arg/text">
						<xsl:value-of select="."></xsl:value-of>
					</xsl:when>
					<xsl:otherwise>   
						<xsl:for-each select="$address_arg/address/*[not(name(.)='city' or name(.)='postcode' or name(.)='country')]"> 
							<xsl:choose>
								<xsl:when test="not(contains($fop_version, '0.2')) and ($fop_version != '')">
									<fo:block white-space="pre" wrap-option="wrap">
										<xsl:value-of select="."></xsl:value-of>
									</fo:block>
								</xsl:when>
								<xsl:otherwise>
									<fo:block white-space-collapse="false" wrap-option="wrap">															
										<xsl:value-of select="."></xsl:value-of>
									</fo:block>
								</xsl:otherwise>
							</xsl:choose>
						</xsl:for-each>
						<fo:block>
							<xsl:value-of select="$address_arg/address/postcode"></xsl:value-of>
							<xsl:text> </xsl:text>
							<xsl:value-of select="$address_arg/address/city"></xsl:value-of>
						</fo:block>
						<fo:block>
							<xsl:call-template name="enCountry_ChoiceText">
								<xsl:with-param name="country" select="$address_arg/address/country"></xsl:with-param>
							</xsl:call-template>
						</fo:block>
					</xsl:otherwise>
				</xsl:choose>
			</xsl:when>
			<!-- TODO: determine JA markup -->
			<xsl:when test="$address_arg/address/country='JP'">
				<xsl:choose>
					<xsl:when test="$address_arg/text">
						<xsl:value-of select="."></xsl:value-of>
					</xsl:when>
					<xsl:when test="$address_arg/address/state">
						<fo:block>
							<xsl:for-each select="$address_arg/address/*[not(name(.)='state' or name(.)='postcode' or name(.)='country')]"> 
								<xsl:choose>
									<xsl:when test="not(contains($fop_version, '0.2')) and ($fop_version != '')">
										<fo:block white-space="pre" wrap-option="wrap">
											<xsl:value-of select="."></xsl:value-of>
											<xsl:text>, </xsl:text>
										</fo:block>
									</xsl:when>
									<xsl:otherwise>
										<fo:block white-space-collapse="false" wrap-option="wrap">															
											<xsl:value-of select="."></xsl:value-of>
											<xsl:text>, </xsl:text>
										</fo:block>
									</xsl:otherwise>
								</xsl:choose>
							</xsl:for-each>
						</fo:block>
						<fo:block>
							<xsl:value-of select="$address_arg/address/state"></xsl:value-of>
							<xsl:text> </xsl:text>
							<xsl:value-of select="$address_arg/address/postcode"></xsl:value-of>
						</fo:block>
						<fo:block>
							<xsl:call-template name="enCountry_ChoiceText">
								<xsl:with-param name="country" select="$address_arg/address/country"></xsl:with-param>
							</xsl:call-template>
						</fo:block>
					</xsl:when>
					<xsl:otherwise>   
						<!-- NOTE: JA format of EN address should always be like below
					           address-1
					           postcode
					           country -->
						<xsl:choose>
							<xsl:when test="not(contains($fop_version, '0.2')) and ($fop_version != '')">
								<fo:block white-space="pre" wrap-option="wrap">
									<xsl:value-of select="$address_arg//address-1"></xsl:value-of>
									<xsl:text> </xsl:text>
									<xsl:if test="$address_arg//address-2">
										<fo:block white-space="pre" wrap-option="wrap">
											<xsl:value-of select="$address_arg//address-2"></xsl:value-of>
											<xsl:text> </xsl:text>
										</fo:block>
									</xsl:if>
									<xsl:if test="$address_arg//address-3">
										<fo:block white-space="pre" wrap-option="wrap">
											<xsl:value-of select="$address_arg//address-3"></xsl:value-of>
											<xsl:text> </xsl:text>
										</fo:block>
									</xsl:if>
									<xsl:if test="$address_arg//street">
										<fo:block white-space="pre" wrap-option="wrap">
											<xsl:value-of select="$address_arg//street"></xsl:value-of>
											<xsl:if test="$address_arg//city">
												<xsl:text>, </xsl:text>
												<xsl:value-of select="$address_arg//city"></xsl:value-of>
											</xsl:if>									
										</fo:block>
									</xsl:if>
									<xsl:value-of select="$address_arg//county"></xsl:value-of>
								</fo:block>
							</xsl:when>
							<xsl:otherwise>
								<fo:block white-space-collapse="false" wrap-option="wrap">															
									<xsl:value-of select="$address_arg//address-1"></xsl:value-of>
									<xsl:text> </xsl:text>
									<xsl:if test="$address_arg//address-2">
										<fo:block white-space-collapse="false" wrap-option="wrap">
											<xsl:value-of select="$address_arg//address-2"></xsl:value-of>
											<xsl:text> </xsl:text>
										</fo:block>
									</xsl:if>
									<xsl:if test="$address_arg//address-3">
										<fo:block white-space-collapse="false" wrap-option="wrap">
											<xsl:value-of select="$address_arg//address-3"></xsl:value-of>
											<xsl:text> </xsl:text>
										</fo:block>
									</xsl:if>
									<xsl:if test="$address_arg//street">
										<fo:block white-space-collapse="false" wrap-option="wrap">
											<xsl:value-of select="$address_arg//street"></xsl:value-of>
											<xsl:if test="$address_arg//city">
												<xsl:text>, </xsl:text>
												<xsl:value-of select="$address_arg//city"></xsl:value-of>
											</xsl:if>									
										</fo:block>
									</xsl:if>
									<xsl:value-of select="$address_arg//county"></xsl:value-of>
								</fo:block>
							</xsl:otherwise>
						</xsl:choose>
						<fo:block>
							<xsl:value-of select="$address_arg//postcode"></xsl:value-of>
						</fo:block>
						<fo:block>
							<xsl:call-template name="enCountry_ChoiceText">
								<xsl:with-param name="country" select="$address_arg/address/country"></xsl:with-param>
							</xsl:call-template>
						</fo:block>
					</xsl:otherwise>
				</xsl:choose>
			</xsl:when>
			<xsl:when test="$address_arg/address/country='GB'">
				<xsl:choose>
					<xsl:when test="$address_arg/text">
						<xsl:value-of select="."></xsl:value-of>
					</xsl:when>
					<xsl:otherwise>   
						<xsl:for-each select="$address_arg/address/*"> 
							<xsl:choose>
								<xsl:when test="name(.)='postcode'">
									<xsl:value-of select="."></xsl:value-of>
								</xsl:when>
								<xsl:when test="name(.)='city'">   
									<xsl:value-of select="."></xsl:value-of>   
								</xsl:when>
								<xsl:when test="name(.)='country'">
									<fo:block>
										<xsl:call-template name="enCountry_ChoiceText">
											<xsl:with-param name="country" select="."></xsl:with-param>
										</xsl:call-template>
									</fo:block>
								</xsl:when>
								<xsl:otherwise>
									<xsl:choose>
										<xsl:when test="not(contains($fop_version, '0.2')) and ($fop_version != '')">
											<fo:block white-space="pre" wrap-option="wrap">
												<xsl:value-of select="."></xsl:value-of>
											</fo:block>
										</xsl:when>
										<xsl:otherwise>
											<fo:block white-space-collapse="false" wrap-option="wrap">															
												<xsl:value-of select="."></xsl:value-of>   
											</fo:block>
										</xsl:otherwise>
									</xsl:choose>
								</xsl:otherwise> 
							</xsl:choose>  
						</xsl:for-each>
					</xsl:otherwise>
				</xsl:choose>
			</xsl:when>
			<xsl:when test="$address_arg/address/country='KR'">
				<xsl:choose>
					<xsl:when test="$address_arg/text">
						<xsl:value-of select="."></xsl:value-of>
					</xsl:when>
					<xsl:otherwise>   
						<xsl:for-each select="$address_arg/address/*"> 
							<xsl:choose>
								<xsl:when test="name(.)='postcode'">
									<xsl:value-of select="."></xsl:value-of>
								</xsl:when>
								<xsl:when test="name(.)='city'">   
									<xsl:value-of select="."></xsl:value-of>   
									<xsl:text> </xsl:text>
								</xsl:when>
								<xsl:when test="name(.)='state'">   
									<xsl:value-of select="."></xsl:value-of>   
									<xsl:text> </xsl:text>
								</xsl:when>
								<xsl:when test="name(.)='country'">
									<fo:block>
										<xsl:call-template name="enCountry_ChoiceText">
											<xsl:with-param name="country" select="."></xsl:with-param>
										</xsl:call-template>
									</fo:block>
								</xsl:when>
								<xsl:otherwise>
									<xsl:choose>
										<xsl:when test="not(contains($fop_version, '0.2')) and ($fop_version != '')">
											<fo:block white-space="pre" wrap-option="wrap">
												<xsl:value-of select="."></xsl:value-of>
											</fo:block>
										</xsl:when>
										<xsl:otherwise>
											<fo:block white-space-collapse="false" wrap-option="wrap">															
												<xsl:value-of select="."></xsl:value-of>   
											</fo:block>
										</xsl:otherwise>
									</xsl:choose>
								</xsl:otherwise> 
							</xsl:choose>  
						</xsl:for-each>
					</xsl:otherwise>
				</xsl:choose>
			</xsl:when>
			<xsl:when test="$address_arg/address/country='FR' or $address_arg/address/country='NL' or $address_arg/address/country='SE' or $address_arg/address/country='CH' or $address_arg/address/country='LI'">
				<xsl:choose>
					<xsl:when test="$address_arg/text">
						<xsl:value-of select="."></xsl:value-of>
					</xsl:when>
					<xsl:otherwise>   
						<xsl:for-each select="$address_arg/address/*[not(name(.)='city' or name(.)='postcode' or name(.)='country')]"> 
							<xsl:choose>
								<xsl:when test="not(contains($fop_version, '0.2')) and ($fop_version != '')">
									<fo:block white-space="pre" wrap-option="wrap">
										<xsl:value-of select="."></xsl:value-of>
									</fo:block>
								</xsl:when>
								<xsl:otherwise>
									<fo:block white-space-collapse="false" wrap-option="wrap">															
										<xsl:value-of select="."></xsl:value-of>
									</fo:block>
								</xsl:otherwise>
							</xsl:choose>
						</xsl:for-each>
						<fo:block>
							<xsl:value-of select="$address_arg/address/postcode"></xsl:value-of>
							<xsl:text> </xsl:text>
							<xsl:value-of select="$address_arg/address/city"></xsl:value-of>
						</fo:block>
						<fo:block>
							<xsl:call-template name="enCountry_ChoiceText">
								<xsl:with-param name="country" select="$address_arg/address/country"></xsl:with-param>
							</xsl:call-template>
						</fo:block>
					</xsl:otherwise>
				</xsl:choose>
			</xsl:when>
			<xsl:when test="$address_arg/address/country='CN'">				
				<xsl:choose>			
					<xsl:when test="$address_arg/text">		
						<xsl:value-of select="."></xsl:value-of>	
					</xsl:when>		
					<xsl:otherwise>		
						<xsl:for-each select="$address_arg/address/*[not(name(.)='street' or name(.)='city' or name(.)='state' or name(.)='postcode' or name(.)='country')]"> 	
							<xsl:choose>
								<xsl:when test="not(contains($fop_version, '0.2')) and ($fop_version != '')">
									<fo:block white-space="pre" wrap-option="wrap">
										<xsl:value-of select="."></xsl:value-of>
									</fo:block>
								</xsl:when>
								<xsl:otherwise>
									<fo:block white-space-collapse="false" wrap-option="wrap">															
										<xsl:value-of select="."></xsl:value-of>
									</fo:block>
								</xsl:otherwise>
							</xsl:choose>
						</xsl:for-each>
						<xsl:if test="$address_arg/address/street">
							<xsl:choose>
								<xsl:when test="not(contains($fop_version, '0.2')) and ($fop_version != '')">
									<fo:block white-space="pre" wrap-option="wrap">
										<xsl:value-of select="$address_arg/address/street"></xsl:value-of>	
										<xsl:text> </xsl:text>	
									</fo:block>
								</xsl:when>
								<xsl:otherwise>
									<fo:block white-space-collapse="false" wrap-option="wrap">															
										<xsl:value-of select="$address_arg/address/street"></xsl:value-of>	
										<xsl:text> </xsl:text>	
									</fo:block>
								</xsl:otherwise>
							</xsl:choose>
						</xsl:if>		
						<xsl:choose>
							<xsl:when test="$address_arg/address/city">
								<fo:block>		
									<xsl:value-of select="$address_arg/address/city"></xsl:value-of>
									<xsl:text>,	</xsl:text>	
									<xsl:value-of select="$address_arg/address/state"></xsl:value-of>	
									<xsl:text> </xsl:text>	
									<xsl:value-of select="$address_arg/address/postcode"></xsl:value-of>	
								</fo:block>		
							</xsl:when>
							<xsl:otherwise>		
								<fo:block>		
									<xsl:value-of select="$address_arg/address/state"></xsl:value-of>	
									<xsl:text> </xsl:text>	
									<xsl:value-of select="$address_arg/address/postcode"></xsl:value-of>	
								</fo:block>		
							</xsl:otherwise>			
						</xsl:choose>
						<fo:block>		
							<xsl:call-template name="enCountry_ChoiceText">	
								<xsl:with-param name="country" select="$address_arg/address/country"></xsl:with-param>
							</xsl:call-template>	
						</fo:block>		
					</xsl:otherwise>			
				</xsl:choose>				
			</xsl:when>					
			<xsl:when test="$address_arg/address/country='RU'">
				<xsl:choose>
					<xsl:when test="$address_arg/text">
						<xsl:value-of select="."></xsl:value-of>
					</xsl:when>
					<xsl:otherwise>   
						<xsl:for-each select="$address_arg/address/*[not(name(.)='city' or name(.)='postcode' or name(.)='country')]"> 
							<xsl:choose>
								<xsl:when test="not(contains($fop_version, '0.2')) and ($fop_version != '')">
									<fo:block white-space="pre" wrap-option="wrap">
										<xsl:value-of select="."></xsl:value-of>
									</fo:block>
								</xsl:when>
								<xsl:otherwise>
									<fo:block white-space-collapse="false" wrap-option="wrap">															
										<xsl:value-of select="."></xsl:value-of>   
									</fo:block>
								</xsl:otherwise>
							</xsl:choose>
						</xsl:for-each>
						<fo:block>
							<xsl:value-of select="$address_arg/address/city"></xsl:value-of>
							<xsl:text> </xsl:text>
							<xsl:value-of select="$address_arg/address/postcode"></xsl:value-of>
						</fo:block>
						<fo:block>
							<xsl:call-template name="enCountry_ChoiceText">
								<xsl:with-param name="country" select="$address_arg/address/country"></xsl:with-param>
							</xsl:call-template>
						</fo:block>
					</xsl:otherwise>
				</xsl:choose>
			</xsl:when>
			<!-- for all others, use European format by default -->
			<xsl:otherwise>
				<xsl:choose>
					<xsl:when test="$address_arg/text">
						<xsl:value-of select="."></xsl:value-of>
					</xsl:when>
					<xsl:otherwise>   
						<xsl:for-each select="$address_arg/address/*[not(name(.)='city' or name(.)='postcode' or name(.)='country')]"> 
							<xsl:choose>
								<xsl:when test="not(contains($fop_version, '0.2')) and ($fop_version != '')">
									<fo:block white-space="pre" wrap-option="wrap">
										<xsl:value-of select="."></xsl:value-of>
									</fo:block>
								</xsl:when>
								<xsl:otherwise>
									<fo:block white-space-collapse="false" wrap-option="wrap">															
										<xsl:value-of select="."></xsl:value-of>
									</fo:block>
								</xsl:otherwise>
							</xsl:choose>
						</xsl:for-each>
						<fo:block>
							<xsl:value-of select="$address_arg/address/postcode"></xsl:value-of>
							<xsl:text> </xsl:text>
							<xsl:value-of select="$address_arg/address/city"></xsl:value-of>
						</fo:block>
						<fo:block>
							<xsl:call-template name="enCountry_ChoiceText">
								<xsl:with-param name="country" select="$address_arg/address/country"></xsl:with-param>
							</xsl:call-template>
						</fo:block>
					</xsl:otherwise>
				</xsl:choose>
			</xsl:otherwise>
		</xsl:choose>
	</xsl:template><xsl:template name="showJaAddress">
		<xsl:choose>
			<xsl:when test="addressbook[@lang=$lang]/text">
				<xsl:value-of select="."></xsl:value-of>
			</xsl:when>
			<xsl:otherwise>
				<!-- NOTE: JA format should always be (at least for PCT-SAFE) 
			           postcode
			           country
			           address-1
			           If this changes, uncomment below  -->
				<fo:block>
					<xsl:value-of select="addressbook[@lang=$lang]//postcode"></xsl:value-of>
				</fo:block>
				<fo:block>
					<xsl:call-template name="country_ChoiceText">
						<xsl:with-param name="country" select="addressbook[@lang=$lang]/address/country"></xsl:with-param>
					</xsl:call-template>
				</fo:block>
				<xsl:choose>
					<xsl:when test="not(contains($fop_version, '0.2')) and ($fop_version != '')">
						<fo:block white-space="pre" wrap-option="wrap">
							<xsl:value-of select="addressbook[@lang=$lang]/address/state"></xsl:value-of>
							<xsl:value-of select="addressbook[@lang=$lang]/address/city"></xsl:value-of>
							<xsl:value-of select="addressbook[@lang=$lang]/address/street"></xsl:value-of>
							<xsl:value-of select="addressbook[@lang=$lang]/address/address-1"></xsl:value-of>
							<xsl:if test="addressbook[@lang=$lang]/address/address-2">
								<fo:block>
									<xsl:value-of select="addressbook[@lang=$lang]/address/address-2"></xsl:value-of>
								</fo:block>
							</xsl:if>
							<xsl:if test="addressbook[@lang=$lang]/address/address-3">
								<fo:block>
									<xsl:value-of select="addressbook[@lang=$lang]/address/address-3"></xsl:value-of>
								</fo:block>
							</xsl:if>
						</fo:block>
					</xsl:when>
					<xsl:otherwise>
						<fo:block white-space-collapse="false" wrap-option="wrap">															
							<xsl:value-of select="addressbook[@lang=$lang]/address/state"></xsl:value-of>
							<xsl:value-of select="addressbook[@lang=$lang]/address/city"></xsl:value-of>
							<xsl:value-of select="addressbook[@lang=$lang]/address/street"></xsl:value-of>
							<xsl:value-of select="addressbook[@lang=$lang]/address/address-1"></xsl:value-of>
							<xsl:if test="addressbook[@lang=$lang]/address/address-2">
								<fo:block>
									<xsl:value-of select="addressbook[@lang=$lang]/address/address-2"></xsl:value-of>
								</fo:block>
							</xsl:if>
							<xsl:if test="addressbook[@lang=$lang]/address/address-3">
								<fo:block>
									<xsl:value-of select="addressbook[@lang=$lang]/address/address-3"></xsl:value-of>
								</fo:block>
							</xsl:if>
						</fo:block>
					</xsl:otherwise>
				</xsl:choose>
			</xsl:otherwise>
		</xsl:choose>
	</xsl:template><xsl:template name="showZhAddress">
		<xsl:choose>
			<xsl:when test="addressbook[@lang=$lang]/text">
				<xsl:value-of select="."></xsl:value-of>
			</xsl:when>
			<xsl:otherwise>
				<fo:block>
					<xsl:variable name="country_name">
						<xsl:call-template name="country_ChoiceText">
							<xsl:with-param name="country" select="addressbook[@lang=$lang]/address/country"></xsl:with-param>
						</xsl:call-template>
					</xsl:variable>
					<xsl:value-of select="normalize-space($country_name)"></xsl:value-of>      
					<xsl:value-of select="addressbook[@lang=$lang]/address/state"></xsl:value-of>
					<xsl:value-of select="addressbook[@lang=$lang]/address/city"></xsl:value-of>
				</fo:block>
				<xsl:choose>
					<xsl:when test="not(contains($fop_version, '0.2')) and ($fop_version != '')">
						<fo:block white-space="pre" wrap-option="wrap">
							<xsl:value-of select="addressbook[@lang=$lang]/address/street"></xsl:value-of>
							<xsl:value-of select="addressbook[@lang=$lang]/address/address-1"></xsl:value-of>
							<xsl:value-of select="addressbook[@lang=$lang]/address/address-2"></xsl:value-of>
							<xsl:value-of select="addressbook[@lang=$lang]/address/address-3"></xsl:value-of>
						</fo:block>
					</xsl:when>
					<xsl:otherwise>
						<fo:block white-space-collapse="false" wrap-option="wrap">															
							<xsl:value-of select="addressbook[@lang=$lang]/address/street"></xsl:value-of>
							<xsl:value-of select="addressbook[@lang=$lang]/address/address-1"></xsl:value-of>
							<xsl:value-of select="addressbook[@lang=$lang]/address/address-2"></xsl:value-of>
							<xsl:value-of select="addressbook[@lang=$lang]/address/address-3"></xsl:value-of>
						</fo:block>
					</xsl:otherwise>
				</xsl:choose>
				<fo:block>
					<xsl:value-of select="addressbook[@lang=$lang]/address/postcode"></xsl:value-of>
				</fo:block>
			</xsl:otherwise>
		</xsl:choose>
	</xsl:template><xsl:template name="showKoAddress">
		<xsl:choose>
			<xsl:when test="addressbook[@lang=$lang]/text">
				<xsl:value-of select="."></xsl:value-of>
			</xsl:when>
			<xsl:otherwise>
				<fo:block>
					<xsl:call-template name="country_ChoiceText">
						<xsl:with-param name="country" select="addressbook[@lang=$lang]/address/country"></xsl:with-param>
					</xsl:call-template>
				</fo:block>
				<fo:block>
					<xsl:value-of select="addressbook[@lang=$lang]/address/postcode"></xsl:value-of>
				</fo:block>
				<xsl:choose>
					<xsl:when test="not(contains($fop_version, '0.2')) and ($fop_version != '')">
						<fo:block white-space="pre" wrap-option="wrap">
							<xsl:if test="addressbook[@lang=$lang]/address/state">   
								<xsl:value-of select="addressbook[@lang=$lang]/address/state"></xsl:value-of>
								<xsl:text> </xsl:text>
							</xsl:if>
							<xsl:if test="addressbook[@lang=$lang]/address/city">
								<xsl:value-of select="addressbook[@lang=$lang]/address/city"></xsl:value-of>
								<xsl:text> </xsl:text>
							</xsl:if>
							<xsl:if test="addressbook[@lang=$lang]/address/street">
								<xsl:value-of select="addressbook[@lang=$lang]/address/street"></xsl:value-of>
								<xsl:text> </xsl:text>
							</xsl:if>
							<xsl:if test="addressbook[@lang=$lang]/address/address-1">
								<xsl:value-of select="addressbook[@lang=$lang]/address/address-1"></xsl:value-of>
							</xsl:if>
							<xsl:if test="addressbook[@lang=$lang]/address/address-2">
								<xsl:text> </xsl:text>
								<xsl:value-of select="addressbook[@lang=$lang]/address/address-2"></xsl:value-of>
							</xsl:if>
							<xsl:if test="addressbook[@lang=$lang]/address/address-3">
								<xsl:text> </xsl:text>
								<xsl:value-of select="addressbook[@lang=$lang]/address/address-3"></xsl:value-of>
							</xsl:if>
						</fo:block>
					</xsl:when>
					<xsl:otherwise>
						<fo:block white-space-collapse="false" wrap-option="wrap">															
							<xsl:if test="addressbook[@lang=$lang]/address/state">   
								<xsl:value-of select="addressbook[@lang=$lang]/address/state"></xsl:value-of>
								<xsl:text> </xsl:text>
							</xsl:if>
							<xsl:if test="addressbook[@lang=$lang]/address/city">
								<xsl:value-of select="addressbook[@lang=$lang]/address/city"></xsl:value-of>
								<xsl:text> </xsl:text>
							</xsl:if>
							<xsl:if test="addressbook[@lang=$lang]/address/street">
								<xsl:value-of select="addressbook[@lang=$lang]/address/street"></xsl:value-of>
								<xsl:text> </xsl:text>
							</xsl:if>
							<xsl:if test="addressbook[@lang=$lang]/address/address-1">
								<xsl:value-of select="addressbook[@lang=$lang]/address/address-1"></xsl:value-of>
							</xsl:if>
							<xsl:if test="addressbook[@lang=$lang]/address/address-2">
								<xsl:text> </xsl:text>
								<xsl:value-of select="addressbook[@lang=$lang]/address/address-2"></xsl:value-of>
							</xsl:if>
							<xsl:if test="addressbook[@lang=$lang]/address/address-3">
								<xsl:text> </xsl:text>
								<xsl:value-of select="addressbook[@lang=$lang]/address/address-3"></xsl:value-of>
							</xsl:if>
						</fo:block>
					</xsl:otherwise>
				</xsl:choose>
			</xsl:otherwise>
		</xsl:choose>
	</xsl:template><xsl:template name="showNativeAddress">
		<!-- shows addressbook data in language of the application -->
		<xsl:choose>
			<xsl:when test="addressbook[@lang=$lang]/address/country='US' or addressbook[@lang=$lang]/address/country='CA'">
				<xsl:choose>
					<xsl:when test="addressbook[@lang=$lang]/text">
						<xsl:value-of select="."></xsl:value-of>
					</xsl:when>
					<xsl:otherwise>   
						<xsl:for-each select="addressbook[@lang=$lang]/address/*"> 
							<xsl:choose>
								<xsl:when test="name(.)='city'">   
									<xsl:value-of select="."></xsl:value-of>   
									<xsl:text>, </xsl:text>
								</xsl:when>
								<xsl:when test="name(.)='state'">   
									<xsl:value-of select="."></xsl:value-of>   
									<xsl:text> </xsl:text>
								</xsl:when>
								<xsl:when test="name(.)='postcode'">
									<xsl:value-of select="."></xsl:value-of>
									<xsl:text> </xsl:text>
								</xsl:when>
								<xsl:when test="name(.)='country'">
									<fo:block>
										<xsl:call-template name="country_ChoiceText">
											<xsl:with-param name="country" select="."></xsl:with-param>
										</xsl:call-template>
									</fo:block>
								</xsl:when>
								<xsl:otherwise>
									<xsl:choose>
										<xsl:when test="not(contains($fop_version, '0.2')) and ($fop_version != '')">
											<fo:block white-space="pre" wrap-option="wrap">
												<xsl:value-of select="."></xsl:value-of>
											</fo:block>
										</xsl:when>
										<xsl:otherwise>
											<fo:block white-space-collapse="false" wrap-option="wrap">															
												<xsl:value-of select="."></xsl:value-of>   
											</fo:block>
										</xsl:otherwise>
									</xsl:choose>
								</xsl:otherwise> 
							</xsl:choose>  
						</xsl:for-each>
					</xsl:otherwise>
				</xsl:choose>
			</xsl:when>
			<xsl:when test="addressbook[@lang=$lang]/address/country='DE'">
				<xsl:choose>
					<xsl:when test="addressbook[@lang=$lang]/text">
						<xsl:value-of select="."></xsl:value-of>
					</xsl:when>
					<xsl:otherwise>   
						<xsl:for-each select="addressbook[@lang=$lang]/address/*[not(name(.)='city' or name(.)='postcode' or name(.)='country')]"> 
							<xsl:choose>
								<xsl:when test="not(contains($fop_version, '0.2')) and ($fop_version != '')">
									<fo:block white-space="pre" wrap-option="wrap">
										<xsl:value-of select="."></xsl:value-of>
									</fo:block>
								</xsl:when>
								<xsl:otherwise>
									<fo:block white-space-collapse="false" wrap-option="wrap">															
										<xsl:value-of select="."></xsl:value-of>   
									</fo:block>
								</xsl:otherwise>
							</xsl:choose>
						</xsl:for-each>
						<fo:block>
							<xsl:value-of select="addressbook[@lang=$lang]/address/postcode"></xsl:value-of>
							<xsl:text> </xsl:text>
							<xsl:value-of select="addressbook[@lang=$lang]/address/city"></xsl:value-of>
						</fo:block>
						<fo:block>
							<xsl:call-template name="country_ChoiceText">
								<xsl:with-param name="country" select="addressbook[@lang=$lang]/address/country"></xsl:with-param>
							</xsl:call-template>
						</fo:block>
					</xsl:otherwise>
				</xsl:choose>
			</xsl:when>
			<!-- TODO: determine JA markup -->
			<xsl:when test="addressbook[@lang=$lang]/address/country='JP'">
				<xsl:choose>
					<xsl:when test="addressbook[@lang=$lang]/text">
						<xsl:value-of select="."></xsl:value-of>
					</xsl:when>
					<xsl:otherwise>   
						<fo:block>
							<xsl:value-of select="addressbook[@lang=$lang]//postcode"></xsl:value-of>
						</fo:block>
						<fo:block>
							<xsl:call-template name="country_ChoiceText">
								<xsl:with-param name="country" select="addressbook[@lang=$lang]/address/country"></xsl:with-param>
							</xsl:call-template>
						</fo:block>
						<xsl:choose>
							<xsl:when test="not(contains($fop_version, '0.2')) and ($fop_version != '')">
								<fo:block white-space="pre" wrap-option="wrap">
									<xsl:value-of select="addressbook[@lang=$lang]//state"></xsl:value-of>
									<xsl:value-of select="addressbook[@lang=$lang]//city"></xsl:value-of>
									<xsl:value-of select="addressbook[@lang=$lang]//street"></xsl:value-of>
									<xsl:value-of select="addressbook[@lang=$lang]//address-1"></xsl:value-of>
									<xsl:if test="addressbook[@lang=$lang]//address-2">
										<fo:block>
											<xsl:value-of select="addressbook[@lang=$lang]//address-2"></xsl:value-of>
										</fo:block>
									</xsl:if>
									<xsl:if test="addressbook[@lang=$lang]//address-3">
										<fo:block>
											<xsl:value-of select="addressbook[@lang=$lang]//address-3"></xsl:value-of>	
										</fo:block>
									</xsl:if>
								</fo:block>
							</xsl:when>
							<xsl:otherwise>
								<fo:block white-space-collapse="false" wrap-option="wrap">															
									<xsl:value-of select="addressbook[@lang=$lang]//state"></xsl:value-of>
									<xsl:value-of select="addressbook[@lang=$lang]//city"></xsl:value-of>
									<xsl:value-of select="addressbook[@lang=$lang]//street"></xsl:value-of>
									<xsl:value-of select="addressbook[@lang=$lang]//address-1"></xsl:value-of>
									<xsl:if test="addressbook[@lang=$lang]//address-2">
										<fo:block>
											<xsl:value-of select="addressbook[@lang=$lang]//address-2"></xsl:value-of>
										</fo:block>
									</xsl:if>
									<xsl:if test="addressbook[@lang=$lang]//address-3">
										<fo:block>
											<xsl:value-of select="addressbook[@lang=$lang]//address-3"></xsl:value-of>	
										</fo:block>
									</xsl:if>
								</fo:block>
							</xsl:otherwise>
						</xsl:choose>
					</xsl:otherwise>
				</xsl:choose>
			</xsl:when>
			<xsl:when test="addressbook[@lang=$lang]/address/country='GB'">
				<xsl:choose>
					<xsl:when test="addressbook[@lang=$lang]/text">
						<xsl:value-of select="."></xsl:value-of>
					</xsl:when>
					<xsl:otherwise>   
						<xsl:for-each select="addressbook[@lang=$lang]/address/*"> 
							<xsl:choose>
								<xsl:when test="name(.)='postcode'">
									<xsl:value-of select="."></xsl:value-of>
								</xsl:when>
								<xsl:when test="name(.)='city'">   
									<xsl:value-of select="."></xsl:value-of>   
								</xsl:when>
								<xsl:when test="name(.)='country'">
									<fo:block>
										<xsl:call-template name="country_ChoiceText">
											<xsl:with-param name="country" select="."></xsl:with-param>
										</xsl:call-template>
									</fo:block>
								</xsl:when>
								<xsl:otherwise>
									<xsl:choose>
										<xsl:when test="not(contains($fop_version, '0.2')) and ($fop_version != '')">
											<fo:block white-space="pre" wrap-option="wrap">
												<xsl:value-of select="."></xsl:value-of>
											</fo:block>
										</xsl:when>
										<xsl:otherwise>
											<fo:block white-space-collapse="false" wrap-option="wrap">															
												<xsl:value-of select="."></xsl:value-of>   
											</fo:block>
										</xsl:otherwise>
									</xsl:choose>
								</xsl:otherwise> 
							</xsl:choose>  
						</xsl:for-each>
					</xsl:otherwise>
				</xsl:choose>
			</xsl:when>
			<xsl:when test="addressbook[@lang=$lang]/address/country='KR'">
				<xsl:choose>
					<xsl:when test="addressbook[@lang=$lang]/text">
						<xsl:value-of select="."></xsl:value-of>
					</xsl:when>
					<xsl:otherwise>   
						<fo:block>
							<xsl:value-of select="addressbook[@lang=$lang]/address/state"></xsl:value-of>
						</fo:block>
						<fo:block>
							<xsl:value-of select="addressbook[@lang=$lang]/address/city"></xsl:value-of>
						</fo:block>
						<xsl:choose>
							<xsl:when test="not(contains($fop_version, '0.2')) and ($fop_version != '')">
								<fo:block white-space="pre" wrap-option="wrap">
									<xsl:value-of select="addressbook[@lang=$lang]/address/street"></xsl:value-of>
								</fo:block>
							</xsl:when>
							<xsl:otherwise>
								<fo:block white-space-collapse="false" wrap-option="wrap">															
									<xsl:value-of select="addressbook[@lang=$lang]/address/street"></xsl:value-of>
								</fo:block>
							</xsl:otherwise>
						</xsl:choose>
						<xsl:choose>
							<xsl:when test="not(contains($fop_version, '0.2')) and ($fop_version != '')">
								<fo:block white-space="pre" wrap-option="wrap">
									<xsl:value-of select="addressbook[@lang=$lang]/address/address-1"></xsl:value-of>
								</fo:block>
							</xsl:when>
							<xsl:otherwise>
								<fo:block white-space-collapse="false" wrap-option="wrap">															
									<xsl:value-of select="addressbook[@lang=$lang]/address/address-1"></xsl:value-of>
								</fo:block>
							</xsl:otherwise>
						</xsl:choose>
						<xsl:if test="addressbook[@lang=$lang]/address/address-2">
							<xsl:choose>
								<xsl:when test="not(contains($fop_version, '0.2')) and ($fop_version != '')">
									<fo:block white-space="pre" wrap-option="wrap">
										<xsl:value-of select="addressbook[@lang=$lang]/address/address-2"></xsl:value-of>
									</fo:block>
								</xsl:when>
								<xsl:otherwise>
									<fo:block white-space-collapse="false" wrap-option="wrap">															
										<xsl:value-of select="addressbook[@lang=$lang]/address/address-2"></xsl:value-of>
									</fo:block>
								</xsl:otherwise>
							</xsl:choose>
						</xsl:if>
						<xsl:if test="addressbook[@lang=$lang]/address/address-3">
							<xsl:choose>
								<xsl:when test="not(contains($fop_version, '0.2')) and ($fop_version != '')">
									<fo:block white-space="pre" wrap-option="wrap">
										<xsl:value-of select="addressbook[@lang=$lang]/address/address-3"></xsl:value-of>
									</fo:block>
								</xsl:when>
								<xsl:otherwise>
									<fo:block white-space-collapse="false" wrap-option="wrap">															
										<xsl:value-of select="addressbook[@lang=$lang]/address/address-3"></xsl:value-of>
									</fo:block>
								</xsl:otherwise>
							</xsl:choose>
						</xsl:if>
						<fo:block>
							<xsl:value-of select="addressbook[@lang=$lang]/address/postcode"></xsl:value-of>
						</fo:block>
						<fo:block>
							<xsl:call-template name="country_ChoiceText">
								<xsl:with-param name="country" select="addressbook[@lang=$lang]/address/country"></xsl:with-param>
							</xsl:call-template>
						</fo:block>
					</xsl:otherwise>
				</xsl:choose>
			</xsl:when>
			<xsl:when test="addressbook[@lang=$lang]/address/country='FR' or addressbook[@lang=$lang]/address/country='NL' or addressbook[@lang=$lang]/address/country='SE' or addressbook[@lang=$lang]/address/country='CH' or addressbook[@lang=$lang]/address/country='LI'">
				<xsl:choose>
					<xsl:when test="addressbook[@lang=$lang]/text">
						<xsl:value-of select="."></xsl:value-of>
					</xsl:when>
					<xsl:otherwise>   
						<xsl:for-each select="addressbook[@lang=$lang]/address/*[not(name(.)='city' or name(.)='postcode' or name(.)='country')]"> 
							<xsl:choose>
								<xsl:when test="not(contains($fop_version, '0.2')) and ($fop_version != '')">
									<fo:block white-space="pre" wrap-option="wrap">
										<xsl:value-of select="."></xsl:value-of>
									</fo:block>
								</xsl:when>
								<xsl:otherwise>
									<fo:block white-space-collapse="false" wrap-option="wrap">															
										<xsl:value-of select="."></xsl:value-of>   
									</fo:block>
								</xsl:otherwise>
							</xsl:choose>
						</xsl:for-each>
						<fo:block>
							<xsl:value-of select="addressbook[@lang=$lang]/address/postcode"></xsl:value-of>
							<xsl:text> </xsl:text>
							<xsl:value-of select="addressbook[@lang=$lang]/address/city"></xsl:value-of>
						</fo:block>
						<fo:block>
							<xsl:call-template name="country_ChoiceText">
								<xsl:with-param name="country" select="addressbook[@lang=$lang]/address/country"></xsl:with-param>
							</xsl:call-template>
						</fo:block>
					</xsl:otherwise>
				</xsl:choose>
			</xsl:when>
			<xsl:when test="addressbook[@lang=$lang]/address/country='CN'">
				<xsl:choose>
					<xsl:when test="addressbook[@lang=$lang]/text">
						<xsl:value-of select="."></xsl:value-of>
					</xsl:when>
					<xsl:otherwise>
						<fo:block>
							<xsl:call-template name="country_ChoiceText">
								<xsl:with-param name="country" select="addressbook[@lang=$lang]/address/country"></xsl:with-param>
							</xsl:call-template>
							<xsl:value-of select="addressbook[@lang=$lang]/address/state"></xsl:value-of>
							<xsl:value-of select="addressbook[@lang=$lang]/address/city"></xsl:value-of>
						</fo:block>
						<xsl:choose>
							<xsl:when test="not(contains($fop_version, '0.2')) and ($fop_version != '')">
								<fo:block white-space="pre" wrap-option="wrap">
									<xsl:value-of select="addressbook[@lang=$lang]/address/street"></xsl:value-of>
									<xsl:value-of select="addressbook[@lang=$lang]/address/address-1"></xsl:value-of>
									<xsl:value-of select="addressbook[@lang=$lang]/address/address-2"></xsl:value-of>
									<xsl:value-of select="addressbook[@lang=$lang]/address/address-3"></xsl:value-of>
								</fo:block>
							</xsl:when>
							<xsl:otherwise>
								<fo:block white-space-collapse="false" wrap-option="wrap">															
									<xsl:value-of select="addressbook[@lang=$lang]/address/street"></xsl:value-of>
									<xsl:value-of select="addressbook[@lang=$lang]/address/address-1"></xsl:value-of>
									<xsl:value-of select="addressbook[@lang=$lang]/address/address-2"></xsl:value-of>
									<xsl:value-of select="addressbook[@lang=$lang]/address/address-3"></xsl:value-of>
								</fo:block>
							</xsl:otherwise>
						</xsl:choose>
						<fo:block>
							<xsl:value-of select="addressbook[@lang=$lang]/address/postcode"></xsl:value-of>
						</fo:block>
					</xsl:otherwise>
				</xsl:choose>
			</xsl:when>
			<xsl:when test="addressbook[@lang=$lang]/address/country='RU'">
				<xsl:choose>
					<xsl:when test="addressbook[@lang=$lang]/text">
						<xsl:value-of select="."></xsl:value-of>
					</xsl:when>
					<xsl:otherwise>   
						<xsl:for-each select="addressbook[@lang=$lang]/address/*[not(name(.)='city' or name(.)='postcode' or name(.)='country')]"> 
							<xsl:choose>
								<xsl:when test="not(contains($fop_version, '0.2')) and ($fop_version != '')">
									<fo:block white-space="pre" wrap-option="wrap">
										<xsl:value-of select="."></xsl:value-of>
									</fo:block>
								</xsl:when>
								<xsl:otherwise>
									<fo:block white-space-collapse="false" wrap-option="wrap">															
										<xsl:value-of select="."></xsl:value-of>   
									</fo:block>
								</xsl:otherwise>
							</xsl:choose>
						</xsl:for-each>
						<fo:block>
							<xsl:value-of select="addressbook[@lang=$lang]/address/city"></xsl:value-of>
							<xsl:text> </xsl:text>
							<xsl:value-of select="addressbook[@lang=$lang]/address/postcode"></xsl:value-of>
						</fo:block>
						<fo:block>
							<xsl:call-template name="country_ChoiceText">
								<xsl:with-param name="country" select="addressbook[@lang=$lang]/address/country"></xsl:with-param>
							</xsl:call-template>
						</fo:block>
					</xsl:otherwise>
				</xsl:choose>
			</xsl:when>
			<!-- for all others, use European format by default -->
			<xsl:otherwise>
				<xsl:choose>
					<xsl:when test="addressbook[@lang=$lang]/text">
						<xsl:value-of select="."></xsl:value-of>
					</xsl:when>
					<xsl:otherwise>   
						<xsl:for-each select="addressbook[@lang=$lang]/address/*[not(name(.)='city' or name(.)='postcode' or name(.)='country')]"> 
							<xsl:choose>
								<xsl:when test="not(contains($fop_version, '0.2')) and ($fop_version != '')">
									<fo:block white-space="pre" wrap-option="wrap">
										<xsl:value-of select="."></xsl:value-of>
									</fo:block>
								</xsl:when>
								<xsl:otherwise>
									<fo:block white-space-collapse="false" wrap-option="wrap">															
										<xsl:value-of select="."></xsl:value-of>   
									</fo:block>
								</xsl:otherwise>
							</xsl:choose>
						</xsl:for-each>
						<fo:block>
							<xsl:value-of select="addressbook[@lang=$lang]/address/postcode"></xsl:value-of>
							<xsl:text> </xsl:text>
							<xsl:value-of select="addressbook[@lang=$lang]/address/city"></xsl:value-of>
						</fo:block>
						<fo:block>
							<xsl:call-template name="country_ChoiceText">
								<xsl:with-param name="country" select="addressbook[@lang=$lang]/address/country"></xsl:with-param>
							</xsl:call-template>
						</fo:block>
					</xsl:otherwise>
				</xsl:choose>
			</xsl:otherwise>
		</xsl:choose>
	</xsl:template>
	<xsl:template name="get_size">
      <xsl:param name="size_in"></xsl:param>
    <!-- NOTE: assumes screen resolution of 96 DPI (small icons) -->
        <!-- strip any units from attributes for mathematical operations to follow -->
      <xsl:variable name="unit" select="normalize-space(translate($size_in,'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ',''))"></xsl:variable>
      <xsl:variable name="nSize" select="translate($size_in,'abcdefghijklmnopqrstuvwxyz','ABCDEFGHIJKLMNOPQRSTUVWXYZ')"></xsl:variable>
      <xsl:variable name="size_out">
         <xsl:choose>
            <!-- if measured in milimeters -->
            <xsl:when test="contains($nSize,'MM')">
               <xsl:value-of select="round(number($unit) div 25.4 * 96)"></xsl:value-of>
            </xsl:when>
            <!-- if measured in centimeters -->
            <xsl:when test="contains($nSize,'CM')">
               <xsl:value-of select="round(number($unit) div 2.54 * 96)"></xsl:value-of>
            </xsl:when>
            <!-- if measured in inches -->
            <xsl:when test="contains($nSize,'IN')">
               <xsl:value-of select="round(number($unit) * 96)"></xsl:value-of>
            </xsl:when>
            <!-- if measured in pixels; NOTE: assumes 300 dpi scan -->
            <xsl:when test="contains($nSize,'PX')">
               <xsl:value-of select="round(number($unit) div 300 * 96)"></xsl:value-of>
            </xsl:when>
            <!-- use mm as default -->
            <xsl:otherwise>
               <xsl:value-of select="round(number($unit) div 25.4 * 96)"></xsl:value-of>
            </xsl:otherwise>
         </xsl:choose>
      </xsl:variable>
      <xsl:value-of select="$size_out"></xsl:value-of>
   </xsl:template>
	<xsl:template name="stripFilePath">
<xsl:param name="path"></xsl:param>
<!-- first, translate path separators to one type ('/' or '\') -->
<xsl:param name="mPath" select="translate($path,'\','/')"></xsl:param>
	<!-- reverse the string -->
	<xsl:variable name="doc">
		<xsl:call-template name="backward">
			<xsl:with-param name="text" select="$mPath"></xsl:with-param>
		</xsl:call-template>
	</xsl:variable>
	<!-- get substring-after '/'  -->
	<xsl:variable name="doc2">
		<xsl:call-template name="backward2">
			<xsl:with-param name="text" select="$doc"></xsl:with-param>
		</xsl:call-template>
	</xsl:variable>
	<xsl:value-of select="$doc2"></xsl:value-of>
</xsl:template><xsl:template name="backward">
    <xsl:param name="text"></xsl:param>
    <xsl:variable name="mirror">
      <xsl:call-template name="build-mirror">
        <xsl:with-param name="text" select="$text"></xsl:with-param>
        <xsl:with-param name="position" select="string-length($text)"></xsl:with-param>
      </xsl:call-template>
    </xsl:variable>
    <!-- returns filename in reverse (e.g., 'lmx.teehs-eef') -->
	<xsl:value-of select="substring-before(substring($mirror, string-length($text) + 1, string-length($text)),'/')"></xsl:value-of>
</xsl:template><xsl:template name="backward2">
    <xsl:param name="text"></xsl:param>
    <xsl:variable name="mirror">
      <xsl:call-template name="build-mirror">
        <xsl:with-param name="text" select="$text"></xsl:with-param>
        <xsl:with-param name="position" select="string-length($text)"></xsl:with-param>
      </xsl:call-template>
    </xsl:variable>
    <!-- returns filename (e.g.,'fee-sheet.xml') -->
	<xsl:value-of select="substring($mirror, string-length($text) + 1, string-length($text))"></xsl:value-of>
</xsl:template><xsl:template name="build-mirror">
    <xsl:param name="text"></xsl:param>
    <xsl:param name="position"></xsl:param>

    <xsl:choose>
      <xsl:when test="$position &gt; 0">
        <xsl:call-template name="build-mirror">
          <xsl:with-param name="text" select="concat($text, substring($text, $position, 1))"></xsl:with-param>
          <xsl:with-param name="position" select="$position - 1"></xsl:with-param>
        </xsl:call-template>
      </xsl:when>
      <xsl:otherwise>
        <xsl:value-of select="$text"></xsl:value-of>
      </xsl:otherwise>
    </xsl:choose>
  </xsl:template>
	<xsl:template name="trimEndWS">
	 <xsl:param name="string"></xsl:param>
	 <xsl:param name="len" select="string-length($string)"></xsl:param>
	 <xsl:param name="cut" select="number($len)-1"></xsl:param>

	 <xsl:choose>
		<xsl:when test="substring($string,$len)='&#xA;' &#xA;					 or substring($string,$len)='&#xA;' &#xA;					 or substring($string,$len)=' ' &#xA;					 or substring($string,$len)='	'">
			<xsl:call-template name="trimEndWS">
				<xsl:with-param name="string" select="substring($string,1,$cut)"></xsl:with-param>
			</xsl:call-template>
		</xsl:when>
		<xsl:otherwise>
			<xsl:value-of select="$string"></xsl:value-of>
		</xsl:otherwise>
	 </xsl:choose>
</xsl:template>
	<xsl:variable name="adjustedFontSize">10pt</xsl:variable><xsl:attribute-set name="tdTL">
		<!-- table, top left column -->
		<xsl:attribute name="border-top">solid black 0.5pt</xsl:attribute>
		<xsl:attribute name="font-size">8pt</xsl:attribute>
		<xsl:attribute name="vertical-align">top</xsl:attribute>
		<xsl:attribute name="padding">1pt</xsl:attribute>
		<xsl:attribute name="text-align">left</xsl:attribute>
		<xsl:attribute name="letter-spacing">
			<xsl:choose>
				<xsl:when test="$lang='ja'">			
					-0.1mm
				</xsl:when>		
				<xsl:otherwise>			
					0mm
				</xsl:otherwise>		
			</xsl:choose>	
		</xsl:attribute>
	</xsl:attribute-set><xsl:attribute-set name="tdTC">
		<!-- table, top center column -->
		<xsl:attribute name="border-top">solid black 0.5pt</xsl:attribute>
		<xsl:attribute name="border-left">solid black 0.5pt</xsl:attribute>
		<xsl:attribute name="border-right">solid black 0.5pt</xsl:attribute>
		<xsl:attribute name="font-size">8pt</xsl:attribute>
		<xsl:attribute name="vertical-align">top</xsl:attribute> 
		<xsl:attribute name="padding">1pt</xsl:attribute>
	</xsl:attribute-set><xsl:attribute-set name="tdTR">
		<!-- table, top right column, with data -->
		<xsl:attribute name="border-top">solid black 0.5pt</xsl:attribute>
		<xsl:attribute name="font-size">
			<xsl:choose>
				<xsl:when test="not(contains($fop_version, '0.2')) and ($fop_version != '')">
					<xsl:value-of select="$adjustedFontSize"></xsl:value-of>
				</xsl:when>
				<xsl:otherwise>12pt</xsl:otherwise>
			</xsl:choose>
		</xsl:attribute>
		<xsl:attribute name="font-family"><xsl:value-of select="$courier_font"></xsl:value-of></xsl:attribute>
		<xsl:attribute name="padding">1pt</xsl:attribute>
	</xsl:attribute-set><xsl:attribute-set name="tdBL">
		<!-- table, left column, border bottom -->
		<xsl:attribute name="border-bottom">solid black 0.5pt</xsl:attribute>
		<xsl:attribute name="font-size">8pt</xsl:attribute>
		<xsl:attribute name="vertical-align">top</xsl:attribute>
		<xsl:attribute name="padding">1pt</xsl:attribute>
		<xsl:attribute name="letter-spacing">
			<xsl:choose>
				<xsl:when test="$lang='ja'">			
					-0.1mm
				</xsl:when>		
				<xsl:otherwise>			
					0mm
				</xsl:otherwise>		
			</xsl:choose>	
		</xsl:attribute>
	</xsl:attribute-set><xsl:attribute-set name="tdBC">
		<!-- table, center column, border bottom -->
		<xsl:attribute name="border-bottom">solid black 0.5pt</xsl:attribute>
		<xsl:attribute name="border-left">solid black 0.5pt</xsl:attribute>
		<xsl:attribute name="border-right">solid black 0.5pt</xsl:attribute>
		<xsl:attribute name="font-size">8pt</xsl:attribute>
		<xsl:attribute name="vertical-align">top</xsl:attribute>
		<xsl:attribute name="padding">1pt</xsl:attribute>
	</xsl:attribute-set><xsl:attribute-set name="tdBR">
		<!-- table, right column, border bottom -->
		<xsl:attribute name="border-bottom">solid black 0.5pt</xsl:attribute>
		<xsl:attribute name="font-size">
			<xsl:choose>
				<xsl:when test="not(contains($fop_version, '0.2')) and ($fop_version != '')">
					<xsl:value-of select="$adjustedFontSize"></xsl:value-of>
				</xsl:when>
				<xsl:otherwise>12pt</xsl:otherwise>
			</xsl:choose>
		</xsl:attribute>
		<xsl:attribute name="font-family"><xsl:value-of select="$courier_font"></xsl:value-of></xsl:attribute>
		<xsl:attribute name="padding-left">1pt</xsl:attribute>
	</xsl:attribute-set><xsl:attribute-set name="tdL">
		<!-- table, left column -->
		<xsl:attribute name="font-size">8pt</xsl:attribute>
		<xsl:attribute name="vertical-align">top</xsl:attribute>
		<xsl:attribute name="padding">1pt</xsl:attribute>
		<xsl:attribute name="letter-spacing">
			<xsl:choose>
				<xsl:when test="$lang='ja'">			
					-0.1mm
				</xsl:when>		
				<xsl:otherwise>			
					0mm
				</xsl:otherwise>		
			</xsl:choose>	
		</xsl:attribute>
	</xsl:attribute-set><xsl:attribute-set name="tdC">
		<!-- table, center column -->
		<xsl:attribute name="border-left">solid black 0.5pt</xsl:attribute>
		<xsl:attribute name="border-right">solid black 0.5pt</xsl:attribute>
		<xsl:attribute name="font-size">8pt</xsl:attribute>
		<xsl:attribute name="vertical-align">top</xsl:attribute>
		<xsl:attribute name="padding">1pt</xsl:attribute>
	</xsl:attribute-set><xsl:attribute-set name="tdR">
		<!-- table, right column -->
		<xsl:attribute name="font-size">
			<xsl:choose>
				<xsl:when test="not(contains($fop_version, '0.2')) and ($fop_version != '')">
					<xsl:value-of select="$adjustedFontSize"></xsl:value-of>
				</xsl:when>
				<xsl:otherwise>12pt</xsl:otherwise>
			</xsl:choose>
		</xsl:attribute>
		<xsl:attribute name="font-family"><xsl:value-of select="$courier_font"></xsl:value-of></xsl:attribute>
		<xsl:attribute name="padding">1pt</xsl:attribute>
	</xsl:attribute-set><xsl:attribute-set name="tdTB">
		<!-- table cell, top and bottom borders -->
		<xsl:attribute name="border-top">solid black 0.5pt</xsl:attribute>
		<xsl:attribute name="border-bottom">solid black 0.5pt</xsl:attribute>
	</xsl:attribute-set><xsl:attribute-set name="tdTBL">
		<!-- table, left column, top and bottom borders -->
		<xsl:attribute name="border-top">solid black 0.5pt</xsl:attribute>
		<xsl:attribute name="border-bottom">solid black 0.5pt</xsl:attribute>
		<xsl:attribute name="font-size">8pt</xsl:attribute>
		<xsl:attribute name="vertical-align">top</xsl:attribute>
		<xsl:attribute name="padding">1pt</xsl:attribute>
		<xsl:attribute name="letter-spacing">
			<xsl:choose>
				<xsl:when test="$lang='ja'">			
					-0.1mm
				</xsl:when>		
				<xsl:otherwise>			
					0mm
				</xsl:otherwise>		
			</xsl:choose>	
		</xsl:attribute>
	</xsl:attribute-set><xsl:attribute-set name="tdTBC">
		<!-- table, center column, all borders -->
		<xsl:attribute name="border">solid black 0.5pt</xsl:attribute>
		<xsl:attribute name="font-size">8pt</xsl:attribute>
		<xsl:attribute name="vertical-align">top</xsl:attribute>
		<xsl:attribute name="padding">1pt</xsl:attribute>
	</xsl:attribute-set><xsl:attribute-set name="tdTBC_hyp">
		<!-- table, center column, all borders -->
		<xsl:attribute name="border">solid black 0.5pt</xsl:attribute>
		<xsl:attribute name="font-size">8pt</xsl:attribute>
		<xsl:attribute name="vertical-align">top</xsl:attribute>
		<xsl:attribute name="padding">1pt</xsl:attribute>
		<xsl:attribute name="hyphenate">
			<xsl:choose>
				<xsl:when test="not($lang='ja' or $lang='zh')">true</xsl:when>
				<xsl:otherwise>false</xsl:otherwise>
			</xsl:choose>
		</xsl:attribute>
		<xsl:attribute name="hyphenation-push-character-count">6</xsl:attribute>
		<xsl:attribute name="hyphenation-remain-character-count">6</xsl:attribute>
	</xsl:attribute-set><xsl:attribute-set name="tdTBR">
		<!-- table, right column, top and bottom borders -->
		<xsl:attribute name="border-top">solid black 0.5pt</xsl:attribute>
		<xsl:attribute name="border-bottom">solid black 0.5pt</xsl:attribute>
		<xsl:attribute name="font-size">
			<xsl:choose>
				<xsl:when test="not(contains($fop_version, '0.2')) and ($fop_version != '')">
					<xsl:value-of select="$adjustedFontSize"></xsl:value-of>
				</xsl:when>
				<xsl:otherwise>12pt</xsl:otherwise>
			</xsl:choose>
		</xsl:attribute>
		<xsl:attribute name="font-family"><xsl:value-of select="$courier_font"></xsl:value-of></xsl:attribute>
		<xsl:attribute name="padding">1.5pt</xsl:attribute>
	</xsl:attribute-set><xsl:attribute-set name="tdBorderTop">
		<!-- table cell, top border -->
		<xsl:attribute name="border-top">solid black 0.5pt</xsl:attribute>
	</xsl:attribute-set><xsl:attribute-set name="tdBorderBottom">
		<!-- table cell, bottom border -->
		<xsl:attribute name="border-bottom">solid black 0.5pt</xsl:attribute>
	</xsl:attribute-set><xsl:attribute-set name="tdBorderBottomLeft">
		<!-- table cell, bottom and left border -->
		<xsl:attribute name="border-bottom">solid black 0.5pt</xsl:attribute>
		<xsl:attribute name="border-left">solid black 0.5pt</xsl:attribute>
	</xsl:attribute-set><xsl:attribute-set name="tdBorderLeft">
		<!-- table cell, left border -->
		<xsl:attribute name="border-left">solid black 0.5pt</xsl:attribute> 
		<xsl:attribute name="font-size">8pt</xsl:attribute>
		<xsl:attribute name="vertical-align">top</xsl:attribute> 
		<xsl:attribute name="padding">1pt</xsl:attribute>
	</xsl:attribute-set><xsl:attribute-set name="tdBorderRight">
		<!-- table cell, right border -->
		<xsl:attribute name="border-right">solid black 0.5pt</xsl:attribute> 
		<xsl:attribute name="font-size">8pt</xsl:attribute>
		<xsl:attribute name="vertical-align">top</xsl:attribute> 
		<xsl:attribute name="padding">1pt</xsl:attribute>
	</xsl:attribute-set><xsl:attribute-set name="tdBorderTopLeft">
		<!-- table cell, top border -->
		<xsl:attribute name="border-top">solid black 0.5pt</xsl:attribute>
		<xsl:attribute name="border-left">solid black 0.5pt</xsl:attribute> 
		<xsl:attribute name="font-size">8pt</xsl:attribute>
		<xsl:attribute name="vertical-align">top</xsl:attribute> 
		<xsl:attribute name="padding">1pt</xsl:attribute>
		<xsl:attribute name="text-align">center</xsl:attribute>
	</xsl:attribute-set><xsl:attribute-set name="tdBorderTopLeftData">
		<!-- table cell, top border -->
		<xsl:attribute name="border-top">solid black 0.5pt</xsl:attribute>
		<xsl:attribute name="border-left">solid black 0.5pt</xsl:attribute> 
		<xsl:attribute name="font-size">
			<xsl:choose>
				<xsl:when test="not(contains($fop_version, '0.2')) and ($fop_version != '')">
					<xsl:value-of select="$adjustedFontSize"></xsl:value-of>
				</xsl:when>
				<xsl:otherwise>12pt</xsl:otherwise>
			</xsl:choose>
		</xsl:attribute>
		<xsl:attribute name="font-family"><xsl:value-of select="$courier_font"></xsl:value-of></xsl:attribute>
		<xsl:attribute name="padding">1pt</xsl:attribute>
	</xsl:attribute-set><xsl:attribute-set name="tdBorderTopBottomLeftData">
		<!-- table cell, top border -->
		<xsl:attribute name="border-top">solid black 0.5pt</xsl:attribute>
		<xsl:attribute name="border-bottom">solid black 0.5pt</xsl:attribute>
		<xsl:attribute name="border-left">solid black 0.5pt</xsl:attribute> 
		<xsl:attribute name="font-size">
			<xsl:choose>
				<xsl:when test="not(contains($fop_version, '0.2')) and ($fop_version != '')">
					<xsl:value-of select="$adjustedFontSize"></xsl:value-of>
				</xsl:when>
				<xsl:otherwise>12pt</xsl:otherwise>
			</xsl:choose>
		</xsl:attribute>
		<xsl:attribute name="font-family"><xsl:value-of select="$courier_font"></xsl:value-of></xsl:attribute>
		<xsl:attribute name="padding">1pt</xsl:attribute>
	</xsl:attribute-set><xsl:attribute-set name="tdBorderTopRight">
		<!-- table cell, top border -->
		<xsl:attribute name="border-top">solid black 0.5pt</xsl:attribute>
		<xsl:attribute name="border-right">solid black 0.5pt</xsl:attribute> 
		<xsl:attribute name="font-size">8pt</xsl:attribute>
		<xsl:attribute name="vertical-align">top</xsl:attribute> 
		<xsl:attribute name="padding">1pt</xsl:attribute>
		<xsl:attribute name="text-align">center</xsl:attribute>
	</xsl:attribute-set><xsl:attribute-set name="tdBorderTopRightData">
		<!-- table cell, top border -->
		<xsl:attribute name="border-top">solid black 0.5pt</xsl:attribute>
		<xsl:attribute name="border-right">solid black 0.5pt</xsl:attribute> 
		<xsl:attribute name="font-size">
			<xsl:choose>
				<xsl:when test="not(contains($fop_version, '0.2')) and ($fop_version != '')">
					<xsl:value-of select="$adjustedFontSize"></xsl:value-of>
				</xsl:when>
				<xsl:otherwise>12pt</xsl:otherwise>
			</xsl:choose>
		</xsl:attribute>
		<xsl:attribute name="font-family"><xsl:value-of select="$courier_font"></xsl:value-of></xsl:attribute>
		<xsl:attribute name="padding">1pt</xsl:attribute>
	</xsl:attribute-set><xsl:attribute-set name="hyphenation">
		<xsl:attribute name="language">
			<xsl:value-of select="$lang"></xsl:value-of>
		</xsl:attribute>
		<xsl:attribute name="font-size">12pt</xsl:attribute>
		<xsl:attribute name="hyphenate">
			<xsl:choose>
				<xsl:when test="not($lang='ja' or $lang='zh')">true</xsl:when>
				<xsl:otherwise>false</xsl:otherwise>
			</xsl:choose>
		</xsl:attribute>
		<xsl:attribute name="hyphenation-push-character-count">6</xsl:attribute>
		<xsl:attribute name="hyphenation-remain-character-count">6</xsl:attribute>
	</xsl:attribute-set><xsl:attribute-set name="tdBorderTopLeftNoCenter">
		<!-- table cell, top left -->
		<xsl:attribute name="border-top">solid black 0.5pt</xsl:attribute>
		<xsl:attribute name="border-left">solid black 0.5pt</xsl:attribute>
		<xsl:attribute name="font-size">8pt</xsl:attribute>
		<xsl:attribute name="vertical-align">top</xsl:attribute> 
		<xsl:attribute name="padding">1pt</xsl:attribute>
	</xsl:attribute-set>
	<xsl:template name="process_dec1">
		<xsl:for-each select=".">
			<xsl:variable name="inv_seq" select="@sequence"></xsl:variable>
			<fo:table table-layout="fixed" border-collapse="separate">
				<fo:table-column column-width="12mm"></fo:table-column>
				<fo:table-column column-width="53mm"></fo:table-column>
				<fo:table-column column-width="105mm"></fo:table-column>
				<fo:table-body>
					<fo:table-row>
						<fo:table-cell xsl:use-attribute-sets="tdTL">
							<fo:block>
								<fo:inline font-weight="bold">VIII-1-<xsl:value-of select="$inv_seq"></xsl:value-of>
								</fo:inline>
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdTC">
							<fo:block>
								<fo:inline font-weight="bold">
									声明: 发明人身份
								</fo:inline>
								<fo:block></fo:block>
								关于发明人身份的声明(细则4.17(i)和51之二.1(a)(i)):
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdTR">
							<fo:block padding-before="4mm">
								<fo:inline font-weight="bold">
									关于
									<xsl:choose>
										<xsl:when test=".//application-reference">
											<xsl:if test="not($lang='ja')">
												国际申请
											</xsl:if>
											<xsl:value-of select=".//country"></xsl:value-of>
											<xsl:text> </xsl:text>
											<xsl:value-of select=".//doc-number"></xsl:value-of>
											<xsl:if test="$lang='ja'">
												国际申请
											</xsl:if>
										</xsl:when>
										<xsl:otherwise>
											本国际申请
										</xsl:otherwise>
									</xsl:choose>
								</fo:inline>
							</fo:block>
						</fo:table-cell>
					</fo:table-row>
					<xsl:choose>
						<xsl:when test="not($lang='ja' or $lang='ko' or $lang='zh' or $lang='ru' or $lang='ar')">
							<xsl:for-each select=".//addressbook[*]">
								<fo:table-row>
									<fo:table-cell xsl:use-attribute-sets="tdBorderTop">
										<fo:block></fo:block>
									</fo:table-cell>
									<fo:table-cell xsl:use-attribute-sets="tdTC">
										<fo:block>
											<xsl:choose>
												<xsl:when test="$lang='ja'">
													<xsl:if test=".//address//text()">
														地址
													</xsl:if>
												</xsl:when>
												<xsl:otherwise>
													<xsl:call-template name="nameType">
														<xsl:with-param name="nam" select="./addressbook"></xsl:with-param>
													</xsl:call-template>
												</xsl:otherwise>
											</xsl:choose>
										</fo:block>
									</fo:table-cell>
									<fo:table-cell xsl:use-attribute-sets="tdTR">
										<fo:block padding-top="1pt">
											<fo:inline font-weight="bold">
												<xsl:choose>
													<xsl:when test="$lang='ja'">
														<xsl:if test="./address//text()">
															<fo:block>
																<xsl:value-of select=".//postcode"></xsl:value-of>
															</fo:block>
															<fo:block>
																<xsl:call-template name="country_ChoiceText">
																	<xsl:with-param name="country" select=".//country"></xsl:with-param>
																</xsl:call-template>
															</fo:block>
															<xsl:choose>
																<xsl:when test="not(contains($fop_version, '0.2')) and ($fop_version != '')">
																	<fo:block white-space="pre" wrap-option="wrap">
																		<xsl:value-of select=".//state"></xsl:value-of>
																		<xsl:value-of select=".//city"></xsl:value-of>
																		<xsl:value-of select=".//street"></xsl:value-of>
																		<xsl:value-of select=".//address-1"></xsl:value-of>
																		<xsl:if test=".//address-2">
																			<fo:block white-space="pre" wrap-option="wrap">
																				<xsl:value-of select=".//address-2"></xsl:value-of>
																			</fo:block>
																		</xsl:if>
																		<xsl:if test=".//address-3">
																			<fo:block white-space="pre" wrap-option="wrap">
																				<xsl:value-of select=".//address-3"></xsl:value-of>
																			</fo:block>
																		</xsl:if>
																	</fo:block>
																</xsl:when>
																<xsl:otherwise>
																	<fo:block white-space-collapse="false" wrap-option="wrap">
																		<xsl:value-of select=".//state"></xsl:value-of>
																		<xsl:value-of select=".//city"></xsl:value-of>
																		<xsl:value-of select=".//street"></xsl:value-of>
																		<xsl:value-of select=".//address-1"></xsl:value-of>
																		<xsl:if test=".//address-2">
																			<fo:block white-space-collapse="false" wrap-option="wrap">
																				<xsl:value-of select=".//address-2"></xsl:value-of>
																			</fo:block>
																		</xsl:if>
																		<xsl:if test=".//address-3">
																			<fo:block white-space-collapse="false" wrap-option="wrap">
																				<xsl:value-of select=".//address-3"></xsl:value-of>
																			</fo:block>
																		</xsl:if>
																	</fo:block>
																</xsl:otherwise>
															</xsl:choose>
															<fo:block></fo:block>
															<xsl:text>在住の</xsl:text>
														</xsl:if>
													</xsl:when>
													<xsl:when test="$lang='zh'">
														<xsl:call-template name="format_name">
															<xsl:with-param name="name_arg" select="."></xsl:with-param>
														</xsl:call-template>
														<xsl:if test="./address//text()">
															<xsl:text> 住在</xsl:text>
														</xsl:if>
													</xsl:when>
													<xsl:when test="$lang='fr' or $lang='ru' or $lang='ko' or $lang='pt'">
														<xsl:call-template name="format_name">
															<xsl:with-param name="name_arg" select="."></xsl:with-param>
														</xsl:call-template>
													</xsl:when>
													<xsl:otherwise>
														<xsl:choose>
															<xsl:when test="./address//text()">
																<xsl:choose>
																	<xsl:when test="$lang = 'de'">
																		<xsl:call-template name="format_name">
																			<xsl:with-param name="name_arg" select="."></xsl:with-param>
																			<xsl:with-param name="showOf" select="1"></xsl:with-param>
																		</xsl:call-template>
																	</xsl:when>
																	<xsl:otherwise>
																		<xsl:call-template name="format_name">
																			<xsl:with-param name="name_arg" select="."></xsl:with-param>
																			<xsl:with-param name="showOf" select="1"></xsl:with-param>
																		</xsl:call-template>
																	</xsl:otherwise>
																</xsl:choose>
															</xsl:when>
															<xsl:otherwise>
																<xsl:call-template name="format_name">
																	<xsl:with-param name="name_arg" select="."></xsl:with-param>
																</xsl:call-template>
															</xsl:otherwise>
														</xsl:choose>
													</xsl:otherwise>
												</xsl:choose>
											</fo:inline>
										</fo:block>
									</fo:table-cell>
								</fo:table-row>
								<fo:table-row>
									<fo:table-cell>
										<fo:block></fo:block>
									</fo:table-cell>
									<fo:table-cell xsl:use-attribute-sets="tdC">
										<fo:block>
											<xsl:choose>
												<xsl:when test="$lang='ja'">
													<xsl:call-template name="nameType">
														<xsl:with-param name="nam" select="./addressbook"></xsl:with-param>
													</xsl:call-template>
												</xsl:when>
												<xsl:otherwise>
													<xsl:if test=".//address//text()">
														地址
													</xsl:if>
												</xsl:otherwise>
											</xsl:choose>
										</fo:block>
									</fo:table-cell>
									<fo:table-cell xsl:use-attribute-sets="tdR">
										<fo:block padding-top="1pt">
											<fo:inline font-weight="bold">
												<xsl:choose>
													<xsl:when test="$lang='ja'">
														<xsl:call-template name="format_name">
															<xsl:with-param name="name_arg" select="."></xsl:with-param>
														</xsl:call-template>
														<fo:block></fo:block>
													</xsl:when>
													<xsl:otherwise>
														<xsl:if test="./address//text()">
															<xsl:choose>
																<xsl:when test=".//address/country='US' or .//address/country='CA'">
																	<xsl:choose>
																		<xsl:when test=".//text">
																			<xsl:value-of select="."></xsl:value-of>
																		</xsl:when>
																		<xsl:when test="$lang='zh'">
																			<!-- US and CA address in Chinese Request Case-->
																			<fo:block>
																				<xsl:call-template name="country_ChoiceText">
																					<xsl:with-param name="country" select=".//address/country"></xsl:with-param>
																				</xsl:call-template>
																			</fo:block>
																			<xsl:choose>
																				<xsl:when test="not(contains($fop_version, '0.2')) and ($fop_version != '')">
																					<fo:block white-space="pre" wrap-option="wrap">
																						<xsl:value-of select=".//state"></xsl:value-of>
																						<xsl:text> </xsl:text>
																						<xsl:value-of select=".//city"></xsl:value-of>
																						<xsl:text> </xsl:text>
																						<xsl:value-of select=".//street"></xsl:value-of>
																						<xsl:text> </xsl:text>
																					</fo:block>
																				</xsl:when>
																				<xsl:otherwise>
																					<fo:block white-space-collapse="false" wrap-option="wrap">
																						<xsl:value-of select=".//state"></xsl:value-of>
																						<xsl:text> </xsl:text>
																						<xsl:value-of select=".//city"></xsl:value-of>
																						<xsl:text> </xsl:text>
																						<xsl:value-of select=".//street"></xsl:value-of>
																						<xsl:text> </xsl:text>
																					</fo:block>
																				</xsl:otherwise>
																			</xsl:choose>
																			<fo:block>
																				<xsl:value-of select=".//postcode"></xsl:value-of>
																			</fo:block>
																		</xsl:when>
																		<xsl:otherwise>
																			<xsl:for-each select=".//address/*">
																				<xsl:choose>
																					<xsl:when test="name(.)='city'">
																						<xsl:value-of select="."></xsl:value-of>
																						<xsl:text>, </xsl:text>
																					</xsl:when>
																					<xsl:when test="name(.)='state'">
																						<xsl:value-of select="."></xsl:value-of>
																						<xsl:text> </xsl:text>
																					</xsl:when>
																					<xsl:when test="name(.)='postcode'">
																						<xsl:value-of select="."></xsl:value-of>
																						<xsl:text> </xsl:text>
																					</xsl:when>
																					<xsl:when test="name(.)='country'">
																						<fo:block>
																							<xsl:call-template name="country_ChoiceText">
																								<xsl:with-param name="country" select="."></xsl:with-param>
																							</xsl:call-template>
																						</fo:block>
																					</xsl:when>
																					<xsl:otherwise>
																						<xsl:choose>
																							<xsl:when test="not(contains($fop_version, '0.2')) and ($fop_version != '')">
																								<fo:block white-space="pre" wrap-option="wrap">
																									<xsl:value-of select="."></xsl:value-of>
																								</fo:block>
																							</xsl:when>
																							<xsl:otherwise>
																								<fo:block white-space-collapse="false" wrap-option="wrap">
																									<xsl:value-of select="."></xsl:value-of>
																								</fo:block>
																							</xsl:otherwise>
																						</xsl:choose>
																					</xsl:otherwise>
																				</xsl:choose>
																			</xsl:for-each>
																		</xsl:otherwise>
																	</xsl:choose>
																</xsl:when>
																<xsl:when test=".//address/country='DE'">
																	<xsl:choose>
																		<xsl:when test=".//text">
																			<xsl:value-of select="."></xsl:value-of>
																		</xsl:when>
																		<xsl:otherwise>
																			<xsl:for-each select=".//address/*[not(name(.)='city' or name(.)='postcode' or name(.)='country')]">
																				<fo:block>
																					<xsl:choose>
																						<xsl:when test="not(contains($fop_version, '0.2')) and ($fop_version != '')">
																							<fo:block white-space="pre" wrap-option="wrap">
																								<xsl:value-of select="."></xsl:value-of>
																							</fo:block>
																						</xsl:when>
																						<xsl:otherwise>
																							<fo:block white-space-collapse="false" wrap-option="wrap">
																								<xsl:value-of select="."></xsl:value-of>
																							</fo:block>
																						</xsl:otherwise>
																					</xsl:choose>
																				</fo:block>
																			</xsl:for-each>
																			<fo:block>
																				<xsl:value-of select=".//address/postcode"></xsl:value-of>
																				<xsl:text> </xsl:text>
																				<xsl:value-of select=".//address/city"></xsl:value-of>
																			</fo:block>
																			<fo:block>
																				<xsl:call-template name="country_ChoiceText">
																					<xsl:with-param name="country" select=".//address/country"></xsl:with-param>
																				</xsl:call-template>
																			</fo:block>
																		</xsl:otherwise>
																	</xsl:choose>
																</xsl:when>
																<!-- TODO: determine JA markup -->
																<xsl:when test=".//address/country='JP'">
																	<xsl:choose>
																		<xsl:when test=".//text">
																			<xsl:value-of select="."></xsl:value-of>
																		</xsl:when>
																		<xsl:when test="(.//address/state) or (.//address/city) or (.//address/street)">
																			<!-- Japanese address in Korean or Chinese Request Case-->
																			<xsl:choose>
																				<xsl:when test="$lang='ko'">
																					<fo:block>
																						<xsl:call-template name="country_ChoiceText">
																							<xsl:with-param name="country" select=".//address/country"></xsl:with-param>
																						</xsl:call-template>
																					</fo:block>
																					<fo:block>
																						<xsl:value-of select=".//postcode"></xsl:value-of>
																					</fo:block>
																					<xsl:choose>
																						<xsl:when test="not(contains($fop_version, '0.2')) and ($fop_version != '')">
																							<fo:block white-space="pre" wrap-option="wrap">
																								<xsl:value-of select=".//state"></xsl:value-of>
																								<xsl:text> </xsl:text>
																								<xsl:value-of select=".//city"></xsl:value-of>
																								<xsl:text> </xsl:text>
																								<xsl:value-of select=".//street"></xsl:value-of>
																								<xsl:text> </xsl:text>
																								<xsl:value-of select=".//address-1"></xsl:value-of>
																								<xsl:if test=".//address-2">
																									<xsl:text> </xsl:text>
																									<xsl:value-of select=".//address-2"></xsl:value-of>
																								</xsl:if>
																								<xsl:if test=".//address-3">
																									<xsl:text> </xsl:text>
																									<xsl:value-of select=".//address-3"></xsl:value-of>
																								</xsl:if>
																							</fo:block>
																						</xsl:when>
																						<xsl:otherwise>
																							<fo:block white-space-collapse="false" wrap-option="wrap">
																								<xsl:value-of select=".//state"></xsl:value-of>
																								<xsl:text> </xsl:text>
																								<xsl:value-of select=".//city"></xsl:value-of>
																								<xsl:text> </xsl:text>
																								<xsl:value-of select=".//street"></xsl:value-of>
																								<xsl:text> </xsl:text>
																								<xsl:value-of select=".//address-1"></xsl:value-of>
																								<xsl:if test=".//address-2">
																									<xsl:text> </xsl:text>
																									<xsl:value-of select=".//address-2"></xsl:value-of>
																								</xsl:if>
																								<xsl:if test=".//address-3">
																									<xsl:text> </xsl:text>
																									<xsl:value-of select=".//address-3"></xsl:value-of>
																								</xsl:if>
																							</fo:block>
																						</xsl:otherwise>
																					</xsl:choose>
																				</xsl:when>
																				<xsl:otherwise>
																					<fo:block>
																						<xsl:call-template name="country_ChoiceText">
																							<xsl:with-param name="country" select=".//address/country"></xsl:with-param>
																						</xsl:call-template>
																					</fo:block>
																					<xsl:choose>
																						<xsl:when test="not(contains($fop_version, '0.2')) and ($fop_version != '')">
																							<fo:block white-space="pre" wrap-option="wrap">
																								<xsl:value-of select=".//state"></xsl:value-of>
																								<xsl:text> </xsl:text>
																								<xsl:value-of select=".//city"></xsl:value-of>
																								<xsl:text> </xsl:text>
																								<xsl:value-of select=".//street"></xsl:value-of>
																								<xsl:text> </xsl:text>
																							</fo:block>
																						</xsl:when>
																						<xsl:otherwise>
																							<fo:block white-space-collapse="false" wrap-option="wrap">
																								<xsl:value-of select=".//state"></xsl:value-of>
																								<xsl:text> </xsl:text>
																								<xsl:value-of select=".//city"></xsl:value-of>
																								<xsl:text> </xsl:text>
																								<xsl:value-of select=".//street"></xsl:value-of>
																								<xsl:text> </xsl:text>
																							</fo:block>
																						</xsl:otherwise>
																					</xsl:choose>
																					<fo:block>
																						<xsl:value-of select=".//postcode"></xsl:value-of>
																					</fo:block>
																				</xsl:otherwise>
																			</xsl:choose>
																		</xsl:when>
																		<xsl:otherwise>
																			<xsl:choose>
																				<xsl:when test="not(contains($fop_version, '0.2')) and ($fop_version != '')">
																					<fo:block white-space="pre" wrap-option="wrap">
																						<xsl:value-of select=".//address-1"></xsl:value-of>
																					</fo:block>
																				</xsl:when>
																				<xsl:otherwise>
																					<fo:block white-space-collapse="false" wrap-option="wrap">
																						<xsl:value-of select=".//address-1"></xsl:value-of>
																					</fo:block>
																				</xsl:otherwise>
																			</xsl:choose>
																			<fo:block>
																				<xsl:value-of select=".//postcode"></xsl:value-of>
																			</fo:block>
																			<fo:block>
																				<xsl:call-template name="country_ChoiceText">
																					<xsl:with-param name="country" select=".//address/country"></xsl:with-param>
																				</xsl:call-template>
																			</fo:block>
																		</xsl:otherwise>
																	</xsl:choose>
																</xsl:when>
																<xsl:when test=".//address/country='GB'">
																	<xsl:choose>
																		<xsl:when test=".//text">
																			<xsl:value-of select="."></xsl:value-of>
																		</xsl:when>
																		<xsl:otherwise>
																			<xsl:for-each select=".//address/*">
																				<xsl:choose>
																					<xsl:when test="name(.)='postcode'">
																						<xsl:value-of select="."></xsl:value-of>
																					</xsl:when>
																					<xsl:when test="name(.)='city'">
																						<xsl:value-of select="."></xsl:value-of>
																					</xsl:when>
																					<xsl:when test="name(.)='country'">
																						<fo:block>
																							<xsl:call-template name="country_ChoiceText">
																								<xsl:with-param name="country" select="."></xsl:with-param>
																							</xsl:call-template>
																						</fo:block>
																					</xsl:when>
																					<xsl:otherwise>
																						<xsl:choose>
																							<xsl:when test="not(contains($fop_version, '0.2')) and ($fop_version != '')">
																								<fo:block white-space="pre" wrap-option="wrap">
																									<xsl:value-of select="."></xsl:value-of>
																								</fo:block>
																							</xsl:when>
																							<xsl:otherwise>
																								<fo:block white-space-collapse="false" wrap-option="wrap">
																									<xsl:value-of select="."></xsl:value-of>
																								</fo:block>
																							</xsl:otherwise>
																						</xsl:choose>
																					</xsl:otherwise>
																				</xsl:choose>
																			</xsl:for-each>
																		</xsl:otherwise>
																	</xsl:choose>
																</xsl:when>
																<xsl:when test=".//address/country='KR'">
																	<xsl:choose>
																		<xsl:when test=".//text">
																			<xsl:value-of select="."></xsl:value-of>
																		</xsl:when>
																		<xsl:otherwise>
																			<fo:block>
																				<xsl:call-template name="country_ChoiceText">
																					<xsl:with-param name="country" select=".//address/country"></xsl:with-param>
																				</xsl:call-template>
																			</fo:block>
																			<fo:block>
																				<xsl:value-of select=".//postcode"></xsl:value-of>
																			</fo:block>
																			<xsl:choose>
																				<xsl:when test="not(contains($fop_version, '0.2')) and ($fop_version != '')">
																					<fo:block white-space="pre" wrap-option="wrap">
																						<xsl:value-of select=".//state"></xsl:value-of>
																						<xsl:text> </xsl:text>
																						<xsl:value-of select=".//city"></xsl:value-of>
																						<xsl:text> </xsl:text>
																						<xsl:value-of select=".//street"></xsl:value-of>
																						<xsl:text> </xsl:text>
																						<xsl:value-of select=".//address-1"></xsl:value-of>
																					</fo:block>
																				</xsl:when>
																				<xsl:otherwise>
																					<fo:block white-space-collapse="false" wrap-option="wrap">
																						<xsl:value-of select=".//state"></xsl:value-of>
																						<xsl:text> </xsl:text>
																						<xsl:value-of select=".//city"></xsl:value-of>
																						<xsl:text> </xsl:text>
																						<xsl:value-of select=".//street"></xsl:value-of>
																						<xsl:text> </xsl:text>
																						<xsl:value-of select=".//address-1"></xsl:value-of>
																					</fo:block>
																				</xsl:otherwise>
																			</xsl:choose>
																		</xsl:otherwise>
																	</xsl:choose>
																</xsl:when>
																<xsl:when test=".//address/country='CN' or .//address/country='TW'">			
																	<xsl:choose>			
																		<xsl:when test=".//text">		
																			<xsl:value-of select="."></xsl:value-of>
																		</xsl:when>		
																		<xsl:when test="$lang='zh'"> <!-- for when the stylesheet does not use "showZhAddress" for Chinese address -->
																			<fo:block>
																				<xsl:call-template name="country_ChoiceText">	
																					<xsl:with-param name="country" select=".//address/country"></xsl:with-param>
																				</xsl:call-template>
																				<xsl:value-of select=".//address/state"></xsl:value-of>
																					<xsl:value-of select=".//address/city"></xsl:value-of>
																			</fo:block>
																			<xsl:choose>
																				<xsl:when test="not(contains($fop_version, '0.2')) and ($fop_version != '')">
																					<fo:block white-space="pre" wrap-option="wrap">
																						<xsl:value-of select=".//address/street"></xsl:value-of>
																						<xsl:value-of select=".//address/address-1"></xsl:value-of>
																						<xsl:value-of select=".//address/address-2"></xsl:value-of>
																						<xsl:value-of select=".//address/address-3"></xsl:value-of>
																					</fo:block>
																				</xsl:when>
																				<xsl:otherwise>
																					<fo:block white-space-collapse="false" wrap-option="wrap">															
																						<xsl:value-of select=".//address/street"></xsl:value-of>
																						<xsl:value-of select=".//address/address-1"></xsl:value-of>
																						<xsl:value-of select=".//address/address-2"></xsl:value-of>
																						<xsl:value-of select=".//address/address-3"></xsl:value-of>
																					</fo:block>
																				</xsl:otherwise>
																			</xsl:choose>
																			<fo:block>
																				<xsl:value-of select=".//address/postcode"></xsl:value-of>
																			</fo:block>					
																		</xsl:when>		
																		<xsl:otherwise>		
																			<xsl:for-each select=".//address/*[not(name(.)='street' or name(.)='city' or name(.)='state' or name(.)='postcode' or name(.)='country')]"> 	
																				<xsl:choose>
																					<xsl:when test="not(contains($fop_version, '0.2')) and ($fop_version != '')">
																						<fo:block white-space="pre" wrap-option="wrap">
																							<xsl:value-of select="."></xsl:value-of>
																						</fo:block>
																					</xsl:when>
																					<xsl:otherwise>
																						<fo:block white-space-collapse="false" wrap-option="wrap">															
																							<xsl:value-of select="."></xsl:value-of>
																						</fo:block>
																					</xsl:otherwise>
																				</xsl:choose>
																			</xsl:for-each>		
																			<xsl:if test=".//address/street">
																				<xsl:choose>
																					<xsl:when test="not(contains($fop_version, '0.2')) and ($fop_version != '')">
																						<fo:block white-space="pre" wrap-option="wrap">
																							<xsl:value-of select=".//address/street"></xsl:value-of>	
																							<xsl:text> </xsl:text>
																						</fo:block>
																					</xsl:when>
																					<xsl:otherwise>
																						<fo:block white-space-collapse="false" wrap-option="wrap">															
																							<xsl:value-of select=".//address/street"></xsl:value-of>	
																							<xsl:text> </xsl:text>
																						</fo:block>
																					</xsl:otherwise>
																				</xsl:choose>
																			</xsl:if>
																			<xsl:choose>
																				<xsl:when test=".//address/city">
																					<fo:block>		
																						<xsl:value-of select=".//address/city"></xsl:value-of>
																						<xsl:text>, </xsl:text>	
																						<xsl:value-of select=".//address/state"></xsl:value-of>	
																						<xsl:text> </xsl:text>	
																						<xsl:value-of select=".//address/postcode"></xsl:value-of>	
																					</fo:block>		
																				</xsl:when>
																				<xsl:otherwise>		
																					<fo:block>		
																						<xsl:value-of select=".//address/state"></xsl:value-of>	
																						<xsl:text> </xsl:text>	
																						<xsl:value-of select=".//address/postcode"></xsl:value-of>	
																					</fo:block>		
																				</xsl:otherwise>			
																			</xsl:choose>
																			<fo:block>		
																				<xsl:call-template name="country_ChoiceText">	
																					<xsl:with-param name="country" select=".//address/country"></xsl:with-param>
																				</xsl:call-template>	
																			</fo:block>		
																		</xsl:otherwise>			
																	</xsl:choose>				
																</xsl:when>	
																<!-- 202001 CN address not shown correctly
																<xsl:when test=".//address/country='CN' or .//address/country='TW'">
																	<xsl:choose>
																		<xsl:when test=".//text">
																			<xsl:value-of select="."/>
																		</xsl:when>
																		<xsl:otherwise>
																			<xsl:choose>
																				<xsl:when test="$lang='ko'">
																					<fo:block>
																						<xsl:call-template name="country_ChoiceText">
																							<xsl:with-param name="country" select=".//address/country"/>
																						</xsl:call-template>
																					</fo:block>
																					<fo:block>
																						<xsl:value-of select=".//postcode"/>
																					</fo:block>
																					<xsl:choose>
																						<xsl:when test="not(contains($fop_version, '0.2')) and ($fop_version != '')">
																							<fo:block white-space="pre" wrap-option="wrap">
																								<xsl:value-of select=".//state"/>
																								<xsl:text> </xsl:text>
																								<xsl:value-of select=".//city"/>
																								<xsl:text> </xsl:text>
																								<xsl:value-of select=".//street"/>
																								<xsl:text> </xsl:text>
																								<xsl:value-of select=".//address-1"/>
																							</fo:block>
																						</xsl:when>
																						<xsl:otherwise>
																							<fo:block white-space-collapse="false" wrap-option="wrap">
																								<xsl:value-of select=".//state"/>
																								<xsl:text> </xsl:text>
																								<xsl:value-of select=".//city"/>
																								<xsl:text> </xsl:text>
																								<xsl:value-of select=".//street"/>
																								<xsl:text> </xsl:text>
																								<xsl:value-of select=".//address-1"/>
																							</fo:block>
																						</xsl:otherwise>
																					</xsl:choose>
																				</xsl:when>
																				<xsl:otherwise>
																					<fo:block>
																						<xsl:call-template name="country_ChoiceText">
																							<xsl:with-param name="country" select=".//address/country"/>
																						</xsl:call-template>
																						<xsl:value-of select=".//state"/>
																						<xsl:value-of select=".//city"/>
																					</fo:block>
																					<xsl:if test=".//street">
																						<xsl:choose>
																							<xsl:when test="not(contains($fop_version, '0.2')) and ($fop_version != '')">
																								<fo:block white-space="pre" wrap-option="wrap">
																									<xsl:value-of select=".//street"/>
																								</fo:block>
																							</xsl:when>
																							<xsl:otherwise>
																								<fo:block white-space-collapse="false" wrap-option="wrap">
																									<xsl:value-of select=".//street"/>
																								</fo:block>
																							</xsl:otherwise>
																						</xsl:choose>
																					</xsl:if>
																					<fo:block>
																						<xsl:value-of select=".//postcode"/>
																					</fo:block>
																				</xsl:otherwise>
																			</xsl:choose>
																		</xsl:otherwise>
																	</xsl:choose>
																</xsl:when>
																!-->
																<xsl:when test=".//address/country='FR' or .//address/country='NL' or .//address/country='SE' or .//address/country='CH' or .//address/country='LI'">
																	<xsl:choose>
																		<xsl:when test=".//text">
																			<xsl:value-of select="."></xsl:value-of>
																		</xsl:when>
																		<xsl:otherwise>
																			<xsl:for-each select=".//address/*[not(name(.)='city' or name(.)='postcode' or name(.)='country')]">
																				<xsl:choose>
																					<xsl:when test="not(contains($fop_version, '0.2')) and ($fop_version != '')">
																						<fo:block white-space="pre" wrap-option="wrap">
																							<xsl:value-of select="."></xsl:value-of>
																						</fo:block>
																					</xsl:when>
																					<xsl:otherwise>
																						<fo:block white-space-collapse="false" wrap-option="wrap">
																							<xsl:value-of select="."></xsl:value-of>
																						</fo:block>
																					</xsl:otherwise>
																				</xsl:choose>
																			</xsl:for-each>
																			<fo:block>
																				<xsl:value-of select=".//address/postcode"></xsl:value-of>
																				<xsl:text> </xsl:text>
																				<xsl:value-of select=".//address/city"></xsl:value-of>
																			</fo:block>
																			<fo:block>
																				<xsl:call-template name="country_ChoiceText">
																					<xsl:with-param name="country" select=".//address/country"></xsl:with-param>
																				</xsl:call-template>
																			</fo:block>
																		</xsl:otherwise>
																	</xsl:choose>
																</xsl:when>
																<xsl:when test=".//address/country='RU'">
																	<xsl:choose>
																		<xsl:when test=".//text">
																			<xsl:value-of select="."></xsl:value-of>
																		</xsl:when>
																		<xsl:otherwise>   
																			<xsl:for-each select=".//address/*[not(name(.)='city' or name(.)='postcode' or name(.)='country')]"> 
																				<xsl:choose>
																					<xsl:when test="not(contains($fop_version, '0.2')) and ($fop_version != '')">
																						<fo:block white-space="pre" wrap-option="wrap">
																							<xsl:value-of select="."></xsl:value-of>
																						</fo:block>
																					</xsl:when>
																					<xsl:otherwise>
																						<fo:block white-space-collapse="false" wrap-option="wrap">
																							<xsl:value-of select="."></xsl:value-of>
																						</fo:block>
																					</xsl:otherwise>
																				</xsl:choose>
																			</xsl:for-each>
																			<fo:block>
																				<xsl:value-of select=".//city"></xsl:value-of>
																				<xsl:text> </xsl:text>
																				<xsl:value-of select=".//postcode"></xsl:value-of>
																			</fo:block>
																			<fo:block>
																				<xsl:call-template name="country_ChoiceText">
																					<xsl:with-param name="country" select=".//country"></xsl:with-param>
																				</xsl:call-template>
																			</fo:block>
																		</xsl:otherwise>
																	</xsl:choose>
																</xsl:when>
																<!-- for all others, use European format by default -->
																<xsl:otherwise>
																	<xsl:choose>
																		<xsl:when test=".//text">
																			<xsl:value-of select="."></xsl:value-of>
																		</xsl:when>
																		<xsl:otherwise>
																			<xsl:for-each select=".//address/*[not(name(.)='city' or name(.)='postcode' or name(.)='country')]">
																				<xsl:choose>
																					<xsl:when test="not(contains($fop_version, '0.2')) and ($fop_version != '')">
																						<fo:block white-space="pre" wrap-option="wrap">
																							<xsl:value-of select="."></xsl:value-of>
																						</fo:block>
																					</xsl:when>
																					<xsl:otherwise>
																						<fo:block white-space-collapse="false" wrap-option="wrap">
																							<xsl:value-of select="."></xsl:value-of>
																						</fo:block>
																					</xsl:otherwise>
																				</xsl:choose>
																			</xsl:for-each>
																			<fo:block>
																				<xsl:value-of select=".//postcode"></xsl:value-of>
																				<xsl:text> </xsl:text>
																				<xsl:value-of select=".//city"></xsl:value-of>
																			</fo:block>
																			<fo:block>
																				<xsl:call-template name="country_ChoiceText">
																					<xsl:with-param name="country" select=".//country"></xsl:with-param>
																				</xsl:call-template>
																			</fo:block>
																		</xsl:otherwise>
																	</xsl:choose>
																</xsl:otherwise>
															</xsl:choose>
														</xsl:if>
													</xsl:otherwise>
												</xsl:choose>
												是本国际申请要求保护的主题的发明人
											</fo:inline>
										</fo:block>
									</fo:table-cell>
								</fo:table-row>
							</xsl:for-each>
						</xsl:when>
						<xsl:otherwise>
							<xsl:for-each select=".//addressbook[@lang='ja' or @lang='ko' or @lang='zh' or @lang='ru' or @lang='ar']">
								<xsl:variable name="sibling" select="following-sibling::addressbook[position()=1][@lang='en']"></xsl:variable>
								<fo:table-row>
									<fo:table-cell xsl:use-attribute-sets="tdBorderTop">
										<fo:block></fo:block>
									</fo:table-cell>
									<fo:table-cell xsl:use-attribute-sets="tdTC">
										<fo:block>
											<xsl:choose>
												<xsl:when test="$lang='ja'">
													<xsl:if test=".//address//text()">
														地址
													</xsl:if>
												</xsl:when>
												<xsl:otherwise>
													<xsl:call-template name="nameType">
														<xsl:with-param name="nam" select="./addressbook"></xsl:with-param>
													</xsl:call-template>
												</xsl:otherwise>
											</xsl:choose>
										</fo:block>
									</fo:table-cell>
									<fo:table-cell xsl:use-attribute-sets="tdTR">
										<fo:block padding-top="1pt">
											<fo:inline font-weight="bold">
												<xsl:choose>
													<xsl:when test="$lang='ja'">
														<xsl:if test="./address//text()">
															<fo:block>
																<xsl:value-of select=".//postcode"></xsl:value-of>
															</fo:block>
															<fo:block>
																<xsl:call-template name="country_ChoiceText">
																	<xsl:with-param name="country" select=".//country"></xsl:with-param>
																</xsl:call-template>
															</fo:block>
															<xsl:choose>
																<xsl:when test="not(contains($fop_version, '0.2')) and ($fop_version != '')">
																	<fo:block white-space="pre" wrap-option="wrap">
																		<xsl:value-of select=".//state"></xsl:value-of>
																		<xsl:value-of select=".//city"></xsl:value-of>
																		<xsl:value-of select=".//street"></xsl:value-of>
																		<xsl:value-of select=".//address-1"></xsl:value-of>
																		<xsl:if test=".//address-2">
																			<fo:block white-space="pre" wrap-option="wrap">
																				<xsl:value-of select=".//address-2"></xsl:value-of>
																			</fo:block>
																		</xsl:if>
																		<xsl:if test=".//address-3">
																			<fo:block white-space="pre" wrap-option="wrap">
																				<xsl:value-of select=".//address-3"></xsl:value-of>
																			</fo:block>
																		</xsl:if>
																	</fo:block>
																</xsl:when>
																<xsl:otherwise>
																	<fo:block white-space-collapse="false" wrap-option="wrap">
																		<xsl:value-of select=".//state"></xsl:value-of>
																		<xsl:value-of select=".//city"></xsl:value-of>
																		<xsl:value-of select=".//street"></xsl:value-of>
																		<xsl:value-of select=".//address-1"></xsl:value-of>
																		<xsl:if test=".//address-2">
																			<fo:block white-space-collapse="false" wrap-option="wrap">
																				<xsl:value-of select=".//address-2"></xsl:value-of>
																			</fo:block>
																		</xsl:if>
																		<xsl:if test=".//address-3">
																			<fo:block white-space-collapse="false" wrap-option="wrap">
																				<xsl:value-of select=".//address-3"></xsl:value-of>
																			</fo:block>
																		</xsl:if>
																	</fo:block>
																</xsl:otherwise>
															</xsl:choose>
															<fo:block></fo:block>
															<xsl:text>在住の</xsl:text>
														</xsl:if>
													</xsl:when>
													<xsl:when test="$lang='zh'">
														<xsl:call-template name="format_name">
															<xsl:with-param name="name_arg" select="."></xsl:with-param>
														</xsl:call-template>
														<xsl:if test="./address//text()">
															<xsl:text> 住在</xsl:text>
														</xsl:if>
													</xsl:when>
													<xsl:when test="$lang='fr' or $lang='ru' or $lang='ko' or $lang='pt'">
														<xsl:call-template name="format_name">
															<xsl:with-param name="name_arg" select="."></xsl:with-param>
														</xsl:call-template>
													</xsl:when>
													<xsl:otherwise>
														<xsl:choose>
															<xsl:when test="./address//text()">
																<xsl:choose>
																	<xsl:when test="$lang = 'de'">
																		<xsl:call-template name="format_name">
																			<xsl:with-param name="name_arg" select="."></xsl:with-param>
																			<xsl:with-param name="showOf" select="1"></xsl:with-param>
																		</xsl:call-template>
																	</xsl:when>
																	<xsl:otherwise>
																		<xsl:call-template name="format_name">
																			<xsl:with-param name="name_arg" select="."></xsl:with-param>
																			<xsl:with-param name="showOf" select="1"></xsl:with-param>
																		</xsl:call-template>
																	</xsl:otherwise>
																</xsl:choose>
															</xsl:when>
															<xsl:otherwise>
																<xsl:call-template name="format_name">
																	<xsl:with-param name="name_arg" select="."></xsl:with-param>
																</xsl:call-template>
															</xsl:otherwise>
														</xsl:choose>
													</xsl:otherwise>
												</xsl:choose>
											</fo:inline>
										</fo:block>
									</fo:table-cell>
								</fo:table-row>
								<!-- 2018.03.09 Transliteration address for Declaration (i) for non-latin language -->
								<xsl:if test="following-sibling::addressbook[position()=1][@lang='en']">
									<fo:table-row>
										<fo:table-cell>
											<fo:block></fo:block>
										</fo:table-cell>
										<fo:table-cell xsl:use-attribute-sets="tdC">
											<fo:block>
												<xsl:choose>
													<xsl:when test="$lang='ja'">
														<xsl:if test=".//address//text()">
															Address:
														</xsl:if>
													</xsl:when>
													<xsl:when test="$lang='ar'">
														<fo:table>
															<fo:table-column column-width="2mm"></fo:table-column>
															<fo:table-column column-width="24mm"></fo:table-column>
															<fo:table-column column-width="27mm"></fo:table-column>
															<fo:table-body>
																<fo:table-row>
																	<fo:table-cell text-align="left">
																		<fo:block>(</fo:block>
																	</fo:table-cell>
																	<fo:table-cell>
																		<fo:block>Name (LAST, First</fo:block>
																	</fo:table-cell>
																	<fo:table-cell>
																		<fo:block>:</fo:block>
																	</fo:table-cell>
																</fo:table-row>
															</fo:table-body>
														</fo:table>
													</xsl:when>
													<xsl:otherwise>
														Name (LAST, First):
													</xsl:otherwise>
												</xsl:choose>
											</fo:block>
										</fo:table-cell>
										<fo:table-cell xsl:use-attribute-sets="tdR">
											<fo:block padding-top="1pt">
												<fo:inline font-weight="bold">
													<xsl:choose>
														<xsl:when test="$lang='ja'">
															<xsl:if test="$sibling//address//text()">
																<xsl:call-template name="showEnAddress">
																	<xsl:with-param name="address_arg" select="$sibling"></xsl:with-param>																	
																</xsl:call-template>
															</xsl:if>
														</xsl:when>
														<xsl:when test="$lang='zh' or $lang='ru' or $lang='ko' or $lang='ar'">
															<xsl:call-template name="format_name">
																<xsl:with-param name="name_arg" select="$sibling"></xsl:with-param>
															</xsl:call-template>
														</xsl:when>
													</xsl:choose>
												</fo:inline>
											</fo:block>
										</fo:table-cell>
									</fo:table-row>
								</xsl:if>
								<fo:table-row>
									<fo:table-cell>
										<fo:block></fo:block>
									</fo:table-cell>
									<fo:table-cell xsl:use-attribute-sets="tdC">
										<fo:block>
											<xsl:choose>
												<xsl:when test="$lang='ja'">
													<xsl:call-template name="nameType">
														<xsl:with-param name="nam" select="./addressbook"></xsl:with-param>
													</xsl:call-template>
												</xsl:when>
												<xsl:otherwise>
													<xsl:if test=".//address//text()">
														地址
													</xsl:if>
												</xsl:otherwise>
											</xsl:choose>
										</fo:block>
									</fo:table-cell>
									<fo:table-cell xsl:use-attribute-sets="tdR">
										<fo:block padding-top="1pt">
											<fo:inline font-weight="bold">
												<xsl:choose>
													<xsl:when test="$lang='ja'">
														<xsl:call-template name="format_name">
															<xsl:with-param name="name_arg" select="."></xsl:with-param>
														</xsl:call-template>
														<fo:block></fo:block>
													</xsl:when>
													<xsl:otherwise>
														<xsl:if test="./address//text()">
															<xsl:choose>
																<xsl:when test=".//address/country='US' or .//address/country='CA'">
																	<xsl:choose>
																		<xsl:when test=".//text">
																			<xsl:value-of select="."></xsl:value-of>
																		</xsl:when>
																		<xsl:when test="$lang='zh'">
																			<!-- US and CA address in Chinese Request Case-->
																			<fo:block>
																				<xsl:call-template name="country_ChoiceText">
																					<xsl:with-param name="country" select=".//address/country"></xsl:with-param>
																				</xsl:call-template>
																			</fo:block>
																			<xsl:choose>
																				<xsl:when test="not(contains($fop_version, '0.2')) and ($fop_version != '')">
																					<fo:block white-space="pre" wrap-option="wrap">
																						<xsl:value-of select=".//state"></xsl:value-of>
																						<xsl:text> </xsl:text>
																						<xsl:value-of select=".//city"></xsl:value-of>
																						<xsl:text> </xsl:text>
																						<xsl:value-of select=".//street"></xsl:value-of>
																						<xsl:text> </xsl:text>
																					</fo:block>
																				</xsl:when>
																				<xsl:otherwise>
																					<fo:block white-space-collapse="false" wrap-option="wrap">															
																						<xsl:value-of select=".//state"></xsl:value-of>
																						<xsl:text> </xsl:text>
																						<xsl:value-of select=".//city"></xsl:value-of>
																						<xsl:text> </xsl:text>
																						<xsl:value-of select=".//street"></xsl:value-of>
																						<xsl:text> </xsl:text>
																					</fo:block>
																				</xsl:otherwise>
																			</xsl:choose>
																			<fo:block>
																				<xsl:value-of select=".//postcode"></xsl:value-of>
																			</fo:block>
																		</xsl:when>
																		<xsl:otherwise>
																			<xsl:for-each select=".//address/*">
																				<xsl:choose>
																					<xsl:when test="name(.)='city'">
																						<xsl:value-of select="."></xsl:value-of>
																						<xsl:text>, </xsl:text>
																					</xsl:when>
																					<xsl:when test="name(.)='state'">
																						<xsl:value-of select="."></xsl:value-of>
																						<xsl:text> </xsl:text>
																					</xsl:when>
																					<xsl:when test="name(.)='postcode'">
																						<xsl:value-of select="."></xsl:value-of>
																						<xsl:text> </xsl:text>
																					</xsl:when>
																					<xsl:when test="name(.)='country'">
																						<fo:block>
																							<xsl:call-template name="country_ChoiceText">
																								<xsl:with-param name="country" select="."></xsl:with-param>
																							</xsl:call-template>
																						</fo:block>
																					</xsl:when>
																					<xsl:otherwise>
																						<xsl:choose>
																							<xsl:when test="not(contains($fop_version, '0.2')) and ($fop_version != '')">
																								<fo:block white-space="pre" wrap-option="wrap">
																									<xsl:value-of select="."></xsl:value-of>
																								</fo:block>
																							</xsl:when>
																							<xsl:otherwise>
																								<fo:block white-space-collapse="false" wrap-option="wrap">															
																									<xsl:value-of select="."></xsl:value-of>   
																								</fo:block>
																							</xsl:otherwise>
																						</xsl:choose>
																					</xsl:otherwise>
																				</xsl:choose>
																			</xsl:for-each>
																		</xsl:otherwise>
																	</xsl:choose>
																</xsl:when>
																<xsl:when test=".//address/country='DE'">
																	<xsl:choose>
																		<xsl:when test=".//text">
																			<xsl:value-of select="."></xsl:value-of>
																		</xsl:when>
																		<xsl:otherwise>
																			<xsl:for-each select=".//address/*[not(name(.)='city' or name(.)='postcode' or name(.)='country')]">
																				<fo:block>
																					<xsl:choose>
																						<xsl:when test="not(contains($fop_version, '0.2')) and ($fop_version != '')">
																							<fo:block white-space="pre" wrap-option="wrap">
																								<xsl:value-of select="."></xsl:value-of>
																							</fo:block>
																						</xsl:when>
																						<xsl:otherwise>
																							<fo:block white-space-collapse="false" wrap-option="wrap">															
																								<xsl:value-of select="."></xsl:value-of>   
																							</fo:block>
																						</xsl:otherwise>
																					</xsl:choose>
																				</fo:block>
																			</xsl:for-each>
																			<fo:block>
																				<xsl:value-of select=".//address/postcode"></xsl:value-of>
																				<xsl:text> </xsl:text>
																				<xsl:value-of select=".//address/city"></xsl:value-of>
																			</fo:block>
																			<fo:block>
																				<xsl:call-template name="country_ChoiceText">
																					<xsl:with-param name="country" select=".//address/country"></xsl:with-param>
																				</xsl:call-template>
																			</fo:block>
																		</xsl:otherwise>
																	</xsl:choose>
																</xsl:when>
																<!-- TODO: determine JA markup -->
																<xsl:when test=".//address/country='JP'">
																	<xsl:choose>
																		<xsl:when test=".//text">
																			<xsl:value-of select="."></xsl:value-of>
																		</xsl:when>
																		<xsl:when test="(.//address/state) or (.//address/city) or (.//address/street)">
																			<!-- Japanese address in Korean or Chinese Request Case-->
																			<xsl:choose>
																				<xsl:when test="$lang='ko'">
																					<fo:block>
																						<xsl:call-template name="country_ChoiceText">
																							<xsl:with-param name="country" select=".//address/country"></xsl:with-param>
																						</xsl:call-template>
																					</fo:block>
																					<fo:block>
																						<xsl:value-of select=".//postcode"></xsl:value-of>
																					</fo:block>
																					<xsl:choose>
																						<xsl:when test="not(contains($fop_version, '0.2')) and ($fop_version != '')">
																							<fo:block white-space="pre" wrap-option="wrap">
																								<xsl:value-of select=".//state"></xsl:value-of>
																								<xsl:text> </xsl:text>
																								<xsl:value-of select=".//city"></xsl:value-of>
																								<xsl:text> </xsl:text>
																								<xsl:value-of select=".//street"></xsl:value-of>
																								<xsl:text> </xsl:text>
																								<xsl:value-of select=".//address-1"></xsl:value-of>
																								<xsl:if test=".//address-2">
																									<xsl:text> </xsl:text>
																									<xsl:value-of select=".//address-2"></xsl:value-of>
																								</xsl:if>
																								<xsl:if test=".//address-3">
																									<xsl:text> </xsl:text>
																									<xsl:value-of select=".//address-3"></xsl:value-of>
																								</xsl:if>
																							</fo:block>
																						</xsl:when>
																						<xsl:otherwise>
																							<fo:block white-space-collapse="false" wrap-option="wrap">															
																								<xsl:value-of select=".//state"></xsl:value-of>
																								<xsl:text> </xsl:text>
																								<xsl:value-of select=".//city"></xsl:value-of>
																								<xsl:text> </xsl:text>
																								<xsl:value-of select=".//street"></xsl:value-of>
																								<xsl:text> </xsl:text>
																								<xsl:value-of select=".//address-1"></xsl:value-of>
																								<xsl:if test=".//address-2">
																									<xsl:text> </xsl:text>
																									<xsl:value-of select=".//address-2"></xsl:value-of>
																								</xsl:if>
																								<xsl:if test=".//address-3">
																									<xsl:text> </xsl:text>
																									<xsl:value-of select=".//address-3"></xsl:value-of>
																								</xsl:if>
																							</fo:block>
																						</xsl:otherwise>
																					</xsl:choose>
																				</xsl:when>
																				<xsl:otherwise>
																					<fo:block>
																						<xsl:call-template name="country_ChoiceText">
																							<xsl:with-param name="country" select=".//address/country"></xsl:with-param>
																						</xsl:call-template>
																					</fo:block>
																					<xsl:choose>
																						<xsl:when test="not(contains($fop_version, '0.2')) and ($fop_version != '')">
																							<fo:block white-space="pre" wrap-option="wrap">
																								<xsl:value-of select=".//state"></xsl:value-of>
																								<xsl:text> </xsl:text>
																								<xsl:value-of select=".//city"></xsl:value-of>
																								<xsl:text> </xsl:text>
																								<xsl:value-of select=".//street"></xsl:value-of>
																								<xsl:text> </xsl:text>
																							</fo:block>
																						</xsl:when>
																						<xsl:otherwise>
																							<fo:block white-space-collapse="false" wrap-option="wrap">															
																								<xsl:value-of select=".//state"></xsl:value-of>
																								<xsl:text> </xsl:text>
																								<xsl:value-of select=".//city"></xsl:value-of>
																								<xsl:text> </xsl:text>
																								<xsl:value-of select=".//street"></xsl:value-of>
																								<xsl:text> </xsl:text>
																							</fo:block>
																						</xsl:otherwise>
																					</xsl:choose>
																					<fo:block>
																						<xsl:value-of select=".//postcode"></xsl:value-of>
																					</fo:block>
																				</xsl:otherwise>
																			</xsl:choose>
																		</xsl:when>
																		<xsl:otherwise>
																			<xsl:choose>
																				<xsl:when test="not(contains($fop_version, '0.2')) and ($fop_version != '')">
																					<fo:block white-space="pre" wrap-option="wrap">
																					<xsl:value-of select=".//address-1"></xsl:value-of>
																					</fo:block>
																				</xsl:when>
																				<xsl:otherwise>
																					<fo:block white-space-collapse="false" wrap-option="wrap">															
																						<xsl:value-of select=".//address-1"></xsl:value-of>
																					</fo:block>
																				</xsl:otherwise>
																			</xsl:choose>
																			<fo:block>
																				<xsl:value-of select=".//postcode"></xsl:value-of>
																			</fo:block>
																			<fo:block>
																				<xsl:call-template name="country_ChoiceText">
																					<xsl:with-param name="country" select=".//address/country"></xsl:with-param>
																				</xsl:call-template>
																			</fo:block>
																		</xsl:otherwise>
																	</xsl:choose>
																</xsl:when>
																<xsl:when test=".//address/country='GB'">
																	<xsl:choose>
																		<xsl:when test=".//text">
																			<xsl:value-of select="."></xsl:value-of>
																		</xsl:when>
																		<xsl:otherwise>
																			<xsl:for-each select=".//address/*">
																				<xsl:choose>
																					<xsl:when test="name(.)='postcode'">
																						<xsl:value-of select="."></xsl:value-of>
																					</xsl:when>
																					<xsl:when test="name(.)='city'">
																						<xsl:value-of select="."></xsl:value-of>
																					</xsl:when>
																					<xsl:when test="name(.)='country'">
																						<fo:block>
																							<xsl:call-template name="country_ChoiceText">
																								<xsl:with-param name="country" select="."></xsl:with-param>
																							</xsl:call-template>
																						</fo:block>
																					</xsl:when>
																					<xsl:otherwise>
																						<xsl:choose>
																							<xsl:when test="not(contains($fop_version, '0.2')) and ($fop_version != '')">
																								<fo:block white-space="pre" wrap-option="wrap">
																									<xsl:value-of select="."></xsl:value-of>
																								</fo:block>
																							</xsl:when>
																							<xsl:otherwise>
																								<fo:block white-space-collapse="false" wrap-option="wrap">															
																									<xsl:value-of select="."></xsl:value-of>   
																								</fo:block>
																							</xsl:otherwise>
																						</xsl:choose>
																					</xsl:otherwise>
																				</xsl:choose>
																			</xsl:for-each>
																		</xsl:otherwise>
																	</xsl:choose>
																</xsl:when>
																<xsl:when test=".//address/country='KR'">
																	<xsl:choose>
																		<xsl:when test=".//text">
																			<xsl:value-of select="."></xsl:value-of>
																		</xsl:when>
																		<xsl:otherwise>
																			<fo:block>
																				<xsl:call-template name="country_ChoiceText">
																					<xsl:with-param name="country" select=".//address/country"></xsl:with-param>
																				</xsl:call-template>
																			</fo:block>
																			<fo:block>
																				<xsl:value-of select=".//postcode"></xsl:value-of>
																			</fo:block>
																				<xsl:choose>
																					<xsl:when test="not(contains($fop_version, '0.2')) and ($fop_version != '')">
																						<fo:block white-space="pre" wrap-option="wrap">
																							<xsl:value-of select=".//state"></xsl:value-of>
																							<xsl:text> </xsl:text>
																							<xsl:value-of select=".//city"></xsl:value-of>
																							<xsl:text> </xsl:text>
																							<xsl:value-of select=".//street"></xsl:value-of>
																							<xsl:text> </xsl:text>
																							<xsl:value-of select=".//address-1"></xsl:value-of>
																							<xsl:if test=".//address-2">
																								<xsl:text> </xsl:text>
																								<xsl:value-of select=".//address-2"></xsl:value-of>
																							</xsl:if>
																							<xsl:if test=".//address-3">
																								<xsl:text> </xsl:text>
																								<xsl:value-of select=".//address-3"></xsl:value-of>
																							</xsl:if>
																						</fo:block>
																					</xsl:when>
																					<xsl:otherwise>
																						<fo:block white-space-collapse="false" wrap-option="wrap">															
																							<xsl:value-of select=".//state"></xsl:value-of>
																							<xsl:text> </xsl:text>
																							<xsl:value-of select=".//city"></xsl:value-of>
																							<xsl:text> </xsl:text>
																							<xsl:value-of select=".//street"></xsl:value-of>
																							<xsl:text> </xsl:text>
																							<xsl:value-of select=".//address-1"></xsl:value-of>
																							<xsl:if test=".//address-2">
																								<xsl:text> </xsl:text>
																								<xsl:value-of select=".//address-2"></xsl:value-of>
																							</xsl:if>
																							<xsl:if test=".//address-3">
																								<xsl:text> </xsl:text>
																								<xsl:value-of select=".//address-3"></xsl:value-of>
																							</xsl:if>
																						</fo:block>
																					</xsl:otherwise>
																				</xsl:choose>
																		</xsl:otherwise>
																	</xsl:choose>
																</xsl:when>
																<xsl:when test=".//address/country='CN' or .//address/country='TW'">			
																	<xsl:choose>			
																		<xsl:when test=".//text">		
																			<xsl:value-of select="."></xsl:value-of>
																		</xsl:when>		
																		<xsl:when test="$lang='zh'"> <!-- for when the stylesheet does not use "showZhAddress" for Chinese address -->
																			<fo:block>
																				<xsl:call-template name="country_ChoiceText">	
																					<xsl:with-param name="country" select=".//address/country"></xsl:with-param>
																				</xsl:call-template>
																				<xsl:value-of select=".//address/state"></xsl:value-of>
																					<xsl:value-of select=".//address/city"></xsl:value-of>
																			</fo:block>
																			<xsl:choose>
																				<xsl:when test="not(contains($fop_version, '0.2')) and ($fop_version != '')">
																					<fo:block white-space="pre" wrap-option="wrap">
																						<xsl:value-of select=".//address/street"></xsl:value-of>
																						<xsl:value-of select=".//address/address-1"></xsl:value-of>
																						<xsl:value-of select=".//address/address-2"></xsl:value-of>
																						<xsl:value-of select=".//address/address-3"></xsl:value-of>
																					</fo:block>
																				</xsl:when>
																				<xsl:otherwise>
																					<fo:block white-space-collapse="false" wrap-option="wrap">															
																						<xsl:value-of select=".//address/street"></xsl:value-of>
																						<xsl:value-of select=".//address/address-1"></xsl:value-of>
																						<xsl:value-of select=".//address/address-2"></xsl:value-of>
																						<xsl:value-of select=".//address/address-3"></xsl:value-of>
																					</fo:block>
																				</xsl:otherwise>
																			</xsl:choose>
																			<fo:block>
																				<xsl:value-of select=".//address/postcode"></xsl:value-of>
																			</fo:block>					
																		</xsl:when>
																		<xsl:when test="$lang='ru'">
																			<fo:block>
																				<xsl:call-template name="country_ChoiceText">
																					<xsl:with-param name="country" select=".//address/country"></xsl:with-param>
																				</xsl:call-template>
																				<xsl:value-of select=".//address/state"></xsl:value-of>
																				<xsl:value-of select=".//address/city"></xsl:value-of>
																			</fo:block>
																			<xsl:choose>
																				<xsl:when test="not(contains($fop_version, '0.2')) and ($fop_version != '')">
																					<fo:block white-space="pre" wrap-option="wrap">
																						<xsl:value-of select=".//address/street"></xsl:value-of>
																						<xsl:value-of select=".//address/address-1"></xsl:value-of>
																						<xsl:value-of select=".//address/address-2"></xsl:value-of>
																						<xsl:value-of select=".//address/address-3"></xsl:value-of>
																					</fo:block>
																				</xsl:when>
																				<xsl:otherwise>
																					<fo:block white-space-collapse="false" wrap-option="wrap">															
																						<xsl:value-of select=".//address/street"></xsl:value-of>
																						<xsl:value-of select=".//address/address-1"></xsl:value-of>
																						<xsl:value-of select=".//address/address-2"></xsl:value-of>
																						<xsl:value-of select=".//address/address-3"></xsl:value-of>
																					</fo:block>
																				</xsl:otherwise>
																			</xsl:choose>
																			<fo:block>
																				<xsl:value-of select=".//address/postcode"></xsl:value-of>
																			</fo:block>
																		</xsl:when>
																		<xsl:when test="$lang='ko'">
																			<fo:block>
																				<xsl:call-template name="country_ChoiceText">
																					<xsl:with-param name="country" select=".//address/country"></xsl:with-param>
																				</xsl:call-template>
																			</fo:block>
																			<fo:block>
																				<xsl:value-of select=".//address/postcode"></xsl:value-of>
																			</fo:block>
																			<xsl:choose>
																				<xsl:when test="not(contains($fop_version, '0.2')) and ($fop_version != '')">
																					<fo:block white-space="pre" wrap-option="wrap">
																						<xsl:if test=".//address/state">   
																							<xsl:value-of select=".//address/state"></xsl:value-of>
																							<xsl:text> </xsl:text>
																						</xsl:if>
																						<xsl:if test=".//address/city">
																							<xsl:value-of select=".//address/city"></xsl:value-of>
																							<xsl:text> </xsl:text>
																						</xsl:if>
																						<xsl:if test=".//address/street">
																							<xsl:value-of select=".//address/street"></xsl:value-of>
																							<xsl:text> </xsl:text>
																						</xsl:if>
																						<xsl:if test=".//address/address-1">
																							<xsl:value-of select=".//address/address-1"></xsl:value-of>
																						</xsl:if>
																						<xsl:if test=".//address/address-2">
																							<xsl:text> </xsl:text>
																							<xsl:value-of select=".//address/address-2"></xsl:value-of>
																						</xsl:if>
																						<xsl:if test=".//address/address-3">
																							<xsl:text> </xsl:text>
																							<xsl:value-of select=".//address/address-3"></xsl:value-of>
																						</xsl:if>
																					</fo:block>
																				</xsl:when>
																				<xsl:otherwise>
																					<fo:block white-space-collapse="false" wrap-option="wrap">															
																						<xsl:if test=".//address/state">   
																							<xsl:value-of select=".//address/state"></xsl:value-of>
																							<xsl:text> </xsl:text>
																						</xsl:if>
																						<xsl:if test=".//address/city">
																							<xsl:value-of select=".//address/city"></xsl:value-of>
																							<xsl:text> </xsl:text>
																						</xsl:if>
																						<xsl:if test=".//address/street">
																							<xsl:value-of select=".//address/street"></xsl:value-of>
																							<xsl:text> </xsl:text>
																						</xsl:if>
																						<xsl:if test=".//address/address-1">
																							<xsl:value-of select=".//address/address-1"></xsl:value-of>
																						</xsl:if>
																						<xsl:if test=".//address/address-2">
																							<xsl:text> </xsl:text>
																							<xsl:value-of select=".//address/address-2"></xsl:value-of>
																						</xsl:if>
																						<xsl:if test=".//address/address-3">
																							<xsl:text> </xsl:text>
																							<xsl:value-of select=".//address/address-3"></xsl:value-of>
																						</xsl:if>
																					</fo:block>
																				</xsl:otherwise>
																			</xsl:choose>
																		</xsl:when>
																		<xsl:otherwise>		
																			<xsl:for-each select=".//address/*[not(name(.)='street' or name(.)='city' or name(.)='state' or name(.)='postcode' or name(.)='country')]"> 	
																				<xsl:choose>
																					<xsl:when test="not(contains($fop_version, '0.2')) and ($fop_version != '')">
																						<fo:block white-space="pre" wrap-option="wrap">
																							<xsl:value-of select="."></xsl:value-of>
																						</fo:block>
																					</xsl:when>
																					<xsl:otherwise>
																						<fo:block white-space-collapse="false" wrap-option="wrap">															
																							<xsl:value-of select="."></xsl:value-of>
																						</fo:block>
																					</xsl:otherwise>
																				</xsl:choose>
																			</xsl:for-each>		
																			<xsl:if test=".//address/street">
																				<xsl:choose>
																					<xsl:when test="not(contains($fop_version, '0.2')) and ($fop_version != '')">
																						<fo:block white-space="pre" wrap-option="wrap">
																							<xsl:value-of select=".//address/street"></xsl:value-of>	
																							<xsl:text> </xsl:text>
																						</fo:block>
																					</xsl:when>
																					<xsl:otherwise>
																						<fo:block white-space-collapse="false" wrap-option="wrap">															
																							<xsl:value-of select=".//address/street"></xsl:value-of>	
																							<xsl:text> </xsl:text>
																						</fo:block>
																					</xsl:otherwise>
																				</xsl:choose>
																			</xsl:if>
																			<xsl:choose>
																				<xsl:when test=".//address/city">
																					<fo:block>		
																						<xsl:value-of select=".//address/city"></xsl:value-of>
																						<xsl:text>, </xsl:text>	
																						<xsl:value-of select=".//address/state"></xsl:value-of>	
																						<xsl:text> </xsl:text>	
																						<xsl:value-of select=".//address/postcode"></xsl:value-of>	
																					</fo:block>		
																				</xsl:when>
																				<xsl:otherwise>		
																					<fo:block>		
																						<xsl:value-of select=".//address/state"></xsl:value-of>	
																						<xsl:text> </xsl:text>	
																						<xsl:value-of select=".//address/postcode"></xsl:value-of>	
																					</fo:block>		
																				</xsl:otherwise>			
																			</xsl:choose>
																			<fo:block>		
																				<xsl:call-template name="country_ChoiceText">	
																					<xsl:with-param name="country" select=".//address/country"></xsl:with-param>
																				</xsl:call-template>	
																			</fo:block>		
																		</xsl:otherwise>			
																	</xsl:choose>				
																</xsl:when>	
																<!-- 202001 CN address not shown correctly
																<xsl:when test=".//address/country='CN' or .//address/country='TW'">
																	<xsl:choose>
																		<xsl:when test=".//text">
																			<xsl:value-of select="."/>
																		</xsl:when>
																		<xsl:otherwise>
																			<xsl:choose>
																				<xsl:when test="$lang='ko'">
																					<fo:block>
																						<xsl:call-template name="country_ChoiceText">
																							<xsl:with-param name="country" select=".//address/country"/>
																						</xsl:call-template>
																					</fo:block>
																					<fo:block>
																						<xsl:value-of select=".//postcode"/>
																					</fo:block>
																					<xsl:choose>
																						<xsl:when test="not(contains($fop_version, '0.2')) and ($fop_version != '')">
																							<fo:block white-space="pre" wrap-option="wrap">
																								<xsl:value-of select=".//state"/>
																								<xsl:text> </xsl:text>
																								<xsl:value-of select=".//city"/>
																								<xsl:text> </xsl:text>
																								<xsl:value-of select=".//street"/>
																								<xsl:text> </xsl:text>
																								<xsl:value-of select=".//address-1"/>
																							</fo:block>
																						</xsl:when>
																						<xsl:otherwise>
																							<fo:block white-space-collapse="false" wrap-option="wrap">															
																								<xsl:value-of select=".//state"/>
																								<xsl:text> </xsl:text>
																								<xsl:value-of select=".//city"/>
																								<xsl:text> </xsl:text>
																								<xsl:value-of select=".//street"/>
																								<xsl:text> </xsl:text>
																								<xsl:value-of select=".//address-1"/>
																							</fo:block>
																						</xsl:otherwise>
																					</xsl:choose>
																				</xsl:when>
																				<xsl:otherwise>
																					<fo:block>
																						<xsl:choose>
																							<xsl:when test="$lang='zh'">
																								<xsl:variable name="country_name">
																									<xsl:call-template name="country_ChoiceText">
																										<xsl:with-param name="country" select=".//address/country"/>
																									</xsl:call-template>
																								</xsl:variable>
																								<xsl:value-of select="normalize-space($country_name)"></xsl:value-of>
																							</xsl:when>
																							<xsl:otherwise>
																								<xsl:call-template name="country_ChoiceText">
																									<xsl:with-param name="country" select=".//address/country"></xsl:with-param>
																								</xsl:call-template>
																							</xsl:otherwise>
																						</xsl:choose>
																						<xsl:value-of select=".//state"/>
																						<xsl:value-of select=".//city"/>
																					</fo:block>
																					<xsl:if test=".//street">
																						<xsl:choose>
																							<xsl:when test="not(contains($fop_version, '0.2')) and ($fop_version != '')">
																								<fo:block white-space="pre" wrap-option="wrap">
																									<xsl:value-of select=".//street"/>
																								</fo:block>
																							</xsl:when>
																							<xsl:otherwise>
																								<fo:block white-space-collapse="false" wrap-option="wrap">															
																									<xsl:value-of select=".//street"/>
																								</fo:block>
																							</xsl:otherwise>
																						</xsl:choose>
																					</xsl:if>
																					<fo:block>
																						<xsl:value-of select=".//postcode"/>
																					</fo:block>
																				</xsl:otherwise>
																			</xsl:choose>
																		</xsl:otherwise>
																	</xsl:choose>
																</xsl:when> !-->
																<xsl:when test=".//address/country='FR' or .//address/country='NL' or .//address/country='SE' or .//address/country='CH' or .//address/country='LI'">
																	<xsl:choose>
																		<xsl:when test=".//text">
																			<xsl:value-of select="."></xsl:value-of>
																		</xsl:when>
																		<xsl:otherwise>
																			<xsl:for-each select=".//address/*[not(name(.)='city' or name(.)='postcode' or name(.)='country')]">
																				<xsl:choose>
																					<xsl:when test="not(contains($fop_version, '0.2')) and ($fop_version != '')">
																						<fo:block white-space="pre" wrap-option="wrap">
																							<xsl:value-of select="."></xsl:value-of>
																						</fo:block>
																					</xsl:when>
																					<xsl:otherwise>
																						<fo:block white-space-collapse="false" wrap-option="wrap">															
																							<xsl:value-of select="."></xsl:value-of>   
																						</fo:block>
																					</xsl:otherwise>
																				</xsl:choose>
																			</xsl:for-each>
																			<fo:block>
																				<xsl:value-of select=".//address/postcode"></xsl:value-of>
																				<xsl:text> </xsl:text>
																				<xsl:value-of select=".//address/city"></xsl:value-of>
																			</fo:block>
																			<fo:block>
																				<xsl:call-template name="country_ChoiceText">
																					<xsl:with-param name="country" select=".//address/country"></xsl:with-param>
																				</xsl:call-template>
																			</fo:block>
																		</xsl:otherwise>
																	</xsl:choose>
																</xsl:when>
																<xsl:when test=".//address/country='RU'">
																	<xsl:choose>
																		<xsl:when test=".//text">
																			<xsl:value-of select="."></xsl:value-of>
																		</xsl:when>
																		<xsl:otherwise>   
																			<xsl:for-each select=".//address/*[not(name(.)='city' or name(.)='postcode' or name(.)='country')]"> 
																				<xsl:choose>
																					<xsl:when test="not(contains($fop_version, '0.2')) and ($fop_version != '')">
																						<fo:block white-space="pre" wrap-option="wrap">
																							<xsl:value-of select="."></xsl:value-of>
																						</fo:block>
																					</xsl:when>
																					<xsl:otherwise>
																						<fo:block white-space-collapse="false" wrap-option="wrap">
																							<xsl:value-of select="."></xsl:value-of>
																						</fo:block>
																					</xsl:otherwise>
																				</xsl:choose>
																			</xsl:for-each>
																			<fo:block>
																				<xsl:value-of select=".//city"></xsl:value-of>
																				<xsl:text> </xsl:text>
																				<xsl:value-of select=".//postcode"></xsl:value-of>
																			</fo:block>
																			<fo:block>
																				<xsl:call-template name="country_ChoiceText">
																					<xsl:with-param name="country" select=".//country"></xsl:with-param>
																				</xsl:call-template>
																			</fo:block>
																		</xsl:otherwise>
																	</xsl:choose>
																</xsl:when>
																<!-- for all others, use European format by default -->
																<xsl:otherwise>
																	<xsl:choose>
																		<xsl:when test=".//text">
																			<xsl:value-of select="."></xsl:value-of>
																		</xsl:when>
																		<xsl:otherwise>
																			<xsl:for-each select=".//address/*[not(name(.)='city' or name(.)='postcode' or name(.)='country')]">
																				<xsl:choose>
																					<xsl:when test="not(contains($fop_version, '0.2')) and ($fop_version != '')">
																						<fo:block white-space="pre" wrap-option="wrap">
																							<xsl:value-of select="."></xsl:value-of>
																						</fo:block>
																					</xsl:when>
																					<xsl:otherwise>
																						<fo:block white-space-collapse="false" wrap-option="wrap">															
																							<xsl:value-of select="."></xsl:value-of>   
																						</fo:block>
																					</xsl:otherwise>
																				</xsl:choose>
																			</xsl:for-each>
																			<fo:block>
																				<xsl:value-of select=".//postcode"></xsl:value-of>
																				<xsl:text> </xsl:text>
																				<xsl:value-of select=".//city"></xsl:value-of>
																			</fo:block>
																			<fo:block>
																				<xsl:call-template name="country_ChoiceText">
																					<xsl:with-param name="country" select=".//country"></xsl:with-param>
																				</xsl:call-template>
																			</fo:block>
																		</xsl:otherwise>
																	</xsl:choose>
																</xsl:otherwise>
															</xsl:choose>
														</xsl:if>
													</xsl:otherwise>
												</xsl:choose>
											</fo:inline>
										</fo:block>
									</fo:table-cell>
								</fo:table-row>
								<!-- 2018.03.09 Transliteration address for Declaration (i) for non-latin language -->
								<xsl:if test="following-sibling::addressbook[position()=1][@lang='en']">
									<fo:table-row>
										<fo:table-cell>
											<fo:block></fo:block>
										</fo:table-cell>
										<fo:table-cell xsl:use-attribute-sets="tdC">
											<fo:block>
												<xsl:choose>
													<xsl:when test="$lang='ja'">
														Name (LAST, First):
													</xsl:when>
													<xsl:otherwise>
														<xsl:if test=".//address//text()">
															Address:
														</xsl:if>
													</xsl:otherwise>
												</xsl:choose>
											</fo:block>
										</fo:table-cell>
										<fo:table-cell xsl:use-attribute-sets="tdR">
											<fo:block padding-top="1pt">
												<fo:inline font-weight="bold">
													<xsl:choose>
														<xsl:when test="$lang='ja'">
															<xsl:call-template name="format_name">
																<xsl:with-param name="name_arg" select="$sibling"></xsl:with-param>
															</xsl:call-template>
															<fo:block></fo:block>
														</xsl:when>
														<xsl:otherwise>
															<xsl:if test="./address//text()">
																<xsl:call-template name="showEnAddress">
																	<xsl:with-param name="address_arg" select="$sibling"></xsl:with-param>																	
																</xsl:call-template>
															</xsl:if>
														</xsl:otherwise>
													</xsl:choose>
												</fo:inline>
											</fo:block>
										</fo:table-cell>
									</fo:table-row>
								</xsl:if>
								<fo:table-row>
									<fo:table-cell>
										<fo:block></fo:block>
									</fo:table-cell>
									<fo:table-cell xsl:use-attribute-sets="tdC">
										<fo:block></fo:block>
									</fo:table-cell>
									<fo:table-cell xsl:use-attribute-sets="tdR">
										<fo:block>
											<fo:inline font-weight="bold">
												是本国际申请要求保护的主题的发明人
											</fo:inline>
										</fo:block>
									</fo:table-cell>
								</fo:table-row>
							</xsl:for-each>
						</xsl:otherwise>
					</xsl:choose>
					<fo:table-row>
						<fo:table-cell number-columns-spanned="3" border-top="solid black 0.25pt">
							<fo:block></fo:block>
						</fo:table-cell>
					</fo:table-row>
				</fo:table-body>
			</fo:table>
		</xsl:for-each>
	</xsl:template>
	<xsl:template name="process_dec2">
		<xsl:variable name="dec_seq" select="@sequence"></xsl:variable>  
		<fo:table table-layout="fixed" border-collapse="separate">          
			<fo:table-column column-width="12mm"></fo:table-column>          
			<fo:table-column column-width="53mm"></fo:table-column>          
			<fo:table-column column-width="105mm"></fo:table-column> 
			<fo:table-body>               
				<fo:table-row>                  
					<fo:table-cell xsl:use-attribute-sets="tdTL">                     
						<fo:block>                        
							<fo:inline font-weight="bold">VIII-2-<xsl:value-of select="$dec_seq"></xsl:value-of>                        
							</fo:inline>                     
						</fo:block>                  
					</fo:table-cell>                  
					<fo:table-cell xsl:use-attribute-sets="tdTC">                     
						<fo:block>                        
							<fo:inline font-weight="bold">                           
								声明: 有权申请和被授予专利                        
							</fo:inline>                        
							<fo:block></fo:block>                        
							当根据细则4.17(iv)的声明不适用时，关于申请人在国际申请日有权申请 和被授予专利的声明(细则4.17(ii)和51之二.1(a)(ii))：                     
						</fo:block>                  
					</fo:table-cell>                  
					<fo:table-cell xsl:use-attribute-sets="tdTR">                     
						<fo:block padding-before="7mm">    
							<fo:inline font-weight="bold">                           
								关于
								<xsl:choose>                              
									<xsl:when test=".//application-reference">                                 
										<xsl:if test="not($lang='ja')">
											国际申请  
										</xsl:if>
										<xsl:value-of select=".//country"></xsl:value-of>                                 
										<xsl:text> 
										</xsl:text>                                 
										<xsl:value-of select=".//doc-number"></xsl:value-of>    
										<xsl:if test="$lang='ja'">
											国际申请  
										</xsl:if>                          
									</xsl:when>                              
									<xsl:otherwise>
										本国际申请                              
									</xsl:otherwise>                           
								</xsl:choose>                        
							</fo:inline>                     
						</fo:block>                  
					</fo:table-cell>               
				</fo:table-row>               
				<fo:table-row>                  
					<fo:table-cell>                     
						<fo:block></fo:block>                  
					</fo:table-cell>                  
					<fo:table-cell xsl:use-attribute-sets="tdC">                     
						<fo:block>                     
							<xsl:call-template name="nameType">                     
								<xsl:with-param name="nam" select="."></xsl:with-param>                     
							</xsl:call-template>                     
						</fo:block>                  
					</fo:table-cell>                  
					<fo:table-cell xsl:use-attribute-sets="tdR">                     
						<fo:block padding-top="1pt">                        
							<fo:inline font-weight="bold">           
								<xsl:if test="$lang='ja'">以下の事実により、      <fo:block></fo:block>                     
								</xsl:if>                
								<xsl:call-template name="format_name">                              
									<xsl:with-param name="name_arg" select="."></xsl:with-param>                           
								</xsl:call-template>
								<xsl:if test="$lang='ja'">
									<xsl:text>は、</xsl:text>                       
									<fo:block></fo:block> 
								</xsl:if>
								基于下列事项有权申请和被授予专利:                        
							</fo:inline>                     
						</fo:block>                  
					</fo:table-cell>               
				</fo:table-row>    
			</fo:table-body>
		</fo:table>           
		<xsl:for-each select="./matter">                  
			<xsl:variable name="matter" select="translate(@item,'()','')"></xsl:variable>                  
			<fo:table table-layout="fixed" border-collapse="separate" keep-together.within-page="always">          
				<fo:table-column column-width="12mm"></fo:table-column>          
				<fo:table-column column-width="53mm"></fo:table-column>          
				<fo:table-column column-width="105mm"></fo:table-column> 
				<fo:table-body>               
					<fo:table-row>                     
						<fo:table-cell xsl:use-attribute-sets="tdTL">                        
							<fo:block>VIII-2-<xsl:value-of select="$dec_seq"></xsl:value-of></fo:block>
							<fo:block>(<xsl:value-of select="$matter"></xsl:value-of>)</fo:block>                     
						</fo:table-cell>                     
						<fo:table-cell xsl:use-attribute-sets="tdTC">                        
							<fo:block></fo:block>                     
						</fo:table-cell>                     
						<fo:table-cell xsl:use-attribute-sets="tdTR">                        
							<fo:block padding-top="1pt"> 
								<fo:inline font-weight="bold">                        
									<xsl:call-template name="matter">                        
										<xsl:with-param name="matter" select="$matter"></xsl:with-param>                        
									</xsl:call-template>                           
								</fo:inline>                        
							</fo:block>                        
						</fo:table-cell>                  
					</fo:table-row>  
					<fo:table-row>
						<fo:table-cell number-columns-spanned="3" border-top="solid black 0.25pt">
							<fo:block></fo:block>
						</fo:table-cell>
					</fo:table-row>      
				</fo:table-body>
			</fo:table>
		</xsl:for-each>               
	</xsl:template>
	<xsl:template name="process_dec3">
		<xsl:variable name="dec_seq" select="@sequence"></xsl:variable>  
		<fo:table table-layout="fixed" border-collapse="separate">          
			<fo:table-column column-width="12mm"></fo:table-column>          
			<fo:table-column column-width="53mm"></fo:table-column>          
			<fo:table-column column-width="105mm"></fo:table-column> 
			<fo:table-body>               
				<fo:table-row>                  
					<fo:table-cell xsl:use-attribute-sets="tdTL">                     
						<fo:block>                        
							<fo:inline font-weight="bold">VIII-3-<xsl:value-of select="$dec_seq"></xsl:value-of>                        
							</fo:inline>                     
						</fo:block>                  
					</fo:table-cell>                  
					<fo:table-cell xsl:use-attribute-sets="tdTC">                     
						<fo:block>                        
							<fo:inline font-weight="bold">                           
								声明: 有权要求优先权                        
							</fo:inline>                        
							<fo:block></fo:block>                        
							关于申请人在国际申请日有权要求下面指明的在先申请优先权的声明，如果该申请人不是在先申请的申请人，或在提交在先申请后申请人的姓名进行了变更(细则4.17(iii)和51之二.1(a)(iii))：                     
						</fo:block>                  
					</fo:table-cell>                  
					<fo:table-cell xsl:use-attribute-sets="tdTR">                     
						<fo:block padding-before="7mm">                        
							<fo:inline font-weight="bold">                           
								关于
								<xsl:choose>                              
									<xsl:when test=".//application-reference">                                 
										<xsl:if test="not($lang='ja')">
											国际申请  
										</xsl:if>
										<xsl:value-of select=".//country"></xsl:value-of>                                 
										<xsl:text> 
										</xsl:text>                                 
										<xsl:value-of select=".//doc-number"></xsl:value-of>    
										<xsl:if test="$lang='ja'">
											国际申请  
										</xsl:if>                          
									</xsl:when>                              
									<xsl:otherwise>
										本国际申请                              
									</xsl:otherwise>                           
								</xsl:choose>                        
							</fo:inline>                     
						</fo:block>                  
					</fo:table-cell>               
				</fo:table-row>               
				<fo:table-row>                  
					<fo:table-cell>                     
						<fo:block></fo:block>                  
					</fo:table-cell>                  
					<fo:table-cell xsl:use-attribute-sets="tdC">                     
						<fo:block>                     
							<xsl:choose>
								<xsl:when test="./name and not($lang='zh')">
									名称
								</xsl:when>
								<xsl:when test="./name and $lang='zh'">
									姓名:
								</xsl:when>
								<xsl:otherwise>
									姓名:
								</xsl:otherwise>
							</xsl:choose>
						</fo:block>                  
					</fo:table-cell>                  
					<fo:table-cell xsl:use-attribute-sets="tdR">                     
						<fo:block padding-top="1pt">                        
							<fo:inline font-weight="bold">                           
								<xsl:if test="$lang='ja'">
									<xsl:text>以下の事実により、</xsl:text>                  
									<fo:block></fo:block>
								</xsl:if>
								<xsl:call-template name="format_name">                              
									<xsl:with-param name="name_arg" select="."></xsl:with-param>                           
								</xsl:call-template>                        
								<xsl:if test="$lang='ja'">
									<xsl:text>は、</xsl:text>
								</xsl:if>
							</fo:inline>                     
						</fo:block>                  
					</fo:table-cell>               
				</fo:table-row>               
				<fo:table-row>                  
					<fo:table-cell>                     
						<fo:block></fo:block>                  
					</fo:table-cell>                  
					<fo:table-cell xsl:use-attribute-sets="tdC">                     
						<fo:block></fo:block>                  
					</fo:table-cell>                  
					<fo:table-cell xsl:use-attribute-sets="tdR">                     
						<fo:block padding-top="1pt">                        
							<fo:inline font-weight="bold">                           
								基于下列事项，有权要求申请号为                           
								<xsl:value-of select=".//earlier-app-reference//country"></xsl:value-of>                           
								<xsl:text> </xsl:text>
								<xsl:value-of select=".//earlier-app-reference//doc-number"></xsl:value-of>                           
								的在先申请的优先权:                        
							</fo:inline>                     
						</fo:block>                  
					</fo:table-cell>               
				</fo:table-row>   
			</fo:table-body>
		</fo:table>            
		<xsl:for-each select="./matter">                  
			<xsl:variable name="matter" select="translate(@item,'()','')"></xsl:variable>                  
			<fo:table table-layout="fixed" border-collapse="separate" keep-together.within-page="always">          
				<fo:table-column column-width="12mm"></fo:table-column>          
				<fo:table-column column-width="53mm"></fo:table-column>          
				<fo:table-column column-width="105mm"></fo:table-column> 
				<fo:table-body>               
					<fo:table-row>                     
						<fo:table-cell xsl:use-attribute-sets="tdTBL">                        
							<fo:block>VIII-3-<xsl:value-of select="$dec_seq"></xsl:value-of></fo:block>
							<fo:block>(<xsl:value-of select="$matter"></xsl:value-of>)</fo:block>                     
						</fo:table-cell>                     
						<fo:table-cell xsl:use-attribute-sets="tdTBC">                        
							<fo:block></fo:block>                     
						</fo:table-cell>                     
						<fo:table-cell xsl:use-attribute-sets="tdTBR">                        
							<fo:block padding-top="1pt">                        
								<fo:inline font-weight="bold">                        
									<xsl:call-template name="matter">                        
										<xsl:with-param name="matter" select="$matter"></xsl:with-param>                        
									</xsl:call-template>                           
								</fo:inline>                        
							</fo:block>   
						</fo:table-cell>                  
					</fo:table-row>           
					<fo:table-row>
						<fo:table-cell number-columns-spanned="3" border-top="solid black 0.25pt">
							<fo:block></fo:block>
						</fo:table-cell>
					</fo:table-row>      
				</fo:table-body>
			</fo:table>    
		</xsl:for-each>               
	</xsl:template>
	<xsl:template name="process_dec4">   
		<xsl:variable name="dec_seq" select="@sequence"></xsl:variable>
		<xsl:for-each select=".">      
			<fo:table table-layout="fixed" border-collapse="separate">          
				<fo:table-column column-width="12mm"></fo:table-column>          
				<fo:table-column column-width="53mm"></fo:table-column>          
				<fo:table-column column-width="105mm"></fo:table-column>         
				<fo:table-body>            
					<fo:table-row>               
						<fo:table-cell xsl:use-attribute-sets="tdTBL">                  
							<fo:block>                     
								<fo:inline font-weight="bold">VIII-4-<xsl:value-of select="$dec_seq"></xsl:value-of></fo:inline>                  
							</fo:block>               
						</fo:table-cell>               
						<fo:table-cell xsl:use-attribute-sets="tdTBC">                  
							<fo:block>                     
								<fo:inline font-weight="bold">                        
									声明: 发明人资格声明(仅为指定美国目的)                     
								</fo:inline>                     
								<fo:block></fo:block>                     
								发明人资格声明 (细则4.17(iv)和51 之二.1(a)(iv)) （为指定美国目的）:                  
							</fo:block>               
						</fo:table-cell>               
						<fo:table-cell xsl:use-attribute-sets="tdTBR">                  
							<fo:block padding="1.5pt" line-height="1.3" space-before="1cm">                     
								<fo:block></fo:block>                     
								<fo:block></fo:block>                     
								<fo:inline font-weight="bold">                        
									我在此声明我相信我是本申请中要求保护的发明的原始发明人或者共同的原始发明人。                        
									<fo:block></fo:block>
									<fo:block space-after="2mm">
									</fo:block>
									<xsl:choose>
										<xsl:when test="./application-reference">
											本声明是关于<xsl:value-of select="./application-reference//doc-number"></xsl:value-of>号国际申请的。
											<fo:block space-after="2mm">
											</fo:block>
										</xsl:when>
										<xsl:otherwise>
												本声明是关于本国际申请的，且是本国际申请的一部分。
												<fo:block space-after="2mm">
												</fo:block>                        
										</xsl:otherwise>
									</xsl:choose>
									<fo:block></fo:block>                        
									我在此声明上述国际申请由我申请或由我授权他人申请。                        
									<fo:block space-after="2mm">
									</fo:block>                        
									我在此承认本申请中任何故意作假的声明将依据《美国法典》第18篇第1001条 (United States Code (U.S.C.))  受到罚款或不多于五(5)年的监禁或二者并罚的惩罚。                     
								</fo:inline>                  
							</fo:block>               
						</fo:table-cell>            
					</fo:table-row>            
				</fo:table-body>      
			</fo:table>     
		</xsl:for-each>  
		<xsl:if test=".//inventor-info/addressbook">               
			<fo:table table-layout="fixed" keep-together.within-page="always" border-collapse="separate">          
				<fo:table-column column-width="12mm"></fo:table-column>          
				<fo:table-column column-width="53mm"></fo:table-column>          
				<fo:table-column column-width="105mm"></fo:table-column> 
				<fo:table-body>            
					<fo:table-row>                  
						<fo:table-cell xsl:use-attribute-sets="tdTL">                     
							<fo:block wrap-option="wrap">VIII-4-<xsl:value-of select="$dec_seq"></xsl:value-of>- 1-1</fo:block>                  
						</fo:table-cell>                  
						<fo:table-cell xsl:use-attribute-sets="tdTC">                     
							<fo:block>                     
								<xsl:call-template name="nameType">                     
									<xsl:with-param name="nam" select=".//inventor-info[1]/addressbook[1]"></xsl:with-param>                     
								</xsl:call-template>                     
							</fo:block>                  
						</fo:table-cell>                  
						<fo:table-cell xsl:use-attribute-sets="tdTR">                     
							<fo:block padding-top="1pt">                        
								<fo:inline font-weight="bold">                           
									<xsl:call-template name="format_name">                              
										<xsl:with-param name="name_arg" select=".//inventor-info[1]/addressbook[1]"></xsl:with-param>                           
									</xsl:call-template>                        
								</fo:inline>                     
							</fo:block>                  
						</fo:table-cell>               
					</fo:table-row>               
					<xsl:if test=".//inventor-info[1]/addressbook[2]">  
						<xsl:if test=".//inventor-info[1]/addressbook[@lang='en']">  
							<fo:table-row>
								<fo:table-cell xsl:use-attribute-sets="tdL">                     
									<fo:block></fo:block>                  
								</fo:table-cell>                  
								<fo:table-cell xsl:use-attribute-sets="tdC">                     
									<fo:block>
										Name (LAST, First):
									</fo:block>                  
								</fo:table-cell>                  
								<fo:table-cell xsl:use-attribute-sets="tdR">                     
									<fo:block padding-top="1pt">                        
										<fo:inline font-weight="bold">                           
											<xsl:call-template name="format_name">                              
												<xsl:with-param name="name_arg" select=".//inventor-info[1]/addressbook[2]"></xsl:with-param>                           
											</xsl:call-template>                        
										</fo:inline>                     
									</fo:block>                  
								</fo:table-cell>               
							</fo:table-row>   
						</xsl:if>  
					</xsl:if>  
					<fo:table-row>                  
						<fo:table-cell xsl:use-attribute-sets="tdL">                     
							<fo:block wrap-option="wrap">VIII-4-<xsl:value-of select="$dec_seq"></xsl:value-of>- 1-2</fo:block>                  
						</fo:table-cell>                  
						<fo:table-cell xsl:use-attribute-sets="tdC">                     
							<fo:block>                        
								居所：                        
								<fo:block></fo:block>                        
								(城市，美国的州（如适用）或国家)                     
							</fo:block>                  
						</fo:table-cell>                  
						<fo:table-cell xsl:use-attribute-sets="tdR">                     
							<fo:block padding-top="1pt">                        
								<fo:inline font-weight="bold">                           
									<xsl:value-of select=".//inventor-info[1]/us-residence//city"></xsl:value-of>                           
									<xsl:text>, </xsl:text>                           
									<xsl:choose>                              
										<xsl:when test=".//inventor-info[1]/us-residence/us/state">                                 
											<xsl:value-of select=".//inventor-info[1]/us-residence//state"></xsl:value-of>                              
										</xsl:when>                              
										<xsl:otherwise>
											<xsl:call-template name="country_ChoiceText">
												<xsl:with-param name="country" select=".//inventor-info[1]/us-residence//country"></xsl:with-param>
											</xsl:call-template>                              
										</xsl:otherwise>                           
									</xsl:choose>                        
								</fo:inline>                     
							</fo:block>                  
						</fo:table-cell>               
					</fo:table-row>               
					<xsl:choose>                  
						<xsl:when test=".//inventor-info[1]/addressbook[1]/address">                     
							<fo:table-row>                        
								<fo:table-cell xsl:use-attribute-sets="tdL">                           
									<fo:block wrap-option="wrap">VIII-4-<xsl:value-of select="$dec_seq"></xsl:value-of>- 1-3</fo:block>                        
								</fo:table-cell>                        
								<fo:table-cell xsl:use-attribute-sets="tdC">                           
									<fo:block>                              
										邮寄地址：                           
									</fo:block>                        
								</fo:table-cell>                        
								<fo:table-cell xsl:use-attribute-sets="tdR">                           
									<fo:block padding-top="1pt">                              
										<fo:inline font-weight="bold">        
											<xsl:choose>
												<xsl:when test="($lang='ja') or ($lang='zh')">
													<xsl:if test=".//inventor-info[1]/addressbook[1]/address/country">
														<fo:block>
															<xsl:call-template name="country_ChoiceText">
																<xsl:with-param name="country" select=".//inventor-info[1]/addressbook[1]/address/country"></xsl:with-param>
															</xsl:call-template>
														</fo:block>
													</xsl:if>
													<xsl:if test=".//inventor-info[1]/addressbook[1]/address/state">
														<fo:block>
															<xsl:value-of select=".//inventor-info[1]/addressbook[1]/address/state"></xsl:value-of>
														</fo:block>
													</xsl:if>
													<xsl:for-each select=".//inventor-info[1]/addressbook[1]/address//*[not(name(.)='country' or name(.)='state')]">
														<xsl:choose>
															<xsl:when test="not(contains($fop_version, '0.2')) and ($fop_version != '')">
																<fo:block white-space="pre" wrap-option="wrap">
																	<xsl:value-of select="."></xsl:value-of>
																</fo:block>
															</xsl:when>
															<xsl:otherwise>
																<fo:block white-space-collapse="false" wrap-option="wrap">															
																	<xsl:value-of select="."></xsl:value-of>   
																</fo:block>
															</xsl:otherwise>
														</xsl:choose>
													</xsl:for-each>
												</xsl:when>
												<xsl:otherwise>
													<xsl:for-each select=".//inventor-info[1]/addressbook[1]/address/*">                                    
														<xsl:choose>                                       
															<xsl:when test="name(.)='city' or name(.)='state'">                                          
																<xsl:value-of select="."></xsl:value-of>                                          
																<xsl:text> </xsl:text>                                       
															</xsl:when> 
															<xsl:when test="name(.)='country'">
																<xsl:call-template name="country_ChoiceText">
																	<xsl:with-param name="country" select="."></xsl:with-param>
																</xsl:call-template> 
															</xsl:when>                                       
															<xsl:otherwise>                                          
																<xsl:choose>
																	<xsl:when test="not(contains($fop_version, '0.2')) and ($fop_version != '')">
																		<fo:block white-space="pre" wrap-option="wrap">
																			<xsl:value-of select="."></xsl:value-of>
																		</fo:block>
																	</xsl:when>
																	<xsl:otherwise>
																		<fo:block white-space-collapse="false" wrap-option="wrap">															
																			<xsl:value-of select="."></xsl:value-of>   
																		</fo:block>
																	</xsl:otherwise>
																</xsl:choose>
																<fo:block></fo:block>                                       
															</xsl:otherwise>                                    
														</xsl:choose>                                 
													</xsl:for-each>                              
												</xsl:otherwise>
											</xsl:choose>                         
										</fo:inline>                           
									</fo:block>                        
								</fo:table-cell>                     
							</fo:table-row>                  
							<xsl:if test=".//inventor-info[1]/addressbook[2]">  
								<xsl:if test=".//inventor-info[1]/addressbook[@lang='en']">  
									<fo:table-row>                        
										<fo:table-cell xsl:use-attribute-sets="tdL">                           
											<fo:block></fo:block>                        
										</fo:table-cell>                        
										<fo:table-cell xsl:use-attribute-sets="tdC">                           
											<fo:block>                              
												Mailing Address:                           
											</fo:block>                        
										</fo:table-cell>                        
										<fo:table-cell xsl:use-attribute-sets="tdR">                           
											<fo:block padding-top="1pt">                              
												<fo:inline font-weight="bold">        
													<xsl:choose>
														<xsl:when test="$lang='ja'">
															<xsl:for-each select=".//inventor-info[1]/addressbook[2]/address//*[not(name(.)='country' or name(.)='state')]">
															<xsl:choose>
																<xsl:when test="not(contains($fop_version, '0.2')) and ($fop_version != '')">
																	<fo:block white-space="pre" wrap-option="wrap">
																		<xsl:value-of select="."></xsl:value-of>
																	</fo:block>
																</xsl:when>
																<xsl:otherwise>
																	<fo:block white-space-collapse="false" wrap-option="wrap">															
																		<xsl:value-of select="."></xsl:value-of>   
																	</fo:block>
																</xsl:otherwise>
															</xsl:choose>
															</xsl:for-each>
															<xsl:if test=".//inventor-info[1]/addressbook[2]/address/state">
																<fo:block>
																	<xsl:value-of select=".//inventor-info[1]/addressbook[2]/address/state"></xsl:value-of>
																</fo:block>
															</xsl:if>
															<xsl:if test=".//inventor-info[1]/addressbook[2]/address/country">
																<fo:block>
																	<xsl:call-template name="enCountry_ChoiceText">
																		<xsl:with-param name="country" select=".//inventor-info[1]/addressbook[2]/address/country"></xsl:with-param>
																	</xsl:call-template>
																</fo:block>
															</xsl:if>
														</xsl:when>
														<xsl:otherwise>
															<xsl:for-each select=".//inventor-info[1]/addressbook[2]/address/*">                                    
																<xsl:choose>                                       
																	<xsl:when test="name(.)='city' or name(.)='state'">                                          
																		<xsl:value-of select="."></xsl:value-of>                                          
																	<xsl:text> </xsl:text>                                       
																	</xsl:when> 
																	<xsl:when test="name(.)='country'">
																		<xsl:call-template name="enCountry_ChoiceText">
																			<xsl:with-param name="country" select="."></xsl:with-param>
																		</xsl:call-template> 
																	</xsl:when>                                       
																	<xsl:otherwise>                                          
																		<xsl:choose>
																			<xsl:when test="not(contains($fop_version, '0.2')) and ($fop_version != '')">
																				<fo:block white-space="pre" wrap-option="wrap">
																					<xsl:value-of select="."></xsl:value-of>
																				</fo:block>
																			</xsl:when>
																			<xsl:otherwise>
																				<fo:block white-space-collapse="false" wrap-option="wrap">															
																					<xsl:value-of select="."></xsl:value-of>   
																				</fo:block>
																			</xsl:otherwise>
																		</xsl:choose>
																		<fo:block></fo:block>                                       
																	</xsl:otherwise>                                    
																</xsl:choose>                                 
															</xsl:for-each>                              
														</xsl:otherwise>
													</xsl:choose>                         
												</fo:inline>                           
											</fo:block>                        
										</fo:table-cell>                     
									</fo:table-row>                  
								</xsl:if>  
							</xsl:if>  
						</xsl:when>               
					</xsl:choose>         
					<fo:table-row>                  
						<fo:table-cell xsl:use-attribute-sets="tdL">                     
							<fo:block wrap-option="wrap">VIII-4-<xsl:value-of select="$dec_seq"></xsl:value-of>- 1-4</fo:block>                  
						</fo:table-cell>                  
						<fo:table-cell xsl:use-attribute-sets="tdC">                     
							<fo:block>                        
								发明人的签字：                        
								<fo:block></fo:block>                        
								（该签字必须是发明人的签字，而不是代理人的签字）                     
							</fo:block>                  
						</fo:table-cell>                  
						<fo:table-cell xsl:use-attribute-sets="tdR">                     
							<fo:block padding-top="1pt">                        
								<fo:inline font-weight="bold">                           
									<xsl:choose>                              
										<xsl:when test=".//signatory[1]/electronic-signature/basic-signature/fax-image"> 
											<fo:external-graphic>
												<xsl:if test="not(contains($fop_version, '0.2')) and ($fop_version != '')">
													<xsl:attribute name="content-width">scale-down-to-fit</xsl:attribute>											
													<xsl:attribute name="width">100mm</xsl:attribute>											
												</xsl:if>										
												<!-- NOTE: XEP will not load files in same directory if 'file:///' is prepended -->
												<xsl:attribute name="src">   
													<xsl:choose>  
														<xsl:when test="contains(.//signatory[1]/electronic-signature/basic-signature/fax-image/@file,'/') or contains(./electronic-signature/basic-signature/fax-image/@file,'\') or contains(./electronic-signature/basic-signature/fax-image/@file,':')"> 
															<xsl:value-of select="concat('file:///',./electronic-signature/basic-signature/fax-image/@file)"></xsl:value-of>  
														</xsl:when>  
														<xsl:otherwise> 
															<xsl:choose>
																<xsl:when test="$baseDir != ''"> 
																	<xsl:value-of select="concat('file:///', $baseDir, .//signatory[1]/electronic-signature/basic-signature/fax-image/@file)"></xsl:value-of>  
																</xsl:when>
																<xsl:otherwise>
																	<xsl:value-of select=".//signatory[1]/electronic-signature/basic-signature/fax-image/@file"></xsl:value-of>
																</xsl:otherwise>
															</xsl:choose> 
														</xsl:otherwise>   
													</xsl:choose>
												</xsl:attribute> 
											</fo:external-graphic>                              
										</xsl:when>                              
										<xsl:when test=".//signatory[1]/electronic-signature/basic-signature/click-wrap">                                 
											(申请人按“是”按钮)                              
										</xsl:when>                              
										<xsl:when test=".//signatory[1]//text-string">                                 
											<xsl:value-of select=".//signatory[1]//text-string"></xsl:value-of>                              
										</xsl:when>                              
										<xsl:when test=".//signatory[1]//pkcs7">                                 
											(PKCS7数字签字)                              
										</xsl:when>                           
									</xsl:choose>                        
								</fo:inline>                     
							</fo:block>                  
						</fo:table-cell>               
					</fo:table-row>               
					<fo:table-row>                  
						<fo:table-cell xsl:use-attribute-sets="tdBL">                     
							<fo:block wrap-option="wrap">VIII-4-<xsl:value-of select="$dec_seq"></xsl:value-of>- 1-5</fo:block>                  
						</fo:table-cell>                  
						<fo:table-cell xsl:use-attribute-sets="tdBC">                     
							<fo:block>                        
								日期：                     
							</fo:block>                  
						</fo:table-cell>                  
						<fo:table-cell xsl:use-attribute-sets="tdBR">                     
							<fo:block padding-top="1pt">                        
								<fo:inline font-weight="bold">                           
									<xsl:if test=".//signatory[1]/electronic-signature/@date">                              
										<xsl:call-template name="format_date">                                 
											<xsl:with-param name="date" select=".//signatory[1]/electronic-signature/@date"></xsl:with-param>                              
											<xsl:with-param name="show_date" select="1"></xsl:with-param>   
											<xsl:with-param name="text" select="1"></xsl:with-param>   
											<xsl:with-param name="lang" select="$lang"></xsl:with-param>   
											<xsl:with-param name="date_too" select="1"></xsl:with-param>
										</xsl:call-template>                           
									</xsl:if>                        
								</fo:inline>                     
							</fo:block>                  
						</fo:table-cell>               
					</fo:table-row>  	  
				</fo:table-body>  
			</fo:table>  
		</xsl:if> 
		<xsl:if test="count(//inventor-info) &gt; 1"> 
			<xsl:call-template name="other_inventors">
				<xsl:with-param name="signatory_seq" select="ancestor-or-self::inventorship/@sequence"></xsl:with-param>
			</xsl:call-template>
		</xsl:if>   
	</xsl:template><xsl:template name="other_inventors">      
		<!-- ****************************************************************** -->
		 
		<!--  repeated inventor-info                                            -->
		
		<!-- ****************************************************************** -->
		<xsl:param name="signatory_seq"></xsl:param>
		<xsl:variable name="dec_seq" select="@sequence"></xsl:variable>
		<xsl:if test=".//inventor-info[position() &gt; 1]/addressbook">   
			<xsl:for-each select=".//inventor-info[position() &gt; 1]">  
				<xsl:variable name="inventor_seq" select="position()+1"></xsl:variable> 
				<fo:table table-layout="fixed" keep-together.within-page="always" border-collapse="separate"> 
					<fo:table-column column-width="12mm"></fo:table-column> 
					<fo:table-column column-width="53mm"></fo:table-column> 
					<fo:table-column column-width="105mm"></fo:table-column>
					<fo:table-body>                  
						<fo:table-row>                     
							<fo:table-cell xsl:use-attribute-sets="tdTL">                        
								<fo:block wrap-option="wrap">VIII-4-<xsl:value-of select="$dec_seq"></xsl:value-of>- <xsl:value-of select="$inventor_seq"></xsl:value-of>-1</fo:block>                     
							</fo:table-cell>                     
							<fo:table-cell xsl:use-attribute-sets="tdTC">                        
								<fo:block>                     
									<xsl:call-template name="nameType">                     
										<xsl:with-param name="nam" select="./addressbook[1]"></xsl:with-param>                     
									</xsl:call-template>                        
								</fo:block>                     
							</fo:table-cell>                     
							<fo:table-cell xsl:use-attribute-sets="tdTR">                        
								<fo:block padding-top="1pt">                           
									<fo:inline font-weight="bold">                              
										<xsl:call-template name="format_name">                                 
											<xsl:with-param name="name_arg" select="./addressbook[1]"></xsl:with-param>                              
										</xsl:call-template>                           
									</fo:inline>                        
								</fo:block>                     
							</fo:table-cell>                  
						</fo:table-row>                  
						<xsl:if test="./addressbook[2]">  
							<xsl:if test="./addressbook[@lang='en']">  
								<fo:table-row>
									<fo:table-cell xsl:use-attribute-sets="tdL">                     
										<fo:block></fo:block>                  
									</fo:table-cell>                  
									<fo:table-cell xsl:use-attribute-sets="tdC">                     
										<fo:block>
											Name (LAST, First):
										</fo:block>                  
									</fo:table-cell>                  
									<fo:table-cell xsl:use-attribute-sets="tdR">                     
										<fo:block padding-top="1pt">                        
											<fo:inline font-weight="bold">                           
												<xsl:call-template name="format_name">                              
													<xsl:with-param name="name_arg" select="./addressbook[2]"></xsl:with-param>                           
												</xsl:call-template>                        
											</fo:inline>                     
										</fo:block>                  
									</fo:table-cell>               
								</fo:table-row>   
							</xsl:if>  
						</xsl:if>  
						<fo:table-row>                     
							<fo:table-cell xsl:use-attribute-sets="tdL">                        
								<fo:block wrap-option="wrap">VIII-4-<xsl:value-of select="$dec_seq"></xsl:value-of>- <xsl:value-of select="$inventor_seq"></xsl:value-of>-2</fo:block>                     
							</fo:table-cell>                     
							<fo:table-cell xsl:use-attribute-sets="tdC">                        
								<fo:block>                           
									居所：                           
									<fo:block></fo:block>                           
									(城市，美国的州（如适用）或国家)                        
								</fo:block>                     
							</fo:table-cell>                     
							<fo:table-cell xsl:use-attribute-sets="tdR">                        
								<fo:block padding-top="1pt">                           
									<fo:inline font-weight="bold">                              
										<xsl:value-of select=".//us-residence//city"></xsl:value-of>                              
										<xsl:if test=".//us-residence//city/text()">                              
											<xsl:text>, </xsl:text>                          
										</xsl:if>                              
										<xsl:choose>                                 
											<xsl:when test=".//us-residence/us">                                    
												<xsl:value-of select=".//us-residence//state"></xsl:value-of>                                 
											</xsl:when>                                 
											<xsl:otherwise>                                    
												<xsl:call-template name="country_ChoiceText">
													<xsl:with-param name="country" select=".//us-residence//country"></xsl:with-param>                                    
												</xsl:call-template>       
											</xsl:otherwise>                              
										</xsl:choose>                           
									</fo:inline>                        
								</fo:block>                     
							</fo:table-cell>                  
						</fo:table-row>                  
						<xsl:choose>                     
							<xsl:when test=".//addressbook/address">                        
								<fo:table-row>                           
									<fo:table-cell xsl:use-attribute-sets="tdL">                              
										<fo:block wrap-option="wrap">VIII-4-<xsl:value-of select="$dec_seq"></xsl:value-of>- <xsl:value-of select="$inventor_seq"></xsl:value-of>-3</fo:block>                           
									</fo:table-cell>                           
									<fo:table-cell xsl:use-attribute-sets="tdC">                              
										<fo:block>                                 
											邮寄地址：                              
										</fo:block>                           
									</fo:table-cell>                           
									<fo:table-cell xsl:use-attribute-sets="tdR">                              
										<fo:block padding-top="1pt">                                 
											<fo:inline font-weight="bold">                                    
												<xsl:choose>
													<xsl:when test="$lang='ja'">
														<xsl:if test=".//addressbook[1]/address/country">
															<fo:block>
																<xsl:call-template name="country_ChoiceText">
																	<xsl:with-param name="country" select=".//addressbook[1]/address/country"></xsl:with-param>
																</xsl:call-template>
															</fo:block>
														</xsl:if>
														<xsl:if test=".//addressbook[1]/address/state">
															<fo:block>
																<xsl:value-of select=".//addressbook[1]/address/state"></xsl:value-of>
															</fo:block>
														</xsl:if>
														<xsl:for-each select=".//addressbook[1]/address//*[not(name(.)='country' or name(.)='state')]">
															<xsl:choose>
																<xsl:when test="not(contains($fop_version, '0.2')) and ($fop_version != '')">
																	<fo:block white-space="pre" wrap-option="wrap">
																		<xsl:value-of select="."></xsl:value-of>
																	</fo:block>
																</xsl:when>
																<xsl:otherwise>
																	<fo:block white-space-collapse="false" wrap-option="wrap">															
																		<xsl:value-of select="."></xsl:value-of>   
																	</fo:block>
																</xsl:otherwise>
															</xsl:choose>
														</xsl:for-each>
													</xsl:when>
													<xsl:otherwise>
														<xsl:for-each select=".//addressbook[1]/address/*">   
															<xsl:choose>                                          
																<xsl:when test="name(.)='city' or name(.)='state'">                                             
																	<xsl:value-of select="."></xsl:value-of>                                             
																	<xsl:text> </xsl:text>                                       
																</xsl:when>  
																<xsl:when test="name(.)='country'">
																	<xsl:call-template name="country_ChoiceText">
																		<xsl:with-param name="country" select="."></xsl:with-param>
																	</xsl:call-template>  
																</xsl:when>                                          
																<xsl:otherwise>                                             
																	<xsl:choose>
																		<xsl:when test="not(contains($fop_version, '0.2')) and ($fop_version != '')">
																			<fo:block white-space="pre" wrap-option="wrap">
																				<xsl:value-of select="."></xsl:value-of>
																			</fo:block>
																		</xsl:when>
																		<xsl:otherwise>
																			<fo:block white-space-collapse="false" wrap-option="wrap">															
																				<xsl:value-of select="."></xsl:value-of>   
																			</fo:block>
																		</xsl:otherwise>
																	</xsl:choose>
																	<fo:block></fo:block>                                          
																</xsl:otherwise>                                       
															</xsl:choose>                                    
														</xsl:for-each>                                 
													</xsl:otherwise>
												</xsl:choose>                                    
											</fo:inline>                              
										</fo:block>                           
									</fo:table-cell>                        
								</fo:table-row>                     
								<xsl:if test="./addressbook[2]">  
									<xsl:if test="./addressbook[@lang='en']">  
										<fo:table-row>                        
											<fo:table-cell xsl:use-attribute-sets="tdL">                           
												<fo:block></fo:block>                        
											</fo:table-cell>                        
											<fo:table-cell xsl:use-attribute-sets="tdC">                           
												<fo:block>                              
													Mailing Address:                           
												</fo:block>                        
											</fo:table-cell>                        
											<fo:table-cell xsl:use-attribute-sets="tdR">                           
												<fo:block padding-top="1pt">                              
													<fo:inline font-weight="bold">        
														<xsl:choose>
															<xsl:when test="$lang='ja'">
																<xsl:for-each select="./addressbook[2]/address//*[not(name(.)='country' or name(.)='state')]">
																	<xsl:choose>
																		<xsl:when test="not(contains($fop_version, '0.2')) and ($fop_version != '')">
																			<fo:block white-space="pre" wrap-option="wrap">
																				<xsl:value-of select="."></xsl:value-of>
																			</fo:block>
																		</xsl:when>
																		<xsl:otherwise>
																			<fo:block white-space-collapse="false" wrap-option="wrap">															
																				<xsl:value-of select="."></xsl:value-of>   
																			</fo:block>
																		</xsl:otherwise>
																	</xsl:choose>
																</xsl:for-each>
																<xsl:if test="./addressbook[2]/address/state">
																	<fo:block>
																		<xsl:value-of select="./addressbook[2]/address/state"></xsl:value-of>
																	</fo:block>
																</xsl:if>
																<xsl:if test="./addressbook[2]/address/country">
																	<fo:block>
																		<xsl:call-template name="enCountry_ChoiceText">
																			<xsl:with-param name="country" select="./addressbook[2]/address/country"></xsl:with-param>
																		</xsl:call-template>
																	</fo:block>
																</xsl:if>
															</xsl:when>
															<xsl:otherwise>
																<xsl:for-each select="./addressbook[2]/address/*">                                    
																	<xsl:choose>                                       
																		<xsl:when test="name(.)='city' or name(.)='state'">                                          
																			<xsl:value-of select="."></xsl:value-of>                                          
																			<xsl:text> </xsl:text>                                       
																		</xsl:when> 
																		<xsl:when test="name(.)='country'">
																			<xsl:call-template name="enCountry_ChoiceText">
																				<xsl:with-param name="country" select="."></xsl:with-param>
																			</xsl:call-template> 
																		</xsl:when>                                       
																		<xsl:otherwise>                                          
																			<xsl:choose>
																				<xsl:when test="not(contains($fop_version, '0.2')) and ($fop_version != '')">
																					<fo:block white-space="pre" wrap-option="wrap">
																						<xsl:value-of select="."></xsl:value-of>
																					</fo:block>
																				</xsl:when>
																				<xsl:otherwise>
																					<fo:block white-space-collapse="false" wrap-option="wrap">															
																						<xsl:value-of select="."></xsl:value-of>   
																					</fo:block>
																				</xsl:otherwise>
																			</xsl:choose>
																			<fo:block></fo:block>                                       
																		</xsl:otherwise>                                    
																	</xsl:choose>                                 
																</xsl:for-each>                              
															</xsl:otherwise>
														</xsl:choose>                         
													</fo:inline>                           
												</fo:block>                        
											</fo:table-cell>                     
										</fo:table-row>                  
									</xsl:if>  
								</xsl:if>  
							</xsl:when>                  
						</xsl:choose>                  
						<fo:table-row>                     
							<fo:table-cell xsl:use-attribute-sets="tdL">                        
								<fo:block wrap-option="wrap">VIII-4-<xsl:value-of select="$dec_seq"></xsl:value-of>- <xsl:value-of select="$inventor_seq"></xsl:value-of>-4</fo:block>                     
							</fo:table-cell>                     
							<fo:table-cell xsl:use-attribute-sets="tdC">                        
								<fo:block>                           
									发明人的签字：                           
									<fo:block></fo:block>                           
									（该签字必须是发明人的签字，而不是代理人的签字）                        
								</fo:block>                     
							</fo:table-cell>                     
							<fo:table-cell xsl:use-attribute-sets="tdR">                        
								<fo:block padding-top="1pt">                           
									<fo:inline font-weight="bold">                              
										<xsl:choose>                                 
											<xsl:when test="ancestor-or-self::inventorship[$signatory_seq]//signatory[$inventor_seq]/electronic-signature/basic-signature/fax-image"> 
												<fo:external-graphic>
													<xsl:if test="not(contains($fop_version, '0.2')) and ($fop_version != '')">
														<xsl:attribute name="content-width">scale-down-to-fit</xsl:attribute>											
														<xsl:attribute name="width">100mm</xsl:attribute>											
													</xsl:if>										
													<!-- NOTE: XEP will not load files in same directory if 'file:///' is prepended -->
													<xsl:attribute name="src">   
														<xsl:choose>  
															<xsl:when test="contains(ancestor-or-self::inventorship[$signatory_seq]//signatory[$inventor_seq]/electronic-signature/basic-signature/fax-image/@file,'/') or contains(ancestor-or-self::inventorship[$signatory_seq]//signatory[$inventor_seq]/electronic-signature/basic-signature/fax-image/@file,'\') or contains(ancestor-or-self::inventorship[$signatory_seq]//signatory[$inventor_seq]/electronic-signature/basic-signature/fax-image/@file,':')"> 
																<xsl:value-of select="concat('file:///',ancestor-or-self::inventorship[$signatory_seq]//signatory[$inventor_seq]/electronic-signature/basic-signature/fax-image/@file)"></xsl:value-of>  
															</xsl:when>  
															<xsl:otherwise> 
																<xsl:choose>
																	<xsl:when test="$baseDir != ''"> 
																		<xsl:value-of select="concat('file:///', $baseDir, ancestor-or-self::inventorship[$signatory_seq]//signatory[$inventor_seq]/electronic-signature/basic-signature/fax-image/@file)"></xsl:value-of>  
																	</xsl:when>
																	<xsl:otherwise>
																		<xsl:value-of select="ancestor-or-self::inventorship[$signatory_seq]//signatory[$inventor_seq]/electronic-signature/basic-signature/fax-image/@file"></xsl:value-of>
																	</xsl:otherwise>
																</xsl:choose>
															</xsl:otherwise>   
														</xsl:choose>
													</xsl:attribute> 
												</fo:external-graphic>                                 
											</xsl:when>                                 
											<xsl:when test="ancestor-or-self::inventorship[$signatory_seq]//signatory[$inventor_seq]/electronic-signature/basic-signature/click-wrap">                                    
												(申请人按“是”按钮)                                 
											</xsl:when>                                 
											<xsl:when test="ancestor-or-self::inventorship[$signatory_seq]//signatory[$inventor_seq]/electronic-signature/basic-signature/text-string">                                    
												<xsl:value-of select="ancestor-or-self::inventorship[$signatory_seq]//signatory[$inventor_seq]//text-string"></xsl:value-of>                                 
											</xsl:when>                                 
											<xsl:when test="ancestor-or-self::inventorship[$signatory_seq]//signatory[$inventor_seq]/electronic-signature//pkcs7">                                    
												(PKCS7数字签字)                                 
											</xsl:when>                              
										</xsl:choose>                           
									</fo:inline>                        
								</fo:block>                     
							</fo:table-cell>                  
						</fo:table-row>                  
						<fo:table-row>                     
							<fo:table-cell xsl:use-attribute-sets="tdBL">                        
								<fo:block wrap-option="wrap">VIII-4-<xsl:value-of select="$dec_seq"></xsl:value-of>- <xsl:value-of select="$inventor_seq"></xsl:value-of>-5</fo:block>                     
							</fo:table-cell>                     
							<fo:table-cell xsl:use-attribute-sets="tdBC">                        
								<fo:block>                           
									日期：                        
								</fo:block>                     
							</fo:table-cell>                     
							<fo:table-cell xsl:use-attribute-sets="tdBR">                        
								<fo:block padding-top="1pt">                           
									<fo:inline font-weight="bold">                  
										<xsl:if test="ancestor-or-self::inventorship[$signatory_seq]//signatory[$inventor_seq]/electronic-signature/@date">                                 
											<xsl:call-template name="format_date">                                 
												<xsl:with-param name="date" select="ancestor-or-self::inventorship[$signatory_seq]//signatory[$inventor_seq]/electronic-signature/@date"></xsl:with-param>                                 
												<xsl:with-param name="show_date" select="1"></xsl:with-param>   
												<xsl:with-param name="text" select="1"></xsl:with-param>   
												<xsl:with-param name="lang" select="$lang"></xsl:with-param>   
												<xsl:with-param name="date_too" select="1"></xsl:with-param>
											</xsl:call-template>                           
										</xsl:if>                           
									</fo:inline>                        
								</fo:block>                     
							</fo:table-cell>                  
						</fo:table-row>
					</fo:table-body> 
				</fo:table>         
			</xsl:for-each>      
		</xsl:if>   
	</xsl:template>
	<xsl:template name="process_dec5">
		<xsl:variable name="lack_seq" select="@sequence"></xsl:variable>
		<fo:table table-layout="fixed" border-collapse="separate">
			<fo:table-column column-width="12mm"></fo:table-column>
			<fo:table-column column-width="53mm"></fo:table-column>
			<fo:table-column column-width="105mm"></fo:table-column>
			<fo:table-body>
				<fo:table-row>
					<fo:table-cell xsl:use-attribute-sets="tdTL">
						<fo:block>
						<xsl:element name="fo:block">
							<fo:inline font-weight="bold">VIII-5-<xsl:value-of select="$lack_seq"></xsl:value-of>
							</fo:inline>
						</xsl:element>
						</fo:block>
					</fo:table-cell>
					<fo:table-cell xsl:use-attribute-sets="tdTC">
						<fo:block>
							<fo:inline font-weight="bold">
								声明: 不影响新颖性的公开或缺乏新颖性的例外的声明
							</fo:inline>
							<fo:block></fo:block>
							关于不影响新颖性的公开或缺乏新颖性的例外的声明(细则4.17(v)和51之二.1(a)(v)):
						</fo:block>
					</fo:table-cell>
					<fo:table-cell xsl:use-attribute-sets="tdTR">
						<fo:block padding-before="9mm">
							<fo:inline font-weight="bold">
								关于
								<xsl:choose>
									<xsl:when test=".//application-reference">
										<xsl:if test="not($lang='ja')">
											国际申请
										</xsl:if>
										<xsl:value-of select=".//country"></xsl:value-of>
										<xsl:text>
										</xsl:text>
										<xsl:value-of select=".//doc-number"></xsl:value-of>
										<xsl:if test="$lang='ja'">
											国际申请
										</xsl:if>
									</xsl:when>
									<xsl:otherwise>
										本国际申请
									</xsl:otherwise>
								</xsl:choose>
							</fo:inline>
						</fo:block>
					</fo:table-cell>
				</fo:table-row>
				<fo:table-row>
					<fo:table-cell>
						<fo:block></fo:block>
					</fo:table-cell>
					<fo:table-cell xsl:use-attribute-sets="tdC">
						<fo:block>
							<xsl:call-template name="nameType">
								<xsl:with-param name="nam" select="."></xsl:with-param>
							</xsl:call-template>
						</fo:block>
					</fo:table-cell>
					<fo:table-cell xsl:use-attribute-sets="tdR">
						<fo:block padding-top="1pt">
							<fo:inline font-weight="bold">
								<xsl:call-template name="format_name">
									<xsl:with-param name="name_arg" select="."></xsl:with-param>
								</xsl:call-template>
							</fo:inline>
						</fo:block>
						<fo:block>
							<fo:inline font-weight="bold">
								 声明本国际申请的主题曾被公开如下:
							</fo:inline>
						</fo:block>
					</fo:table-cell>
				</fo:table-row>
				<xsl:for-each select=".//method-of-disclosure">
					<fo:table-row>
						<fo:table-cell xsl:use-attribute-sets="tdTL">
							<fo:block>VIII-5-<xsl:value-of select="$lack_seq"></xsl:value-of></fo:block>
							<fo:block>(i)</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdTC">
							<fo:block>
								公开的类型:
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdTR">
							<fo:block padding-top="1pt">
								<fo:inline font-weight="bold">
									<xsl:choose>
										<xsl:when test="./international-exhibition/text()">
											<xsl:value-of select="./international-exhibition"></xsl:value-of>
										</xsl:when>
										<xsl:when test="./international-exhibition">
											国际展览会
										</xsl:when>
										<xsl:when test="./publication/text()">
											<xsl:value-of select="./publication"></xsl:value-of>
										</xsl:when>
										<xsl:when test="./publication">
											公布
										</xsl:when>
										<xsl:when test="./abuse/text()">
											<xsl:value-of select="./abuse"></xsl:value-of>
										</xsl:when>
										<xsl:when test="./abuse">
											滥用
										</xsl:when>
										<xsl:when test="./other">
											其他: 
											<xsl:value-of select="./other"></xsl:value-of>
										</xsl:when>
									</xsl:choose>
								</fo:inline>
							</fo:block>
						</fo:table-cell>
					</fo:table-row>
					<fo:table-row>
						<fo:table-cell xsl:use-attribute-sets="tdL">
							<fo:block>VIII-5-<xsl:value-of select="$lack_seq"></xsl:value-of></fo:block>
							<fo:block>(ii)</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdC">
							<fo:block>
								公开的日期:
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdR">
							<fo:block padding-top="1pt">
								<fo:inline font-weight="bold">
									<xsl:call-template name="format_date">
										<xsl:with-param name="date" select="preceding-sibling::date[1]"></xsl:with-param>
										<xsl:with-param name="lang" select="$lang"></xsl:with-param>
										<xsl:with-param name="show_date" select="1"></xsl:with-param>
										<xsl:with-param name="text" select="1"></xsl:with-param>
										<xsl:with-param name="date_too" select="1"></xsl:with-param>
									</xsl:call-template>
								</fo:inline>
							</fo:block>
						</fo:table-cell>
					</fo:table-row>
					<fo:table-row>
						<fo:table-cell xsl:use-attribute-sets="tdL">
							<fo:block>VIII-5-<xsl:value-of select="$lack_seq"></xsl:value-of></fo:block>
							<fo:block>(iii)</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdC">
							<fo:block>
								公开的题目:
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdR">
							<fo:block padding-top="1pt">
								<fo:inline font-weight="bold">
									<xsl:value-of select="preceding-sibling::title-of-disclosure[1]"></xsl:value-of>
								</fo:inline>
							</fo:block>
						</fo:table-cell>
					</fo:table-row>
					<fo:table-row>
						<fo:table-cell xsl:use-attribute-sets="tdL">
							<fo:block>VIII-5-<xsl:value-of select="$lack_seq"></xsl:value-of></fo:block>
							<fo:block>(iv)</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdC">
							<fo:block>
								公开的地点:
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdR">
							<fo:block padding-top="1pt">
								<fo:inline font-weight="bold">
									<xsl:choose>
										<xsl:when test="not($lang='ja')">
											<xsl:choose>
												<xsl:when test="name(.)='city' or name(.)='state'">
													<xsl:value-of select="."></xsl:value-of>
													<xsl:text> 
													</xsl:text>
												</xsl:when>
												<xsl:when test="name(.)='country'">
													<xsl:call-template name="country_ChoiceText">
														<xsl:with-param name="country" select="."></xsl:with-param>
													</xsl:call-template>
												</xsl:when>
												<xsl:otherwise>
				                                    <xsl:value-of select="following-sibling::address[1]/text"></xsl:value-of>
													<fo:block></fo:block>
												</xsl:otherwise>
											</xsl:choose>
										</xsl:when>
										<xsl:when test="$lang='ja' and (following-sibling::*[1][name()='address'] or contains($software_name,'SAFE'))">
											<xsl:value-of select="following-sibling::address[1]/text"></xsl:value-of>
										</xsl:when>
										<!-- JA address precedes other elements and uses <text> instead of subelements -->
										<xsl:otherwise>
											<xsl:value-of select="preceding-sibling::address[1]/text"></xsl:value-of>
										</xsl:otherwise>
									</xsl:choose>
								</fo:inline>
							</fo:block>
						</fo:table-cell>
					</fo:table-row>
					<fo:table-row>
						<fo:table-cell number-columns-spanned="3" border-top="solid black 0.25pt">
							<fo:block></fo:block>
						</fo:table-cell>
					</fo:table-row>
				</xsl:for-each>
			</fo:table-body>
		</fo:table>
	</xsl:template>
	<xsl:template name="signatory">
		<xsl:param name="sig_seq"></xsl:param>
		<xsl:param name="sig_type"></xsl:param>
		<xsl:param name="box"></xsl:param>
		<fo:table table-layout="fixed" keep-together.within-page="always">  
			<fo:table-column column-width="12mm"></fo:table-column>  
			<fo:table-column column-width="53mm"></fo:table-column>  
			<fo:table-column column-width="105mm"></fo:table-column>  
			<fo:table-body>		
				<fo:table-row>                  
					<fo:table-cell xsl:use-attribute-sets="tdTL">                     
						<fo:block>                        
							<fo:inline font-weight="bold">
								<xsl:value-of select="$box"></xsl:value-of>-<xsl:value-of select="$sig_seq"></xsl:value-of>                        
							</fo:inline>                     
						</fo:block>                  
					</fo:table-cell>                  
					<fo:table-cell xsl:use-attribute-sets="tdTC">                     
						<fo:block space-after="11mm">                        
							<fo:inline font-weight="bold">     
								<xsl:choose>
									<xsl:when test="$sig_type='applicant'">
										申请入签字
									</xsl:when>
									<xsl:otherwise>
										申请人，代理人或共同代表的签字  
									</xsl:otherwise>
								</xsl:choose>
							</fo:inline>                     
						</fo:block>                  
					</fo:table-cell>                  
					<fo:table-cell xsl:use-attribute-sets="tdTR">                     
						<fo:block>                        
							<fo:inline font-weight="bold">                           
								<xsl:choose>                              
									<xsl:when test="./electronic-signature/basic-signature/fax-image">                                 
										<fo:external-graphic>
											<xsl:if test="not(contains($fop_version, '0.2')) and ($fop_version != '')">
												<xsl:attribute name="content-width">scale-down-to-fit</xsl:attribute>											
												<xsl:attribute name="width">100mm</xsl:attribute>											
											</xsl:if>										
											<xsl:attribute name="src">   
												<xsl:choose>  
													<xsl:when test="contains(./electronic-signature/basic-signature/fax-image/@file,'/') or contains(./electronic-signature/basic-signature/fax-image/@file,'\') or contains(.//signatory[1]/electronic-signature/basic-signature/fax-image/@file,':')"> 
														<xsl:value-of select="concat('file:///',./electronic-signature/basic-signature/fax-image/@file)"></xsl:value-of>  
													</xsl:when>  
													<xsl:otherwise> 
														<xsl:choose>
															<xsl:when test="$baseDir != ''"> 
																<xsl:value-of select="concat('file:///', $baseDir, ./electronic-signature/basic-signature/fax-image/@file)"></xsl:value-of>  
															</xsl:when>
															<xsl:otherwise>													
																<xsl:value-of select="./electronic-signature/basic-signature/fax-image/@file"></xsl:value-of>  
															</xsl:otherwise>   
														</xsl:choose>
													</xsl:otherwise>   
												</xsl:choose>
											</xsl:attribute>
										</fo:external-graphic>                              
									</xsl:when>                              
									<xsl:when test="./electronic-signature/basic-signature/click-wrap">                                 
										(申请人按“是”按钮)
									</xsl:when>                              
									<xsl:when test="./electronic-signature/basic-signature/text-string">                                 
										<xsl:value-of select=".//text-string"></xsl:value-of>
									</xsl:when>                              
									<xsl:when test=".//pkcs7">                                 
										(PKCS7数字签字)
									</xsl:when>                           
								</xsl:choose>                        
							</fo:inline>                     
						</fo:block>                  
					</fo:table-cell>               
				</fo:table-row>               
				<xsl:choose>
					<xsl:when test="./name[@name-type='legal']">
						<fo:table-row>                  
							<fo:table-cell xsl:use-attribute-sets="tdL">                     
								<fo:block>                        
									<fo:inline font-weight="bold">
										<xsl:value-of select="$box"></xsl:value-of>-<xsl:value-of select="$sig_seq"></xsl:value-of>-1</fo:inline>                     
								</fo:block>                  
							</fo:table-cell>                  
							<fo:table-cell xsl:use-attribute-sets="tdC">
								<fo:block>                     
									名称
								</fo:block>                  
							</fo:table-cell>                  
							<fo:table-cell xsl:use-attribute-sets="tdR">                     
								<fo:block>                        
									<fo:inline font-weight="bold">                           
										<xsl:call-template name="format_name">                              
											<xsl:with-param name="name_arg" select="."></xsl:with-param>                           
										</xsl:call-template>                        
									</fo:inline>                     
								</fo:block>                  
							</fo:table-cell>               
						</fo:table-row>           
					</xsl:when>
					<xsl:otherwise>
						<fo:table-row>                  
							<fo:table-cell xsl:use-attribute-sets="tdL">                     
								<fo:block>                        
									<fo:inline font-weight="bold">
										<xsl:value-of select="$box"></xsl:value-of>-<xsl:value-of select="$sig_seq"></xsl:value-of>-1</fo:inline>                     
								</fo:block>                  
							</fo:table-cell>                  
							<fo:table-cell xsl:use-attribute-sets="tdC">
								<fo:block>                     
									姓名:
								</fo:block>                  
							</fo:table-cell>                  
							<fo:table-cell xsl:use-attribute-sets="tdR">                     
								<fo:block>                        
									<fo:inline font-weight="bold">                           
										<xsl:call-template name="format_name">                              
											<xsl:with-param name="name_arg" select="."></xsl:with-param>                           
										</xsl:call-template>                        
									</fo:inline>                     
								</fo:block>                  
							</fo:table-cell>               
						</fo:table-row>           
					</xsl:otherwise>
				</xsl:choose>
				<xsl:if test="./name[@name-type='legal']">
					<fo:table-row>                  
						<fo:table-cell xsl:use-attribute-sets="tdL">                     
							<fo:block>                        
								<fo:inline font-weight="bold">
									<xsl:value-of select="$box"></xsl:value-of>-<xsl:value-of select="$sig_seq"></xsl:value-of>-2</fo:inline>                     
							</fo:block>                  
						</fo:table-cell>                  
						<fo:table-cell xsl:use-attribute-sets="tdC">                     
							<fo:block>         
								签字人姓名
							</fo:block>                  
						</fo:table-cell>                  
						<fo:table-cell xsl:use-attribute-sets="tdR">                     
							<fo:block>                        
								<fo:inline font-weight="bold">                           
									<xsl:value-of select="substring-after(./signatory-capacity,'|')"></xsl:value-of>
								</fo:inline>                     
							</fo:block>                  
						</fo:table-cell>               
					</fo:table-row>            
				</xsl:if>
				<fo:table-row>                  
					<fo:table-cell xsl:use-attribute-sets="tdBL">                     
						<fo:block>                        
							<fo:inline font-weight="bold">
								<xsl:value-of select="$box"></xsl:value-of>-<xsl:value-of select="$sig_seq"></xsl:value-of>-3</fo:inline>                     
						</fo:block>                  
					</fo:table-cell>                  
					<fo:table-cell xsl:use-attribute-sets="tdBC">                     
						<fo:block>         
							还要注明此人是以什么名义签字的 
						</fo:block>                  
					</fo:table-cell>                  
					<fo:table-cell xsl:use-attribute-sets="tdBR">                     
						<fo:block>                        
							<fo:inline font-weight="bold">                           
								<xsl:value-of select="substring-before(./signatory-capacity/text(),'|')"></xsl:value-of>
							</fo:inline>                     
						</fo:block>                  
					</fo:table-cell>               
				</fo:table-row>            
			</fo:table-body>
		</fo:table>
	</xsl:template>
	<xsl:template match="doc-page">
	  <fo:block>
	   <fo:external-graphic>
			<xsl:if test="@type='pdf'">
				<xsl:attribute name="content-type">pdf</xsl:attribute>
			</xsl:if>
		<!-- NOTE: XEP will not load files in same directory if 'file:///' is prepended,
				   but FOP requires this  -->
			  <xsl:attribute name="src">
				 <xsl:choose>
					<!-- file is properly addressed -->
					<xsl:when test="contains(@file,'file')">
					   <xsl:value-of select="@file"></xsl:value-of>
					</xsl:when>
					<!-- create proper URI -->
					<xsl:otherwise>
						<xsl:value-of select="concat('file:///',translate(@file,'\','/'))"></xsl:value-of>
					</xsl:otherwise>
				 </xsl:choose>
				 <xsl:if test="@ppf">
					 <xsl:if test="@ppl">
						 <xsl:if test="@pp">
							<xsl:text>|</xsl:text>
							<xsl:value-of select="@ppf"></xsl:value-of>
							<xsl:text>;</xsl:text>
							<xsl:value-of select="@ppl"></xsl:value-of>
							<xsl:text>;</xsl:text>
							<xsl:value-of select="@pp"></xsl:value-of>
 	        	         </xsl:if>
        	         </xsl:if>
       	         </xsl:if>
			  </xsl:attribute>
			  <xsl:if test="@he">
				  <xsl:attribute name="content-height">
					 <xsl:choose>
						<xsl:when test="contains(@he,'mm') or contains(@he,'MM')">
						   <xsl:value-of select="@he"></xsl:value-of>
						</xsl:when>
						<xsl:otherwise>
						   <xsl:value-of select="@he"></xsl:value-of>mm</xsl:otherwise>
					 </xsl:choose>
				  </xsl:attribute>
			  </xsl:if>
			  <xsl:if test="@wi">
				  <xsl:attribute name="content-width">
					 <xsl:choose>
						<xsl:when test="contains(@wi,'mm') or contains(@wi,'MM')">
						   <xsl:value-of select="@wi"></xsl:value-of>
						</xsl:when>
						<xsl:otherwise>
						   <xsl:value-of select="@wi"></xsl:value-of>mm</xsl:otherwise>
					 </xsl:choose>
				  </xsl:attribute>
			  </xsl:if>
		   </fo:external-graphic>
	  </fo:block>
   </xsl:template>
	<xsl:key name="allCharge" match="//charge" use="."></xsl:key><xsl:key name="allPostal" match="//postal-order" use="."></xsl:key><xsl:key name="allCash" match="//cash" use="."></xsl:key><xsl:key name="allCoupons" match="//coupons" use="."></xsl:key><xsl:key name="allCheque" match="//cheque" use="."></xsl:key><xsl:key name="allBank" match="//bank-draft" use="."></xsl:key><xsl:key name="allStamps" match="//stamps" use="."></xsl:key><xsl:key name="allOther" match="//other" use="."></xsl:key><xsl:key name="allCur" match="//*/@currency" use="."></xsl:key><xsl:key name="fee-currency" match="prescribed-fees/* | amount-grand-total" use="@currency"></xsl:key><xsl:template name="fee_info">      
		<xsl:choose>         
			<xsl:when test="$fee_doc != ''">         
				<xsl:for-each select="document($fee_doc)/*">
					<xsl:choose>   
						<xsl:when test="document($fee_doc)//doc-page">  
							<xsl:for-each select="document($fee_doc)//doc-page"> 
								<xsl:apply-templates select="."></xsl:apply-templates>  
							</xsl:for-each>   
						</xsl:when>   
						<xsl:otherwise>  
							<xsl:call-template name="process_fee_info"></xsl:call-template>   
						</xsl:otherwise>
					</xsl:choose>
				</xsl:for-each>  
			</xsl:when>      
			<!-- when no fee parameter (e.g., fee-sheet document) -->
			<xsl:otherwise>            
				<xsl:choose>               
					<xsl:when test="./doc-page">                  
						<xsl:for-each select="./doc-page">                     
							<xsl:apply-templates select="doc-page"></xsl:apply-templates>                  
						</xsl:for-each>               
					</xsl:when>               
					<xsl:otherwise>
						<xsl:call-template name="process_fee_info"></xsl:call-template>        
					</xsl:otherwise>            
				</xsl:choose>         
			</xsl:otherwise>      
		</xsl:choose>   
		<xsl:call-template name="remarks"></xsl:call-template>       
	</xsl:template><xsl:template name="process_fee_info">    
		<!-- get the currencies used -->
		<xsl:variable name="uCharge" select="//charge[generate-id(.)=generate-id(key('allCharge',.))]"></xsl:variable>   
		<xsl:variable name="uPostal" select="//postal-order[generate-id(.)=generate-id(key('allPostal',.))]"></xsl:variable>   
		<xsl:variable name="uCash" select="//cash[generate-id(.)=generate-id(key('allCash',.))]"></xsl:variable>   
		<xsl:variable name="uCoupons" select="//coupons[generate-id(.)=generate-id(key('allCoupons',.))]"></xsl:variable>   
		<xsl:variable name="uCheque" select="//cheque[generate-id(.)=generate-id(key('allCheque',.))]"></xsl:variable>   
		<xsl:variable name="uBank" select="//bank-draft[generate-id(.)=generate-id(key('allBank',.))]"></xsl:variable>   
		<xsl:variable name="uStamps" select="//stamps[generate-id(.)=generate-id(key('allStamps',.))]"></xsl:variable>   
		<xsl:variable name="uOther" select="//other[generate-id(.)=generate-id(key('allOther',.))]"></xsl:variable>   
		<!-- variable to store the number of different payment modes; used in box 12-19 -->
		<xsl:variable name="pModes" select="count($uCharge) + count($uPostal) + count($uCash) + count($uCoupons) + count($uCheque) + count($uBank) + count($uStamps) + count($uOther)"></xsl:variable>
		<xsl:variable name="curCount" select="count(.//*/@currency[generate-id(.)=generate-id(key('allCur',.))])"></xsl:variable>      
		<xsl:variable name="unique-currencies" select=".//prescribed-fees/*[count( . | key('fee-currency', @currency)[1]) = 1] | .//amount-grand-total[count( . | key('fee-currency', @currency)[1]) = 1]"></xsl:variable>      
		<fo:table table-layout="fixed" border-collapse="separate" space-after="5mm">         
			<fo:table-column column-width="12mm"></fo:table-column>         
			<fo:table-column column-width="53mm"></fo:table-column>         
			<fo:table-column column-width="105mm"></fo:table-column>         
			<fo:table-body>            
				<fo:table-row>               
					<fo:table-cell xsl:use-attribute-sets="tdTL">                  
						<fo:block>                     
							<fo:inline font-weight="bold">                        
								<xsl:text>0</xsl:text>                     
							</fo:inline>                  
						</fo:block>               
					</fo:table-cell>               
					<fo:table-cell xsl:use-attribute-sets="tdTC">                  
						<fo:block space-after="1.5mm">                     
							<fo:inline font-weight="bold">                        
								由受理局填写                     
							</fo:inline>                  
						</fo:block>               
					</fo:table-cell>               
					<fo:table-cell xsl:use-attribute-sets="tdTL">                  
						<fo:block></fo:block>               
					</fo:table-cell>            
				</fo:table-row>            
				<fo:table-row>               
					<fo:table-cell xsl:use-attribute-sets="tdBL">                  
						<fo:block>                     
							<xsl:text>0-1</xsl:text>                  
						</fo:block>               
					</fo:table-cell>               
					<fo:table-cell xsl:use-attribute-sets="tdBC">                  
						<fo:block>                     
							国际申请号                  
						</fo:block>               
					</fo:table-cell>               
					<fo:table-cell xsl:use-attribute-sets="tdBR">
						<fo:block>
						<xsl:choose>
							<xsl:when test="document($rrri_doc)//doc-number">
									<xsl:value-of select="document($rrri_doc)//doc-number"></xsl:value-of>
							</xsl:when>
							<xsl:when test="$ia_number">
									<xsl:value-of select="$ia_number"></xsl:value-of>
							</xsl:when>
						</xsl:choose>
						</fo:block>    
					</fo:table-cell>            
				</fo:table-row>            
				<fo:table-row>               
					<fo:table-cell xsl:use-attribute-sets="tdBL">                  
						<fo:block space-after="2.5mm">                     
							<fo:inline font-weight="bold">                        
								<xsl:text>0-2</xsl:text>                     
							</fo:inline>                  
						</fo:block>               
					</fo:table-cell>               
					<fo:table-cell xsl:use-attribute-sets="tdBC">                  
						<fo:block>                     
							受理局日期章                  
						</fo:block>               
					</fo:table-cell>               
					<fo:table-cell xsl:use-attribute-sets="tdBorderBottom">                  
						<fo:block></fo:block>               
					</fo:table-cell>            
				</fo:table-row>         
			</fo:table-body>      
		</fo:table>      
		<fo:table table-layout="fixed" border-collapse="separate">         
			<fo:table-column column-width="12mm"></fo:table-column>         
			<fo:table-column column-width="48mm"></fo:table-column>         
			<fo:table-column column-width="5mm"></fo:table-column>         
			<fo:table-column column-width="31mm"></fo:table-column>         
			<fo:table-column column-width="41mm"></fo:table-column>         
			<fo:table-column column-width="33mm"></fo:table-column>         
			<fo:table-body>            
				<fo:table-row>               
					<fo:table-cell xsl:use-attribute-sets="tdTL">                  
						<fo:block>                     
							<fo:inline font-weight="bold">                        
								<xsl:text>0-4</xsl:text>                     
							</fo:inline>                  
						</fo:block>               
					</fo:table-cell>               
					<fo:table-cell xsl:use-attribute-sets="tdTC" number-columns-spanned="2">                  
						<fo:block>                     
							<fo:inline font-weight="bold">                        
								PCT/RO/101表(附件)                        
								<fo:block space-before=".5mm"></fo:block>                        
								PCT费用计算页                     
							</fo:inline>                  
						</fo:block>               
					</fo:table-cell>               
					<fo:table-cell xsl:use-attribute-sets="tdBorderTop" number-columns-spanned="3">                  
						<fo:block></fo:block>               
					</fo:table-cell>            
				</fo:table-row>            
				<fo:table-row>               
					<fo:table-cell xsl:use-attribute-sets="tdBL">                  
						<fo:block>                     
							<xsl:text>0-4-1</xsl:text>                  
						</fo:block>               
					</fo:table-cell>               
					<fo:table-cell xsl:use-attribute-sets="tdBC" number-columns-spanned="2">                  
						<fo:block>                     
							软件版本                  
						</fo:block>               
					</fo:table-cell>   
					<fo:table-cell xsl:use-attribute-sets="tdBR" number-columns-spanned="3">                  
						<fo:block>                  
							<fo:inline font-weight="bold"> 
								<xsl:value-of select="$software_name"></xsl:value-of> 
								<fo:block></fo:block>
								<xsl:value-of select="$software_version"></xsl:value-of> 
							</fo:inline>                  
						</fo:block>               
					</fo:table-cell>            
				</fo:table-row>   
            
				<fo:table-row>               
					<fo:table-cell xsl:use-attribute-sets="tdBL">                  
						<fo:block>                     
							<fo:inline font-weight="bold">                        
								<xsl:text>0-9</xsl:text>                     
							</fo:inline>                  
						</fo:block>               
					</fo:table-cell>               
					<fo:table-cell xsl:use-attribute-sets="tdBC" number-columns-spanned="2">                  
						<fo:block>                     
							<fo:inline font-weight="bold">                        
								申请人或代理人的档案号                     
							</fo:inline>                  
						</fo:block>               
					</fo:table-cell>               
					<fo:table-cell xsl:use-attribute-sets="tdBR" number-columns-spanned="3">                  
						<fo:block>                     
							<fo:inline font-weight="bold">                        
								<xsl:value-of select=".//file-reference-id"></xsl:value-of>                     
							</fo:inline>                  
						</fo:block>               
					</fo:table-cell>            
				</fo:table-row>            
				<fo:table-row>               
					<fo:table-cell xsl:use-attribute-sets="tdL">                  
						<fo:block>                     
							<fo:inline font-weight="bold">                        
								<xsl:text>2</xsl:text>                     
							</fo:inline>                  
						</fo:block>               
					</fo:table-cell>               
					<fo:table-cell xsl:use-attribute-sets="tdC" number-columns-spanned="2">                  
						<fo:block>                     
							<fo:inline font-weight="bold">                        
								申请人                     
							</fo:inline>                  
						</fo:block>               
					</fo:table-cell>               
					<fo:table-cell xsl:use-attribute-sets="tdR" number-columns-spanned="3">                  
						<fo:block>                     
							<fo:inline font-weight="bold">                        
								<xsl:choose>                           
									<xsl:when test=".//applicant-name/name">                              
										<xsl:call-template name="uppercaser">                                 
											<xsl:with-param name="string" select=".//applicant-name/name"></xsl:with-param>                              
										</xsl:call-template>                           
									</xsl:when>                           
									<xsl:otherwise>                              
										<xsl:call-template name="uppercaser">                                 
											<xsl:with-param name="string" select=".//applicant-name/last-name"></xsl:with-param>                              
										</xsl:call-template>                                
                              
										<xsl:text>, </xsl:text>                              
										<xsl:value-of select=".//applicant-name/first-name"></xsl:value-of>                           
									</xsl:otherwise>                        
								</xsl:choose>                     
							</fo:inline>                  
						</fo:block>               
					</fo:table-cell>            
				</fo:table-row>            
				<fo:table-row>               
					<fo:table-cell xsl:use-attribute-sets="tdTL" text-align="left">                  
						<fo:block>                     
							<fo:inline font-weight="bold">                        
								<xsl:text>12</xsl:text>                     
							</fo:inline>                  
						</fo:block>               
					</fo:table-cell>               
					<fo:table-cell xsl:use-attribute-sets="tdTC" number-columns-spanned="2">                  
						<fo:block>                     
							<fo:inline font-weight="bold">                        
								计算应缴费用                     
							</fo:inline>                  
						</fo:block>               
					</fo:table-cell>               
					<fo:table-cell xsl:use-attribute-sets="tdTL" text-align="center">                  
						<fo:block>                     
							费用数额/数目                  
						</fo:block>               
					</fo:table-cell>
					<xsl:for-each select=".//prescribed-fees/*">
						<xsl:sort select="@currency"></xsl:sort>
						<xsl:if test="not(@currency = preceding-sibling::*/@currency)"> 
							<fo:table-cell xsl:use-attribute-sets="tdBorderTopLeft">   
							<!--202001 show equivalent amount !-->
								<xsl:choose>
									<xsl:when test="@currency = 'EQF'">
										<fo:block>
											总额   
										</fo:block>
										<fo:block>
											(等价于
											<xsl:choose>
												<xsl:when test="..//transmittal-fee/@currency != 'EQF'">
													<xsl:value-of select="..//transmittal-fee/@currency"></xsl:value-of>
												</xsl:when>
												<xsl:when test="..//search-fee/@currency != 'EQF'">
													<xsl:value-of select="..//search-fee/@currency"></xsl:value-of>															
												</xsl:when>
												<xsl:when test="..//international-fee/@currency != 'EQF'">
													<xsl:value-of select="..//international-fee/@currency"></xsl:value-of>															
												</xsl:when>
												<xsl:when test="..//pdoc-fee/@currency != 'EQF'">
													<xsl:value-of select="..//pdoc-fee/@currency"></xsl:value-of>
												</xsl:when>
												<xsl:when test="..//restoration-fee/@currency != 'EQF'">
													<xsl:value-of select="..//restoration-fee/@currency"></xsl:value-of>															
												</xsl:when>
												<xsl:when test="..//earlier-search-document-fee/@currency != 'EQF'">
													<xsl:value-of select="..//earlier-search-document-fee/@currency"></xsl:value-of>
												</xsl:when>
											</xsl:choose>
											 CHF)
										</fo:block>	
									</xsl:when>
									<xsl:when test="@currency = 'EQU'">
										<fo:block>
											总额   
										</fo:block>
										<fo:block>
											(等价于
											<xsl:choose>
												<xsl:when test="..//transmittal-fee/@currency != 'EQU'">
													<xsl:value-of select="..//transmittal-fee/@currency"></xsl:value-of>
												</xsl:when>
												<xsl:when test="..//search-fee/@currency != 'EQU'">
													<xsl:value-of select="..//search-fee/@currency"></xsl:value-of>															
												</xsl:when>
												<xsl:when test="..//international-fee/@currency != 'EQU'">
													<xsl:value-of select="..//international-fee/@currency"></xsl:value-of>															
												</xsl:when>
												<xsl:when test="..//pdoc-fee/@currency != 'EQU'">
													<xsl:value-of select="..//pdoc-fee/@currency"></xsl:value-of>
												</xsl:when>
												<xsl:when test="..//restoration-fee/@currency != 'EQU'">
													<xsl:value-of select="..//restoration-fee/@currency"></xsl:value-of>															
												</xsl:when>
												<xsl:when test="..//earlier-search-document-fee/@currency != 'EQU'">
													<xsl:value-of select="..//earlier-search-document-fee/@currency"></xsl:value-of>
												</xsl:when>
											</xsl:choose>
											 USD)
										</fo:block>	
									</xsl:when>
									<xsl:otherwise>	
										<fo:block>   
											总额    (<xsl:value-of select="@currency"></xsl:value-of>)
										</fo:block>
									</xsl:otherwise>
								</xsl:choose>
							</fo:table-cell> 
						</xsl:if>
					</xsl:for-each> 
					<xsl:if test="$curCount = 1">
						<fo:table-cell xsl:use-attribute-sets="tdBorderTopLeft">
							<fo:block></fo:block>
						</fo:table-cell> 
					</xsl:if> 			 
            
				</fo:table-row>            
				<fo:table-row>               
					<fo:table-cell xsl:use-attribute-sets="tdL">                  
						<fo:block text-align="center">12-1</fo:block>               
					</fo:table-cell>               
					<fo:table-cell xsl:use-attribute-sets="tdBorderTopLeft" text-align="left">                  
						<fo:block>                  
							传送费                  
						</fo:block>               
					</fo:table-cell>               
					<fo:table-cell xsl:use-attribute-sets="tdBorderTopRight">                  
						<fo:block>                     
							<fo:inline font-weight="bold">                        
								<xsl:text>T</xsl:text>                     
							</fo:inline>                  
						</fo:block>               
					</fo:table-cell>               
					<fo:table-cell xsl:use-attribute-sets="tdTL">                  
						<fo:block font-size="11pt" font-family="ZapfDingbats" text-align="center">➪</fo:block>               
					</fo:table-cell> 
					<xsl:for-each select=".//transmittal-fee"> 
						<xsl:variable name="this-fee" select="."></xsl:variable> 
						<xsl:for-each select="$unique-currencies"> 
							<xsl:sort select="@currency"></xsl:sort> 
							<!-- use with 'if' test below to trap NaN values -->
							 
							<xsl:variable name="fNum">
								<xsl:value-of select="$this-fee[@currency = current()/@currency]/amount-total"></xsl:value-of> 
							</xsl:variable>   
							<fo:table-cell xsl:use-attribute-sets="tdBorderTopLeftData" text-align="right">   
								<fo:block>   
									<xsl:if test="boolean(number($fNum))">
										<fo:inline font-weight="bold">   
											<xsl:if test="$fNum &gt; 0">
												<xsl:value-of select="$fNum"></xsl:value-of>   
											</xsl:if>
										</fo:inline>
									</xsl:if>
								</fo:block>   
							</fo:table-cell> 
						</xsl:for-each> 
					</xsl:for-each> 
					<xsl:if test="$curCount = 1">
						<fo:table-cell xsl:use-attribute-sets="tdBorderTopLeft">
							<fo:block></fo:block>
						</fo:table-cell> 
					</xsl:if>            
				</fo:table-row>            
				<fo:table-row>               
					<fo:table-cell xsl:use-attribute-sets="tdL" text-align="center">                  
						<fo:block>12-2<xsl:if test=".//isa">-1</xsl:if>
						</fo:block>               
					</fo:table-cell>               
					<fo:table-cell xsl:use-attribute-sets="tdBorderTopLeft" text-align="left">                  
						<fo:block>                  
							检索费                  
						</fo:block>               
					</fo:table-cell>               
					<fo:table-cell xsl:use-attribute-sets="tdBorderTopRight">                  
						<fo:block>                     
							<fo:inline font-weight="bold">                        
								<xsl:text>S</xsl:text>                     
							</fo:inline>                  
						</fo:block>               
					</fo:table-cell>               
					<fo:table-cell xsl:use-attribute-sets="tdTL" text-align="center">                  
						<fo:block font-family="ZapfDingbats" font-size="11pt" padding="1pt">➪</fo:block>               
					</fo:table-cell> 
					<xsl:for-each select=".//search-fee"> 
						<xsl:variable name="this-fee" select="."></xsl:variable> 
						<xsl:for-each select="$unique-currencies"> 
							<xsl:sort select="@currency"></xsl:sort> 
							<!-- use with 'if' test below to trap NaN values -->
							 
							<xsl:variable name="fNum">
								<xsl:value-of select="$this-fee[@currency = current()/@currency]/amount-total"></xsl:value-of> 
							</xsl:variable> 
							<fo:table-cell xsl:use-attribute-sets="tdBorderTopLeftData" text-align="right">   
								<fo:block>   
									<xsl:if test="boolean(number($fNum))">
										<fo:inline font-weight="bold">   
											<xsl:if test="$fNum &gt; 0">
												<xsl:value-of select="$fNum"></xsl:value-of>   
											</xsl:if>
										</fo:inline>
									</xsl:if>
								</fo:block> 
							</fo:table-cell> 
						</xsl:for-each> 
					</xsl:for-each> 
					<xsl:if test="$curCount = 1">
						<fo:table-cell xsl:use-attribute-sets="tdBorderTopLeft">
							<fo:block></fo:block>
						</fo:table-cell> 
					</xsl:if>            
				</fo:table-row>            
				<xsl:if test=".//isa">
					<fo:table-row>   
						<fo:table-cell xsl:use-attribute-sets="tdL" text-align="center">  
							<fo:block>12-2-2</fo:block>   
						</fo:table-cell>   
						<fo:table-cell xsl:use-attribute-sets="tdBorderTopLeft" border-right="solid black 0.5pt" text-align="left" number-columns-spanned="2">  
							<fo:block>
								进行国际检索的单位  
							</fo:block>   
						</fo:table-cell>   
						<fo:table-cell xsl:use-attribute-sets="tdTR">  
							<fo:block>  
								<fo:inline font-weight="bold">  
									<xsl:value-of select="translate(.//isa,'abcdefghijklmnopqrstuvwxyz','ABCDEFGHIJKLMNOPQRSTUVWXYZ')"></xsl:value-of>
								</fo:inline>  
							</fo:block>   
						</fo:table-cell>               
						<fo:table-cell xsl:use-attribute-sets="tdBorderTopLeft" number-columns-spanned="2">               
							<fo:block></fo:block>               
						</fo:table-cell>
					</fo:table-row>
				</xsl:if>
				<fo:table-row>   
					<fo:table-cell xsl:use-attribute-sets="tdL" text-align="center">  
						<fo:block>12-3</fo:block>   
					</fo:table-cell>   
					<fo:table-cell xsl:use-attribute-sets="tdBorderTopLeft" border-right="solid black 0.5pt" text-align="left" number-columns-spanned="2">  
						<fo:block>
							国际费  
						</fo:block>   
					</fo:table-cell>   
					<!--
					<fo:table-cell xsl:use-attribute-sets = "tdBorderTopRight"> 
					-->
					<fo:table-cell xsl:use-attribute-sets="tdTR">  
						<fo:block></fo:block>   
					</fo:table-cell>               
					<xsl:choose>               
						<xsl:when test=".//isa">               
							<fo:table-cell number-columns-spanned="2" xsl:use-attribute-sets="tdBorderLeft"><fo:block></fo:block> </fo:table-cell>
						</xsl:when>               
						<xsl:otherwise>               
							<fo:table-cell number-columns-spanned="2" xsl:use-attribute-sets="tdBorderTopLeft"><fo:block></fo:block> </fo:table-cell> 
						</xsl:otherwise>               
					</xsl:choose>
				</fo:table-row>            
				<xsl:if test="($mode='v1.0' or $mode='v1.1')">
					<fo:table-row>               
						<fo:table-cell xsl:use-attribute-sets="tdL">                  
							<fo:block></fo:block>               
						</fo:table-cell>               
						<fo:table-cell xsl:use-attribute-sets="tdBorderLeft">                  
							<fo:block space-after="1mm" start-indent="3mm">
								<xsl:text>     
								</xsl:text>                     
								基本费                  
							</fo:block>               
						</fo:table-cell>               
						<fo:table-cell xsl:use-attribute-sets="tdBorderRight">                  
							<fo:block></fo:block>               
						</fo:table-cell>               
						<fo:table-cell xsl:use-attribute-sets="tdR">                  
							<fo:block></fo:block>               
						</fo:table-cell>               
						<fo:table-cell xsl:use-attribute-sets="tdBorderLeft">                  
							<fo:block></fo:block>               
						</fo:table-cell>               
						<fo:table-cell>                  
							<fo:block></fo:block>               
						</fo:table-cell>            
					</fo:table-row>            
				</xsl:if>
				<fo:table-row>               
					<fo:table-cell xsl:use-attribute-sets="tdL">                  
						<fo:block></fo:block>               
					</fo:table-cell>               
					<fo:table-cell xsl:use-attribute-sets="tdBorderLeft">                  
						<fo:block start-indent="5mm">                     
							(前30页)                  
						</fo:block>               
					</fo:table-cell>               
					<fo:table-cell xsl:use-attribute-sets="tdBorderRight" text-align="center">                  
						<fo:block>                     
							<fo:inline font-weight="bold">                        
								<xsl:choose>
									<xsl:when test="not($mode='v1.0' or $mode='v1.1')">
										<xsl:text>i1</xsl:text>                     
									</xsl:when>
									<xsl:otherwise>
										<xsl:text>b1</xsl:text>                     
									</xsl:otherwise>
								</xsl:choose>
							</fo:inline>                  
						</fo:block>               
					</fo:table-cell>               
					<fo:table-cell xsl:use-attribute-sets="tdR" text-align="right">                  
						<fo:block>                     
							<fo:inline font-weight="bold">  
								<xsl:value-of select=".//basic-fee/amount-each"></xsl:value-of>  
								<xsl:if test="$curCount &gt; 1">  	 
									<!-- 202001	 
									<xsl:value-of select = ".//international-fee/@currency"/>  !-->
								</xsl:if>                     
							</fo:inline>                  
						</fo:block>               
					</fo:table-cell>               
					<fo:table-cell xsl:use-attribute-sets="tdBorderLeft">                  
						<fo:block></fo:block>               
					</fo:table-cell>               
					<fo:table-cell>                  
						<fo:block></fo:block>               
					</fo:table-cell>            
				</fo:table-row>            
            
				<fo:table-row>               
					<fo:table-cell xsl:use-attribute-sets="tdL" text-align="center">                  
						<fo:block>12-4</fo:block>               
					</fo:table-cell>               
					<fo:table-cell xsl:use-attribute-sets="tdBorderTopLeft" text-align="left">                  
						<fo:block start-indent="5mm">                  
							超过30页的页数                  
						</fo:block>               
					</fo:table-cell>               
					<fo:table-cell xsl:use-attribute-sets="tdBorderTopRight">                  
						<fo:block></fo:block>               
					</fo:table-cell>               
					<fo:table-cell xsl:use-attribute-sets="tdTR">                  
						<fo:block>                     
							<fo:inline font-weight="bold">                        
								<xsl:choose>                           
									<xsl:when test=".//sheets-over-30">
										<xsl:value-of select=".//sheets-over-30"></xsl:value-of>                           
									</xsl:when>                           
									<xsl:otherwise>                              
										<xsl:text>0</xsl:text>                              
                           
									</xsl:otherwise>                        
								</xsl:choose>                     
							</fo:inline>                  
						</fo:block>               
					</fo:table-cell>               
					<fo:table-cell xsl:use-attribute-sets="tdBorderLeft">                  
						<fo:block></fo:block>               
					</fo:table-cell>            
				</fo:table-row>            
				<fo:table-row>               
					<fo:table-cell xsl:use-attribute-sets="tdL" text-align="center">                  
						<fo:block>12-5</fo:block>               
					</fo:table-cell>               
					<fo:table-cell xsl:use-attribute-sets="tdBorderTopLeft" text-align="left">                  
						<fo:block start-indent="5mm">                  
							附加费数额                  
						</fo:block>               
					</fo:table-cell>               
					<fo:table-cell xsl:use-attribute-sets="tdBorderTopRight">                  
						<fo:block>                     
							<fo:inline font-weight="bold" font-size="7pt">                        
								<xsl:text>(X)</xsl:text>                     
							</fo:inline>                  
						</fo:block>               
					</fo:table-cell>               
					<fo:table-cell xsl:use-attribute-sets="tdTR">                  
						<fo:block>                     
							<fo:inline font-weight="bold">                        
								<xsl:choose>                           
									<xsl:when test=".//additional-amount/amount-each">  
										<xsl:value-of select=".//additional-amount/amount-each"></xsl:value-of>                           
									</xsl:when>                           
									<xsl:otherwise>                              
										<xsl:text>0</xsl:text>                              
                           
									</xsl:otherwise>                        
								</xsl:choose>                        
								<xsl:if test="$curCount &gt; 1">                        
									<!-- 2020 equivalent                         
									<xsl:value-of select = ".//international-fee/@currency"/> !-->                   
								</xsl:if>                     
							</fo:inline>                  
						</fo:block>               
					</fo:table-cell>               
					<fo:table-cell xsl:use-attribute-sets="tdBorderLeft">                  
						<fo:block></fo:block>               
					</fo:table-cell>               
					<fo:table-cell>                  
						<fo:block></fo:block>               
					</fo:table-cell>            
				</fo:table-row>            
				<fo:table-row>               
					<fo:table-cell xsl:use-attribute-sets="tdL" text-align="center">                  
						<fo:block>12-6</fo:block>               
					</fo:table-cell>               
					<fo:table-cell xsl:use-attribute-sets="tdBorderTopLeft" text-align="left">                  
						<fo:block start-indent="5mm">                  
							附加费总额                  
						</fo:block>               
					</fo:table-cell>               
					<fo:table-cell xsl:use-attribute-sets="tdBorderTopRight">                  
						<fo:block>                     
							<fo:inline font-weight="bold">                        
								<xsl:choose>
									<xsl:when test="not($mode='v1.0' or $mode='v1.1')">
										<xsl:text>i2</xsl:text>                     
									</xsl:when>
									<xsl:otherwise>
										<xsl:text>b2</xsl:text>                     
									</xsl:otherwise>
								</xsl:choose>
							</fo:inline>                  
						</fo:block>               
					</fo:table-cell>               
					<fo:table-cell xsl:use-attribute-sets="tdTR" text-align="right">                  
						<fo:block>                     
							<fo:inline font-weight="bold">                        
								<xsl:choose>                           
									<xsl:when test=".//total-additional-amount">  
										<xsl:value-of select=".//total-additional-amount"></xsl:value-of>                           
									</xsl:when>                           
									<xsl:otherwise>                              
										<xsl:text>0</xsl:text>                           
									</xsl:otherwise>                        
								</xsl:choose>                        
								<xsl:if test="$curCount &gt; 1">                        
									<!--
									<xsl:value-of select = ".//international-fee/@currency"/> !-->                       
								</xsl:if>                        
							</fo:inline>                  
						</fo:block>               
					</fo:table-cell>               
					<fo:table-cell xsl:use-attribute-sets="tdBorderLeft">                  
						<fo:block></fo:block>               
					</fo:table-cell>               
					<fo:table-cell>                  
						<fo:block></fo:block>               
					</fo:table-cell>            
				</fo:table-row>            
				<fo:table-row>               
					<fo:table-cell xsl:use-attribute-sets="tdL" text-align="center">                  
						<fo:block>12-7</fo:block>               
					</fo:table-cell>               
					<fo:table-cell xsl:use-attribute-sets="tdBorderTopLeft" text-align="left">                  
						<fo:block start-indent="5mm">
							<xsl:choose>
								<xsl:when test="not($mode='v1.0' or $mode='v1.1')">
									<xsl:text>i1 + i2 =</xsl:text>                     
								</xsl:when>
								<xsl:otherwise>
									<xsl:text>b1 + b2 =</xsl:text>                     
								</xsl:otherwise>
							</xsl:choose>
						</fo:block>
					</fo:table-cell>               
					<fo:table-cell xsl:use-attribute-sets="tdBorderTopRight">                  
						<fo:block>                     
							<fo:inline font-weight="bold">                        
								<xsl:choose>
									<xsl:when test="not($mode='v1.0' or $mode='v1.1')">
										<xsl:text>i</xsl:text>                     
									</xsl:when>
									<xsl:otherwise>
										<xsl:text>B</xsl:text>                     
									</xsl:otherwise>
								</xsl:choose>
							</fo:inline>                  
						</fo:block>               
					</fo:table-cell>               
					<fo:table-cell xsl:use-attribute-sets="tdTR" text-align="right">                  
						<fo:block>                  
							<fo:inline font-weight="bold">                        
								<xsl:choose>                           
									<xsl:when test=".//basic-fee/amount-total">  
										<xsl:value-of select=".//basic-fee/amount-total"></xsl:value-of>                           
									</xsl:when>                           
									<xsl:otherwise>  
										<xsl:value-of select="number(translate(.//basic-fee/amount-each,' .,:-','')) + number(.//total-additional-amount)"></xsl:value-of>
									</xsl:otherwise>                        
								</xsl:choose>                        
								<xsl:if test="$curCount &gt; 1">                        
									<!--
									<xsl:value-of select = ".//international-fee/@currency"/>   !-->                     
								</xsl:if>                      
							</fo:inline>                  
						</fo:block>               
					</fo:table-cell>               
					<fo:table-cell xsl:use-attribute-sets="tdBorderLeft">                  
						<fo:block></fo:block>               
					</fo:table-cell>               
					<fo:table-cell>                  
						<fo:block></fo:block>               
					</fo:table-cell>            
				</fo:table-row>            
				<xsl:if test="(.//designation-fee) and ($mode='v1.0' or $mode='v1.1')">               
					<fo:table-row>                  
						<fo:table-cell xsl:use-attribute-sets="tdL" text-align="center">                     
							<fo:block>12-8</fo:block>                  
						</fo:table-cell>                  
						<fo:table-cell xsl:use-attribute-sets="tdTC" number-columns-spanned="2">                     
							<fo:block space-after="1mm" start-indent="3mm">                     
								指定费                     
							</fo:block>                  
						</fo:table-cell>                  
						<fo:table-cell xsl:use-attribute-sets="tdBorderTop">                     
							<fo:block></fo:block>                  
						</fo:table-cell>                  
						<fo:table-cell xsl:use-attribute-sets="tdBorderLeft">                     
							<fo:block></fo:block>                  
						</fo:table-cell>                  
						<fo:table-cell>                     
							<fo:block></fo:block>                  
						</fo:table-cell>               
					</fo:table-row>               
					<fo:table-row>                  
						<fo:table-cell>                     
							<fo:block></fo:block>                  
						</fo:table-cell>                  
						<fo:table-cell xsl:use-attribute-sets="tdC" number-columns-spanned="2">                     
							<fo:block start-indent="5mm">                     
								本国际申请所含指定数目                     
							</fo:block>                  
						</fo:table-cell>                  
						<fo:table-cell xsl:use-attribute-sets="tdR">                     
							<fo:block>                        
								<fo:inline font-weight="bold">                           
									<xsl:value-of select=".//number-of-designation"></xsl:value-of>                        
								</fo:inline>                     
							</fo:block>                  
						</fo:table-cell>                  
						<fo:table-cell xsl:use-attribute-sets="tdBorderLeft">                     
							<fo:block></fo:block>                  
						</fo:table-cell>                  
						<fo:table-cell>                     
							<fo:block></fo:block>                  
						</fo:table-cell>               
					</fo:table-row>               
					<fo:table-row>                  
						<fo:table-cell xsl:use-attribute-sets="tdL" text-align="center">                     
							<fo:block>12-9</fo:block>                  
						</fo:table-cell>                  
						<fo:table-cell xsl:use-attribute-sets="tdTC" number-columns-spanned="2">                     
							<fo:block start-indent="5mm">                     
								应缴指定费数目(最多为5)                     
							</fo:block>                  
						</fo:table-cell>                  
						<fo:table-cell xsl:use-attribute-sets="tdTR">                     
							<fo:block>                        
								<fo:inline font-weight="bold">                           
									<xsl:value-of select=".//designation-fee-payable"></xsl:value-of>                        
								</fo:inline>                     
							</fo:block>                  
						</fo:table-cell>                  
						<fo:table-cell xsl:use-attribute-sets="tdBorderLeft">                     
							<fo:block></fo:block>                  
						</fo:table-cell>                  
						<fo:table-cell>                     
							<fo:block></fo:block>                  
						</fo:table-cell>               
					</fo:table-row>               
					<fo:table-row>                  
						<fo:table-cell xsl:use-attribute-sets="tdL" text-align="center">                     
							<fo:block>12-10</fo:block>                  
						</fo:table-cell>                  
						<fo:table-cell xsl:use-attribute-sets="tdBorderTopLeft" text-align="left">                     
							<fo:block start-indent="5mm">                     
								指定费数额                     
							</fo:block>                  
						</fo:table-cell>                  
						<fo:table-cell xsl:use-attribute-sets="tdBorderTopRight">                     
							<fo:block>                        
								<fo:inline font-weight="bold" font-size="7pt">                           
									<xsl:text>(X)</xsl:text>                        
								</fo:inline>                     
							</fo:block>                  
						</fo:table-cell>                  
						<fo:table-cell xsl:use-attribute-sets="tdTR" text-align="left">                     
							<fo:block>                        
								<fo:inline font-weight="bold">  
									<xsl:value-of select=".//designation-fee/amount-each"></xsl:value-of>  
									<xsl:if test="$curCount &gt; 1">                        
										<!-- 
										<xsl:value-of select = ".//international-fee/@currency"/>  !-->
									</xsl:if>                        
								</fo:inline>                     
							</fo:block>                  
						</fo:table-cell>                  
						<fo:table-cell xsl:use-attribute-sets="tdBorderLeft">                     
							<fo:block></fo:block>                  
						</fo:table-cell>                  
						<fo:table-cell>                     
							<fo:block></fo:block>                  
						</fo:table-cell>               
					</fo:table-row>               
					<fo:table-row>                  
						<fo:table-cell xsl:use-attribute-sets="tdL" text-align="center">                     
							<fo:block>12-11</fo:block>                  
						</fo:table-cell>                  
						<fo:table-cell xsl:use-attribute-sets="tdBorderTopLeft" text-align="left">                     
							<fo:block start-indent="5mm">                     
								指定费总额                     
							</fo:block>                  
						</fo:table-cell>                  
						<fo:table-cell xsl:use-attribute-sets="tdBorderTopRight">                     
							<fo:block>                        
								<fo:inline font-weight="bold">                           
									<xsl:text>D</xsl:text>                        
								</fo:inline>                     
							</fo:block>                  
						</fo:table-cell>                  
						<fo:table-cell xsl:use-attribute-sets="tdTR" text-align="right">                     
							<fo:block>                        
								<fo:inline font-weight="bold">
									<xsl:value-of select=".//designation-fee/amount-total"></xsl:value-of>
									<xsl:if test="$curCount &gt; 1">
										<!-- 
										<xsl:value-of select = ".//international-fee/@currency"/> !-->
									</xsl:if>                        
								</fo:inline>                     
							</fo:block>                  
						</fo:table-cell>                  
						<fo:table-cell xsl:use-attribute-sets="tdBorderLeft">                     
							<fo:block></fo:block>                  
						</fo:table-cell>                  
						<fo:table-cell>                     
							<fo:block></fo:block>                  
						</fo:table-cell>               
					</fo:table-row>            
				</xsl:if>            
				<xsl:for-each select=".//fee-reduction">
					<fo:table-row>               
						<fo:table-cell xsl:use-attribute-sets="tdL" text-align="center">                  
							<fo:block>12-12</fo:block>               
						</fo:table-cell>               
						<fo:table-cell xsl:use-attribute-sets="tdBorderTopLeft" text-align="left">                  
							<fo:block start-indent="3mm">                  
								<xsl:choose>
									<xsl:when test="$mode='v1.0' or $mode='v1.1'">
										<xsl:value-of select="$fee_reduction"></xsl:value-of>
									</xsl:when>
									<xsl:otherwise>
										<xsl:call-template name="reduction_type">
											<xsl:with-param name="reduction" select="@reduction-type"></xsl:with-param>
										</xsl:call-template>
									</xsl:otherwise>
								</xsl:choose>
							</fo:block>               
						</fo:table-cell>               
						<fo:table-cell xsl:use-attribute-sets="tdBorderTopRight">                  
							<fo:block>                     
								<fo:inline font-weight="bold">                        
									<xsl:text>R</xsl:text>                     
								</fo:inline>                  
							</fo:block>               
						</fo:table-cell>               
						<fo:table-cell xsl:use-attribute-sets="tdTR" text-align="right">                  
							<fo:block>                  
								<fo:inline font-weight="bold">
									<!--
									<xsl:if test = "$curCount > 1">
										<xsl:value-of select = "translate(parent::international-fee/@currency,'abcdefghijklmnopqrstuvwxyz','ABCDEFGHIJKLMNOPQRSTUVWXYZ')"/>
									</xsl:if> !-->
									<xsl:value-of select="./amount-each"></xsl:value-of>
								</fo:inline>                                
							</fo:block>               
						</fo:table-cell>               
						<fo:table-cell xsl:use-attribute-sets="tdBorderLeft">                  
							<fo:block></fo:block>               
						</fo:table-cell>               
						<fo:table-cell>                  
							<fo:block></fo:block>               
						</fo:table-cell>            
					</fo:table-row>         
				</xsl:for-each>   
				<fo:table-row>               
					<fo:table-cell xsl:use-attribute-sets="tdL" text-align="center">                  
						<fo:block>12-13</fo:block>               
					</fo:table-cell>               
					<fo:table-cell xsl:use-attribute-sets="tdBorderTopLeft" text-align="left">                  
						<fo:block>                  
							<xsl:choose>
								<xsl:when test="not($mode='v1.0' or $mode='v1.1')">
									国际申请费总额(i-R)                  
								</xsl:when>
								<xsl:otherwise>
									国际申请费总额(B+D+R)                  
								</xsl:otherwise>
							</xsl:choose>
						</fo:block>               
					</fo:table-cell>               
					<fo:table-cell xsl:use-attribute-sets="tdBorderTopRight">                  
						<fo:block>                     
							<fo:inline font-weight="bold">                        
								<xsl:text>I</xsl:text>                     
							</fo:inline>                  
						</fo:block>               
					</fo:table-cell>               
					<fo:table-cell xsl:use-attribute-sets="tdTR">                  
						<fo:block font-size="11pt" font-family="ZapfDingbats" text-align="center">➪</fo:block>               
					</fo:table-cell> 
					<xsl:for-each select=".//international-fee"> 
						<xsl:variable name="this-fee" select="."></xsl:variable> 
						<xsl:for-each select="$unique-currencies"> 
							<xsl:sort select="@currency"></xsl:sort> 
							<!-- use with 'if' test below to trap NaN values -->
							<xsl:variable name="fNum">
								<xsl:value-of select="$this-fee[@currency = current()/@currency]/amount-total"></xsl:value-of> 
							</xsl:variable>   
							<fo:table-cell xsl:use-attribute-sets="tdBorderTopLeftData" text-align="right">   
								<fo:block>   
									<xsl:if test="boolean(number($fNum))">
										<fo:inline font-weight="bold">   
											<xsl:if test="$fNum &gt; 0"> 
												<xsl:value-of select="$fNum"></xsl:value-of>   
											</xsl:if>
										</fo:inline>
									</xsl:if>
								</fo:block>   
							</fo:table-cell> 
						</xsl:for-each> 
					</xsl:for-each> 
					<xsl:if test="$curCount = 1">
						<fo:table-cell xsl:use-attribute-sets="tdBorderTopLeft">
							<fo:block></fo:block>
						</fo:table-cell> 
					</xsl:if>            
				</fo:table-row>
				<xsl:if test=".//pdoc-fee">				
					<xsl:if test="not($lang='ja')">
						<fo:table-row>
							<fo:table-cell xsl:use-attribute-sets="tdL" text-align="center">
								<fo:block>12-14</fo:block>
							</fo:table-cell>
							<fo:table-cell xsl:use-attribute-sets="tdTC" number-columns-spanned="2">
								<fo:block space-after="1mm">
									优先权文件费
								</fo:block>
							</fo:table-cell>
							<fo:table-cell xsl:use-attribute-sets="tdBorderTop">
								<fo:block></fo:block>
							</fo:table-cell>
							<fo:table-cell xsl:use-attribute-sets="tdBorderTopLeft" number-columns-spanned="2">
								<fo:block></fo:block>
							</fo:table-cell>
						</fo:table-row>
						<fo:table-row>
							<fo:table-cell>
								<fo:block></fo:block>
							</fo:table-cell>
							<fo:table-cell xsl:use-attribute-sets="tdC" number-columns-spanned="2">
								<fo:block start-indent="5mm">
									要求提供的优先权文件数
								</fo:block>
							</fo:table-cell>
							<fo:table-cell xsl:use-attribute-sets="tdR">
								<fo:block>
									<fo:inline font-weight="bold">
										<xsl:value-of select=".//pdoc-quantity"></xsl:value-of>
									</fo:inline>
								</fo:block>
							</fo:table-cell>
							<fo:table-cell xsl:use-attribute-sets="tdBorderLeft">
								<fo:block></fo:block>
							</fo:table-cell>
							<fo:table-cell>
								<fo:block></fo:block>
							</fo:table-cell>
						</fo:table-row>
						<fo:table-row>
							<fo:table-cell xsl:use-attribute-sets="tdL" text-align="center">
								<fo:block>12-15</fo:block>
							</fo:table-cell>
							<fo:table-cell xsl:use-attribute-sets="tdBorderTopLeft" text-align="left">
								<fo:block start-indent="5mm">
									每份文件应缴费用
								</fo:block>
							</fo:table-cell>
							<fo:table-cell xsl:use-attribute-sets="tdBorderTopRight">
								<fo:block>
									<fo:inline font-weight="bold">(X)</fo:inline>
								</fo:block>
							</fo:table-cell>
							<fo:table-cell xsl:use-attribute-sets="tdTR">
								<fo:block>
									<fo:inline font-weight="bold">
										<xsl:value-of select=".//pdoc-fee/amount-each"></xsl:value-of>
										<xsl:if test="$curCount &gt; 1">
											<!--
											<xsl:value-of select = ".//pdoc-fee/@currency"/> !-->
										</xsl:if>
									</fo:inline>
								</fo:block>
							</fo:table-cell>
							<fo:table-cell xsl:use-attribute-sets="tdBorderLeft">
								<fo:block></fo:block>
							</fo:table-cell>
							<fo:table-cell>
								<fo:block></fo:block>
							</fo:table-cell>
						</fo:table-row>
						<fo:table-row>
							<fo:table-cell xsl:use-attribute-sets="tdL" text-align="center">
								<fo:block>12-16</fo:block>
							</fo:table-cell>
							<fo:table-cell xsl:use-attribute-sets="tdBorderTopLeft" text-align="left">
								<fo:block>
									优先权文件费总额: 
								</fo:block>
							</fo:table-cell>
							<fo:table-cell xsl:use-attribute-sets="tdBorderTopRight">
								<fo:block>
									<fo:inline font-weight="bold">P</fo:inline>
								</fo:block>
							</fo:table-cell>
							<fo:table-cell xsl:use-attribute-sets="tdTL" text-align="center">
								<fo:block font-size="11pt" font-family="ZapfDingbats">➪</fo:block>
							</fo:table-cell> 
							<xsl:for-each select=".//pdoc-fee"> 
								<xsl:variable name="this-fee" select="."></xsl:variable> 
								<xsl:for-each select="$unique-currencies">     
									<xsl:sort select="@currency"></xsl:sort> 
									<!-- use with 'if' test below to trap NaN values -->
									<xsl:variable name="fNum">
										<xsl:value-of select="$this-fee[@currency = current()/@currency]/amount-total"></xsl:value-of> 
									</xsl:variable>   
									<fo:table-cell xsl:use-attribute-sets="tdBorderTopLeftData" text-align="right">   
										<fo:block>   	  
											<xsl:if test="boolean(number($fNum))">
												<fo:inline font-weight="bold">   
													<xsl:if test="$fNum &gt; 0">  
														<xsl:value-of select="$fNum"></xsl:value-of>   
													</xsl:if>
												</fo:inline>  
											</xsl:if>
										</fo:block>   
									</fo:table-cell> 
								</xsl:for-each> 
							</xsl:for-each> 
							<xsl:if test="$curCount = 1">
								<fo:table-cell xsl:use-attribute-sets="tdBorderTopLeft">
									<fo:block></fo:block>
								</fo:table-cell> 
							</xsl:if>
						</fo:table-row>
					</xsl:if>
				</xsl:if>
				<xsl:if test=".//restoration-fee">
					<fo:table-row>   
						<fo:table-cell xsl:use-attribute-sets="tdL" text-align="center">  
							<fo:block>12-17</fo:block>   
						</fo:table-cell>   
						<fo:table-cell xsl:use-attribute-sets="tdBorderTopLeft" text-align="left">  
							<fo:block>
								恢复优先权请求费
							</fo:block>   
						</fo:table-cell>   
						<fo:table-cell xsl:use-attribute-sets="tdBorderTopRight" border-right="solid black 0.5pt">
							<fo:block>
								<fo:inline font-weight="bold">RP</fo:inline>
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdTL">  
							<fo:block></fo:block>   
						</fo:table-cell>               
						<fo:table-cell xsl:use-attribute-sets="tdBorderTopLeft">
							<fo:block></fo:block>   
						</fo:table-cell> 
						<fo:table-cell xsl:use-attribute-sets="tdBorderTopLeft">
							<fo:block></fo:block>   
						</fo:table-cell> 
					</fo:table-row>
					<fo:table-row>   
						<fo:table-cell xsl:use-attribute-sets="tdL" text-align="center">  
							<fo:block></fo:block>   
						</fo:table-cell>   
						<fo:table-cell xsl:use-attribute-sets="tdBorderLeft" border-right="solid black 0.5pt" text-align="left" number-columns-spanned="2">  
							<fo:block padding-top="1pt" start-indent="5mm">
								恢复优先权请求的数量
							</fo:block>   
						</fo:table-cell>   
						<fo:table-cell xsl:use-attribute-sets="tdR" text-align="left">                  
							<fo:block>                     
								<fo:inline font-weight="bold">                        
									<xsl:choose>                           
										<xsl:when test=".//restoration-quantity">
											<xsl:value-of select=".//restoration-quantity"></xsl:value-of>                           
										</xsl:when>                           
										<xsl:otherwise>                              
											<xsl:text></xsl:text>                              
										</xsl:otherwise>                        
									</xsl:choose>                     
								</fo:inline>                  
							</fo:block>                     
						</fo:table-cell>               
						<fo:table-cell xsl:use-attribute-sets="tdBorderLeft">                  
							<fo:block>                     
							</fo:block>               
						</fo:table-cell>               
						<fo:table-cell xsl:use-attribute-sets="tdBorderLeft">  
							<fo:block> 
							</fo:block>   
						</fo:table-cell>               
					</fo:table-row>
					<fo:table-row>   
						<fo:table-cell xsl:use-attribute-sets="tdL" text-align="center">  
							<fo:block></fo:block>   
						</fo:table-cell>   
						<fo:table-cell xsl:use-attribute-sets="tdBorderTopLeft" border-right="solid black 0.5pt" text-align="left" number-columns-spanned="2">  
							<fo:block>
								恢复优先权请求费的总额
							</fo:block>   
						</fo:table-cell>   
						<fo:table-cell xsl:use-attribute-sets="tdTL">  
							<fo:block> 
							</fo:block>   
						</fo:table-cell>               
						<xsl:for-each select=".//restoration-fee"> 
							<xsl:variable name="this-fee" select="."></xsl:variable> 
							<xsl:for-each select="$unique-currencies"> 
								<xsl:sort select="@currency"></xsl:sort> 
								<!-- use with 'if' test below to trap NaN values -->
								<xsl:variable name="fNum">
									<xsl:value-of select="$this-fee[@currency = current()/@currency]/amount-total"></xsl:value-of> 
								</xsl:variable>   
								<fo:table-cell xsl:use-attribute-sets="tdBorderTopLeftData" text-align="right">   
									<fo:block>   
										<xsl:if test="boolean(number($fNum))">
											<fo:inline font-weight="bold">   
												<xsl:if test="$fNum &gt; 0">
													<xsl:value-of select="$fNum"></xsl:value-of>   
												</xsl:if>
											</fo:inline>
										</xsl:if>
									</fo:block>   
								</fo:table-cell> 
							</xsl:for-each> 
						</xsl:for-each> 
						<xsl:if test="$curCount = 1">
							<fo:table-cell xsl:use-attribute-sets="tdBorderTopLeft">
								<fo:block></fo:block>
							</fo:table-cell> 
						</xsl:if>
					</fo:table-row>
				</xsl:if>
				<xsl:if test=".//earlier-search-document-fee">
					<fo:table-row>   
						<fo:table-cell xsl:use-attribute-sets="tdL" text-align="center">
							<fo:block>12-18</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdBorderTopLeft" text-align="left">
							<fo:block>
								在先检索文件费                     
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdBorderTopRight">
							<fo:block>
								<fo:inline font-weight="bold">ES</fo:inline>
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdTR" text-align="left">                  
							<fo:block>                     
								<fo:inline font-weight="bold">                        
									<xsl:choose>                           
										<xsl:when test=".//earlier-search-document-quantity">
											<xsl:value-of select=".//earlier-search-document-quantity"></xsl:value-of>                           
										</xsl:when>                           
										<xsl:otherwise>                              
											<xsl:text></xsl:text>                              
										</xsl:otherwise>                        
									</xsl:choose>                     
								</fo:inline>                  
							</fo:block>                     
						</fo:table-cell>               
						<xsl:for-each select=".//earlier-search-document-fee"> 
							<xsl:variable name="this-fee" select="."></xsl:variable> 
							<xsl:for-each select="$unique-currencies"> 
								<xsl:sort select="@currency"></xsl:sort> 
								<!-- use with 'if' test below to trap NaN values -->
								<xsl:variable name="fNum">
									<xsl:value-of select="$this-fee[@currency = current()/@currency]/amount-total"></xsl:value-of> 
								</xsl:variable>   
								<fo:table-cell xsl:use-attribute-sets="tdBorderTopLeftData" text-align="right">   
									<fo:block>   
										<xsl:if test="boolean(number($fNum))">
											<fo:inline font-weight="bold">   
												<xsl:if test="$fNum &gt; 0">
													<xsl:value-of select="$fNum"></xsl:value-of>   
												</xsl:if>
											</fo:inline>
										</xsl:if>
									</fo:block>   
								</fo:table-cell> 
							</xsl:for-each> 
						</xsl:for-each> 
						<xsl:if test="$curCount = 1">
							<fo:table-cell xsl:use-attribute-sets="tdBorderTopLeft">
								<fo:block></fo:block>
							</fo:table-cell> 
						</xsl:if>              
					</fo:table-row>
				</xsl:if>
				<fo:table-row>               
					<fo:table-cell xsl:use-attribute-sets="tdTL">                  
						<fo:block>                     
							<fo:inline font-weight="bold">12-19</fo:inline>                  
						</fo:block>               
					</fo:table-cell>               
					<fo:table-cell xsl:use-attribute-sets="tdTC" number-columns-spanned="2">                  
						<fo:block>
						<xsl:if test=".//restoration-fee">
							<xsl:if test=".//earlier-search-document-fee">
									<fo:inline font-weight="bold">                        
										应缴费用总额 (T+S+I+P+RP+ES)                     
									</fo:inline>                  
							</xsl:if>
							<xsl:if test="not(.//earlier-search-document-fee)">
									<fo:inline font-weight="bold">                        
										应缴费用总额 (T+S+I+P+RP)                     
									</fo:inline>                  
							</xsl:if>
						</xsl:if>
						<xsl:if test="not(.//restoration-fee)">
							<xsl:if test=".//earlier-search-document-fee">
									<fo:inline font-weight="bold">                        
										应缴费用总额 (T+S+I+P+ES)                     
									</fo:inline>                  
							</xsl:if>
							<xsl:if test="not(.//earlier-search-document-fee)">
									<fo:inline font-weight="bold">                        
										应缴费用总额 (T+S+I+P)                     
									</fo:inline>                  
							</xsl:if>
						</xsl:if>
						</fo:block>
					</fo:table-cell>               
					<fo:table-cell xsl:use-attribute-sets="tdTL" text-align="center">                  
						<fo:block font-size="11pt" font-family="ZapfDingbats">➪</fo:block>               
					</fo:table-cell> 
					<xsl:for-each select=".//amount-grand-total">     
						<xsl:sort select="@currency"></xsl:sort> 
						<xsl:variable name="this-fee" select="."></xsl:variable> 
						<xsl:for-each select="$unique-currencies"> 
							<xsl:variable name="fNum">
								<xsl:value-of select="$this-fee[@currency = current()/@currency]/."></xsl:value-of> 
							</xsl:variable>   
							<xsl:if test="boolean(number($fNum))">   
								<fo:table-cell xsl:use-attribute-sets="tdBorderTopLeftData" text-align="right">   
									<fo:block>
										<fo:inline font-weight="bold">
											<xsl:value-of select="$fNum"></xsl:value-of>
										</fo:inline>
									</fo:block>   
								</fo:table-cell>   
							</xsl:if> 
						</xsl:for-each> 
					</xsl:for-each> 
					<xsl:if test="$curCount = 1">
						<fo:table-cell xsl:use-attribute-sets="tdBorderTopLeft">
							<fo:block></fo:block>
						</fo:table-cell> 
					</xsl:if>            
				</fo:table-row>
				<fo:table-row>
					<fo:table-cell border-top="solid black 0.25pt" number-columns-spanned="6"><fo:block></fo:block></fo:table-cell>
				</fo:table-row>         
			</fo:table-body>       
		</fo:table>            
		<fo:table table-layout="fixed" border-collapse="separate">         
			<fo:table-column column-width="12mm"></fo:table-column>         
			<fo:table-column column-width="48mm"></fo:table-column>         
			<fo:table-column column-width="5mm"></fo:table-column>         
			<fo:table-column column-width="35mm"></fo:table-column>         
			<fo:table-column column-width="35mm"></fo:table-column>         
			<fo:table-column column-width="35mm"></fo:table-column>         
			<fo:table-body>            
			<!-- NOTE: not used after 2004 -->
				<!--xsl:if test = "not(.//designation-fee)">               
					<fo:table-row>                  
						<fo:table-cell xsl:use-attribute-sets = "tdTL">                     
							<fo:block>                        
								<fo:inline font-weight = "bold">12-20</fo:inline>                     
							</fo:block>                  
						</fo:table-cell>                  
						<fo:table-cell xsl:use-attribute-sets = "tdTC" number-columns-spanned = "2">                     
							<fo:block>                        
								<fo:inline font-weight = "bold">                           
									<inc file = "commonText.xml" toTranslate = "desFeesNotPaid_Text"/>                        
								</fo:inline>                     
							</fo:block>                  
						</fo:table-cell>                  
						<fo:table-cell xsl:use-attribute-sets = "tdTL" number-columns-spanned = "3">                     
							<fo:block font-size = "11pt" font-family = "ZapfDingbats">✓</fo:block>                  
						</fo:table-cell>               
					</fo:table-row>            
				</xsl:if-->            
				<fo:table-row>               
					<fo:table-cell xsl:use-attribute-sets="tdTBL">                  
						<fo:block>                     
							<fo:inline font-weight="bold">12-21</fo:inline>                  
						</fo:block>               
					</fo:table-cell>               
					<fo:table-cell xsl:use-attribute-sets="tdTBC" number-columns-spanned="2">                  
						<fo:block>                     
							<fo:inline font-weight="bold">                        
								缴费方式                     
							</fo:inline>                  
						</fo:block>               
					</fo:table-cell>               
					<fo:table-cell xsl:use-attribute-sets="tdTBR" number-columns-spanned="3">                  
						<fo:block>                     
							<fo:inline font-weight="bold">                     
								<xsl:choose>
									<xsl:when test="$pModes &gt; 1">
										传送费:   <xsl:call-template name="paymentMode">
											<xsl:with-param name="pType" select=".//transmittal-fee/payment-mode"></xsl:with-param>   
										</xsl:call-template>
										<fo:block></fo:block>
										检索费: <xsl:call-template name="paymentMode">
											<xsl:with-param name="pType" select=".//search-fee/payment-mode"></xsl:with-param>   
										</xsl:call-template>
										<fo:block></fo:block>
										国际费:   <xsl:call-template name="paymentMode">
											<xsl:with-param name="pType" select=".//international-fee/payment-mode"></xsl:with-param>   
										</xsl:call-template>
										<xsl:if test=".//pdoc-fee/amount-total &gt; 0">   
											<fo:block></fo:block>   
											优先权文件费:   <xsl:call-template name="paymentMode">
												<xsl:with-param name="pType" select=".//pdoc-fee/payment-mode"></xsl:with-param>   
											</xsl:call-template>
										</xsl:if>
									</xsl:when>
									<xsl:otherwise>
										<!-- otherwise, all payment types are the same; use any -->
										<xsl:call-template name="paymentMode">
											<xsl:with-param name="pType" select=".//transmittal-fee/payment-mode"></xsl:with-param>   
										</xsl:call-template>
									</xsl:otherwise>
								</xsl:choose>                     
							</fo:inline>                  
						</fo:block>               
					</fo:table-cell>            
				</fo:table-row>            
				<xsl:if test=".//deposit-account/account-no/text()">               
					<fo:table-row keep-with-next="always">                  
						<fo:table-cell xsl:use-attribute-sets="tdTL">                     
							<fo:block>                        
								<fo:inline font-weight="bold">12-22</fo:inline>                     
							</fo:block>                  
						</fo:table-cell>                  
						<fo:table-cell xsl:use-attribute-sets="tdTC" number-columns-spanned="2">                     
							<fo:block space-after="2mm">                        
								<fo:inline font-weight="bold">                           
									帐户授权                        
								</fo:inline>                     
							</fo:block>                  
						</fo:table-cell>                  
						<fo:table-cell xsl:use-attribute-sets="tdTR" number-columns-spanned="3">                     
							<fo:block>                        
								<fo:inline font-weight="bold">                           
									<!--inc file = "commonText.xml" toTranslate = "charge_Text"/-->									                        
								</fo:inline>                     
							</fo:block>                  
						</fo:table-cell>               
					</fo:table-row>               
					<fo:table-row keep-with-next="always">                  
						<fo:table-cell>                     
							<fo:block></fo:block>                  
						</fo:table-cell>                  
						<fo:table-cell xsl:use-attribute-sets="tdC" number-columns-spanned="2">                     
							<fo:block>                        
								受理局                     
							</fo:block>                  
						</fo:table-cell>                  
						<fo:table-cell xsl:use-attribute-sets="tdR" number-columns-spanned="3">                     
							<fo:block>                        
								<fo:inline font-weight="bold">
									<xsl:choose>
										<xsl:when test="$lang='ar'">
											<fo:bidi-override unicode-bidi="embed" direction="rtl">
												<xsl:call-template name="officeName_ChoiceText">
													<xsl:with-param name="office" select=".//@ro"></xsl:with-param>
												</xsl:call-template>
											</fo:bidi-override>
										</xsl:when>
										<xsl:otherwise>
											<xsl:call-template name="officeName_ChoiceText">
												<xsl:with-param name="office" select=".//@ro"></xsl:with-param>
											</xsl:call-template>											
										</xsl:otherwise>
									</xsl:choose>
									<fo:inline keep-together.within-line="always">
										<xsl:text>(RO/</xsl:text>
										<xsl:value-of select="translate(.//@ro,'abcdefghijklmnopqrstuvwxyz','ABCDEFGHIJKLMNOPQRSTUVWXYZ')"></xsl:value-of>
										<xsl:text>)</xsl:text>
									</fo:inline>
								</fo:inline>                 
							</fo:block>                  
						</fo:table-cell>               
					</fo:table-row>               
					<xsl:if test=".//deposit-account/authorization/total-fee">                  
						<fo:table-row keep-with-next="always">                  
							<fo:table-cell xsl:use-attribute-sets="tdTL">                        
								<fo:block>12-22-1</fo:block>                     
							</fo:table-cell>                     
							<fo:table-cell xsl:use-attribute-sets="tdTC" number-columns-spanned="2">                        
								<fo:block>                           
									授权扣除上述费用。                        
								</fo:block>                     
							</fo:table-cell>                     
							<fo:table-cell xsl:use-attribute-sets="tdTL" number-columns-spanned="3">                        
								<fo:block font-size="11pt" font-family="ZapfDingbats">✓</fo:block>                     
							</fo:table-cell>                  
						</fo:table-row>               
					</xsl:if>               
					<xsl:if test=".//deposit-account/authorization/deficiency-credit">                  
						<fo:table-row keep-with-next="always">                  
							<fo:table-cell xsl:use-attribute-sets="tdTL">                        
								<fo:block>12-22-2</fo:block>                     
							</fo:table-cell>                     
							<fo:table-cell xsl:use-attribute-sets="tdTC" number-columns-spanned="2">                        
								<fo:block>                           
									授权扣除费用不足部分或存入多余部分。                        
								</fo:block>                     
							</fo:table-cell>                     
							<fo:table-cell xsl:use-attribute-sets="tdTL" number-columns-spanned="3">                        
								<fo:block font-size="11pt" font-family="ZapfDingbats">✓</fo:block>                     
							</fo:table-cell>                  
						</fo:table-row>               
					</xsl:if>               
					<xsl:if test=".//deposit-account/authorization/fee-for-pdoc">                  
						<fo:table-row keep-with-previous="always">                  
							<fo:table-cell xsl:use-attribute-sets="tdTL">                        
								<fo:block>12-22-3</fo:block>                     
							</fo:table-cell>                     
							<fo:table-cell xsl:use-attribute-sets="tdTC" number-columns-spanned="2">                        
								<fo:block>                           
									授权扣除优先权文件费                        
								</fo:block>                     
							</fo:table-cell>                     
							<fo:table-cell xsl:use-attribute-sets="tdTL" number-columns-spanned="3">                        
								<fo:block font-size="11pt" font-family="ZapfDingbats">✓</fo:block>                     
							</fo:table-cell>                  
						</fo:table-row>               
					</xsl:if>               
					<xsl:if test=".//deposit-account/authorization/automatic-debit">
						<fo:table-row>                     
							<fo:table-cell xsl:use-attribute-sets="tdTL">                        
								<fo:block>12-22-4</fo:block>                     
							</fo:table-cell>                     
							<fo:table-cell xsl:use-attribute-sets="tdTC" number-columns-spanned="2">                        
								<fo:block>                           
									The Office in its capacity as receiving Office (RO), as International Searching Authority (ISA), and, where applicable, in its capacity as International Preliminary Examining Authority (IPEA) is authorized to automatically debit, under the terms of the Office's automatic debit procedure, the identified account with any fees due in the processing of this International Application.                        
								</fo:block>                     
							</fo:table-cell>                     
							<fo:table-cell xsl:use-attribute-sets="tdTL" number-columns-spanned="3">                        
								<fo:block font-size="11pt" font-family="ZapfDingbats">✓</fo:block>                     
							</fo:table-cell>                  
						</fo:table-row>               
					</xsl:if>                  

					<fo:table-row>                  
						<fo:table-cell xsl:use-attribute-sets="tdTL">                     
							<fo:block>                        
								<fo:inline font-weight="bold">12-23</fo:inline>                     
							</fo:block>                  
						</fo:table-cell>                  
						<fo:table-cell xsl:use-attribute-sets="tdTC" number-columns-spanned="2">                     
							<fo:block>                        
								帐号                     
							</fo:block>                  
						</fo:table-cell>                  
						<fo:table-cell xsl:use-attribute-sets="tdTR" number-columns-spanned="3">                     
							<fo:block>                        
								<fo:inline font-weight="bold">                           
									<xsl:value-of select=".//account-no"></xsl:value-of>                        
								</fo:inline>                     
							</fo:block>                  
						</fo:table-cell>               
					</fo:table-row>               
					<fo:table-row>                  
						<fo:table-cell xsl:use-attribute-sets="tdTBL">                     
							<fo:block>                        
								<fo:inline font-weight="bold">12-24</fo:inline>                     
							</fo:block>                  
						</fo:table-cell>                  
						<fo:table-cell xsl:use-attribute-sets="tdTBC" number-columns-spanned="2">                     
							<fo:block>                        
								日期                     
							</fo:block>                  
						</fo:table-cell>                  
						<fo:table-cell xsl:use-attribute-sets="tdTBR" number-columns-spanned="3">                     
							<fo:block>                        
								<fo:inline font-weight="bold">                           
									<xsl:call-template name="format_date">                              
										<xsl:with-param name="lang" select="$lang"></xsl:with-param>                              
										<xsl:with-param name="date" select=".//date"></xsl:with-param>                              
										<xsl:with-param name="show_date" select="1"></xsl:with-param>                              
										<xsl:with-param name="date_too" select="1"></xsl:with-param>                              
										<xsl:with-param name="text" select="1"></xsl:with-param>                           
									</xsl:call-template>                        
								</fo:inline>                     
							</fo:block>                  
						</fo:table-cell>               
					</fo:table-row>               
					<fo:table-row keep-with-next="always">                  
						<fo:table-cell xsl:use-attribute-sets="tdTL">                     
							<fo:block>                        
								<fo:inline font-weight="bold">12-25</fo:inline>                     
							</fo:block>                  
						</fo:table-cell>                  
						<fo:table-cell xsl:use-attribute-sets="tdTC" number-columns-spanned="2">                     
							<fo:block space-after="12mm">                        
								姓名(或名称)及签字                     
							</fo:block>                  
						</fo:table-cell>                  
						<fo:table-cell xsl:use-attribute-sets="tdTR" number-columns-spanned="3">                     
							<fo:block>                        
								<fo:inline font-weight="bold">
									<!-- TODO: determine whether to show deposit-account name or signatory name -->
									 
									<xsl:call-template name="format_name">
										<xsl:with-param name="name_arg" select=".//deposit-account"></xsl:with-param> 
									</xsl:call-template>           						 
								</fo:inline>                     
							</fo:block>                  
						</fo:table-cell>               
					</fo:table-row>               
					<fo:table-row keep-with-previous="always">                  
						<fo:table-cell xsl:use-attribute-sets="tdBorderBottom">                     
							<fo:block></fo:block>                  
						</fo:table-cell>                  
						<fo:table-cell xsl:use-attribute-sets="tdBC" number-columns-spanned="2">                     
							<fo:block></fo:block>                  
						</fo:table-cell>                  
						<fo:table-cell xsl:use-attribute-sets="tdBR" number-columns-spanned="3">                     
							<fo:block>   
								<xsl:choose>  
									<xsl:when test=".//signatory[1]/electronic-signature/basic-signature/fax-image"> 
										<fo:external-graphic>
											<xsl:if test="not(contains($fop_version, '0.2')) and ($fop_version != '')">
												<xsl:attribute name="content-width">scale-down-to-fit</xsl:attribute>											
												<xsl:attribute name="width">100mm</xsl:attribute>											
											</xsl:if>										
											<!-- NOTE: XEP will not load files in same directory if 'file:///' is prepended -->
											<xsl:attribute name="src">   
												<xsl:choose>  
													<xsl:when test="contains(.//signatory[1]/electronic-signature/basic-signature/fax-image/@file,'/') or contains(.//signatory[1]/electronic-signature/basic-signature/fax-image/@file,'\') or contains(.//signatory[1]/electronic-signature/basic-signature/fax-image/@file,':')"> 
														<xsl:value-of select="concat('file:///',.//signatory[1]/electronic-signature/basic-signature/fax-image/@file)"></xsl:value-of>  
													</xsl:when>  
													<xsl:otherwise> 
														<xsl:value-of select=".//signatory[1]/electronic-signature/basic-signature/fax-image/@file"></xsl:value-of>  
													</xsl:otherwise>   
												</xsl:choose>
											</xsl:attribute> 
										</fo:external-graphic>  
									</xsl:when>  
									<xsl:when test=".//signatory[1]/electronic-signature/basic-signature/click-wrap"> 
										<fo:inline font-weight="bold"> 
											(申请人按“是”按钮) 
										</fo:inline>  
									</xsl:when>  
									<xsl:when test=".//signatory[1]/electronic-signature/basic-signature/text-string"> 
										<fo:inline font-weight="bold"> 
											<xsl:value-of select=".//signatory[1]//text-string"></xsl:value-of> 
										</fo:inline>  
									</xsl:when>  
									<xsl:when test=".//signatory[1]/enhanced-signature/pkcs7">
										<fo:inline font-weight="bold"> 
											(PKCS7数字签字)
										</fo:inline>  
									</xsl:when>   
								</xsl:choose>                     
							</fo:block>                  
						</fo:table-cell>               
					</fo:table-row>            
				</xsl:if>        
				<xsl:if test="(.//payment-mode/credit-card) or (.//payment-mode/bank-draft and .//payment-contact/email/text()) or (.//@ro='IB' and .//payment-contact/email/text())">
					<xsl:if test="not(.//@ro='EP')">
						<fo:table-row>
							<fo:table-cell xsl:use-attribute-sets="tdTBL">
								<fo:block>
									<fo:inline font-weight="bold">12-22</fo:inline>
								</fo:block>
							</fo:table-cell>
							<fo:table-cell xsl:use-attribute-sets="tdTBC" number-columns-spanned="2">
								<fo:block>
									<fo:inline font-weight="bold">
										缴费联系人
									</fo:inline>
								</fo:block>
							</fo:table-cell>
							<fo:table-cell xsl:use-attribute-sets="tdTBR" number-columns-spanned="3">
								<fo:block>
									<fo:inline font-weight="bold">
										<xsl:value-of select=".//payment-contact/email"></xsl:value-of>
									</fo:inline>
								</fo:block>
							</fo:table-cell>
						</fo:table-row>
					</xsl:if>
				</xsl:if>
				<xsl:if test=".//reimbursement-deposit-account">
					<fo:table-row>
						<fo:table-cell xsl:use-attribute-sets="tdTBL">
							<fo:block>
								<fo:inline font-weight="bold">12-26</fo:inline>
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdTBC" number-columns-spanned="2">
							<fo:block>
								<fo:inline font-weight="bold">
									偿还说明
								</fo:inline>
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdTBR" number-columns-spanned="3">
							<fo:block></fo:block>
						</fo:table-cell>
					</fo:table-row>
					<xsl:for-each select=".//reimbursement-deposit-account">
						<xsl:variable name="seq" select="position()"></xsl:variable>
						<fo:table-row keep-with-previous="always">
							<fo:table-cell xsl:use-attribute-sets="tdTL">
								<fo:block>
									<fo:inline>12-26-<xsl:value-of select="$seq"></xsl:value-of>-1</fo:inline>
								</fo:block>
							</fo:table-cell>
							<fo:table-cell xsl:use-attribute-sets="tdTC" number-columns-spanned="2">
								<fo:block>
									<fo:inline>
										处理偿还事宜的主管局
									</fo:inline>
								</fo:block>
							</fo:table-cell>
							<fo:table-cell xsl:use-attribute-sets="tdTR" number-columns-spanned="3">
								<fo:block>
									<fo:inline font-weight="bold">
										<xsl:value-of select="./ip-office"></xsl:value-of>
									</fo:inline>
								</fo:block>
							</fo:table-cell>
						</fo:table-row>
						<fo:table-row keep-with-previous="always">
							<fo:table-cell xsl:use-attribute-sets="tdTL">
								<fo:block>
									<fo:inline>12-26-<xsl:value-of select="$seq"></xsl:value-of>-2</fo:inline>
								</fo:block>
							</fo:table-cell>
							<fo:table-cell xsl:use-attribute-sets="tdTC" number-columns-spanned="2">
								<fo:block>
									<fo:inline>
										对存款帐号或预存帐号的偿还款项（如有）
									</fo:inline>
								</fo:block>
							</fo:table-cell>
							<fo:table-cell xsl:use-attribute-sets="tdTR" number-columns-spanned="3">
								<fo:block>
									<fo:inline font-weight="bold">
										<xsl:value-of select="./account-no"></xsl:value-of>
									</fo:inline>
								</fo:block>
							</fo:table-cell>
						</fo:table-row>
						<fo:table-row keep-with-previous="always">
							<fo:table-cell xsl:use-attribute-sets="tdTL">
								<fo:block>
									<fo:inline>12-26-<xsl:value-of select="$seq"></xsl:value-of>-3</fo:inline>
								</fo:block>
							</fo:table-cell>
							<fo:table-cell xsl:use-attribute-sets="tdTC" number-columns-spanned="2">
								<fo:block>
									<fo:inline>
										帐户持有人
									</fo:inline>
								</fo:block>
							</fo:table-cell>
							<fo:table-cell xsl:use-attribute-sets="tdTR" number-columns-spanned="3">
								<fo:block>
									<fo:inline font-weight="bold">
										<xsl:value-of select="./name"></xsl:value-of>
									</fo:inline>
								</fo:block>
							</fo:table-cell>
						</fo:table-row>
						<fo:table-row>                  
							<fo:table-cell xsl:use-attribute-sets="tdTBL">                     
								<fo:block>                        
										<fo:inline>12-26-<xsl:value-of select="$seq"></xsl:value-of>-4</fo:inline>
								</fo:block>                  
							</fo:table-cell>                  
							<fo:table-cell xsl:use-attribute-sets="tdTBC" number-columns-spanned="2">                     
								<fo:block>                        
									日期                     
								</fo:block>                  
							</fo:table-cell>                  
							<fo:table-cell xsl:use-attribute-sets="tdTBR" number-columns-spanned="3">                     
								<fo:block>                        
									<fo:inline font-weight="bold">                           
										<xsl:call-template name="format_date">                              
											<xsl:with-param name="lang" select="$lang"></xsl:with-param>                              
											<xsl:with-param name="date" select=".//date"></xsl:with-param>                              
											<xsl:with-param name="show_date" select="1"></xsl:with-param>                              
											<xsl:with-param name="date_too" select="1"></xsl:with-param>                              
											<xsl:with-param name="text" select="1"></xsl:with-param>                           
										</xsl:call-template>                        
									</fo:inline>                     
								</fo:block>                  
							</fo:table-cell>               
						</fo:table-row>  
					</xsl:for-each>
				</xsl:if>
			</fo:table-body>      
		</fo:table>   
	</xsl:template><xsl:template name="reduction_type">
		<xsl:param name="reduction"></xsl:param>
		<xsl:choose>
			<xsl:when test="$reduction='PCT-SAFE reduction (full)'">
				电子申请(完全)减免
			</xsl:when>
			<xsl:when test="$reduction='PCT-SAFE reduction (image)'">
				电子申请(图像)减免
			</xsl:when>
			<xsl:when test="$reduction='PCT-SAFE reduction (EASY)'">
				EASY申请减免
			</xsl:when>
			<xsl:when test="$reduction='electronic-application-form'">
				EASY申请减免
			</xsl:when>
			<xsl:when test="$reduction='electronic-filing-image-description'">
				电子申请(图像)减免
			</xsl:when>
			<xsl:when test="$reduction='electronic-filing-full-xml'">
				电子申请减免(XML)
			</xsl:when>
			<xsl:otherwise>
				<xsl:value-of select="$reduction"></xsl:value-of>
			</xsl:otherwise>
		</xsl:choose>
	</xsl:template><xsl:template name="remarks">
		<!-- render <dtext> remarks; currently, JA only -->
		<xsl:if test="(document($request_doc)//dtext) or (.//dtext)">
			<fo:table table-layout="fixed" border-collapse="separate" space-after="5mm" space-before="5mm">         
				<fo:table-column column-width="12mm"></fo:table-column>         
				<fo:table-column column-width="53mm"></fo:table-column>         
				<fo:table-column column-width="105mm"></fo:table-column>         
				<fo:table-body>            
					<fo:table-row>
						<fo:table-cell font-size="10pt" vertical-align="top" padding="1.5pt" number-columns-spanned="3" padding-bottom="4mm">
							<fo:block text-align="center">  
								<fo:inline font-weight="bold">  
									申请人备注
								</fo:inline>  
							</fo:block>       
						</fo:table-cell>
					</fo:table-row>        
					<xsl:for-each select="document($request_doc)//dtext | .//dtext">
						<xsl:variable name="seq" select="position()"></xsl:variable>
						<fo:table-row>               
							<fo:table-cell xsl:use-attribute-sets="tdTL">                  
								<fo:block>                     
									<fo:inline font-weight="bold">13-1-<xsl:value-of select="$seq"></xsl:value-of>
									</fo:inline>                  
								</fo:block>               
							</fo:table-cell>               
							<fo:table-cell xsl:use-attribute-sets="tdTC">                  
								<fo:block space-after="1.5mm">                     
									<fo:inline font-weight="bold">                        
										申请人备注
									</fo:inline>                  
								</fo:block>               
							</fo:table-cell>               
							<fo:table-cell xsl:use-attribute-sets="tdTL">                  
								<fo:block padding-bottom="3mm">
									<xsl:value-of select="."></xsl:value-of>
								</fo:block>               
							</fo:table-cell>            
						</fo:table-row>            
					</xsl:for-each>
					<fo:table-row>
						<fo:table-cell number-columns-spanned="3" border-top="solid black 0.5pt">
							<fo:block></fo:block>
						</fo:table-cell>
					</fo:table-row>
				</fo:table-body>
			</fo:table>
		</xsl:if>
	</xsl:template><xsl:template name="paymentMode">   	 
		<xsl:param name="pType"></xsl:param>
		<xsl:choose>
			<xsl:when test="name($pType/*)='charge'">
				<xsl:choose>
					<xsl:when test=".//deposit-account/authorization/automatic-debit">
						授权从存款或预存账户中自动扣款											
					</xsl:when>
					<xsl:otherwise>
						授权从存款或往来帐户中扣除
					</xsl:otherwise>
				</xsl:choose>
			</xsl:when>
			<xsl:when test="name($pType/*)='credit-card'">
				信用卡
			</xsl:when>
			<xsl:when test="name($pType/*)='postal-order'">
				邮政汇款
			</xsl:when>
			<xsl:when test="name($pType/*)='cash'">
				现金
			</xsl:when>
			<xsl:when test="name($pType/*)='coupons'">
				有价证卷
			</xsl:when>
			<xsl:when test="name($pType/*)='cheque'">
				支票
			</xsl:when>
			<xsl:when test="name($pType/*)='bank-draft'">
				银行汇款
			</xsl:when>
			<xsl:when test="name($pType/*)='stamps'">
				财务章
			</xsl:when>
			<xsl:when test="name($pType/*)='other'">
				其他 : 
				<xsl:choose>
					<xsl:when test="$pType='credit card'">
						Credit card
					</xsl:when>
					<xsl:otherwise>
						<xsl:value-of select="$pType"></xsl:value-of>
					</xsl:otherwise>
				</xsl:choose>
			</xsl:when>
		</xsl:choose> 
	</xsl:template>
	<xsl:template name="indication_bio_deposit">      
		<xsl:choose>         
			<xsl:when test="$bio_doc != ''">         
				<xsl:for-each select="document($bio_doc)/*">
					<xsl:choose>   
						<xsl:when test="document($bio_doc)//doc-page">  
							<xsl:for-each select="document($bio_doc)//doc-page"> 
								<xsl:apply-templates select="."></xsl:apply-templates>  
							</xsl:for-each>   
						</xsl:when>   
						<xsl:otherwise>  
							<xsl:call-template name="process_bio"></xsl:call-template>   
						</xsl:otherwise>
					</xsl:choose>
				</xsl:for-each>         
			</xsl:when>      
			<!-- when no bio parameter (e.g., bio-deposit document) -->
			<xsl:otherwise>            
				<xsl:choose>               
					<xsl:when test="./doc-page">                  
						<xsl:for-each select="./doc-page">                     
							<xsl:apply-templates select="."></xsl:apply-templates>                  
						</xsl:for-each>               
					</xsl:when>               
					<xsl:otherwise>
						<xsl:call-template name="process_bio"></xsl:call-template>               
					</xsl:otherwise>            
				</xsl:choose>         
			</xsl:otherwise>      
		</xsl:choose>   
	</xsl:template><xsl:template name="process_bio">      
		<fo:table table-layout="fixed" border-collapse="separate" space-after="5mm" keep-together.within-page="always">         
			<fo:table-column column-width="12mm"></fo:table-column>         
			<fo:table-column column-width="53mm"></fo:table-column>         
			<fo:table-column column-width="105mm"></fo:table-column>         
			<fo:table-body>            
				<fo:table-row>               
					<fo:table-cell xsl:use-attribute-sets="tdTL">                  
						<fo:block>                     
							<fo:inline font-weight="bold">0-1</fo:inline>                  
						</fo:block>               
					</fo:table-cell>               
					<fo:table-cell xsl:use-attribute-sets="tdTC">                  
						<fo:block>                     
							<fo:inline font-weight="bold">                     
								PCT/RO/134表<fo:block />有关保藏的微生物或其他生物材料的说明(PCT细则第13条之二)                     
							</fo:inline>                  
						</fo:block>               
					</fo:table-cell>               
					<fo:table-cell xsl:use-attribute-sets="tdBorderTop">                  
						<fo:block></fo:block>               
					</fo:table-cell>            
				</fo:table-row>            
				<fo:table-row>               
					<fo:table-cell xsl:use-attribute-sets="tdBL">                  
						<fo:block>0-1-1</fo:block>               
					</fo:table-cell>               
					<fo:table-cell xsl:use-attribute-sets="tdBC">                  
						<fo:block space-after="5mm">                  
							软件版本                  
						</fo:block> 
					</fo:table-cell>               
					<fo:table-cell xsl:use-attribute-sets="tdBR">                  
						<fo:block padding-top="1pt">                     
							<fo:inline font-weight="bold">                        
								<xsl:value-of select="$software_name"></xsl:value-of>                        
								<fo:block></fo:block>                        
								<xsl:value-of select="$software_version"></xsl:value-of>
							</fo:inline>                  
						</fo:block>               
					</fo:table-cell>            
				</fo:table-row>            
				<fo:table-row>               
					<fo:table-cell xsl:use-attribute-sets="tdL" padding-bottom="5mm">                  
						<fo:block>                     
							<fo:inline font-weight="bold">0-2</fo:inline>                  
						</fo:block>               
					</fo:table-cell>               
					<fo:table-cell xsl:use-attribute-sets="tdC">                  
						<fo:block>                     
							<fo:inline font-weight="bold">                     
								国际申请号                     
							</fo:inline>                  
						</fo:block>               
					</fo:table-cell>               
					<fo:table-cell xsl:use-attribute-sets="tdR">                  
						<fo:block>
						<xsl:choose>
							<xsl:when test="document($rrri_doc)//doc-number">
									<xsl:value-of select="document($rrri_doc)//doc-number"></xsl:value-of>
							</xsl:when>
							<xsl:when test="$ia_number">
									<xsl:value-of select="$ia_number"></xsl:value-of>
							</xsl:when>
						</xsl:choose>             
						</fo:block>
					</fo:table-cell>            
				</fo:table-row>            
				<fo:table-row>               
					<fo:table-cell xsl:use-attribute-sets="tdTBL">                  
						<fo:block>                     
							<fo:inline font-weight="bold">0-3</fo:inline>                  
						</fo:block>               
					</fo:table-cell>               
					<fo:table-cell xsl:use-attribute-sets="tdTBC">                  
						<fo:block>                     
							<fo:inline font-weight="bold">                        
								申请人或代理人的档案号                     
							</fo:inline>                  
						</fo:block>               
					</fo:table-cell>               
					<fo:table-cell xsl:use-attribute-sets="tdTBR">                  
						<fo:block padding-top="1pt">                     
							<fo:inline font-weight="bold">                        
								<xsl:value-of select=".//file-reference-id"></xsl:value-of>                     
							</fo:inline>                  
						</fo:block>               
					</fo:table-cell>            
				</fo:table-row>          
			</fo:table-body>        
		</fo:table>       
		<xsl:for-each select=".//bio-deposit">         
			<xsl:variable name="bio_seq" select="@num"></xsl:variable> 
			<fo:table table-layout="fixed" border-collapse="separate" keep-together.within-page="always">         
				<fo:table-column column-width="12mm"></fo:table-column>         
				<fo:table-column column-width="53mm"></fo:table-column>         
				<fo:table-column column-width="105mm"></fo:table-column> 
				<fo:table-body>               
					<fo:table-row>                  
						<fo:table-cell xsl:use-attribute-sets="tdTL">                     
							<fo:block>                        
								<fo:inline font-weight="bold">                           
									<xsl:value-of select="$bio_seq"></xsl:value-of>                        
								</fo:inline>                     
							</fo:block>                  
						</fo:table-cell>                  
						<fo:table-cell xsl:use-attribute-sets="tdTC">                     
							<fo:block>                        
								<fo:inline font-weight="bold">                        
									下面的说明与本申请说明书中此处提到的保藏的微生物或其他生物材料相关:                        
								</fo:inline>                     
							</fo:block>                  
						</fo:table-cell>                  
						<fo:table-cell xsl:use-attribute-sets="tdBorderTop">                     
							<fo:block></fo:block>                  
						</fo:table-cell>               
					</fo:table-row>               
					<xsl:choose>
						<xsl:when test="contains(../para-number,'|')">
							<fo:table-row>                  
								<fo:table-cell xsl:use-attribute-sets="tdL">                     
									<fo:block>                        
										<fo:inline font-weight="bold">                           
											<xsl:value-of select="$bio_seq"></xsl:value-of>-1</fo:inline>                     
									</fo:block>                  
								</fo:table-cell>                  
								<fo:table-cell xsl:use-attribute-sets="tdC">                     
									<fo:block>                        
										<fo:inline font-weight="bold">  
											页码                         
										</fo:inline>                     
									</fo:block>                  
								</fo:table-cell>                  
								<fo:table-cell xsl:use-attribute-sets="tdR">                     
									<fo:block padding-top="1pt">                        
										<fo:inline font-weight="bold">                           
											<xsl:value-of select="substring-before(preceding-sibling::para-number,'|')"></xsl:value-of>                        
										</fo:inline>                     
									</fo:block>                  
								</fo:table-cell>               
							</fo:table-row>
							<fo:table-row>                  
								<fo:table-cell xsl:use-attribute-sets="tdL">                     
									<fo:block>                        
										<fo:inline font-weight="bold">                           
											<xsl:value-of select="$bio_seq"></xsl:value-of>-2</fo:inline>                     
									</fo:block>                  
								</fo:table-cell>                  
								<fo:table-cell xsl:use-attribute-sets="tdC">                     
									<fo:block>                        
										<fo:inline font-weight="bold">  
											行号:                         
										</fo:inline>                     
									</fo:block>                  
								</fo:table-cell>                  
								<fo:table-cell xsl:use-attribute-sets="tdR">                     
									<fo:block padding-top="1pt">                        
										<fo:inline font-weight="bold">                           
											<xsl:value-of select="substring-after(preceding-sibling::para-number,'|')"></xsl:value-of>                        
										</fo:inline>                     
									</fo:block>                  
								</fo:table-cell>               
							</fo:table-row>
						</xsl:when>
						<xsl:otherwise>
							<!-- SAFE mode, use paragraph number -->
							<fo:table-row>                  
								<fo:table-cell xsl:use-attribute-sets="tdL">                     
									<fo:block>                        
										<fo:inline font-weight="bold">                           
											<xsl:value-of select="$bio_seq"></xsl:value-of>-1</fo:inline>                     
									</fo:block>                  
								</fo:table-cell>                  
								<fo:table-cell xsl:use-attribute-sets="tdC">                     
									<fo:block>                        
										<fo:inline font-weight="bold">  
											段落号                        
										</fo:inline>                     
									</fo:block>                  
								</fo:table-cell>                  
								<fo:table-cell xsl:use-attribute-sets="tdR">                     
									<fo:block padding-top="1pt">                        
										<fo:inline font-weight="bold">                           
											<xsl:value-of select="preceding-sibling::para-number"></xsl:value-of>
										</fo:inline>                     
									</fo:block>                  
								</fo:table-cell>               
							</fo:table-row>
						</xsl:otherwise>  
					</xsl:choose>
					<fo:table-row>                  
						<fo:table-cell xsl:use-attribute-sets="tdTL">                     
							<fo:block>                        
								<fo:inline font-weight="bold">                           
									<xsl:value-of select="$bio_seq"></xsl:value-of>-3</fo:inline>                     
							</fo:block>                  
						</fo:table-cell>                  
						<fo:table-cell xsl:use-attribute-sets="tdTC">                     
							<fo:block>                        
								<fo:inline font-weight="bold">                        
									保藏事项                        
								</fo:inline>                     
							</fo:block>                  
						</fo:table-cell>                  
						<fo:table-cell xsl:use-attribute-sets="tdTR">                     
							<fo:block></fo:block>                  
						</fo:table-cell>               
					</fo:table-row>               
					<xsl:if test="depositary/text()">   
						<fo:table-row>  
							<fo:table-cell xsl:use-attribute-sets="tdL"> 
								<fo:block>   
									<xsl:value-of select="$bio_seq"></xsl:value-of>-3-1
						 
								</fo:block>  
							</fo:table-cell>  
							<fo:table-cell xsl:use-attribute-sets="tdC"> 
								<fo:block> 
									保藏单位名称 
								</fo:block>  
							</fo:table-cell>  
							<fo:table-cell xsl:use-attribute-sets="tdR"> 
								<fo:block padding-top="1pt">
									<fo:inline font-weight="bold">   
										<xsl:value-of select="depositary/text()"></xsl:value-of>
									</fo:inline> 
								</fo:block>  
							</fo:table-cell>   
						</fo:table-row>   
					</xsl:if>               
					<xsl:if test="depositary/address">                  
						<fo:table-row>                     
							<fo:table-cell xsl:use-attribute-sets="tdL">                        
								<fo:block>                              
									<xsl:value-of select="$bio_seq"></xsl:value-of>-3-2
                        
								</fo:block>                     
							</fo:table-cell>                     
							<fo:table-cell xsl:use-attribute-sets="tdC">                        
								<fo:block>                        
									保藏单位地址                        
								</fo:block>                     
							</fo:table-cell>                     
							<fo:table-cell xsl:use-attribute-sets="tdR">                        
								<fo:block padding-top="1pt">                           
									<fo:inline font-weight="bold">
										<!-- test whether #PCDATA, <text>, or <address> sub-elements used -->
										<xsl:choose>
											<xsl:when test="not(depositary/address/text)">
												<xsl:choose>
													<xsl:when test="$lang = 'ko'">
														<fo:block>
															<xsl:call-template name="country_ChoiceText">
																<xsl:with-param name="country" select="depositary/address/country"></xsl:with-param>
															</xsl:call-template>
														</fo:block>													
														<xsl:for-each select="depositary/address/*"> 
															<xsl:choose>
																<xsl:when test="name(.)='city'">   
																	<xsl:value-of select="."></xsl:value-of>   
																	<xsl:text>, </xsl:text>
																</xsl:when>
																<xsl:when test="name(.)='state'">   
																	<xsl:value-of select="."></xsl:value-of>   
																	<xsl:text> </xsl:text>                                       
																</xsl:when>
																<xsl:otherwise>
																	<xsl:if test="name(.)!='country'">
																		<xsl:choose>
																			<xsl:when test="not(contains($fop_version, '0.2')) and ($fop_version != '')">
																				<fo:block white-space="pre" wrap-option="wrap">
																					<xsl:value-of select="."></xsl:value-of>
																				</fo:block>
																			</xsl:when>
																			<xsl:otherwise>
																				<fo:block white-space-collapse="false" wrap-option="wrap">															
																					<xsl:value-of select="."></xsl:value-of>   
																				</fo:block>
																			</xsl:otherwise>
																		</xsl:choose>
																	</xsl:if>
																</xsl:otherwise> 
															</xsl:choose>
														</xsl:for-each> 
													</xsl:when>
													<xsl:otherwise>
														<xsl:for-each select="depositary/address/*"> 
															<xsl:choose>
																<xsl:when test="name(.)='city'">   
																	<xsl:value-of select="."></xsl:value-of>   
																	<xsl:text>, </xsl:text>
																</xsl:when>
																<xsl:when test="name(.)='state'">   
																	<xsl:value-of select="."></xsl:value-of>   
																	<xsl:text> </xsl:text>                                       
																</xsl:when>
																<xsl:when test="name(.)='country'">
																	<xsl:call-template name="country_ChoiceText">
																		<xsl:with-param name="country" select="."></xsl:with-param>
																	</xsl:call-template>
																</xsl:when>
																<xsl:otherwise>  
																	<xsl:choose>
																		<xsl:when test="not(contains($fop_version, '0.2')) and ($fop_version != '')">
																			<fo:block white-space="pre" wrap-option="wrap">
																				<xsl:value-of select="."></xsl:value-of>
																			</fo:block>
																		</xsl:when>
																		<xsl:otherwise>
																			<fo:block white-space-collapse="false" wrap-option="wrap">															
																				<xsl:value-of select="."></xsl:value-of>   
																			</fo:block>
																		</xsl:otherwise>
																	</xsl:choose>
																</xsl:otherwise> 
															</xsl:choose>
														</xsl:for-each> 
													</xsl:otherwise>
												</xsl:choose>
											</xsl:when> 
											<xsl:otherwise>
												<xsl:choose>
													<xsl:when test="not(contains($fop_version, '0.2')) and ($fop_version != '')">
														<fo:block white-space="pre" wrap-option="wrap">
															<xsl:value-of select="depositary/address/text"></xsl:value-of> 
														</fo:block>
													</xsl:when>
													<xsl:otherwise>
														<fo:block white-space-collapse="false" wrap-option="wrap">															
															<xsl:value-of select="depositary/address/text"></xsl:value-of> 
														</fo:block>
													</xsl:otherwise>
												</xsl:choose>
											</xsl:otherwise>
										</xsl:choose>                           
									</fo:inline>                        
								</fo:block>                     
							</fo:table-cell>                  
						</fo:table-row>               
					</xsl:if>               
					<xsl:if test="date">                  
						<fo:table-row>                     
							<fo:table-cell xsl:use-attribute-sets="tdL">                        
								<fo:block>                              
									<xsl:value-of select="$bio_seq"></xsl:value-of>-3-3
                        
								</fo:block>                     
							</fo:table-cell>                     
							<fo:table-cell xsl:use-attribute-sets="tdC">                        
								<fo:block>                        
									保藏日期                        
								</fo:block>                     
							</fo:table-cell>                     
							<fo:table-cell xsl:use-attribute-sets="tdR">                        
								<fo:block padding-top="1pt">                           
									<fo:inline font-weight="bold">    
										<xsl:call-template name="format_date">                                 
											<xsl:with-param name="date" select="date"></xsl:with-param>                                 
											<xsl:with-param name="lang" select="$lang"></xsl:with-param>                                 
											<xsl:with-param name="text" select="1"></xsl:with-param>                                 
											<xsl:with-param name="show_date" select="1"></xsl:with-param>                                 
											<xsl:with-param name="date_too" select="1"></xsl:with-param>                              
										</xsl:call-template>                           
									</fo:inline>                        
								</fo:block>                     
							</fo:table-cell>                  
						</fo:table-row>               
					</xsl:if>               
					<fo:table-row>                  
						<fo:table-cell xsl:use-attribute-sets="tdL">                     
							<fo:block>                           
								<xsl:value-of select="$bio_seq"></xsl:value-of>-3-4
                     
							</fo:block>                  
						</fo:table-cell>                  
						<fo:table-cell xsl:use-attribute-sets="tdC">                     
							<fo:block>                     
								保藏号                     
							</fo:block>                  
						</fo:table-cell>                  
						<fo:table-cell xsl:use-attribute-sets="tdR">                     
							<fo:block padding-top="1pt">                        
								<fo:inline font-weight="bold">                           
									<xsl:value-of select="bio-accno"></xsl:value-of>                        
								</fo:inline>                     
							</fo:block>                  
						</fo:table-cell>               
					</fo:table-row>               
					<xsl:if test="name(following-sibling::*[position()=1])='additional-indication'">                  
						<fo:table-row>                     
							<fo:table-cell xsl:use-attribute-sets="tdTL">                        
								<fo:block>                           
									<fo:inline font-weight="bold">                              
										<xsl:value-of select="$bio_seq"></xsl:value-of>-4</fo:inline>                        
								</fo:block>                     
							</fo:table-cell>                     
							<fo:table-cell xsl:use-attribute-sets="tdTC">                        
								<fo:block>                           
									<fo:inline font-weight="bold">                           
										补充说明                           
									</fo:inline>                        
								</fo:block>                     
							</fo:table-cell>                     
							<fo:table-cell xsl:use-attribute-sets="tdTR">                        
								<fo:block padding-top="1pt">                           
									<fo:inline font-weight="bold">                              
										<xsl:value-of select="following-sibling::additional-indication"></xsl:value-of>                           
									</fo:inline>                        
								</fo:block>                     
							</fo:table-cell>                  
						</fo:table-row>               
					</xsl:if>       
					<fo:table-row>                  
						<fo:table-cell xsl:use-attribute-sets="tdTBL">                     
							<fo:block>                        
								<fo:inline font-weight="bold">                           
									<xsl:value-of select="$bio_seq"></xsl:value-of>-5</fo:inline>                     
							</fo:block>                  
						</fo:table-cell>                  
						<fo:table-cell xsl:use-attribute-sets="tdTBC">                     
							<fo:block padding-left="4mm">                        
								<fo:inline font-weight="bold">                        
									本说明是对下列指定国                        
								</fo:inline>                     
							</fo:block>                  
						</fo:table-cell>                  
						<fo:table-cell xsl:use-attribute-sets="tdTBR">                     
							<fo:block padding-top="1pt">                        
								<fo:inline font-weight="bold">                           
									<xsl:choose>                              
										<xsl:when test="name(following-sibling::*[position()=1])='all-designations' or name(following-sibling::*[position()=2])='all-designations'">                                  
											 所有指定国                               
										</xsl:when>                              
										<xsl:when test="name(following-sibling::*[position()=1])='designated-states' or name(following-sibling::*[position()=2])='designated-states'">
											<!-- do region: (countries); countries -->
											<xsl:for-each select="following-sibling::designated-states[1]/region">
												<xsl:sort select="."></xsl:sort>
												<xsl:variable name="reg_name" select="./country"></xsl:variable>
												<xsl:value-of select="concat(translate(.,'abdefghijklmnopqrstuvwxyz','ABDEFGHIJKLMNOPQRSTUVWXYZ'),': ')"></xsl:value-of>(<xsl:for-each select="following-sibling::country[preceding-sibling::region[1]/country=$reg_name]">
													<xsl:sort select="."></xsl:sort>
													<xsl:call-template name="caseCH"></xsl:call-template>
												</xsl:for-each>
												<xsl:text>) </xsl:text>
												<xsl:if test="./designated-states/country[not(preceding-sibling::region)]">
													<xsl:text>;</xsl:text>
												</xsl:if></xsl:for-each>
											<xsl:for-each select="following-sibling::designated-states[1]/country[not(preceding-sibling::region)]">
												<xsl:sort select="."></xsl:sort>
												<xsl:call-template name="caseCH"></xsl:call-template>
											</xsl:for-each>
										</xsl:when>
									</xsl:choose>                        
								</fo:inline>                     
							</fo:block>                  
						</fo:table-cell>               
					</fo:table-row>               
					<xsl:if test="following-sibling::separate-indications">                  
						<fo:table-row>                     
							<fo:table-cell xsl:use-attribute-sets="tdL">                        
								<fo:block>                           
									<fo:inline font-weight="bold">                              
										<xsl:value-of select="$bio_seq"></xsl:value-of>-6</fo:inline>                        
								</fo:block>                     
							</fo:table-cell>                     
							<fo:table-cell xsl:use-attribute-sets="tdC">                        
								<fo:block padding-left="4mm">                            
									<fo:inline font-weight="bold">                           
										单独提交的说明                           
									</fo:inline>                        
								</fo:block>                     
							</fo:table-cell>                     
							<fo:table-cell xsl:use-attribute-sets="tdR">                        
								<fo:block padding-top="1pt">                           
									<fo:inline font-weight="bold">                              
										<xsl:value-of select="following-sibling::separate-indications"></xsl:value-of>                           
									</fo:inline>                        
								</fo:block>                     
							</fo:table-cell>                  
						</fo:table-row>                  
						<fo:table-row>                     
							<fo:table-cell xsl:use-attribute-sets="tdBL">                        
								<fo:block></fo:block>                     
							</fo:table-cell>                     
							<fo:table-cell xsl:use-attribute-sets="tdBC">                        
								<fo:block padding-left="4mm">                      
									这些说明将随后提交给国际局                        
								</fo:block>                     
							</fo:table-cell>                     
							<fo:table-cell xsl:use-attribute-sets="tdBR">                        
								<fo:block></fo:block>                     
							</fo:table-cell>                  
						</fo:table-row>               
					</xsl:if> 
				</fo:table-body>  
			</fo:table>       
		</xsl:for-each> 
		<fo:block>
			<xsl:text> </xsl:text>
		</fo:block>      
		<fo:table table-layout="fixed" border-collapse="separate" space-before="5mm" keep-together.within-page="always">         
			<fo:table-column column-width="12mm"></fo:table-column>         
			<fo:table-column column-width="53mm"></fo:table-column>         
			<fo:table-column column-width="105mm"></fo:table-column>         
			<fo:table-body>
				<fo:table-row>  
					<fo:table-cell font-size="10pt" vertical-align="top" padding="1.5pt" number-columns-spanned="3">
						<fo:block text-align="center" padding-after="5mm">  
							<fo:inline font-weight="bold">
								由受理局填写  
							</fo:inline>
						</fo:block>  
					</fo:table-cell>
				</fo:table-row>   
				<fo:table-row>  
					<fo:table-cell xsl:use-attribute-sets="tdTL"> 
						<fo:block>
							<fo:inline font-weight="bold">0-4</fo:inline> 
						</fo:block>  
					</fo:table-cell>  
					<fo:table-cell xsl:use-attribute-sets="tdTC"> 
						<fo:block padding-left="4mm"> 
							<fo:inline font-weight="bold">
								本表格与国际申请一起收到:
							</fo:inline> 
						</fo:block>  
					</fo:table-cell>  
					<fo:table-cell xsl:use-attribute-sets="tdTR"> 
						<fo:block>
							<fo:inline font-weight="bold">
								<xsl:call-template name="disp_received_with_ia"></xsl:call-template>
							</fo:inline>
						</fo:block>
					</fo:table-cell>   
				</fo:table-row>   
				<fo:table-row>  
					<fo:table-cell xsl:use-attribute-sets="tdL"> 
						<fo:block></fo:block>  
					</fo:table-cell>  
					<fo:table-cell xsl:use-attribute-sets="tdC"> 
						<fo:block padding-left="4mm">
							(是或否) 
						</fo:block>  
					</fo:table-cell>  
					<fo:table-cell xsl:use-attribute-sets="tdR"> 
						<fo:block></fo:block>  
					</fo:table-cell>   
				</fo:table-row>   
				<fo:table-row>  
					<fo:table-cell xsl:use-attribute-sets="tdTL"> 
						<fo:block>0-4-1</fo:block>  
					</fo:table-cell>  
					<fo:table-cell xsl:use-attribute-sets="tdTC"> 
						<fo:block space-after="5mm">
							受权官员 
						</fo:block>  
					</fo:table-cell>  
					<fo:table-cell xsl:use-attribute-sets="tdTR"> 
						<fo:block></fo:block>  
					</fo:table-cell>   
				</fo:table-row>   
				<fo:table-row>  
					<fo:table-cell border-top="solid black 0.5pt" number-columns-spanned="3">  
						<fo:block></fo:block>  
					</fo:table-cell>   
				</fo:table-row>         
			</fo:table-body>  
		</fo:table>      
		<fo:table table-layout="fixed" border-collapse="separate" space-before="5mm" keep-together.within-page="always">         
			<fo:table-column column-width="12mm"></fo:table-column>         
			<fo:table-column column-width="53mm"></fo:table-column>         
			<fo:table-column column-width="105mm"></fo:table-column>         
			<fo:table-body>   
				<fo:table-row>
					<fo:table-cell font-size="10pt" vertical-align="top" padding="1.5pt" number-columns-spanned="3">
						<fo:block text-align="center" padding-after="5mm">  
							<fo:inline font-weight="bold">  
								由国际局填写  
							</fo:inline>  
						</fo:block>   
					</fo:table-cell>
				</fo:table-row>   
				<fo:table-row>  
					<fo:table-cell xsl:use-attribute-sets="tdTL"> 
						<fo:block space-after="5mm">
							<fo:inline font-weight="bold">0-5</fo:inline> 
						</fo:block>  
					</fo:table-cell>  
					<fo:table-cell xsl:use-attribute-sets="tdTC"> 
						<fo:block padding-left="4mm"> 
							<fo:inline font-weight="bold">
								国际局收到本表格日期:
							</fo:inline> 
						</fo:block>  
					</fo:table-cell>  
					<fo:table-cell xsl:use-attribute-sets="tdTR"> 
						<fo:block>
							<fo:inline font-weight="bold">
								<xsl:variable name="bio_software_name">
									<xsl:choose>
										<xsl:when test="$bio_doc != ''">
											<xsl:value-of select="normalize-space( document($bio_doc)/processing-instruction('software_name') )"></xsl:value-of>
										</xsl:when>
										<xsl:otherwise>
											<xsl:value-of select="normalize-space( /processing-instruction('software_name') )"></xsl:value-of>
										</xsl:otherwise>
									</xsl:choose>
								</xsl:variable>
								<xsl:call-template name="format_date">
									<xsl:with-param name="date">
										<xsl:choose>
											<xsl:when test="$bio_software_name = 'ePCT-Filing' and translate(/*/@ro,'abdefghijklmnopqrstuvwxyz','ABDEFGHIJKLMNOPQRSTUVWXYZ') = 'IB'">
												<xsl:value-of select="document($rrri_doc)//date-of-actual-receipt/date"></xsl:value-of>
											</xsl:when>
											<xsl:when test="$bio_software_name = 'ePCT' and $bio_doc != ''">
												<xsl:value-of select="document($bio_doc)/processing-instruction('received_by_ib_on')"></xsl:value-of>
											</xsl:when>
											<xsl:when test="$bio_software_name = 'ePCT'">
												<xsl:value-of select="/processing-instruction('received_by_ib_on')"></xsl:value-of>
											</xsl:when>
										</xsl:choose>
									</xsl:with-param>
									<xsl:with-param name="lang" select="$lang"></xsl:with-param>
									<xsl:with-param name="text" select="1"></xsl:with-param>
									<xsl:with-param name="show_date" select="1"></xsl:with-param>
									<xsl:with-param name="date_too" select="1"></xsl:with-param>
								</xsl:call-template>
							</fo:inline>
						</fo:block>
					</fo:table-cell>   
				</fo:table-row>   
				<fo:table-row>  
					<fo:table-cell xsl:use-attribute-sets="tdTL"> 
						<fo:block>0-5-1</fo:block>  
					</fo:table-cell>  
					<fo:table-cell xsl:use-attribute-sets="tdTC"> 
						<fo:block space-after="5mm">
							受权官员 
						</fo:block>  
					</fo:table-cell>  
					<fo:table-cell xsl:use-attribute-sets="tdTR"> 
						<fo:block></fo:block>  
					</fo:table-cell>   
				</fo:table-row>   
				<fo:table-row>  
					<fo:table-cell xsl:use-attribute-sets="tdBL"> 
						<fo:block></fo:block>  
					</fo:table-cell>  
					<fo:table-cell xsl:use-attribute-sets="tdBC"> 
						<fo:block padding-left="4mm"></fo:block>  
					</fo:table-cell>  
					<fo:table-cell xsl:use-attribute-sets="tdBR"> 
						<fo:block></fo:block>  
					</fo:table-cell>   
				</fo:table-row>         
			</fo:table-body>  
		</fo:table>     
	</xsl:template><xsl:template name="disp_received_with_ia">
		<xsl:variable name="bio_software_name">
			<xsl:choose>
				<xsl:when test="$bio_doc != ''">
					<xsl:value-of select="normalize-space( document($bio_doc)/processing-instruction('software_name') )"></xsl:value-of>
				</xsl:when>
				<xsl:otherwise>
					<xsl:value-of select="normalize-space( /processing-instruction('software_name') )"></xsl:value-of>
				</xsl:otherwise>
			</xsl:choose>
		</xsl:variable>
		<xsl:variable name="yes_or_no_or_none">
			<xsl:choose>
				<xsl:when test="$bio_software_name = 'ePCT-Filing'">yes</xsl:when>
				<xsl:when test="$bio_software_name = 'ePCT'">no</xsl:when>
			</xsl:choose>
		</xsl:variable>
		<xsl:choose>
			<xsl:when test="$yes_or_no_or_none='yes'">
				是
			</xsl:when>
			<xsl:when test="$yes_or_no_or_none='no'">
				否
			</xsl:when>
		</xsl:choose>
	</xsl:template>
	<xsl:template name="power_of_attorney">
		<xsl:choose>
			<xsl:when test="$power_doc != ''">
				<xsl:for-each select="document($power_doc)/*">
					<xsl:choose>
						<xsl:when test="document($power_doc)//doc-page">
							<xsl:for-each select="document($power_doc)//doc-page">
								<xsl:apply-templates select="."></xsl:apply-templates>
							</xsl:for-each>
						</xsl:when>
						<xsl:otherwise>
							<xsl:call-template name="process_power"></xsl:call-template>
						</xsl:otherwise>
					</xsl:choose>
				</xsl:for-each>
			</xsl:when>
			<!-- when no fee parameter (e.g., power-of-attorney document) -->
			<xsl:otherwise>
				<xsl:choose>
					<xsl:when test="./doc-page">
						<xsl:for-each select="./doc-page">
							<xsl:apply-templates select="doc-page"></xsl:apply-templates>
						</xsl:for-each>
					</xsl:when>
					<xsl:otherwise>
						<xsl:call-template name="process_power"></xsl:call-template>
					</xsl:otherwise>
				</xsl:choose>
			</xsl:otherwise>
		</xsl:choose>
	</xsl:template><xsl:template name="process_power">
		<fo:table table-layout="fixed" border-collapse="separate">
			<fo:table-column column-width="12mm"></fo:table-column>
			<fo:table-column column-width="53mm"></fo:table-column>
			<fo:table-column column-width="105mm"></fo:table-column>
			<fo:table-body>
				<fo:table-row>
					<fo:table-cell xsl:use-attribute-sets="tdTL">
						<fo:block>
							<fo:inline font-weight="bold">0-1</fo:inline>
						</fo:block>
					</fo:table-cell>
					<fo:table-cell xsl:use-attribute-sets="tdTC">
						<fo:block>
							<fo:inline font-weight="bold">
								PCT委托书(用于按照专利合作条约提交的国际申请)(PCT细则90.4)
							</fo:inline>
						</fo:block>
					</fo:table-cell>
					<fo:table-cell xsl:use-attribute-sets="tdBorderTop">
						<fo:block></fo:block>
					</fo:table-cell>
				</fo:table-row>
				<fo:table-row>
					<fo:table-cell xsl:use-attribute-sets="tdTBL">
						<fo:block>0-1-1</fo:block>
					</fo:table-cell>
					<fo:table-cell xsl:use-attribute-sets="tdTBC">
						<fo:block>
							软件版本
						</fo:block>
					</fo:table-cell>
					<fo:table-cell xsl:use-attribute-sets="tdTBR">
						<fo:block>
							<fo:inline font-weight="bold">
								<xsl:value-of select="$software_name"></xsl:value-of>
								<fo:block></fo:block>
								<xsl:value-of select="$software_version"></xsl:value-of>
							</fo:inline>
						</fo:block>
					</fo:table-cell>
				</fo:table-row>
			</fo:table-body>
		</fo:table>
		<fo:table table-layout="fixed" border-collapse="separate" space-before="5mm" space-after="5mm">
			<fo:table-column column-width="12mm"></fo:table-column>
			<fo:table-column column-width="53mm"></fo:table-column>
			<fo:table-column column-width="105mm"></fo:table-column>
			<fo:table-body>
				<fo:table-row>
					<fo:table-cell xsl:use-attribute-sets="tdTL">
						<fo:block>
							<fo:inline font-weight="bold">1</fo:inline>
						</fo:block>
					</fo:table-cell>
					<fo:table-cell xsl:use-attribute-sets="tdTC">
						<fo:block>
							<fo:inline font-weight="bold">
								下面签字的申请人
							</fo:inline>
						</fo:block>
					</fo:table-cell>
					<fo:table-cell xsl:use-attribute-sets="tdTR">
						<fo:block>
							<xsl:for-each select=".//signatory">
								<fo:inline font-weight="bold">
									<xsl:call-template name="format_name">
										<xsl:with-param name="name_arg" select="."></xsl:with-param>
									</xsl:call-template>
									<xsl:if test="following-sibling::signatory">
										<xsl:text>; </xsl:text>
									</xsl:if>
								</fo:inline>
							</xsl:for-each>
						</fo:block>
					</fo:table-cell>
				</fo:table-row>
				<xsl:for-each select=".//attorney-or-agent">
					<xsl:variable name="agent_seq" select="position()"></xsl:variable>
					<fo:table-row keep-together.within-page="always">
						<fo:table-cell xsl:use-attribute-sets="tdTL">
							<fo:block>
								<fo:inline font-weight="bold">1-1-<xsl:value-of select="$agent_seq"></xsl:value-of>
								</fo:inline>
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdTC">
							<fo:block>
								<fo:inline font-weight="bold">
									在此委托下列人员
								</fo:inline>
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdTR">
							<xsl:choose>
								<xsl:when test="$lang = 'ja' or $lang ='ko' or $lang = 'zh' or $lang ='ru' or $lang = 'ar'">
									<fo:block font-weight="bold">
										<xsl:if test="./addressbook[@lang != 'en']">
											<fo:block>
												<xsl:call-template name="format_name">
													<xsl:with-param name="name_arg" select="./addressbook[@lang != 'en']"></xsl:with-param>
												</xsl:call-template>
											</fo:block>
										</xsl:if>
										<fo:block>
											<xsl:call-template name="format_name">
												<xsl:with-param name="name_arg" select="./addressbook[@lang ='en']"></xsl:with-param>
											</xsl:call-template>
										</fo:block>
									</fo:block>
									<xsl:if test="./addressbook[@lang != 'en']/address">
										<fo:block font-weight="bold" padding-top="5mm">
											<xsl:choose>
												<xsl:when test="./addressbook/@lang = 'ja'">
													<xsl:call-template name="showJaAddress"></xsl:call-template>
												</xsl:when>
												<xsl:when test="./addressbook/@lang = 'zh'">
													<xsl:call-template name="showZhAddress"></xsl:call-template>
												</xsl:when>
												<xsl:when test="./addressbook/@lang = 'ko'">
													<xsl:call-template name="showKoAddress"></xsl:call-template>
												</xsl:when>
												<xsl:otherwise>
													<xsl:call-template name="showAddress"></xsl:call-template>
												</xsl:otherwise>
											</xsl:choose>
										</fo:block>
									</xsl:if>
									<xsl:if test="./addressbook[@lang = 'en']/address">
										<fo:block font-weight="bold" padding-top="3mm">
											<xsl:call-template name="showEnAddress"></xsl:call-template>
										</fo:block>
									</xsl:if>
								</xsl:when>
								<xsl:otherwise>
									<fo:block>
										<fo:inline font-weight="bold">
											<xsl:call-template name="format_name">
												<xsl:with-param name="name_arg" select="./addressbook[1]"></xsl:with-param>
											</xsl:call-template>
											<fo:block></fo:block>
											<xsl:if test="./addressbook[1]/address">
												<xsl:choose>
													<xsl:when test="$lang='ja'">
														<xsl:call-template name="showJaAddress"></xsl:call-template>
													</xsl:when>
													<xsl:when test="$lang='zh'">
														<xsl:call-template name="showZhAddress"></xsl:call-template>
													</xsl:when>
													<xsl:when test="$lang='ko'">
														<xsl:call-template name="showKoAddress"></xsl:call-template>
													</xsl:when>
													<xsl:otherwise>
														<xsl:call-template name="showAddress"></xsl:call-template>
													</xsl:otherwise>
												</xsl:choose>
											</xsl:if>
										</fo:inline>
									</fo:block>
								</xsl:otherwise>
							</xsl:choose>
						</fo:table-cell>
					</fo:table-row>
				</xsl:for-each>
				<!-- TODO: display info for additional agents?  See PCT-Easy output (doesn't allow multiple 'rep-type's)-->
				<fo:table-row>
					<fo:table-cell xsl:use-attribute-sets="tdTL">
						<fo:block>
							<fo:inline font-weight="bold">1-2</fo:inline>
						</fo:block>
					</fo:table-cell>
					<fo:table-cell xsl:use-attribute-sets="tdTC">
						<fo:block>
							<fo:inline font-weight="bold">
								为
							</fo:inline>
						</fo:block>
					</fo:table-cell>
					<fo:table-cell xsl:use-attribute-sets="tdTR">
						<fo:block>
							<fo:inline font-weight="bold">
								<xsl:choose>
									<xsl:when test=".//attorney-or-agent[1]/@rep-type='agent'">
										代理人 
									</xsl:when>
									<xsl:when test=".//attorney-or-agent[1]/@rep-type='attorney'">
										代理人
									</xsl:when>
									<xsl:when test=".//attorney-or-agent[1]/@rep-type='common-representative'">
										共同代表 
									</xsl:when>
									<xsl:otherwise>
										<xsl:value-of select=".//attorney-or-agent[1]/@rep-type"></xsl:value-of>
									</xsl:otherwise>
								</xsl:choose>
							</fo:inline>
						</fo:block>
					</fo:table-cell>
				</fo:table-row>
				<fo:table-row>
					<fo:table-cell xsl:use-attribute-sets="tdTL">
						<fo:block>
							<fo:inline font-weight="bold">1-3</fo:inline>
						</fo:block>
					</fo:table-cell>
					<fo:table-cell xsl:use-attribute-sets="tdTC">
						<fo:block>
							<fo:inline font-weight="bold">
								在下列国际单位代表本人
							</fo:inline>
						</fo:block>
					</fo:table-cell>
					<fo:table-cell xsl:use-attribute-sets="tdTR">
						<fo:block>
							<fo:inline font-weight="bold">
								<xsl:choose>
									<xsl:when test="name(.//represent-before/*)='all-authorities'">
										所有主管的国际单位
									</xsl:when>
									<xsl:when test="name(.//represent-before/*)='isa-only'">
										国际检索单位
									</xsl:when>
									<xsl:when test="name(.//represent-before/*)='ipea-only'">
										国际初步审查单位
									</xsl:when>
								</xsl:choose>
							</fo:inline>
						</fo:block>
					</fo:table-cell>
				</fo:table-row>
				<fo:table-row>
					<fo:table-cell xsl:use-attribute-sets="tdTL">
						<fo:block>
							<fo:inline font-weight="bold">1-4</fo:inline>
						</fo:block>
					</fo:table-cell>
					<fo:table-cell xsl:use-attribute-sets="tdTC">
						<fo:block>
							<fo:inline font-weight="bold">
								对于下列国际申请:
							</fo:inline>
						</fo:block>
					</fo:table-cell>
					<fo:table-cell xsl:use-attribute-sets="tdBorderTop">
						<fo:block></fo:block>
					</fo:table-cell>
				</fo:table-row>
				<fo:table-row>
					<fo:table-cell xsl:use-attribute-sets="tdTL">
						<fo:block>
							<fo:inline font-weight="bold">1-4-1</fo:inline>
						</fo:block>
					</fo:table-cell>
					<fo:table-cell xsl:use-attribute-sets="tdTC">
						<fo:block start-indent="4mm">
							<fo:inline font-weight="bold">
								发明名称
							</fo:inline>
						</fo:block>
					</fo:table-cell>
					<fo:table-cell xsl:use-attribute-sets="tdTR">
						<fo:block>
							<fo:inline font-weight="bold">
								<xsl:apply-templates select="./invention-title"></xsl:apply-templates>
							</fo:inline>
						</fo:block>
					</fo:table-cell>
				</fo:table-row>
				<fo:table-row>
					<fo:table-cell xsl:use-attribute-sets="tdTL">
						<fo:block>
							<fo:inline font-weight="bold">1-4-2</fo:inline>
						</fo:block>
					</fo:table-cell>
					<fo:table-cell xsl:use-attribute-sets="tdTC">
						<fo:block start-indent="4mm">
							<fo:inline font-weight="bold">
								申请人或代理人的档案号
							</fo:inline>
						</fo:block>
					</fo:table-cell>
					<fo:table-cell xsl:use-attribute-sets="tdTR">
						<fo:block>
							<fo:inline font-weight="bold">
								<xsl:value-of select=".//file-reference-id"></xsl:value-of>
							</fo:inline>
						</fo:block>
					</fo:table-cell>
				</fo:table-row>
				<fo:table-row>
					<fo:table-cell xsl:use-attribute-sets="tdTL">
						<fo:block>
							<fo:inline font-weight="bold">1-4-3</fo:inline>
						</fo:block>
					</fo:table-cell>
					<fo:table-cell xsl:use-attribute-sets="tdTC">
						<fo:block start-indent="4mm">
							<fo:inline font-weight="bold">
								国际申请号 (如果已有)
							</fo:inline>
						</fo:block>
					</fo:table-cell>
					<fo:table-cell xsl:use-attribute-sets="tdTR">
						<fo:block>
							<fo:inline font-weight="bold">
								<xsl:value-of select=".//doc-number"></xsl:value-of>
							</fo:inline>
						</fo:block>
					</fo:table-cell>
				</fo:table-row>
				<fo:table-row>
					<fo:table-cell xsl:use-attribute-sets="tdTL">
						<fo:block>
							<fo:inline font-weight="bold">1-4-4</fo:inline>
						</fo:block>
					</fo:table-cell>
					<fo:table-cell xsl:use-attribute-sets="tdTC">
						<fo:block start-indent="4mm">
							<fo:inline font-weight="bold">
								向下列受理局提交
							</fo:inline>
						</fo:block>
					</fo:table-cell>
					<fo:table-cell xsl:use-attribute-sets="tdTR">
						<fo:block>                        
							<fo:inline font-weight="bold">
								<xsl:choose>
									<xsl:when test="$lang='ar'">
										<fo:bidi-override unicode-bidi="embed" direction="rtl">
											<xsl:call-template name="officeName_ChoiceText">
												<xsl:with-param name="office" select=".//ro"></xsl:with-param>
											</xsl:call-template>
										</fo:bidi-override>
									</xsl:when>
									<xsl:otherwise>
										<xsl:call-template name="officeName_ChoiceText">
											<xsl:with-param name="office" select=".//ro"></xsl:with-param>
										</xsl:call-template>											
									</xsl:otherwise>
								</xsl:choose>
								<fo:inline keep-together.within-line="always">
									<xsl:text>(RO/</xsl:text>
									<xsl:value-of select="translate(.//ro,'abcdefghijklmnopqrstuvwxyz','ABCDEFGHIJKLMNOPQRSTUVWXYZ')"></xsl:value-of>
									<xsl:text>)</xsl:text>
								</fo:inline>
							</fo:inline>
						</fo:block>
					</fo:table-cell>
				</fo:table-row>
				<fo:table-row>
					<fo:table-cell xsl:use-attribute-sets="tdTBL">
						<fo:block>
							<fo:inline font-weight="bold">1-5</fo:inline>
						</fo:block>
					</fo:table-cell>
					<fo:table-cell xsl:use-attribute-sets="tdTBC">
						<fo:block>
							<fo:inline font-weight="bold">
								并代表本人缴费或收费
							</fo:inline>
						</fo:block>
					</fo:table-cell>
					<fo:table-cell xsl:use-attribute-sets="tdTBR">
						<fo:block>
							<!--fo:inline font-weight = "bold">                        
								<xsl:value-of select = ".//payor/@role"/>                     
							</fo:inline-->
						</fo:block>
					</fo:table-cell>
				</fo:table-row>
			</fo:table-body>
		</fo:table>
		<xsl:for-each select=".//signatory">
			<xsl:call-template name="signatory">
				<xsl:with-param name="sig_seq" select="position()"></xsl:with-param>
				<xsl:with-param name="box" select="2"></xsl:with-param>
				<xsl:with-param name="sig_type">applicant</xsl:with-param>
			</xsl:call-template>
		</xsl:for-each>
		<fo:table table-layout="fixed" border-collapse="separate">
			<fo:table-column column-width="12mm"></fo:table-column>
			<fo:table-column column-width="53mm"></fo:table-column>
			<fo:table-column column-width="105mm"></fo:table-column>
			<fo:table-body>
				<fo:table-row>
					<fo:table-cell xsl:use-attribute-sets="tdTBL">
						<fo:block>
							<fo:inline font-weight="bold">3</fo:inline>
						</fo:block>
					</fo:table-cell>
					<fo:table-cell xsl:use-attribute-sets="tdTBC">
						<fo:block padding-right="3mm">
							<fo:inline font-weight="bold">
								日期
							</fo:inline>
						</fo:block>
					</fo:table-cell>
					<fo:table-cell xsl:use-attribute-sets="tdTBR">
						<fo:block>
							<fo:inline font-weight="bold">
								<xsl:call-template name="format_date">
									<xsl:with-param name="lang" select="$lang"></xsl:with-param>
									<xsl:with-param name="date" select=".//electronic-signature/@date"></xsl:with-param>
									<xsl:with-param name="show_date" select="1"></xsl:with-param>
									<xsl:with-param name="text" select="1"></xsl:with-param>
									<xsl:with-param name="date_too" select="1"></xsl:with-param>
								</xsl:call-template>
							</fo:inline>
						</fo:block>
					</fo:table-cell>
				</fo:table-row>
			</fo:table-body>
		</fo:table>
	</xsl:template>
	<xsl:template match="applicant[@sequence='1']">
		<fo:table table-layout="fixed" border-collapse="separate" keep-together.within-page="always">         
			<fo:table-column column-width="12mm"></fo:table-column>         
			<fo:table-column column-width="53mm"></fo:table-column>         
			<fo:table-column column-width="105mm"></fo:table-column>  
			<fo:table-body>
				<fo:table-row>  
					<fo:table-cell xsl:use-attribute-sets="tdTL">
						<fo:block>  
							<fo:inline font-weight="bold">
								<xsl:text>II</xsl:text>  
							</fo:inline>
						</fo:block>  
					</fo:table-cell>  
					<fo:table-cell xsl:use-attribute-sets="tdTC">
						<fo:block>  
							<fo:inline font-weight="bold">
								申请人  
							</fo:inline>
						</fo:block>  
					</fo:table-cell>  
					<fo:table-cell xsl:use-attribute-sets="tdBorderTop">
						<fo:block></fo:block>  
					</fo:table-cell>
				</fo:table-row>
				<fo:table-row>  
					<fo:table-cell xsl:use-attribute-sets="tdL">
						<fo:block>  
							<xsl:text>II-1</xsl:text>
						</fo:block>  
					</fo:table-cell>  
					<fo:table-cell xsl:use-attribute-sets="tdC">
						<fo:block>  
							该人是
						</fo:block>  
					</fo:table-cell>  
					<fo:table-cell xsl:use-attribute-sets="tdR">
						<fo:block padding-top="1pt">  
							<fo:inline font-weight="bold">  
								<xsl:call-template name="applicantType_ChoiceText">
									<xsl:with-param name="app-type" select="@app-type"></xsl:with-param>  
								</xsl:call-template>  
								<xsl:if test="$lang='ru' or $lang='ja' or $lang='zh' or $lang='ko'">(<xsl:call-template name="applicantTypeEn_ChoiceText">
										<xsl:with-param name="app-type" select="@app-type"></xsl:with-param>
									</xsl:call-template>)</xsl:if>  
							</fo:inline>
						</fo:block>  
					</fo:table-cell>
				</fo:table-row>
				<xsl:for-each select="./us-rights">  
					<fo:table-row>
						<fo:table-cell>  
							<fo:block></fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdC">  
							<fo:block></fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdR">  
							<fo:block padding-top="1pt">
								<fo:inline font-weight="bold">
									<xsl:choose>
										<xsl:when test="$lang='ja'">
											<!-- NOTE: order should be name deceased_Text @to-dead-inventor @kind -->
											<xsl:call-template name="inventorName">
												<xsl:with-param name="name" select="@to-dead-inventor"></xsl:with-param>
											</xsl:call-template>
											 (死亡) 
											<xsl:call-template name="kind_ChoiceText">
												<xsl:with-param name="kind" select="@kind"></xsl:with-param>
											</xsl:call-template>                    
											<!-- repeat info in English -->
											<fo:block></fo:block>
											<xsl:choose>
												<xsl:when test="@to-dead-inventor=''">
													(<xsl:value-of select="@kind"></xsl:value-of> of deceased inventor.) 
												</xsl:when>
												<xsl:otherwise>
													(<xsl:value-of select="@kind"></xsl:value-of> of <xsl:value-of select="@to-dead-inventor"></xsl:value-of> (deceased)) 
												</xsl:otherwise>
											</xsl:choose>
										</xsl:when>
										<xsl:when test="$lang='ru'">
											<xsl:call-template name="kind_ChoiceText">
												<xsl:with-param name="kind" select="@kind"></xsl:with-param>
											</xsl:call-template>                    
											的  
											<xsl:value-of select="@to-dead-inventor"></xsl:value-of>                    
											 (死亡) 
											<!-- repeat info in English -->
											<fo:block></fo:block>
											<xsl:choose>
												<xsl:when test="@to-dead-inventor=''">
													(<xsl:value-of select="@kind"></xsl:value-of> of deceased inventor.) 
												</xsl:when>
												<xsl:otherwise>
													(<xsl:value-of select="@kind"></xsl:value-of> of <xsl:value-of select="@to-dead-inventor"></xsl:value-of> (deceased)) 
												</xsl:otherwise>
											</xsl:choose>
										</xsl:when>
										<xsl:when test="$lang='zh'">					
											<xsl:call-template name="inventorName">	
												<xsl:with-param name="name" select="@to-dead-inventor"></xsl:with-param>
											</xsl:call-template>	
												 (死亡) 
												的
											<xsl:call-template name="kind_ChoiceText">	
												<xsl:with-param name="kind" select="@kind"></xsl:with-param>
											</xsl:call-template>	
											<!-- repeat info in English -->	
											<fo:block></fo:block>
											<xsl:choose>
												<xsl:when test="@to-dead-inventor=''">
													(<xsl:value-of select="@kind"></xsl:value-of> of deceased inventor.) 
												</xsl:when>
												<xsl:otherwise>
													(<xsl:value-of select="@kind"></xsl:value-of> of <xsl:value-of select="@to-dead-inventor"></xsl:value-of> (deceased)) 
												</xsl:otherwise>
											</xsl:choose>
										</xsl:when>
										<xsl:when test="$lang='ko'">					
											<xsl:call-template name="inventorName">	
												<xsl:with-param name="name" select="@to-dead-inventor"></xsl:with-param>
											</xsl:call-template>	
												 (死亡) 
												的
											<xsl:call-template name="kind_ChoiceText">	
												<xsl:with-param name="kind" select="@kind"></xsl:with-param>
											</xsl:call-template>
										</xsl:when>
										<xsl:when test="$lang='en'">		
											<xsl:call-template name="kind_ChoiceText">
												<xsl:with-param name="kind" select="@kind"></xsl:with-param>
											</xsl:call-template>                    
											的 
											<xsl:choose>
												<xsl:when test="@to-dead-inventor=''">
													<xsl:text>deceased inventor.</xsl:text>
												</xsl:when> 
												<xsl:otherwise>
													<xsl:value-of select="@to-dead-inventor"></xsl:value-of>                    
													 (死亡) 
												</xsl:otherwise>
											</xsl:choose>
										</xsl:when>
										<xsl:when test="$lang='de'">		
											<xsl:call-template name="kind_ChoiceText">
												<xsl:with-param name="kind" select="@kind"></xsl:with-param>
											</xsl:call-template>                    
											von
											<xsl:value-of select="@to-dead-inventor"></xsl:value-of>                    
											 (死亡) 
										</xsl:when>										
										<xsl:otherwise>
											<xsl:call-template name="kind_ChoiceText">
												<xsl:with-param name="kind" select="@kind"></xsl:with-param>
											</xsl:call-template>                    
											的  
											<xsl:value-of select="@to-dead-inventor"></xsl:value-of>                    
											 (死亡) 
										</xsl:otherwise>										
									</xsl:choose>
								</fo:inline>  
							</fo:block>
						</fo:table-cell>  
					</fo:table-row>
				</xsl:for-each>
				<fo:table-row>  
					<fo:table-cell xsl:use-attribute-sets="tdL">
						<fo:block>  
							<xsl:text>II-2</xsl:text>
						</fo:block>  
					</fo:table-cell>  
					<fo:table-cell xsl:use-attribute-sets="tdC">
						<fo:block>  
							是对下列国家的申请人
						</fo:block>  
					</fo:table-cell>  
					<fo:table-cell xsl:use-attribute-sets="tdR">
						<fo:block padding-top="1pt">  
							<fo:inline font-weight="bold">
								<xsl:call-template name="designation_ChoiceText">
									<xsl:with-param name="designation" select="."></xsl:with-param>
								</xsl:call-template>            
								<xsl:if test="($lang='ja' or $lang='ru' or $lang='zh' or $lang='ko') and (@designation != 'as-indicated')">(<xsl:call-template name="designationEn_ChoiceText">
										<xsl:with-param name="designation" select="."></xsl:with-param>
									</xsl:call-template>)</xsl:if>
							</fo:inline>
						</fo:block>  
					</fo:table-cell>
				</fo:table-row>
				<!-- II-3 -->
				<xsl:if test="./designated-states-as-inventor//country/text()">
					<fo:table-row>  
						<fo:table-cell xsl:use-attribute-sets="tdL">
							<fo:block>  
								<xsl:text>II-3</xsl:text>
							</fo:block>  
						</fo:table-cell>  
						<fo:table-cell xsl:use-attribute-sets="tdC">
							<fo:block>  
								对下列国家的发明人
							</fo:block>  
						</fo:table-cell>  
						<fo:table-cell xsl:use-attribute-sets="tdR">
							<fo:block padding-top="1pt">  
								<fo:inline font-weight="bold">
									<!-- do region: (countries); countries -->
									<xsl:for-each select="./designated-states-as-inventor/region">
										<xsl:sort select="."></xsl:sort>
										<xsl:variable name="pos" select="position() +1"></xsl:variable>
										<xsl:value-of select="concat(translate(normalize-space(.),'abdefghijklmnopqrstuvwxyz','ABDEFGHIJKLMNOPQRSTUVWXYZ'),': ','(')"></xsl:value-of> 
										<xsl:for-each select="following-sibling::country[not(preceding-sibling::region[$pos])]">
											<xsl:sort select="."></xsl:sort>   
											<xsl:choose>   
												<xsl:when test="text()='ch' or text() = 'CH'">  
													<xsl:text>CH&amp;LI </xsl:text>   
												</xsl:when>   
												<xsl:when test="text() = 'li' or text() = 'LI'"></xsl:when>   
												<xsl:otherwise>   
													<xsl:value-of select="translate(.,'abdefghijklmnopqrstuvwxyz','ABDEFGHIJKLMNOPQRSTUVWXYZ')"></xsl:value-of>   
													<xsl:if test="following-sibling::country[not(preceding-sibling::region[$pos])]">
														<xsl:text> 
														</xsl:text>   
													</xsl:if>   
												</xsl:otherwise>   
											</xsl:choose>
										</xsl:for-each>);<xsl:text> </xsl:text>
									 </xsl:for-each>
									<xsl:for-each select="./designated-states-as-inventor/country[not(preceding-sibling::region)]">
										<xsl:sort select="."></xsl:sort>   
										<xsl:choose>   
											<xsl:when test="text()='ch' or text() = 'CH'">  
												<xsl:text>CH&amp;LI </xsl:text>   
											</xsl:when>   
											<xsl:when test="text() = 'li' or text() = 'LI'"></xsl:when>   
											<xsl:otherwise>   
												<xsl:value-of select="translate(.,'abdefghijklmnopqrstuvwxyz','ABDEFGHIJKLMNOPQRSTUVWXYZ')"></xsl:value-of>   
												<xsl:text> 
												</xsl:text>   
											</xsl:otherwise>   
										</xsl:choose>
									</xsl:for-each>  
								</fo:inline>
							</fo:block>  
						</fo:table-cell>
					</fo:table-row>
				</xsl:if>    
				<!-- if text is all that's entered display that below in II-5 using 'showAddress' -->
				
				<!-- test for multi-language addressbooks (ru, ja, zh, ko only) -->
				<xsl:choose>
					<xsl:when test="$lang='ja' or $lang='zh' or $lang='ru' or $lang='ko'">  
						<xsl:if test="not(./addressbook[1]/text)">  
							<!-- first native language, then english -->
							<fo:table-row> 
								<fo:table-cell xsl:use-attribute-sets="tdL">
									<fo:block>
										<xsl:text>II-4</xsl:text>
										<xsl:if test="./addressbook[@lang='en']">
											<xsl:value-of select="$lang"></xsl:value-of>
										</xsl:if>
									</fo:block> 
								</fo:table-cell> 
								<fo:table-cell xsl:use-attribute-sets="tdC"> 
									<fo:block>
										<xsl:call-template name="nameType">
											<xsl:with-param name="nam" select="./addressbook[@lang=$lang]"></xsl:with-param>
										</xsl:call-template> 
									</fo:block> 
								</fo:table-cell> 
								<fo:table-cell xsl:use-attribute-sets="tdR">
									<fo:block padding-top="1pt">
										<fo:inline font-weight="bold">   
											<xsl:call-template name="format_name">  
												<xsl:with-param name="name_arg" select="./addressbook[@lang=$lang]"></xsl:with-param>   
											</xsl:call-template>
										</fo:inline>
									</fo:block> 
								</fo:table-cell>  
							</fo:table-row>  
							<!-- make sure that there is an English version to display -->
							<xsl:if test="./addressbook[@lang='en']">  
								<fo:table-row> 
									<fo:table-cell xsl:use-attribute-sets="tdL">
										<fo:block>
											<xsl:text>II-4en</xsl:text>
										</fo:block> 
									</fo:table-cell> 
									<fo:table-cell xsl:use-attribute-sets="tdC">
										<fo:block>
											<xsl:choose>
												<xsl:when test="./addressbook[@lang='en']/name[@name-type='legal']">  
													<xsl:text>Name: </xsl:text>
												</xsl:when>
												<xsl:otherwise>
													<xsl:text>Name (LAST, First): </xsl:text>
												</xsl:otherwise>
											</xsl:choose>
										</fo:block> 
									</fo:table-cell> 
									<fo:table-cell xsl:use-attribute-sets="tdR">
										<fo:block padding-top="1pt"> 
											<fo:inline font-weight="bold">   
												<xsl:call-template name="format_name">  
													<xsl:with-param name="name_arg" select="./addressbook[@lang='en']"></xsl:with-param>   
												</xsl:call-template>
											</fo:inline>
										</fo:block> 
									</fo:table-cell>  
								</fo:table-row>  
							</xsl:if>  
						</xsl:if>
					</xsl:when>
					<!-- application is en, de, es, or fr; only show one addressbook -->
					<xsl:otherwise>  
						<!-- if text is all that's entered display that below in II-5 using 'showAddress' -->
						<xsl:if test="not(./addressbook[1]/text)">  
							<fo:table-row> 
								<fo:table-cell xsl:use-attribute-sets="tdL">
									<fo:block>
										<xsl:text>II-4</xsl:text>
									</fo:block> 
								</fo:table-cell> 
								<fo:table-cell xsl:use-attribute-sets="tdC">
									<fo:block>
										<xsl:call-template name="nameType">
											<xsl:with-param name="nam" select="./addressbook[1]"></xsl:with-param>
										</xsl:call-template>
									</fo:block> 
								</fo:table-cell> 
								<fo:table-cell xsl:use-attribute-sets="tdR">
									<fo:block padding-top="1pt">
										<fo:inline font-weight="bold">   
											<xsl:call-template name="format_name">  
												<xsl:with-param name="name_arg" select="./addressbook[1]"></xsl:with-param>   
											</xsl:call-template>
										</fo:inline>
									</fo:block> 
								</fo:table-cell>  
							</fo:table-row>  
						</xsl:if> 
					</xsl:otherwise>
				</xsl:choose>
				<!-- test for multi-language addressbooks (ja only) -->
				<xsl:choose>
					<xsl:when test="$lang='ja'">  
						<fo:table-row> 
							<fo:table-cell xsl:use-attribute-sets="tdL">
								<fo:block>
									<xsl:text>II-5</xsl:text>
									<xsl:if test="./addressbook[@lang='en']">
										<xsl:value-of select="$lang"></xsl:value-of>
									</xsl:if>
								</fo:block> 
							</fo:table-cell> 
							<fo:table-cell xsl:use-attribute-sets="tdC">
								<fo:block>
									地址
								</fo:block> 
							</fo:table-cell> 
							<fo:table-cell xsl:use-attribute-sets="tdR">
								<fo:block padding-top="1pt">
									<fo:inline font-weight="bold">   
										<xsl:call-template name="showJaAddress"></xsl:call-template>   
									</fo:inline>
								</fo:block> 
							</fo:table-cell>  
						</fo:table-row>  
						<xsl:if test="./addressbook[@lang='en']">  
							<fo:table-row> 
								<fo:table-cell xsl:use-attribute-sets="tdL">
									<fo:block>
										<xsl:text>II-5en</xsl:text>
									</fo:block> 
								</fo:table-cell> 
								<fo:table-cell xsl:use-attribute-sets="tdC">
									<fo:block>
										<xsl:text>Address: </xsl:text>
									</fo:block> 
								</fo:table-cell> 
								<fo:table-cell xsl:use-attribute-sets="tdR">
									<fo:block padding-top="1pt">
										<fo:inline font-weight="bold">   
											<xsl:call-template name="showEnAddress"></xsl:call-template>   
										</fo:inline>
									</fo:block> 
								</fo:table-cell>  
							</fo:table-row>   
						</xsl:if>
					</xsl:when>
					<!-- test for multi-language addressbooks (ru only) -->
					<xsl:when test="$lang='ru'">  
						<fo:table-row> 
							<fo:table-cell xsl:use-attribute-sets="tdL">
								<fo:block>
									<xsl:text>II-5</xsl:text>
									<xsl:if test="./addressbook[@lang='en']">
										<xsl:value-of select="$lang"></xsl:value-of>
									</xsl:if>
								</fo:block> 
							</fo:table-cell> 
							<fo:table-cell xsl:use-attribute-sets="tdC">
								<fo:block>
									地址
								</fo:block> 
							</fo:table-cell> 
							<fo:table-cell xsl:use-attribute-sets="tdR">
								<fo:block padding-top="1pt">
									<fo:inline font-weight="bold">   
										<xsl:call-template name="showNativeAddress"></xsl:call-template>   
									</fo:inline>
								</fo:block> 
							</fo:table-cell>  
						</fo:table-row>  
						<xsl:if test="./addressbook[@lang='en']">  
							<fo:table-row> 
								<fo:table-cell xsl:use-attribute-sets="tdL">
									<fo:block>
										<xsl:text>II-5en</xsl:text>
									</fo:block> 
								</fo:table-cell> 
								<fo:table-cell xsl:use-attribute-sets="tdC">
									<fo:block>
										<xsl:text>Address: </xsl:text>
									</fo:block> 
								</fo:table-cell> 
								<fo:table-cell xsl:use-attribute-sets="tdR">
									<fo:block padding-top="1pt">
										<fo:inline font-weight="bold">   
											<xsl:call-template name="showEnAddress"></xsl:call-template>   
										</fo:inline>
									</fo:block> 
								</fo:table-cell>  
							</fo:table-row>   
						</xsl:if>
					</xsl:when>
					<!-- test for multi-language addressbooks (zh only) -->
					<xsl:when test="$lang='zh'">  
						<fo:table-row> 
							<fo:table-cell xsl:use-attribute-sets="tdL">
								<fo:block>
									<xsl:text>II-5</xsl:text>
									<xsl:if test="./addressbook[@lang='en']">
										<xsl:value-of select="$lang"></xsl:value-of>
									</xsl:if>
								</fo:block> 
							</fo:table-cell> 
							<fo:table-cell xsl:use-attribute-sets="tdC">
								<fo:block>
									地址
								</fo:block> 
							</fo:table-cell> 
							<fo:table-cell xsl:use-attribute-sets="tdR">
								<fo:block padding-top="1pt">
									<fo:inline font-weight="bold">   
										<xsl:call-template name="showZhAddress"></xsl:call-template>   
									</fo:inline>
								</fo:block> 
							</fo:table-cell>  
						</fo:table-row>  
						<xsl:if test="./addressbook[@lang='en']">  
							<fo:table-row> 
								<fo:table-cell xsl:use-attribute-sets="tdL">
									<fo:block>
										<xsl:text>II-5en</xsl:text>
									</fo:block> 
								</fo:table-cell> 
								<fo:table-cell xsl:use-attribute-sets="tdC">
									<fo:block>
										<xsl:text>Address </xsl:text>
									</fo:block> 
								</fo:table-cell> 
								<fo:table-cell xsl:use-attribute-sets="tdR">
									<fo:block padding-top="1pt">
										<fo:inline font-weight="bold">   
											<xsl:call-template name="showEnAddress"></xsl:call-template>   
										</fo:inline>
									</fo:block> 
								</fo:table-cell>  
							</fo:table-row>   
						</xsl:if>
					</xsl:when>
					<!-- test for multi-language addressbooks (ko only) -->
					<xsl:when test="$lang='ko'">  
						<fo:table-row> 
							<fo:table-cell xsl:use-attribute-sets="tdL">
								<fo:block>
									<xsl:text>II-5</xsl:text>
									<xsl:if test="./addressbook[@lang='en']">
										<xsl:value-of select="$lang"></xsl:value-of>
									</xsl:if>
								</fo:block> 
							</fo:table-cell> 
							<fo:table-cell xsl:use-attribute-sets="tdC">
								<fo:block>
									地址
								</fo:block> 
							</fo:table-cell> 
							<fo:table-cell xsl:use-attribute-sets="tdR">
								<fo:block padding-top="1pt">
									<fo:inline font-weight="bold">   
										<xsl:call-template name="showKoAddress"></xsl:call-template>   
									</fo:inline>
								</fo:block> 
							</fo:table-cell>  
						</fo:table-row>  
						<xsl:if test="./addressbook[@lang='en']">  
							<fo:table-row> 
								<fo:table-cell xsl:use-attribute-sets="tdL">
									<fo:block>
										<xsl:text>II-5en</xsl:text>
									</fo:block> 
								</fo:table-cell> 
								<fo:table-cell xsl:use-attribute-sets="tdC">
									<fo:block>
										<xsl:text>Address: </xsl:text>
									</fo:block> 
								</fo:table-cell> 
								<fo:table-cell xsl:use-attribute-sets="tdR">
									<fo:block padding-top="1pt">
										<fo:inline font-weight="bold">   
											<xsl:call-template name="showEnAddress"></xsl:call-template>   
										</fo:inline>
									</fo:block> 
								</fo:table-cell>  
							</fo:table-row>   
						</xsl:if>
					</xsl:when>
					<!-- application is en, de, es, or fr; only show one addressbook -->
					<xsl:otherwise>  
						<fo:table-row> 
							<fo:table-cell xsl:use-attribute-sets="tdL">
								<fo:block>
									<xsl:text>II-5</xsl:text>
								</fo:block> 
							</fo:table-cell> 
							<fo:table-cell xsl:use-attribute-sets="tdC">
								<fo:block>
									地址
								</fo:block> 
							</fo:table-cell> 
							<fo:table-cell xsl:use-attribute-sets="tdR">
								<fo:block padding-top="1pt">
									<fo:inline font-weight="bold">   
										<xsl:call-template name="showAddress"></xsl:call-template>   
									</fo:inline>
								</fo:block> 
							</fo:table-cell>  
						</fo:table-row>
					</xsl:otherwise>
				</xsl:choose>
				<fo:table-row>  
					<fo:table-cell xsl:use-attribute-sets="tdL">
						<fo:block>  
							<xsl:text>II-6</xsl:text>
						</fo:block>  
					</fo:table-cell>  
					<fo:table-cell xsl:use-attribute-sets="tdC">
						<fo:block>  
							国籍
						</fo:block>  
					</fo:table-cell>  
					<fo:table-cell xsl:use-attribute-sets="tdR">
						<fo:block padding-top="1pt">  
							<fo:inline font-weight="bold">
								<xsl:if test="$lang='ja' or $lang='zh' or $lang='ru' or $lang='ko'">
									<xsl:call-template name="country_ChoiceText">
										<xsl:with-param name="country" select="./nationality/country"></xsl:with-param>
									</xsl:call-template>
								</xsl:if>
								<xsl:call-template name="uppercaser">  
									<xsl:with-param name="string" select="./nationality/country"></xsl:with-param>
								</xsl:call-template>  
							</fo:inline>
						</fo:block>  
					</fo:table-cell>
				</fo:table-row>
				<fo:table-row>  
					<fo:table-cell xsl:use-attribute-sets="tdL">
						<fo:block>  
							<xsl:text>II-7</xsl:text>
						</fo:block>  
					</fo:table-cell>  
					<fo:table-cell xsl:use-attribute-sets="tdC">
						<fo:block>  
							居所
						</fo:block>  
					</fo:table-cell>  
					<fo:table-cell xsl:use-attribute-sets="tdR">
						<fo:block padding-top="1pt">  
							<fo:inline font-weight="bold">
								<xsl:if test="$lang='ja' or $lang='zh' or $lang='ru' or $lang='ko'">
									<xsl:call-template name="country_ChoiceText">
										<xsl:with-param name="country" select="./residence/country"></xsl:with-param>
									</xsl:call-template>
								</xsl:if>
								<xsl:value-of select="./residence/country"></xsl:value-of>
							</fo:inline>
						</fo:block>  
					</fo:table-cell>
				</fo:table-row>
				<xsl:if test="./addressbook[1]/phone">  
					<fo:table-row>
						<fo:table-cell xsl:use-attribute-sets="tdL">  
							<fo:block>
								<xsl:text>II-8</xsl:text>  
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdC">  
							<fo:block>
								电话号码  
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdR">  
							<fo:block padding-top="1pt">
								<fo:inline font-weight="bold">  
									<xsl:value-of select="./addressbook[1]/phone"></xsl:value-of>
								</fo:inline>  
							</fo:block>
						</fo:table-cell>  
					</fo:table-row>
				</xsl:if>
				<xsl:if test="./addressbook[1]/fax">  
					<fo:table-row>
						<fo:table-cell xsl:use-attribute-sets="tdL">  
							<fo:block>
								<xsl:text>II-9</xsl:text>  
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdC">  
							<fo:block>
								传真号码  
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdR">  
							<fo:block padding-top="1pt">
								<fo:inline font-weight="bold">  
									<xsl:value-of select="./addressbook[1]/fax"></xsl:value-of>
								</fo:inline>  
							</fo:block>
						</fo:table-cell>  
					</fo:table-row>
				</xsl:if>
				<xsl:if test="./addressbook[1]/email">  
					<fo:table-row>
						<fo:table-cell xsl:use-attribute-sets="tdL">  
							<fo:block>
								<xsl:text>II-10</xsl:text>  
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdC">  
							<fo:block>
								电子邮址  
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdR">  
							<fo:block padding-top="1pt">
								<fo:inline font-weight="bold">  
									<xsl:value-of select="./addressbook[1]/email"></xsl:value-of>
								</fo:inline>  
							</fo:block>
						</fo:table-cell>  
					</fo:table-row>
				</xsl:if>
				<xsl:if test="./addressbook[1]/email/@email-purpose='advance'">  
					<fo:table-row>
						<fo:table-cell xsl:use-attribute-sets="tdL">  
							<fo:block>
								<xsl:text>II-10(a)</xsl:text>  
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdC">  
							<fo:block>
								电子邮件授权  
							</fo:block>
							<fo:block>
								授权受理局、国际检索单位、国际局和国际初步审查单位，如果其愿意，使用本电子邮件地址发送有关本国际申请的通知书：  
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdR">  
							<fo:block padding-top="1pt">
								<fo:inline font-weight="bold">  
									<fo:block>
										作为随后纸件通知书的预送本  
									</fo:block>
								</fo:inline>  
							</fo:block>
						</fo:table-cell>  
					</fo:table-row>
				</xsl:if>
				<xsl:if test="./addressbook[1]/email/@email-purpose='main'">  
					<fo:table-row>
						<fo:table-cell xsl:use-attribute-sets="tdL">  
							<fo:block>
								<xsl:text>II-10(a)</xsl:text>  
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdC">  
							<fo:block>
								电子邮件授权  
							</fo:block>
							<fo:block>
								授权受理局、国际检索单位、国际局和国际初步审查单位，如果其愿意，使用本电子邮件地址发送有关本国际申请的通知书：  
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdR">
							<fo:block padding-top="1pt">
								<fo:inline font-weight="bold">
									<fo:block>
										<xsl:variable name="email-address" select="./addressbook[1]/email[@email-purpose='main']"/>
										<xsl:variable name="matching-pis" select="//node()[self::processing-instruction() and name() = 'communication_attachment' and contains(concat(' ', ., ' '), concat(' ', $email-address, ' '))]"/>
										<xsl:variable name="communication_method" select="substring-after($matching-pis, ' ')"/>
										<xsl:choose>
											<xsl:when test="starts-with($software_name, 'ePCT')">
												<xsl:choose>
													<xsl:when test="$communication_method='epct'">
														ePCT（电子邮件所含的链接可用于查看和下载 ePCT 中的文档）
													</xsl:when>
													<xsl:otherwise>
														电子邮件（带有 PDF 附件的电子邮件）
													</xsl:otherwise>
												</xsl:choose>
											</xsl:when>
											<xsl:otherwise>
												exclusively in electronic form (no paper notifications will be sent)
											</xsl:otherwise>
										</xsl:choose>
									</fo:block>
								</fo:inline>
							</fo:block>
						</fo:table-cell>
					</fo:table-row>
				</xsl:if>
				<xsl:if test="./addressbook[1]/registered-number">  
					<fo:table-row>
						<fo:table-cell xsl:use-attribute-sets="tdL">  
							<fo:block>
								<xsl:text>II-11</xsl:text>  
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdC">  
							<fo:block>
								申请人在专利局的登记号  
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdR">  
							<fo:block padding-top="1pt">
								<fo:inline font-weight="bold">  
									<xsl:value-of select="./addressbook[1]/registered-number"></xsl:value-of>
								</fo:inline>  
							</fo:block>
						</fo:table-cell>  
					</fo:table-row>
				</xsl:if>
				<fo:table-row>
					<fo:table-cell number-columns-spanned="3" border-top="solid black 0.25pt">
						<fo:block></fo:block>
					</fo:table-cell>
				</fo:table-row>
			</fo:table-body>
		</fo:table>
	</xsl:template>
	<xsl:template name="other_applicants">    
		<!-- applicant (not first), inventors, deceased inventors -->
		<!-- 20061204 : To avoid xalan2.4.1 bug, the following sentence is separated into 2 lines.
			<xsl:for-each select = ".//applicant[@sequence != '1'] | .//inventor | .//deceased-inventor[@sequence != following-sibling::deceased-inventor[1]/@sequence] | .//deceased-inventor[position() = last()]">
		-->
		<xsl:variable name="tmpQR" select=".//applicant[@sequence != '1'] | .//inventor | .//deceased-inventor[@sequence != following-sibling::deceased-inventor[1]/@sequence] | .//deceased-inventor[position() = last()]"></xsl:variable>
		<xsl:for-each select="$tmpQR">
			<xsl:variable name="seq" select="position()"></xsl:variable>      
			<fo:table table-layout="fixed" border-collapse="separate" keep-together.within-page="always">         
				<fo:table-column column-width="12mm"></fo:table-column>         
				<fo:table-column column-width="53mm"></fo:table-column>         
				<fo:table-column column-width="105mm"></fo:table-column>        
				<fo:table-body>          
					<fo:table-row>            
						<fo:table-cell xsl:use-attribute-sets="tdTL">              
							<fo:block>                
								<fo:inline font-weight="bold">III-<xsl:value-of select="$seq"></xsl:value-of>
								</fo:inline>              
							</fo:block>            
						</fo:table-cell>            
						<fo:table-cell xsl:use-attribute-sets="tdTC">              
							<fo:block>                
								<fo:inline font-weight="bold">                  
									申请人和/或发明人                
								</fo:inline>              
							</fo:block>            
						</fo:table-cell>            
						<fo:table-cell xsl:use-attribute-sets="tdBorderTop">              
							<fo:block></fo:block>            
						</fo:table-cell>          
					</fo:table-row>          
					<fo:table-row>            
						<fo:table-cell xsl:use-attribute-sets="tdL">              
							<fo:block>III-<xsl:value-of select="$seq"></xsl:value-of>-1</fo:block>            
						</fo:table-cell>            
						<fo:table-cell xsl:use-attribute-sets="tdC">              
							<fo:block>                
								该人是              
							</fo:block>            
						</fo:table-cell>            
						<fo:table-cell xsl:use-attribute-sets="tdR">              
							<fo:block padding-top="1pt">                
								<fo:inline font-weight="bold">                  
									<xsl:choose>                    
										<xsl:when test="name() = 'applicant'">  
											<xsl:call-template name="applicantType_ChoiceText">
												<xsl:with-param name="app-type" select="@app-type"></xsl:with-param>  
											</xsl:call-template>  
											<xsl:if test="$lang='ru' or $lang='ja' or $lang='zh' or $lang='ko'">(<xsl:call-template name="applicantTypeEn_ChoiceText">
													<xsl:with-param name="app-type" select="@app-type"></xsl:with-param>  	 						 
												</xsl:call-template>)					  </xsl:if>  
										</xsl:when>                    
										<xsl:when test="name() = 'inventor'">                      
											发明人  
											<xsl:if test="$lang='ja' or $lang='zh' or $lang='ru' or $lang='ko'">(inventor only)</xsl:if>                  
										</xsl:when>                    
										<xsl:when test="name()='deceased-inventor'">                
											发明人 (死亡)  (inventor only (deceased))                        
										</xsl:when>                  
									</xsl:choose>                
								</fo:inline>              
							</fo:block>            
						</fo:table-cell>          
					</fo:table-row>          
					<xsl:for-each select="us-rights">            
						<fo:table-row>              
							<fo:table-cell>                
								<fo:block></fo:block>              
							</fo:table-cell>              
							<fo:table-cell xsl:use-attribute-sets="tdC">                
								<fo:block></fo:block>              
							</fo:table-cell>              
							<fo:table-cell xsl:use-attribute-sets="tdR">                
								<fo:block padding-top="1pt">                  
									<fo:inline font-weight="bold">
										<xsl:choose>
											<xsl:when test="$lang='ja'">
												<!-- NOTE: order should be name deceased_Text @to-dead-inventor @kind -->
												<xsl:call-template name="inventorName">
													<xsl:with-param name="name" select="@to-dead-inventor"></xsl:with-param>
												</xsl:call-template>
												 (死亡) 
												<xsl:call-template name="kind_ChoiceText">
													<xsl:with-param name="kind" select="@kind"></xsl:with-param>
												</xsl:call-template>                    
												<!-- repeat info in English -->
												<fo:block></fo:block> 
												<xsl:choose>
													<xsl:when test="@to-dead-inventor=''">
														(<xsl:value-of select="@kind"></xsl:value-of> of deceased inventor.) 
													</xsl:when>
													<xsl:otherwise>
														(<xsl:value-of select="@kind"></xsl:value-of> of <xsl:value-of select="@to-dead-inventor"></xsl:value-of> (deceased)) 
													</xsl:otherwise>
												</xsl:choose>
											</xsl:when>
											<xsl:when test="$lang='ru'">
												<xsl:call-template name="kind_ChoiceText">
													<xsl:with-param name="kind" select="@kind"></xsl:with-param>
												</xsl:call-template>                    
												的
												<xsl:value-of select="@to-dead-inventor"></xsl:value-of>                    
												 (死亡) 
												<!-- repeat info in English -->
												<fo:block></fo:block>
												<xsl:choose>
													<xsl:when test="@to-dead-inventor=''">
														(<xsl:value-of select="@kind"></xsl:value-of> of deceased inventor.) 
													</xsl:when>
													<xsl:otherwise>
														(<xsl:value-of select="@kind"></xsl:value-of> of <xsl:value-of select="@to-dead-inventor"></xsl:value-of> (deceased)) 
													</xsl:otherwise>
												</xsl:choose>
											</xsl:when>
											<xsl:when test="$lang='zh'">
												<xsl:call-template name="inventorName">	
													<xsl:with-param name="name" select="@to-dead-inventor"></xsl:with-param>
												</xsl:call-template>	
													 (死亡) 
													的
												<xsl:call-template name="kind_ChoiceText">	
													<xsl:with-param name="kind" select="@kind"></xsl:with-param>
												</xsl:call-template>	
												<!-- repeat info in English -->	
												<fo:block></fo:block>	
												<xsl:choose>
													<xsl:when test="@to-dead-inventor=''">
														(<xsl:value-of select="@kind"></xsl:value-of> of deceased inventor.) 
													</xsl:when>
													<xsl:otherwise>
														(<xsl:value-of select="@kind"></xsl:value-of> of <xsl:value-of select="@to-dead-inventor"></xsl:value-of> (deceased)) 
													</xsl:otherwise>
												</xsl:choose>
											</xsl:when>
											<xsl:when test="$lang='ko'">
												<xsl:call-template name="inventorName">	
													<xsl:with-param name="name" select="@to-dead-inventor"></xsl:with-param>
												</xsl:call-template>	
													 (死亡) 
													的
												<xsl:call-template name="kind_ChoiceText">	
													<xsl:with-param name="kind" select="@kind"></xsl:with-param>
												</xsl:call-template>
											</xsl:when>
											<xsl:when test="$lang='en'">
												<xsl:call-template name="kind_ChoiceText">
													<xsl:with-param name="kind" select="@kind"></xsl:with-param>
												</xsl:call-template>                    
												的
												<xsl:choose>
													<xsl:when test="@to-dead-inventor=''">
														<xsl:text>deceased inventor.</xsl:text>
													</xsl:when> 
													<xsl:otherwise>
														<xsl:value-of select="@to-dead-inventor"></xsl:value-of>                    
														 (死亡) 
													</xsl:otherwise>
												</xsl:choose>
											</xsl:when>
											<xsl:when test="$lang='de'">		
												<xsl:call-template name="kind_ChoiceText">
													<xsl:with-param name="kind" select="@kind"></xsl:with-param>
												</xsl:call-template>                    
												von
												<xsl:value-of select="@to-dead-inventor"></xsl:value-of>                    
												 (死亡) 
											</xsl:when>		
											<xsl:otherwise>
												<xsl:call-template name="kind_ChoiceText">
													<xsl:with-param name="kind" select="@kind"></xsl:with-param>
												</xsl:call-template>                    
												的
												<xsl:value-of select="@to-dead-inventor"></xsl:value-of>                    
												 (死亡) 
											</xsl:otherwise>											
										</xsl:choose>
									</fo:inline>                
								</fo:block>              
							</fo:table-cell>            
						</fo:table-row>          
					</xsl:for-each>          
          
					<xsl:if test="name() = 'applicant'">
						<fo:table-row>  
							<fo:table-cell xsl:use-attribute-sets="tdL">
								<fo:block>III-<xsl:value-of select="$seq"></xsl:value-of>-2</fo:block>  
							</fo:table-cell>  
							<fo:table-cell xsl:use-attribute-sets="tdC">
								<fo:block>  
									是对下列国家的申请人  
								</fo:block>  
							</fo:table-cell>  
							<fo:table-cell xsl:use-attribute-sets="tdR">
								<fo:block padding-top="1pt">  
									<fo:inline font-weight="bold">
										<xsl:call-template name="designation_ChoiceText">
											<xsl:with-param name="designation" select="."></xsl:with-param>
										</xsl:call-template>
										<xsl:if test="($lang='ja' or $lang='ru' or $lang='zh' or $lang='ko') and (@designation != 'as-indicated')">(<xsl:call-template name="designationEn_ChoiceText">
												<xsl:with-param name="designation" select="."></xsl:with-param>
											</xsl:call-template>)</xsl:if>  
									</fo:inline>
								</fo:block>  
							</fo:table-cell>
						</fo:table-row>        
					</xsl:if> 
					<!-- III-3 Applicant-Inventor -->
					<xsl:if test="./designated-states-as-inventor//country/text()">
						<fo:table-row>  
							<fo:table-cell xsl:use-attribute-sets="tdL">
								<fo:block>III-<xsl:value-of select="$seq"></xsl:value-of>-3</fo:block>  
							</fo:table-cell>  
							<fo:table-cell xsl:use-attribute-sets="tdC">
								<fo:block>  
									对下列国家的发明人
								</fo:block>  
							</fo:table-cell>  
							<fo:table-cell xsl:use-attribute-sets="tdR">
								<fo:block padding-top="1pt">  
									<fo:inline font-weight="bold">  
										<!-- do region: (countries); countries -->
										  
										<xsl:for-each select="./designated-states-as-inventor/region">  
											<xsl:sort select="."></xsl:sort>
											<xsl:variable name="pos" select="position() +1"></xsl:variable>
											<xsl:value-of select="concat(translate(normalize-space(.),'abdefghijklmnopqrstuvwxyz','ABDEFGHIJKLMNOPQRSTUVWXYZ'),': ','(')"></xsl:value-of> 
											<xsl:for-each select="following-sibling::country[not(preceding-sibling::region[$pos])]">
												<xsl:sort select="."></xsl:sort>   
												<xsl:choose>   
													<xsl:when test="text()='ch' or text() = 'CH'">  
														<xsl:text>CH&amp;LI </xsl:text>   
													</xsl:when>   
													<xsl:when test="text() = 'li' or text() = 'LI'"></xsl:when>   
													<xsl:otherwise>   
														<xsl:value-of select="translate(.,'abdefghijklmnopqrstuvwxyz','ABDEFGHIJKLMNOPQRSTUVWXYZ')"></xsl:value-of>   
														<xsl:if test="following-sibling::country[not(preceding-sibling::region[$pos])]">
															<xsl:text> 
															</xsl:text>   
														</xsl:if>   
													</xsl:otherwise>   
												</xsl:choose>
											</xsl:for-each>);<xsl:text> 
											</xsl:text>
										</xsl:for-each>  
										<xsl:for-each select="./designated-states-as-inventor/country[not(preceding-sibling::region)]">  
											<xsl:sort select="."></xsl:sort>   
											<xsl:choose>   
												<xsl:when test="text()='ch' or text() = 'CH'">  
													<xsl:text>CH&amp;LI </xsl:text>   
												</xsl:when>   
												<xsl:when test="text() = 'li' or text() = 'LI'"></xsl:when>   
												<xsl:otherwise>   
													<xsl:value-of select="translate(.,'abdefghijklmnopqrstuvwxyz','ABDEFGHIJKLMNOPQRSTUVWXYZ')"></xsl:value-of>   
													<xsl:text> 
													</xsl:text>   
												</xsl:otherwise>   
											</xsl:choose>
										</xsl:for-each>  
									</fo:inline>
								</fo:block>  
							</fo:table-cell>
						</fo:table-row>
					</xsl:if>    
					
					<!-- III-3 Inventor-->
					<xsl:if test="name() = 'inventor'">
						<fo:table-row>  
							<fo:table-cell xsl:use-attribute-sets="tdL">
								<fo:block>III-<xsl:value-of select="$seq"></xsl:value-of>-3</fo:block>  
							</fo:table-cell>  
							<fo:table-cell xsl:use-attribute-sets="tdC">
								<fo:block>  
									对下列国家的发明人  
								</fo:block>  
							</fo:table-cell>  
							<fo:table-cell xsl:use-attribute-sets="tdR">
								<fo:block padding-top="1pt">  
									<fo:inline font-weight="bold">
										<xsl:call-template name="designation_ChoiceText">
											<xsl:with-param name="designation" select="."></xsl:with-param>
										</xsl:call-template>
										<xsl:if test="($lang='ja' or $lang='ru' or $lang='zh' or $lang='ko') and (@designation != 'as-indicated')">(<xsl:call-template name="designationEn_ChoiceText">
												<xsl:with-param name="designation" select="."></xsl:with-param>
											</xsl:call-template>)</xsl:if>  
									</fo:inline>
								</fo:block>  
							</fo:table-cell>
						</fo:table-row>        
					</xsl:if> 

					<!-- test for multi-language addressbooks (ru, ja, zh, ko only) -->
					<xsl:choose>  
						<xsl:when test="($lang='ja' or $lang='zh' or $lang='ru' or $lang='ko')                            or (name(.) = 'deceased-inventor' and $lang='ja' or $lang='zh' or $lang='ru' or $lang='ko'                              and @sequence != following-sibling::deceased-inventor[1]/@sequence                                            or position() = last() and $lang='ja' or $lang='zh' or $lang='ru')">
							<xsl:if test="not(addressbook[1]/text)">  
								<!-- first native language, then english -->
								<fo:table-row>
									<fo:table-cell xsl:use-attribute-sets="tdL">
										<fo:block>III-<xsl:value-of select="$seq"></xsl:value-of>
											<xsl:text>-4</xsl:text>
											<xsl:if test=".//addressbook[@lang='en'] or preceding-sibling::*[1]/@sequence = @sequence">
												<xsl:value-of select="$lang"></xsl:value-of>
											</xsl:if>
										</fo:block> 
									</fo:table-cell> 
									<fo:table-cell xsl:use-attribute-sets="tdC"> 
										<fo:block>
											<xsl:choose>
												<xsl:when test="name(.) = 'deceased-inventor'">
													<xsl:call-template name="nameType">
														<xsl:with-param name="nam" select="."></xsl:with-param>
													</xsl:call-template>
												</xsl:when>
												<xsl:otherwise>
													<xsl:call-template name="nameType">
														<xsl:with-param name="nam" select="./addressbook[@lang=$lang]"></xsl:with-param>
													</xsl:call-template>
												</xsl:otherwise>
											</xsl:choose>
										</fo:block> 
									</fo:table-cell> 
									<fo:table-cell xsl:use-attribute-sets="tdR"> 
										<fo:block padding-top="1pt">
											<fo:inline font-weight="bold">   
												<xsl:choose>
													<xsl:when test="name(.) = 'deceased-inventor'">
														<xsl:choose>
															<xsl:when test="./name">
																<xsl:value-of select="preceding-sibling::deceased-inventor[1][@sequence = @sequence]/name"></xsl:value-of>
															</xsl:when>
															<xsl:otherwise>
																<xsl:call-template name="format_name">  
																	<xsl:with-param name="name_arg" select="preceding-sibling::deceased-inventor[1][@sequence = @sequence][@lang = $lang]"></xsl:with-param>   
																</xsl:call-template>
															</xsl:otherwise>
														</xsl:choose>
													</xsl:when>
													<xsl:otherwise>
														<xsl:call-template name="format_name">  
															<xsl:with-param name="name_arg" select="./addressbook[@lang=$lang]"></xsl:with-param>   
														</xsl:call-template>
													</xsl:otherwise>
												</xsl:choose>
											</fo:inline>
										</fo:block> 
									</fo:table-cell>  
								</fo:table-row>  
								<!-- make sure that there is an English version to display -->
								<xsl:if test="addressbook[@lang='en'] or @lang='en'">  
									<fo:table-row>
										<fo:table-cell xsl:use-attribute-sets="tdL">
											<fo:block>III-<xsl:value-of select="$seq"></xsl:value-of>-4en</fo:block>
										</fo:table-cell> 
										<fo:table-cell xsl:use-attribute-sets="tdC"> 
											<fo:block>
												<xsl:choose>
													<xsl:when test="./addressbook[@lang='en']/name[@name-type='legal']">  
														<xsl:text>Name: </xsl:text>
													</xsl:when>
													<xsl:otherwise>
														<xsl:text>Name (LAST, First): </xsl:text>
													</xsl:otherwise>
												</xsl:choose>
											</fo:block> 
										</fo:table-cell> 
										<fo:table-cell xsl:use-attribute-sets="tdR"> 
											<fo:block padding-top="1pt">
												<fo:inline font-weight="bold">   
													<xsl:choose>
														<xsl:when test="name(.)= 'deceased-inventor'">
															<xsl:choose>
																<xsl:when test="./name">
																	<xsl:value-of select="./name"></xsl:value-of>
																</xsl:when>
																<xsl:otherwise>
																	<xsl:call-template name="format_name">  
																		<xsl:with-param name="name_arg" select="."></xsl:with-param>   
																	</xsl:call-template>
																</xsl:otherwise>
															</xsl:choose>
														</xsl:when>
														<xsl:otherwise>
															<xsl:call-template name="format_name">  
																<xsl:with-param name="name_arg" select="./addressbook[@lang='en']"></xsl:with-param>   
															</xsl:call-template>
														</xsl:otherwise>
													</xsl:choose>
												</fo:inline>
											</fo:block> 
										</fo:table-cell>  
									</fo:table-row>  
								</xsl:if>  
							</xsl:if>  
						</xsl:when>  
						<!-- application is en, de, es, or fr; only show one addressbook -->
						<xsl:otherwise>  
							<!-- if text is all that's entered display that below in III-5 using 'showAddress' -->
							<xsl:if test="not(addressbook[1]/text)">  
								<fo:table-row> 
									<fo:table-cell xsl:use-attribute-sets="tdL">
										<fo:block>III-<xsl:value-of select="$seq"></xsl:value-of>-4</fo:block> 
									</fo:table-cell> 
									<fo:table-cell xsl:use-attribute-sets="tdC"> 
										<fo:block>
											<xsl:choose>
												<xsl:when test="name()='deceased-inventor'">
													<xsl:call-template name="nameType">
														<xsl:with-param name="nam" select="."></xsl:with-param>
													</xsl:call-template>
												</xsl:when>
												<xsl:otherwise>
													<xsl:call-template name="nameType">
														<xsl:with-param name="nam" select="./addressbook[1]"></xsl:with-param>
													</xsl:call-template>
												</xsl:otherwise>
											</xsl:choose>
										</fo:block> 
									</fo:table-cell> 
									<fo:table-cell xsl:use-attribute-sets="tdR"> 
										<fo:block padding-top="1pt">
											<fo:inline font-weight="bold">
												<xsl:choose>
													<xsl:when test="name()='deceased-inventor'">  
														<xsl:choose>
															<xsl:when test="./name">
																<xsl:value-of select="./name"></xsl:value-of>
															</xsl:when>
															<xsl:otherwise>
																<xsl:call-template name="format_name">  
																	<xsl:with-param name="name_arg" select="."></xsl:with-param>   
																</xsl:call-template>
															</xsl:otherwise>
														</xsl:choose>
													</xsl:when>
													<xsl:otherwise>   
														<xsl:call-template name="format_name">  
															<xsl:with-param name="name_arg" select="./addressbook[1]"></xsl:with-param>   
														</xsl:call-template>
													</xsl:otherwise>
												</xsl:choose>
											</fo:inline>
										</fo:block> 
									</fo:table-cell>  
								</fo:table-row>  
							</xsl:if> 
						</xsl:otherwise>
					</xsl:choose>              
					<!-- test for multi-language addressbooks (ja only) -->
					<xsl:if test="name() = 'applicant' or name() = 'inventor'">
						<xsl:choose>
							<xsl:when test="$lang='ja'">  
								<fo:table-row> 
									<fo:table-cell xsl:use-attribute-sets="tdL"> 
										<fo:block>III-<xsl:value-of select="$seq"></xsl:value-of>
											<xsl:text>-5</xsl:text>
											<xsl:if test="./addressbook[@lang='en']">
												<xsl:value-of select="$lang"></xsl:value-of>
											</xsl:if>
										</fo:block> 
									</fo:table-cell> 
									<fo:table-cell xsl:use-attribute-sets="tdC"> 
										<fo:block>
											地址
										</fo:block> 
									</fo:table-cell> 
									<fo:table-cell xsl:use-attribute-sets="tdR"> 
										<fo:block padding-top="1pt">
											<fo:inline font-weight="bold">  
												<xsl:call-template name="showJaAddress"></xsl:call-template>
											</fo:inline>
										</fo:block> 
									</fo:table-cell>  
								</fo:table-row>  
								<xsl:if test="./addressbook[@lang='en']">  
									<fo:table-row> 
										<fo:table-cell xsl:use-attribute-sets="tdL"> 
											<fo:block> 	III-<xsl:value-of select="$seq"></xsl:value-of>-5en</fo:block> 
										</fo:table-cell> 
										<fo:table-cell xsl:use-attribute-sets="tdC"> 
											<fo:block>
												<xsl:text>Address: </xsl:text>
											</fo:block> 
										</fo:table-cell> 
										<fo:table-cell xsl:use-attribute-sets="tdR"> 
											<fo:block padding-top="1pt">
												<fo:inline font-weight="bold">  
													<xsl:call-template name="showEnAddress"></xsl:call-template>
												</fo:inline>
											</fo:block> 
										</fo:table-cell>  
									</fo:table-row>   
								</xsl:if>
							</xsl:when>
							<!-- test for multi-language addressbooks (ru only) -->
							<xsl:when test="$lang='ru'">  
								<fo:table-row> 
									<fo:table-cell xsl:use-attribute-sets="tdL"> 
										<fo:block>III-<xsl:value-of select="$seq"></xsl:value-of>
											<xsl:text>-5</xsl:text>
											<xsl:if test="./addressbook[@lang='en']">
												<xsl:value-of select="$lang"></xsl:value-of>
											</xsl:if>
										</fo:block> 
									</fo:table-cell> 
									<fo:table-cell xsl:use-attribute-sets="tdC"> 
										<fo:block>
											地址
										</fo:block> 
									</fo:table-cell> 
									<fo:table-cell xsl:use-attribute-sets="tdR"> 
										<fo:block padding-top="1pt">
											<fo:inline font-weight="bold">  
												<xsl:call-template name="showNativeAddress"></xsl:call-template>
											</fo:inline>
										</fo:block> 
									</fo:table-cell>  
								</fo:table-row>  
								<xsl:if test="./addressbook[@lang='en']">  
									<fo:table-row> 
										<fo:table-cell xsl:use-attribute-sets="tdL"> 
											<fo:block> 	III-<xsl:value-of select="$seq"></xsl:value-of>-5en</fo:block> 
										</fo:table-cell> 
										<fo:table-cell xsl:use-attribute-sets="tdC"> 
											<fo:block>
												<xsl:text>Address: </xsl:text>
											</fo:block> 
										</fo:table-cell> 
										<fo:table-cell xsl:use-attribute-sets="tdR"> 
											<fo:block padding-top="1pt">
												<fo:inline font-weight="bold">  
													<xsl:call-template name="showEnAddress"></xsl:call-template>
												</fo:inline>
											</fo:block> 
										</fo:table-cell>  
									</fo:table-row>   
								</xsl:if>
							</xsl:when>
							<!-- test for multi-language addressbooks (ko only) -->
							<xsl:when test="$lang='ko'">  
								<fo:table-row> 
									<fo:table-cell xsl:use-attribute-sets="tdL"> 
										<fo:block>III-<xsl:value-of select="$seq"></xsl:value-of>
											<xsl:text>-5</xsl:text>
											<xsl:if test="./addressbook[@lang='en']">
												<xsl:value-of select="$lang"></xsl:value-of>
											</xsl:if>
										</fo:block> 
									</fo:table-cell> 
									<fo:table-cell xsl:use-attribute-sets="tdC"> 
										<fo:block>
											地址
										</fo:block> 
									</fo:table-cell> 
									<fo:table-cell xsl:use-attribute-sets="tdR"> 
										<fo:block padding-top="1pt">
											<fo:inline font-weight="bold">  
												<xsl:call-template name="showKoAddress"></xsl:call-template>
											</fo:inline>
										</fo:block> 
									</fo:table-cell>  
								</fo:table-row>  
								<xsl:if test="./addressbook[@lang='en']">  
									<fo:table-row> 
										<fo:table-cell xsl:use-attribute-sets="tdL"> 
											<fo:block> 	III-<xsl:value-of select="$seq"></xsl:value-of>-5en</fo:block> 
										</fo:table-cell> 
										<fo:table-cell xsl:use-attribute-sets="tdC"> 
											<fo:block>
												<xsl:text>Address: </xsl:text>
											</fo:block> 
										</fo:table-cell> 
										<fo:table-cell xsl:use-attribute-sets="tdR"> 
											<fo:block padding-top="1pt">
												<fo:inline font-weight="bold">  
													<xsl:call-template name="showEnAddress"></xsl:call-template>
												</fo:inline>
											</fo:block> 
										</fo:table-cell>  
									</fo:table-row>   
								</xsl:if>
							</xsl:when>
							<!-- test for multi-language addressbooks (zh only) -->
							<xsl:when test="$lang='zh'">  
								<fo:table-row> 
									<fo:table-cell xsl:use-attribute-sets="tdL"> 
										<fo:block>III-<xsl:value-of select="$seq"></xsl:value-of>
											<xsl:text>-5</xsl:text>
											<xsl:if test="./addressbook[@lang='en']">
												<xsl:value-of select="$lang"></xsl:value-of>
											</xsl:if>
										</fo:block> 
									</fo:table-cell> 
									<fo:table-cell xsl:use-attribute-sets="tdC"> 
										<fo:block>
											地址
										</fo:block> 
									</fo:table-cell> 
									<fo:table-cell xsl:use-attribute-sets="tdR"> 
										<fo:block padding-top="1pt">
											<fo:inline font-weight="bold">  
												<xsl:call-template name="showZhAddress"></xsl:call-template>
											</fo:inline>
										</fo:block> 
									</fo:table-cell>  
								</fo:table-row>  
								<xsl:if test="./addressbook[@lang='en']">  
									<fo:table-row> 
										<fo:table-cell xsl:use-attribute-sets="tdL"> 
											<fo:block> 	III-<xsl:value-of select="$seq"></xsl:value-of>-5en</fo:block> 
										</fo:table-cell> 
										<fo:table-cell xsl:use-attribute-sets="tdC"> 
											<fo:block>
												<xsl:text>Address </xsl:text>
											</fo:block> 
										</fo:table-cell> 
										<fo:table-cell xsl:use-attribute-sets="tdR"> 
											<fo:block padding-top="1pt">
												<fo:inline font-weight="bold">  
													<xsl:call-template name="showEnAddress"></xsl:call-template>
												</fo:inline>
											</fo:block> 
										</fo:table-cell>  
									</fo:table-row>   
								</xsl:if>
							</xsl:when>
							<!-- application is en, de, es, or fr; only show one addressbook -->
							<xsl:otherwise>  
								<fo:table-row> 
									<fo:table-cell xsl:use-attribute-sets="tdL"> 
										<fo:block>III-<xsl:value-of select="$seq"></xsl:value-of>-5</fo:block> 
									</fo:table-cell> 
									<fo:table-cell xsl:use-attribute-sets="tdC"> 
										<fo:block>
											地址
										</fo:block> 
									</fo:table-cell> 
									<fo:table-cell xsl:use-attribute-sets="tdR"> 
										<fo:block padding-top="1pt">
											<fo:inline font-weight="bold">  
												<xsl:call-template name="showAddress"></xsl:call-template>
											</fo:inline>
										</fo:block> 
									</fo:table-cell>  
								</fo:table-row>
							</xsl:otherwise>
						</xsl:choose>         
					</xsl:if>          
					<xsl:if test="name() = 'applicant'">            
						<fo:table-row>              
							<fo:table-cell xsl:use-attribute-sets="tdL">                
								<fo:block>III-<xsl:value-of select="$seq"></xsl:value-of>-6</fo:block>              
							</fo:table-cell>              
							<fo:table-cell xsl:use-attribute-sets="tdC">                
								<fo:block>                  
									国籍                  
								</fo:block>              
							</fo:table-cell>              
							<fo:table-cell xsl:use-attribute-sets="tdR">                
								<fo:block padding-top="1pt">                  
									<fo:inline font-weight="bold">                  
										<xsl:if test="$lang='ja' or $lang='zh' or $lang='ru' or $lang='ko'">
											<xsl:call-template name="country_ChoiceText">
												<xsl:with-param name="country" select="nationality/country"></xsl:with-param>
											</xsl:call-template>
										</xsl:if>
										<xsl:call-template name="uppercaser">                      
											<xsl:with-param name="string" select="nationality/country"></xsl:with-param>                    
										</xsl:call-template>                  
									</fo:inline>                
								</fo:block>              
							</fo:table-cell>            
						</fo:table-row>          
					</xsl:if>          
					<xsl:if test="name() = 'applicant'">            
						<fo:table-row>              
							<fo:table-cell xsl:use-attribute-sets="tdL">                
								<fo:block>III-<xsl:value-of select="$seq"></xsl:value-of>-7</fo:block>              
							</fo:table-cell>              
							<fo:table-cell xsl:use-attribute-sets="tdC">                
								<fo:block>                  
									居所                  
								</fo:block>              
							</fo:table-cell>              
							<fo:table-cell xsl:use-attribute-sets="tdR">                
								<fo:block padding-top="1pt">                  
									<fo:inline font-weight="bold">    
										<xsl:if test="$lang='ja' or $lang='zh' or $lang='ru' or $lang='ko'">
											<xsl:call-template name="country_ChoiceText">
												<xsl:with-param name="country" select="residence/country"></xsl:with-param>
											</xsl:call-template>
										</xsl:if>
										<xsl:value-of select="residence/country"></xsl:value-of>                    
									</fo:inline>                
								</fo:block>              
							</fo:table-cell>            
						</fo:table-row>          
					</xsl:if>          
					<xsl:if test="addressbook[1]/phone">            
						<fo:table-row>              
							<fo:table-cell xsl:use-attribute-sets="tdL">                
								<fo:block>III-<xsl:value-of select="$seq"></xsl:value-of>-8</fo:block>              
							</fo:table-cell>              
							<fo:table-cell xsl:use-attribute-sets="tdC">                
								<fo:block>                  
									电话号码                
								</fo:block>              
							</fo:table-cell>              
							<fo:table-cell xsl:use-attribute-sets="tdR">                
								<fo:block padding-top="1pt">                  
									<fo:inline font-weight="bold">                    
										<xsl:value-of select="addressbook[1]/phone"></xsl:value-of>                  
									</fo:inline>                
								</fo:block>              
							</fo:table-cell>            
						</fo:table-row>          
					</xsl:if>          
					<xsl:if test="addressbook[1]/fax">            
						<fo:table-row>              
							<fo:table-cell xsl:use-attribute-sets="tdL">                
								<fo:block>III-<xsl:value-of select="$seq"></xsl:value-of>-9</fo:block>              
							</fo:table-cell>              
							<fo:table-cell xsl:use-attribute-sets="tdC">                
								<fo:block>                  
									传真号码                
								</fo:block>              
							</fo:table-cell>              
							<fo:table-cell xsl:use-attribute-sets="tdR">                
								<fo:block padding-top="1pt">                  
									<fo:inline font-weight="bold">                    
										<xsl:value-of select="addressbook[1]/fax"></xsl:value-of>                  
									</fo:inline>                
								</fo:block>              
							</fo:table-cell>            
						</fo:table-row>          
					</xsl:if>          
					<xsl:if test="addressbook[1]/email">            
						<fo:table-row>              
							<fo:table-cell xsl:use-attribute-sets="tdL">                
								<fo:block>III-<xsl:value-of select="$seq"></xsl:value-of>-10</fo:block>              
							</fo:table-cell>              
							<fo:table-cell xsl:use-attribute-sets="tdC">                
								<fo:block>                  
									电子邮址                
								</fo:block>              
							</fo:table-cell>              
							<fo:table-cell xsl:use-attribute-sets="tdR">                
								<fo:block padding-top="1pt">                  
									<fo:inline font-weight="bold">                    
										<xsl:value-of select="addressbook[1]/email"></xsl:value-of>                  
									</fo:inline>                
								</fo:block>              
							</fo:table-cell>            
						</fo:table-row>          
					</xsl:if>          
					<xsl:if test="addressbook[1]/email/@email-purpose='advance'">            
						<fo:table-row>
							<fo:table-cell xsl:use-attribute-sets="tdL">  
								<fo:block>III-<xsl:value-of select="$seq"></xsl:value-of>-10(a)</fo:block>              
							</fo:table-cell>
							<fo:table-cell xsl:use-attribute-sets="tdC">  
								<fo:block>
									电子邮件授权  
								</fo:block>
								<fo:block>
									授权受理局、国际检索单位、国际局和国际初步审查单位，如果其愿意，使用本电子邮件地址发送有关本国际申请的通知书：  
								</fo:block>
							</fo:table-cell>
							<fo:table-cell xsl:use-attribute-sets="tdR">  
								<fo:block padding-top="1pt">
									<fo:inline font-weight="bold">  
										<fo:block>
											作为随后纸件通知书的预送本  
										</fo:block>
									</fo:inline>  
								</fo:block>
							</fo:table-cell>  
						</fo:table-row>
					</xsl:if>
					<xsl:if test="addressbook[1]/email/@email-purpose='main'">            
						<fo:table-row>
							<fo:table-cell xsl:use-attribute-sets="tdL">  
								<fo:block>III-<xsl:value-of select="$seq"></xsl:value-of>-10(a)</fo:block>              
							</fo:table-cell>
							<fo:table-cell xsl:use-attribute-sets="tdC">  
								<fo:block>
									电子邮件授权  
								</fo:block>
								<fo:block>
									授权受理局、国际检索单位、国际局和国际初步审查单位，如果其愿意，使用本电子邮件地址发送有关本国际申请的通知书：  
								</fo:block>
							</fo:table-cell>
							<fo:table-cell xsl:use-attribute-sets="tdR">
								<fo:block padding-top="1pt">
									<fo:inline font-weight="bold">
										<fo:block>
											<xsl:variable name="email-address" select="./addressbook[1]/email[@email-purpose='main']"/>
											<xsl:variable name="matching-pis" select="//node()[self::processing-instruction() and name() = 'communication_attachment' and contains(concat(' ', ., ' '), concat(' ', $email-address, ' '))]"/>
											<xsl:variable name="communication_method" select="substring-after($matching-pis, ' ')"/>
											<xsl:choose>
												<xsl:when test="starts-with($software_name, 'ePCT')">
													<xsl:choose>
														<xsl:when test="$communication_method='epct'">
															ePCT（电子邮件所含的链接可用于查看和下载 ePCT 中的文档）
														</xsl:when>
														<xsl:otherwise>
															电子邮件（带有 PDF 附件的电子邮件）
														</xsl:otherwise>
													</xsl:choose>
												</xsl:when>
												<xsl:otherwise>
													exclusively in electronic form (no paper notifications will be sent)
												</xsl:otherwise>
											</xsl:choose>
										</fo:block>
									</fo:inline>
								</fo:block>
							</fo:table-cell>
						</fo:table-row>
					</xsl:if>
					<xsl:if test="addressbook[1]/registered-number">            
						<fo:table-row>              
							<fo:table-cell xsl:use-attribute-sets="tdL">                
								<fo:block>III-<xsl:value-of select="$seq"></xsl:value-of>-11</fo:block>              
							</fo:table-cell>              
							<fo:table-cell xsl:use-attribute-sets="tdC">                
								<fo:block>                  
									申请人在专利局的登记号                
								</fo:block>              
							</fo:table-cell>              
							<fo:table-cell xsl:use-attribute-sets="tdR">                
								<fo:block padding-top="1pt">                  
									<fo:inline font-weight="bold">                    
										<xsl:value-of select="addressbook[1]/registered-number"></xsl:value-of>                  
									</fo:inline>                
								</fo:block>              
							</fo:table-cell>            
						</fo:table-row>          
					</xsl:if>          
					<fo:table-row>            
						<fo:table-cell border-top="solid black 0.25pt" number-columns-spanned="3">              
							<fo:block></fo:block>            
						</fo:table-cell>          
					</fo:table-row>        
				</fo:table-body>      
			</fo:table>      
			<!--  end other applicant's info  -->
		</xsl:for-each>  
	</xsl:template>
	<xsl:template name="first_agent">  
		<fo:table table-layout="fixed" border-collapse="separate" keep-together.within-page="always"> 
			<fo:table-column column-width="12mm"></fo:table-column> 
			<fo:table-column column-width="53mm"></fo:table-column> 
			<fo:table-column column-width="105mm"></fo:table-column>
			<fo:table-body>
				<fo:table-row>  
					<fo:table-cell xsl:use-attribute-sets="tdTL">
						<fo:block>  
							<fo:inline font-weight="bold">
								<fo:inline font-weight="bold">IV-1</fo:inline>  
							</fo:inline>
						</fo:block>  
					</fo:table-cell>  
					<fo:table-cell xsl:use-attribute-sets="tdTC">
						<fo:block>  
							<fo:inline font-weight="bold">
								代理人,共同代表或通信地址  
							</fo:inline>
						</fo:block>  
					</fo:table-cell>  
					<fo:table-cell xsl:use-attribute-sets="tdTR">
						<fo:block> 
						</fo:block>  
					</fo:table-cell>
				</fo:table-row>
				<fo:table-row>  
					<fo:table-cell xsl:use-attribute-sets="tdL">
						<fo:block> 
						</fo:block>  
					</fo:table-cell>  
					<fo:table-cell xsl:use-attribute-sets="tdC">
						<fo:block>  
							<xsl:choose>
								<xsl:when test=".//agent">
									下列人员被委托/已经被委托为代表申请人在主管国际单位办理事务的
								</xsl:when>
								<xsl:when test=".//correspondence-address">
									未委托代理人或共同代表;应使用下列地址作为:
								</xsl:when>
							</xsl:choose>
						</fo:block>  
					</fo:table-cell>  
					<fo:table-cell xsl:use-attribute-sets="tdR">
						<fo:block padding-top="1pt">  
							<fo:inline font-weight="bold">
								<xsl:choose>
									<xsl:when test=".//agent">  
										<xsl:call-template name="agentType_ChoiceText">
											<xsl:with-param name="rep-type" select=".//agent[@sequence='1']/@rep-type"></xsl:with-param>  
										</xsl:call-template>            
										<xsl:if test="$lang='ja' or $lang='ru' or $lang='zh'"> (<xsl:call-template name="agentTypeEn_ChoiceText">
												<xsl:with-param name="rep-type" select=".//agent[@sequence='1']/@rep-type"></xsl:with-param> 
											</xsl:call-template>)</xsl:if>
									</xsl:when>
									<xsl:otherwise>
										通信地址
											<xsl:if test="$lang='ja' or $lang='zh' or $lang='ru' or $lang='ko'">(Address for correspondence)</xsl:if>
									</xsl:otherwise>
								</xsl:choose>  
							</fo:inline>
						</fo:block>  
					</fo:table-cell>
				</fo:table-row>
				<!-- test for multi-language addressbooks (ru, ja, zh, ko only) -->
				<xsl:choose>
					<xsl:when test="$lang='ja' or $lang='zh' or $lang='ru' or $lang='ko'">  
						<xsl:if test="not(.//agent[@sequence='1']/addressbook[1]/text)">  
							<!-- first native language, then english -->
							  
							<fo:table-row>  
								<fo:table-cell xsl:use-attribute-sets="tdL">
									<fo:block>
										<xsl:text>IV-1-1</xsl:text>
										<xsl:if test=".//agent[@sequence='1']/addressbook[@lang='en'] or .//correspondence-address/addressbook[@lang='en']">
											<xsl:value-of select="$lang"></xsl:value-of>
										</xsl:if>
									</fo:block> 
								</fo:table-cell> 
								<fo:table-cell xsl:use-attribute-sets="tdC">
									<fo:block>
										<xsl:choose>
											<xsl:when test=".//agent[@sequence='1']">
												<xsl:call-template name="nameType">
													<xsl:with-param name="nam" select=".//agent[@sequence='1']/addressbook[@lang=$lang]"></xsl:with-param>
												</xsl:call-template>
											</xsl:when>
											<xsl:otherwise>
												<xsl:call-template name="nameType">
													<xsl:with-param name="nam" select=".//correspondence-address/addressbook[@lang=$lang]"></xsl:with-param>
												</xsl:call-template>
											</xsl:otherwise>
										</xsl:choose>
									</fo:block> 
								</fo:table-cell> 
								<fo:table-cell xsl:use-attribute-sets="tdR">
									<fo:block padding-top="1pt">
										<fo:inline font-weight="bold">   
											<xsl:choose>
												<xsl:when test=".//agent[@sequence='1']">
													<xsl:call-template name="format_name">  
														<xsl:with-param name="name_arg" select=".//agent[@sequence='1']/addressbook[@lang=$lang]"></xsl:with-param>   
													</xsl:call-template>
												</xsl:when>
												<xsl:otherwise>
													<xsl:call-template name="format_name">  
														<xsl:with-param name="name_arg" select=".//correspondence-address/addressbook[@lang=$lang]"></xsl:with-param>   
													</xsl:call-template>
												</xsl:otherwise>
											</xsl:choose>
										</fo:inline>
									</fo:block> 
								</fo:table-cell>  
							</fo:table-row>  
							<!-- make sure that there is an English version to display -->
							  
							<xsl:if test=".//agent[@sequence='1']/addressbook[@lang='en'] or .//correspondence-address">  
								<fo:table-row> 
									<fo:table-cell xsl:use-attribute-sets="tdL">
										<fo:block>
											<xsl:text>IV-1-1en</xsl:text>
										</fo:block> 
									</fo:table-cell> 
									<fo:table-cell xsl:use-attribute-sets="tdC">
										<fo:block>
											<xsl:choose>
												<xsl:when test=".//agent[@sequence='1']/addressbook[@lang='en']/name[@name-type='legal'] or .//correspondence-address/addressbook/name[@name-type='legal']">  
													<xsl:text>Name: </xsl:text>
												</xsl:when>
												<xsl:otherwise>
													<xsl:text>Name (LAST, First): </xsl:text>
												</xsl:otherwise>
											</xsl:choose>
										</fo:block> 
									</fo:table-cell> 
									<fo:table-cell xsl:use-attribute-sets="tdR">
										<fo:block padding-top="1pt">
											<fo:inline font-weight="bold">   
												<xsl:choose>
													<xsl:when test=".//agent[@sequence='1']">
														<xsl:call-template name="format_name">  
															<xsl:with-param name="name_arg" select=".//agent[@sequence='1']/addressbook[@lang='en']"></xsl:with-param>   
														</xsl:call-template>
													</xsl:when>
													<xsl:otherwise>
														<xsl:call-template name="format_name">  
															<xsl:with-param name="name_arg" select=".//correspondence-address/addressbook[@lang='en']"></xsl:with-param>   
														</xsl:call-template>
													</xsl:otherwise>
												</xsl:choose>
											</fo:inline>
										</fo:block> 
									</fo:table-cell>  
								</fo:table-row>  
							</xsl:if>
							<fo:table-row> 
								<fo:table-cell xsl:use-attribute-sets="tdL">
									<fo:block>
										<xsl:text>IV-1-2</xsl:text>
										<xsl:if test=".//agent[@sequence='1']/addressbook[@lang='en'] or .//correspondence-address/addressbook[@lang='en']">
											<xsl:value-of select="$lang"></xsl:value-of>
										</xsl:if>
									</fo:block> 
								</fo:table-cell> 
								<fo:table-cell xsl:use-attribute-sets="tdC">
									<fo:block>
										地址
									</fo:block> 
								</fo:table-cell> 
								<fo:table-cell xsl:use-attribute-sets="tdR">
									<fo:block padding-top="1pt">
										<fo:inline font-weight="bold">   
											<xsl:for-each select=".//agent[@sequence='1'] | .//correspondence-address">  
												<xsl:choose>
													<xsl:when test="$lang='zh'">  
														<xsl:call-template name="showZhAddress"></xsl:call-template>
													</xsl:when>  
													<xsl:when test="$lang='ko'">  
														<xsl:call-template name="showKoAddress"></xsl:call-template>
													</xsl:when>
													<xsl:otherwise>
														<xsl:call-template name="showNativeAddress"></xsl:call-template>   
													</xsl:otherwise>
												</xsl:choose>
											</xsl:for-each>
										</fo:inline>
									</fo:block> 
								</fo:table-cell>  
							</fo:table-row>  
							<xsl:if test=".//agent[@sequence='1']/addressbook[@lang='en'] or .//correspondence-address/addressbook[@lang='en']">  
								<fo:table-row> 
									<fo:table-cell xsl:use-attribute-sets="tdL">
										<fo:block>
											<xsl:text>IV-1-2en</xsl:text>
										</fo:block> 
									</fo:table-cell> 
									<fo:table-cell xsl:use-attribute-sets="tdC">
										<fo:block>
											<xsl:text>Address: </xsl:text>
										</fo:block> 
									</fo:table-cell> 
									<fo:table-cell xsl:use-attribute-sets="tdR">
										<fo:block padding-top="1pt">
											<fo:inline font-weight="bold">   
												<xsl:for-each select=".//agent[@sequence='1'] | .//correspondence-address">  
													<xsl:call-template name="showEnAddress"></xsl:call-template>   
												</xsl:for-each>
											</fo:inline>
										</fo:block> 
									</fo:table-cell>  
								</fo:table-row>   
							</xsl:if>  
						</xsl:if>
					</xsl:when>
					<!-- application is en, de, es, or fr; only show one addressbook -->
					<xsl:otherwise>  
						<!-- if text is all that's entered display that below in II-5 using 'showAddress' -->
						<xsl:if test="not(.//agent[@sequence='1']/addressbook[1]/text)">  
							<fo:table-row> 
								<fo:table-cell xsl:use-attribute-sets="tdL">
									<fo:block>
										<xsl:text>IV-1-1</xsl:text>
									</fo:block> 
								</fo:table-cell> 
								<fo:table-cell xsl:use-attribute-sets="tdC">
									<fo:block>
										<xsl:choose>
											<xsl:when test=".//agent[@sequence='1']">
												<xsl:call-template name="nameType">
													<xsl:with-param name="nam" select=".//agent[@sequence='1']/addressbook[1]"></xsl:with-param>
												</xsl:call-template>
											</xsl:when>
											<xsl:otherwise>
												<xsl:call-template name="nameType">
													<xsl:with-param name="nam" select=".//correspondence-address/addressbook[1]"></xsl:with-param>
												</xsl:call-template>
											</xsl:otherwise>
										</xsl:choose>
									</fo:block> 
								</fo:table-cell> 
								<fo:table-cell xsl:use-attribute-sets="tdR">
									<fo:block padding-top="1pt">
										<fo:inline font-weight="bold">   
											<xsl:choose>
												<xsl:when test=".//agent[@sequence='1']">
													<xsl:call-template name="format_name">  
														<xsl:with-param name="name_arg" select=".//agent[@sequence='1']/addressbook[1]"></xsl:with-param>   
													</xsl:call-template>
												</xsl:when>
												<xsl:otherwise>
													<xsl:call-template name="format_name">  
														<xsl:with-param name="name_arg" select=".//correspondence-address/addressbook[1]"></xsl:with-param>   
													</xsl:call-template>
												</xsl:otherwise>
											</xsl:choose>
										</fo:inline>
									</fo:block> 
								</fo:table-cell>  
							</fo:table-row>
							<fo:table-row> 
								<fo:table-cell xsl:use-attribute-sets="tdL">
									<fo:block>
										<xsl:text>IV-1-2</xsl:text>
									</fo:block> 
								</fo:table-cell> 
								<fo:table-cell xsl:use-attribute-sets="tdC">
									<fo:block>
										地址
									</fo:block> 
								</fo:table-cell> 
								<fo:table-cell xsl:use-attribute-sets="tdR">
									<fo:block padding-top="1pt">
										<fo:inline font-weight="bold">   
											<xsl:for-each select=".//agent[@sequence='1'] | .//correspondence-address">  
												<xsl:call-template name="showAddress"></xsl:call-template>   
											</xsl:for-each>
										</fo:inline>
									</fo:block> 
								</fo:table-cell>  
							</fo:table-row>  
						</xsl:if> 
					</xsl:otherwise>
				</xsl:choose>
				<xsl:if test=".//agent[@sequence='1']//phone | .//correspondence-address//phone">  
					<fo:table-row>
						<fo:table-cell xsl:use-attribute-sets="tdL">  
							<fo:block>
								<xsl:text>IV-1-3</xsl:text>  
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdC">  
							<fo:block>
								电话号码  
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdR">  
							<fo:block padding-top="1pt">
								<fo:inline font-weight="bold">  
									<xsl:value-of select=".//agent[@sequence='1']//phone | .//correspondence-address//phone"></xsl:value-of>
								</fo:inline>  
							</fo:block>
						</fo:table-cell>  
					</fo:table-row>
				</xsl:if>
				<xsl:if test=".//agent[@sequence='1']//fax | .//correspondence-address//fax">  
					<fo:table-row>
						<fo:table-cell xsl:use-attribute-sets="tdL">  
							<fo:block>
								<xsl:text>IV-1-4</xsl:text>  
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdC">  
							<fo:block>
								传真号码  
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdR">  
							<fo:block padding-top="1pt">
								<fo:inline font-weight="bold">  
									<xsl:value-of select=".//agent[@sequence='1']//fax | .//correspondence-address//fax"></xsl:value-of>
								</fo:inline>  
							</fo:block>
						</fo:table-cell>  
					</fo:table-row>
				</xsl:if>
				<xsl:if test=".//agent[@sequence='1']//email | .//correspondence-address//email">  
					<fo:table-row>
						<fo:table-cell xsl:use-attribute-sets="tdL">  
							<fo:block>
								<xsl:text>IV-1-5</xsl:text>  
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdC">  
							<fo:block>
								电子邮址  
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdR">  
							<fo:block padding-top="1pt">
								<fo:inline font-weight="bold">  
									<xsl:value-of select=".//agent[@sequence='1']//email | .//correspondence-address//email"></xsl:value-of>
								</fo:inline>  
							</fo:block>
						</fo:table-cell>  
					</fo:table-row>
				</xsl:if>
				<xsl:if test=".//agent[@sequence='1']//email/@email-purpose='advance' or .//correspondence-address//email/@email-purpose='advance'">  
					<fo:table-row>
						<fo:table-cell xsl:use-attribute-sets="tdL">  
							<fo:block>
								<xsl:text>IV-1-5(a)</xsl:text>  
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdC">  
							<fo:block>
								电子邮件授权  
							</fo:block>
							<fo:block>
								授权受理局、国际检索单位、国际局和国际初步审查单位，如果其愿意，使用本电子邮件地址发送有关本国际申请的通知书：  
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdR">  
							<fo:block padding-top="1pt">
								<fo:inline font-weight="bold">  
									<fo:block>
										作为随后纸件通知书的预送本  
									</fo:block>
								</fo:inline>  
							</fo:block>
						</fo:table-cell>  
					</fo:table-row>
				</xsl:if>
				<xsl:if test=".//agent[@sequence='1']//email/@email-purpose='main' or .//correspondence-address//email/@email-purpose='main'">  
					<fo:table-row>
						<fo:table-cell xsl:use-attribute-sets="tdL">  
							<fo:block>
								<xsl:text>IV-1-5(a)</xsl:text>  
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdC">  
							<fo:block>
								电子邮件授权  
							</fo:block>
							<fo:block>
								授权受理局、国际检索单位、国际局和国际初步审查单位，如果其愿意，使用本电子邮件地址发送有关本国际申请的通知书：  
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdR">
							<fo:block padding-top="1pt">
								<fo:inline font-weight="bold">
									<fo:block>
										<xsl:variable name="email-address" select=".//agent[@sequence='1']//email | .//correspondence-address//email"/>
										<xsl:variable name="matching-pis" select="//node()[self::processing-instruction() and name() = 'communication_attachment' and contains(concat(' ', ., ' '), concat(' ', $email-address, ' '))]"/>
										<xsl:variable name="communication_method" select="substring-after($matching-pis, ' ')"/>
										<xsl:choose>
											<xsl:when test="starts-with($software_name, 'ePCT')">
												<xsl:choose>
													<xsl:when test="$communication_method='epct'">
														ePCT（电子邮件所含的链接可用于查看和下载 ePCT 中的文档）
													</xsl:when>
													<xsl:otherwise>
														电子邮件（带有 PDF 附件的电子邮件）
													</xsl:otherwise>
												</xsl:choose>
											</xsl:when>
											<xsl:otherwise>
												exclusively in electronic form (no paper notifications will be sent)
											</xsl:otherwise>
										</xsl:choose>
									</fo:block>
								</fo:inline>
							</fo:block>
						</fo:table-cell>
					</fo:table-row>
				</xsl:if>
				<xsl:if test=".//agent[@sequence='1']//registered-number | .//correspondence-address//registered-number">  
					<fo:table-row>
						<fo:table-cell xsl:use-attribute-sets="tdBL">  
							<fo:block>
								<xsl:text>IV-1-6</xsl:text>  
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdBC">  
							<fo:block>
								代理人登记号  
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdBR">  
							<fo:block padding-top="1pt">
								<fo:inline font-weight="bold">  
									<xsl:value-of select=".//agent[@sequence='1']//registered-number | .//correspondence-address//registered-number"></xsl:value-of>
								</fo:inline>  
							</fo:block>
						</fo:table-cell>  
					</fo:table-row>
				</xsl:if>  
				<fo:table-row>            
					<fo:table-cell border-top="solid black 0.25pt" number-columns-spanned="3">              
						<fo:block></fo:block>            
					</fo:table-cell>          
				</fo:table-row>        
			</fo:table-body>
		</fo:table>  
		<xsl:call-template name="testSameAgent"></xsl:call-template>
	</xsl:template><xsl:template name="testSameAgent">
		<xsl:variable name="firstAdd">
			<xsl:value-of select="concat(.//agent[1]//address-1,',',.//agent[1]//address-2,',',.//agent[1]//address-3,',',.//agent[1]//mailcode,',',.//agent[1]//pobox,',',.//agent[1]//room,',',.//agent[1]//address-floor,',',.//agent[1]//building,',',.//agent[1]//street,',',.//agent[1]//city,',',.//agent[1]//county,',',.//agent[1]//state,',',.//agent[1]//postcode,',',.//agent[1]//country,',',.//agent[1]//phone,',',.//agent[1]//fax,',',.//agent[1]//email)"></xsl:value-of>
		</xsl:variable>
		<xsl:variable name="firstAdd_en">
			<xsl:value-of select="concat(.//agent[1]/addressbook[@lang='en']//address-1,',',.//agent[1]/addressbook[@lang='en']//address-2,',',.//agent[1]/addressbook[@lang='en']//address-3,',',.//agent[1]/addressbook[@lang='en']//mailcode,',',.//agent[1]/addressbook[@lang='en']//pobox,',',.//agent[1]/addressbook[@lang='en']//room,',',.//agent[1]/addressbook[@lang='en']//address-floor,',',.//agent[1]/addressbook[@lang='en']//building,',',.//agent[1]/addressbook[@lang='en']//street,',',.//agent[1]/addressbook[@lang='en']//city,',',.//agent[1]/addressbook[@lang='en']//county,',',.//agent[1]/addressbook[@lang='en']//state,',',.//agent[1]/addressbook[@lang='en']//postcode,',',.//agent[1]/addressbook[@lang='en']//country,',',.//agent[1]/addressbook[@lang='en']//phone,',',.//agent[1]/addressbook[@lang='en']//fax,',',.//agent[1]/addressbook[@lang='en']//email)"></xsl:value-of>
		</xsl:variable>
		<xsl:variable name="difTest">
			<xsl:for-each select=".//agent[@sequence != '1']">
				<xsl:variable name="curAdd">
					<xsl:value-of select="concat(.//address-1,',',.//address-2,',',.//address-3,',',.//mailcode,',',.//pobox,',',.//room,',',.//address-floor,',',.//building,',',.//street,',',.//city,',',.//county,',',.//state,',',.//postcode,',',.//country,',',.//phone,',',.//fax,',',.//email)"></xsl:value-of>
				</xsl:variable>
				<xsl:variable name="curAdd_en">
					<xsl:value-of select="concat(.//addressbook[@lang='en']//address-1,',',.//addressbook[@lang='en']//address-2,',',.//addressbook[@lang='en']//address-3,',',.//addressbook[@lang='en']//mailcode,',',.//addressbook[@lang='en']//pobox,',',.//addressbook[@lang='en']//room,',',.//addressbook[@lang='en']//address-floor,',',.//addressbook[@lang='en']//building,',',.//addressbook[@lang='en']//street,',',.//addressbook[@lang='en']//city,',',.//addressbook[@lang='en']//county,',',.//addressbook[@lang='en']//state,',',.//addressbook[@lang='en']//postcode,',',.//addressbook[@lang='en']//country,',',.//addressbook[@lang='en']//phone,',',.//addressbook[@lang='en']//fax,',',.//addressbook[@lang='en']//email)"></xsl:value-of>
				</xsl:variable>
				<xsl:choose>
					<xsl:when test="$curAdd=$firstAdd and $curAdd_en=$firstAdd_en">1</xsl:when>
					<xsl:otherwise>0</xsl:otherwise>
				</xsl:choose>
			</xsl:for-each>
		</xsl:variable>
		<xsl:choose>
			<xsl:when test="contains($difTest,1)">
				<fo:table table-layout="fixed" border-collapse="separate" keep-together.within-page="always"> 
					<fo:table-column column-width="12mm"></fo:table-column> 
					<fo:table-column column-width="53mm"></fo:table-column> 
					<fo:table-column column-width="105mm"></fo:table-column>
					<fo:table-body>
						<fo:table-row>
							<fo:table-cell xsl:use-attribute-sets="tdTL">
								<fo:block>
									<fo:inline font-weight="bold">IV-2</fo:inline>
								</fo:block>
							</fo:table-cell>
							<fo:table-cell xsl:use-attribute-sets="tdTC">
								<fo:block>
									<fo:inline font-weight="bold">
										其他代理人
									</fo:inline>
								</fo:block>
							</fo:table-cell>
							<fo:table-cell xsl:use-attribute-sets="tdTR">
								<fo:block>
									<fo:inline font-weight="bold">
										与名字被列在首位的代理人地址相同的其他代理人
										<xsl:if test="$lang='ja' or $lang='ru' or $lang='zh'"> 
											<!-- repeat text in English -->
											<fo:block></fo:block>
											<xsl:text> (additional agent(s) with the same address as first named agent)</xsl:text>
										</xsl:if>
									</fo:inline>
								</fo:block>
							</fo:table-cell>
						</fo:table-row>
						<xsl:call-template name="showSameAgentAddress"></xsl:call-template>
						<fo:table-row>
							<fo:table-cell border-top="solid black 0.25pt" number-columns-spanned="3">  
								<fo:block></fo:block>
							</fo:table-cell>  
						</fo:table-row>
					</fo:table-body>
				</fo:table>
			</xsl:when>
			<!--xsl:otherwise>  
				<xsl:call-template name = "agentType_ChoiceText">
					<xsl:with-param name = "rep-type" select = "@rep-type"/>  
				</xsl:call-template>  
				<xsl:if test = "$lang='ja' or $lang='ru' or $lang='zh'">(<xsl:call-template name = "agentTypeEn_ChoiceText">
						<xsl:with-param name = "rep-type" select = "@rep-type"/> 
					</xsl:call-template>)</xsl:if>
			</xsl:otherwise-->
		</xsl:choose>
	</xsl:template><xsl:template name="showSameAgentAddress">
		<!-- shows names of agents sharing address info -->
		<xsl:variable name="firstAdd">
			<xsl:value-of select="concat(.//agent[1]//address-1,',',.//agent[1]//address-2,',',.//agent[1]//address-3,',',.//agent[1]//mailcode,',',.//agent[1]//pobox,',',.//agent[1]//room,',',.//agent[1]//address-floor,',',.//agent[1]//building,',',.//agent[1]//street,',',.//agent[1]//city,',',.//agent[1]//county,',',.//agent[1]//state,',',.//agent[1]//postcode,',',.//agent[1]//country,',',.//agent[1]//phone,',',.//agent[1]//fax,',',.//agent[1]//email)"></xsl:value-of>
		</xsl:variable>
		<xsl:variable name="firstAdd_en">
			<xsl:value-of select="concat(.//agent[1]/addressbook[@lang='en']//address-1,',',.//agent[1]/addressbook[@lang='en']//address-2,',',.//agent[1]/addressbook[@lang='en']//address-3,',',.//agent[1]/addressbook[@lang='en']//mailcode,',',.//agent[1]/addressbook[@lang='en']//pobox,',',.//agent[1]/addressbook[@lang='en']//room,',',.//agent[1]/addressbook[@lang='en']//address-floor,',',.//agent[1]/addressbook[@lang='en']//building,',',.//agent[1]/addressbook[@lang='en']//street,',',.//agent[1]/addressbook[@lang='en']//city,',',.//agent[1]/addressbook[@lang='en']//county,',',.//agent[1]/addressbook[@lang='en']//state,',',.//agent[1]/addressbook[@lang='en']//postcode,',',.//agent[1]/addressbook[@lang='en']//country,',',.//agent[1]/addressbook[@lang='en']//phone,',',.//agent[1]/addressbook[@lang='en']//fax,',',.//agent[1]/addressbook[@lang='en']//email)"></xsl:value-of>
		</xsl:variable>
		<xsl:choose>
			<xsl:when test="$lang='ja' or $lang='zh' or $lang='ru' or $lang='ko'">
				<fo:table-row>
					<fo:table-cell xsl:use-attribute-sets="tdL">
						<fo:block>
							<xsl:text>IV-2-1</xsl:text>
							<xsl:value-of select="$lang"></xsl:value-of>
						</fo:block>
					</fo:table-cell>
					<fo:table-cell xsl:use-attribute-sets="tdC">
						<fo:block>
							名称
						</fo:block>
					</fo:table-cell>
					<fo:table-cell xsl:use-attribute-sets="tdR">
						<fo:block>
							<fo:inline font-weight="bold">
								<xsl:for-each select=".//agent[@sequence != 1][concat(.//address-1,',',              .//address-2,',',              .//address-3,',',              .//mailcode,',',              .//pobox,',',              .//room,',',              .//address-floor,',',              .//building,',',              .//street,',',              .//city,',',              .//county,',',              .//state,',',              .//postcode,',',              .//country,',',              .//phone,',',              .//fax,',',              .//email)=$firstAdd and concat(.//addressbook[@lang='en']//address-1,',',              .//addressbook[@lang='en']//address-2,',',              .//addressbook[@lang='en']//address-3,',',              .//addressbook[@lang='en']//mailcode,',',              .//addressbook[@lang='en']//pobox,',',              .//addressbook[@lang='en']//room,',',              .//addressbook[@lang='en']//address-floor,',',              .//addressbook[@lang='en']//building,',',              .//addressbook[@lang='en']//street,',',              .//addressbook[@lang='en']//city,',',              .//addressbook[@lang='en']//county,',',              .//addressbook[@lang='en']//state,',',              .//addressbook[@lang='en']//postcode,',',              .//addressbook[@lang='en']//country,',',              .//addressbook[@lang='en']//phone,',',              .//addressbook[@lang='en']//fax,',',              .//addressbook[@lang='en']//email)=$firstAdd_en]">
									<xsl:choose>
										<xsl:when test=".//last-name">
											<xsl:value-of select=".//addressbook[@lang = $lang]//last-name"></xsl:value-of>
											<xsl:choose>
												<xsl:when test=".//addressbook[@lang = 'zh']">
													<xsl:text> </xsl:text>            
												</xsl:when>
												<xsl:when test=".//addressbook[@lang = 'ko']">
													<xsl:text></xsl:text>            
												</xsl:when>
												<xsl:when test=".//addressbook[@lang = 'ja']">
													<xsl:text>　</xsl:text>            
												</xsl:when>
												<xsl:otherwise> 
													<xsl:text>, </xsl:text>            
												</xsl:otherwise>
											</xsl:choose>
											<xsl:value-of select=".//addressbook[@lang = $lang]//first-name"></xsl:value-of>
										</xsl:when>
										<xsl:otherwise>
											<xsl:value-of select=".//addressbook[@lang = $lang]//name"></xsl:value-of>
										</xsl:otherwise>
									</xsl:choose>
									<xsl:if test=".//registered-number">(<xsl:value-of select=".//registered-number"></xsl:value-of>)</xsl:if>
									<xsl:if test="following-sibling::agent[concat(.//address-1,',',            .//address-2,',',            .//address-3,',',            .//mailcode,',',            .//pobox,',',            .//room,',',            .//address-floor,',',            .//building,',',            .//street,',',            .//city,',',            .//county,',',            .//state,',',            .//postcode,',',            .//country,',',            .//phone,',',            .//fax,',',            .//email) = $firstAdd]">
										<xsl:text>; </xsl:text>
									</xsl:if>
								</xsl:for-each>
							</fo:inline>
						</fo:block>
					</fo:table-cell>
				</fo:table-row>
				<fo:table-row>
					<fo:table-cell xsl:use-attribute-sets="tdL">
						<fo:block>
							<xsl:text>IV-2-1en</xsl:text>
						</fo:block>
					</fo:table-cell>
					<fo:table-cell xsl:use-attribute-sets="tdC">
						<fo:block>Name(s)</fo:block>
					</fo:table-cell>
					<fo:table-cell xsl:use-attribute-sets="tdR">
						<fo:block>
							<fo:inline font-weight="bold">
								<xsl:for-each select=".//agent[@sequence != 1][concat(.//address-1,',',              .//address-2,',',              .//address-3,',',              .//mailcode,',',              .//pobox,',',              .//room,',',              .//address-floor,',',              .//building,',',              .//street,',',              .//city,',',              .//county,',',              .//state,',',              .//postcode,',',              .//country,',',              .//phone,',',              .//fax,',',              .//email)=$firstAdd and concat(.//addressbook[@lang='en']//address-1,',',              .//addressbook[@lang='en']//address-2,',',              .//addressbook[@lang='en']//address-3,',',              .//addressbook[@lang='en']//mailcode,',',              .//addressbook[@lang='en']//pobox,',',              .//addressbook[@lang='en']//room,',',              .//addressbook[@lang='en']//address-floor,',',              .//addressbook[@lang='en']//building,',',              .//addressbook[@lang='en']//street,',',              .//addressbook[@lang='en']//city,',',              .//addressbook[@lang='en']//county,',',              .//addressbook[@lang='en']//state,',',              .//addressbook[@lang='en']//postcode,',',              .//addressbook[@lang='en']//country,',',              .//addressbook[@lang='en']//phone,',',              .//addressbook[@lang='en']//fax,',',              .//addressbook[@lang='en']//email)=$firstAdd_en]">
									<xsl:choose>
										<xsl:when test=".//addressbook[@lang='en']//last-name">
											<xsl:value-of select=".//addressbook[@lang='en']//last-name"></xsl:value-of>, <xsl:value-of select=".//addressbook[@lang='en']//first-name"></xsl:value-of>
										</xsl:when>
										<xsl:otherwise>
											<xsl:value-of select=".//addressbook[@lang = 'en']//name"></xsl:value-of>
										</xsl:otherwise>
									</xsl:choose>
									<xsl:if test=".//registered-number">(<xsl:value-of select=".//registered-number"></xsl:value-of>)</xsl:if>
									<xsl:if test="following-sibling::agent[concat(.//address-1,',',            .//address-2,',',            .//address-3,',',            .//mailcode,',',            .//pobox,',',            .//room,',',            .//address-floor,',',            .//building,',',            .//street,',',            .//city,',',            .//county,',',            .//state,',',            .//postcode,',',            .//country,',',            .//phone,',',            .//fax,',',            .//email) = $firstAdd]">
										<xsl:text>; </xsl:text>
									</xsl:if>
								</xsl:for-each>
							</fo:inline>
						</fo:block>
					</fo:table-cell>
				</fo:table-row>
			</xsl:when>
			<xsl:otherwise>
				<!-- app is in en, de, es, fr; show one name -->
				<fo:table-row>
					<fo:table-cell xsl:use-attribute-sets="tdL">
						<fo:block>IV-2-1</fo:block>
					</fo:table-cell>
					<fo:table-cell xsl:use-attribute-sets="tdC">
						<fo:block>
							名称
						</fo:block>
					</fo:table-cell>
					<fo:table-cell xsl:use-attribute-sets="tdR">
						<fo:block>
							<fo:inline font-weight="bold">
								<xsl:for-each select=".//agent[@sequence != 1][concat(.//address-1,',',              .//address-2,',',              .//address-3,',',              .//mailcode,',',              .//pobox,',',              .//room,',',              .//address-floor,',',              .//building,',',              .//street,',',              .//city,',',              .//county,',',              .//state,',',              .//postcode,',',              .//country,',',              .//phone,',',              .//fax,',',              .//email)=$firstAdd and concat(.//addressbook[@lang='en']//address-1,',',              .//addressbook[@lang='en']//address-2,',',              .//addressbook[@lang='en']//address-3,',',              .//addressbook[@lang='en']//mailcode,',',              .//addressbook[@lang='en']//pobox,',',              .//addressbook[@lang='en']//room,',',              .//addressbook[@lang='en']//address-floor,',',              .//addressbook[@lang='en']//building,',',              .//addressbook[@lang='en']//street,',',              .//addressbook[@lang='en']//city,',',              .//addressbook[@lang='en']//county,',',              .//addressbook[@lang='en']//state,',',              .//addressbook[@lang='en']//postcode,',',              .//addressbook[@lang='en']//country,',',              .//addressbook[@lang='en']//phone,',',              .//addressbook[@lang='en']//fax,',',              .//addressbook[@lang='en']//email)=$firstAdd_en]">
									<xsl:choose>
										<xsl:when test=".//last-name">
											<xsl:value-of select=".//last-name"></xsl:value-of>, <xsl:value-of select=".//first-name"></xsl:value-of>
										</xsl:when>
										<xsl:otherwise>
											<xsl:value-of select=".//addressbook//name"></xsl:value-of>
										</xsl:otherwise>
									</xsl:choose>
									<xsl:if test=".//registered-number">(<xsl:value-of select=".//registered-number"></xsl:value-of>)</xsl:if>
									<xsl:if test="following-sibling::agent[concat(.//address-1,',',            .//address-2,',',            .//address-3,',',            .//mailcode,',',            .//pobox,',',            .//room,',',            .//address-floor,',',            .//building,',',            .//street,',',            .//city,',',            .//county,',',            .//state,',',            .//postcode,',',            .//country,',',            .//phone,',',            .//fax,',',            .//email) = $firstAdd]">
										<xsl:text>; </xsl:text>
									</xsl:if>
								</xsl:for-each>
							</fo:inline>
						</fo:block>
					</fo:table-cell>
				</fo:table-row>
			</xsl:otherwise>
		</xsl:choose>
	</xsl:template>
	<xsl:template name="matter">
		<!-- NOTE: there are many tests for text() nodes, as software implementation includes many empty elements to satisfy content model -->
		
		<!-- NOTE: Japanese and other languages use different markup for matter.  Should be standardized and/or usage made consistent.  This area of the DTD is quite bad -->
		<xsl:param name="matter"></xsl:param>   
		<!-- JA always shows date first -->
		<xsl:if test="./date and $lang='ja'">
			<xsl:call-template name="format_date"> 
				<xsl:with-param name="date" select="./date"></xsl:with-param> 
				<xsl:with-param name="lang" select="$lang"></xsl:with-param> 
				<xsl:with-param name="show_date" select="1"></xsl:with-param> 
				<xsl:with-param name="text" select="1"></xsl:with-param> 
				<xsl:with-param name="date_too" select="1"></xsl:with-param>  
			</xsl:call-template>  
			<xsl:text>付で、</xsl:text>
			<fo:block></fo:block>
		</xsl:if>
		<xsl:if test="./date and $lang='ko'">
			<xsl:call-template name="format_date"> 
				<xsl:with-param name="date" select="./date"></xsl:with-param> 
				<xsl:with-param name="lang" select="$lang"></xsl:with-param> 
				<xsl:with-param name="show_date" select="1"></xsl:with-param> 
				<xsl:with-param name="text" select="1"></xsl:with-param> 
				<xsl:with-param name="date_too" select="1"></xsl:with-param>  
			</xsl:call-template>  
				于
			<fo:block></fo:block>
		</xsl:if>
		<xsl:choose>  
			<xsl:when test="$matter='i'">
				<!-- inventor -->
				<xsl:choose>
					<xsl:when test="$lang='ja'">
						<!-- show address then name in JA (possibly others) -->
						<xsl:if test="./addressbook">
							<xsl:if test="./addressbook//address-1/text()">
								<xsl:choose>
									<xsl:when test="not(./addressbook//country/text())">
										<xsl:value-of select="./addressbook//address-1"></xsl:value-of><fo:block></fo:block>
									</xsl:when>
									<xsl:otherwise>
										<xsl:call-template name="showAddress"></xsl:call-template>
									</xsl:otherwise>
								</xsl:choose>
							</xsl:if>
						</xsl:if>
						<!-- 2019.09.30 Transliteration address for Declaration 2(i) for non-latin language(added following 4lines) -->
						<xsl:if test=".//addressbook[2][@lang='en']/address">
							<xsl:call-template name="showEnAddress">															
							</xsl:call-template>
						</xsl:if>
						<xsl:if test="./addressbook/name/text()">
							<xsl:text>在住の</xsl:text>
						</xsl:if>
						<xsl:choose>
							<xsl:when test="./matter-name[1]/name/text()">
								<xsl:value-of select="./matter-name[1]/name"></xsl:value-of>
							</xsl:when>
							<xsl:otherwise>
								<xsl:call-template name="format_name">   
									<xsl:with-param name="name_arg" select="./addressbook[1]"></xsl:with-param>
								</xsl:call-template>
							</xsl:otherwise>
						</xsl:choose>
						<xsl:choose>
							<xsl:when test="parent::entitlement-to-claim-priority">
								申请人是通过在先申请寻求保护的主题的发明人 
							</xsl:when>
							<xsl:otherwise>
								<xsl:text>は、</xsl:text>
								<fo:block></fo:block>
								是本国际申请要求保护的主题的发明人 
							</xsl:otherwise>
						</xsl:choose>
					</xsl:when>
					<xsl:when test="$lang='ko'">
						<xsl:choose>
							<xsl:when test="./matter-name[1]/name">
								<xsl:value-of select="./matter-name[1]/name"></xsl:value-of>
							</xsl:when>
							<xsl:when test="./addressbook[1]">
								<xsl:call-template name="format_name">   
									<xsl:with-param name="name_arg" select="./addressbook[1]"></xsl:with-param>
								</xsl:call-template>
							</xsl:when>
						</xsl:choose>
						<xsl:if test=".//addressbook/address/*/text()">
							<fo:block></fo:block>
								<xsl:choose>
									<xsl:when test="not(./addressbook//country/text())">
<!-- 2019.05.31 braket removed
										<xsl:text> (</xsl:text>
-->
										<xsl:for-each select=".//addressbook/address/*">
										<xsl:value-of select="."></xsl:value-of>
										</xsl:for-each>
<!-- 2019.05.31 braket removed
										<xsl:text>) </xsl:text>
-->
									</xsl:when>
									<xsl:otherwise>
<!-- 2019.05.31 braket removed
										<xsl:text> (</xsl:text>									
-->
											<xsl:call-template name="showAddress"></xsl:call-template>
<!-- 2019.05.31 braket removed
										<xsl:text>) </xsl:text>
-->
									</xsl:otherwise>
								</xsl:choose>
							<fo:block></fo:block>
						</xsl:if>
						<!-- 2019.09.30 Transliteration address for Declaration 2(i) for non-latin language(added following 4lines) -->
						<xsl:if test=".//addressbook[2][@lang='en']/address">
							<xsl:call-template name="showEnAddress">															
							</xsl:call-template>
						</xsl:if>
						<xsl:choose>
							<xsl:when test="parent::entitlement-to-claim-priority">
								申请人是通过在先申请寻求保护的主题的发明人 
							</xsl:when>
							<xsl:otherwise>
								是本国际申请要求保护的主题的发明人 
							</xsl:otherwise>
						</xsl:choose>
					</xsl:when>
					<xsl:when test="$lang='zh'">
						<xsl:choose>
							<xsl:when test="./matter-name[1]/name">
								<xsl:value-of select="./matter-name[1]/name"></xsl:value-of>
							</xsl:when>
							<xsl:when test="./addressbook[1]">
								<xsl:if test="parent::entitlement-to-be-granted-patent">
									<xsl:call-template name="format_name">   
										<xsl:with-param name="name_arg" select="./addressbook[1]"></xsl:with-param>
									</xsl:call-template>
								</xsl:if>
							</xsl:when>
						</xsl:choose>
						<xsl:if test="parent::entitlement-to-be-granted-patent">
							<xsl:if test=".//addressbook/address/*/text()">
									<xsl:text> 住在</xsl:text>
									<fo:block></fo:block>
									<xsl:choose>
										<xsl:when test="not(./addressbook//country/text())">
											<xsl:for-each select=".//addressbook/address/*">
												<xsl:value-of select="."></xsl:value-of>
											</xsl:for-each>
										</xsl:when>
										<xsl:otherwise>
											<xsl:call-template name="showAddress"></xsl:call-template>
										</xsl:otherwise>
									</xsl:choose>
							</xsl:if>
							<!-- 2019.09.30 Transliteration address for Declaration 2(i) for non-latin language(added following 4lines) -->
							<xsl:if test=".//addressbook[2][@lang='en']/address">
								<xsl:call-template name="showEnAddress">															
								</xsl:call-template>
							</xsl:if>
						</xsl:if>
						<xsl:choose>
							<xsl:when test="parent::entitlement-to-claim-priority">
								申请人是通过在先申请寻求保护的主题的发明人 
							</xsl:when>
							<xsl:otherwise>
								是本国际申请要求保护的主题的发明人 
							</xsl:otherwise>
						</xsl:choose>
					</xsl:when>
					<xsl:when test="$lang='ru'">
						<xsl:choose>
							<xsl:when test="./matter-name[1]/name">
								<xsl:value-of select="./matter-name[1]/name"></xsl:value-of>
							</xsl:when>
							<xsl:when test="./addressbook[1]">
								<xsl:call-template name="format_name">   
									<xsl:with-param name="name_arg" select="./addressbook[1]"></xsl:with-param>
								</xsl:call-template>
							</xsl:when>
						</xsl:choose>
						<xsl:if test=".//addressbook/address/*/text()">
							<fo:block></fo:block>
							<xsl:choose>
								<xsl:when test="not(./addressbook//country/text())">
									<xsl:for-each select=".//addressbook/address/*">
									<xsl:value-of select="."></xsl:value-of>
								</xsl:for-each>
								</xsl:when>
								<xsl:otherwise>
									<xsl:call-template name="showAddress"></xsl:call-template>
								</xsl:otherwise>
							</xsl:choose>
						</xsl:if>
						<!-- 2019.09.30 Transliteration address for Declaration 2(i) for non-latin language(added following 4lines) -->
						<xsl:if test=".//addressbook[2][@lang='en']/address">
							<xsl:call-template name="showEnAddress">															
							</xsl:call-template>
						</xsl:if>
						<xsl:choose>
							<xsl:when test="parent::entitlement-to-claim-priority">
								申请人是通过在先申请寻求保护的主题的发明人 
							</xsl:when>
							<xsl:otherwise>
								是本国际申请要求保护的主题的发明人 
							</xsl:otherwise>
						</xsl:choose>
					</xsl:when>
					<xsl:when test="$lang='pt'">
						<xsl:text>o facto de </xsl:text>
						<xsl:choose>
							<xsl:when test="./matter-name[1]/name">
								<xsl:value-of select="./matter-name[1]/name"></xsl:value-of>
							</xsl:when>
							<xsl:when test="./addressbook[1]">
								<xsl:call-template name="format_name">   
									<xsl:with-param name="name_arg" select="./addressbook[1]"></xsl:with-param>
								</xsl:call-template>
							</xsl:when>
						</xsl:choose>
						<xsl:if test=".//addressbook/address/*/text()">
							<xsl:if test="$lang != 'de'">
								的
							</xsl:if>
							<fo:block></fo:block>
							<xsl:call-template name="showAddress"></xsl:call-template>
						</xsl:if>
						<xsl:choose>
							<xsl:when test="parent::entitlement-to-claim-priority">
								申请人是通过在先申请寻求保护的主题的发明人 
							</xsl:when>
							<xsl:otherwise>
								是本国际申请要求保护的主题的发明人 
							</xsl:otherwise>
						</xsl:choose>
					</xsl:when>
					<!-- 2019.09.30 Transliteration address for Declaration 2(i) for non-latin language -->
					<xsl:when test="$lang='ar'">					
						<xsl:choose>
							<xsl:when test="./matter-name[1]/name">
								<xsl:value-of select="./matter-name[1]/name"></xsl:value-of>
							</xsl:when>
							<xsl:when test="./addressbook[1]">
								<xsl:call-template name="format_name">   
									<xsl:with-param name="name_arg" select="./addressbook[1]"></xsl:with-param>
								</xsl:call-template>
							</xsl:when>
						</xsl:choose>
						<xsl:if test=".//addressbook/address/*/text()">
							的
							<fo:block></fo:block>
							<xsl:call-template name="showAddress"></xsl:call-template>
						</xsl:if>
						<xsl:if test=".//addressbook[2][@lang='en']/address">
							<xsl:call-template name="showEnAddress">															
							</xsl:call-template>
						</xsl:if>						
						<xsl:choose>
							<xsl:when test="parent::entitlement-to-claim-priority">
								申请人是通过在先申请寻求保护的主题的发明人 
							</xsl:when>
							<xsl:otherwise>
								是本国际申请要求保护的主题的发明人 
							</xsl:otherwise>
						</xsl:choose>	
					</xsl:when>				
					<xsl:otherwise>
						<xsl:choose>
							<xsl:when test="./matter-name[1]/name">
								<xsl:value-of select="./matter-name[1]/name"></xsl:value-of>
							</xsl:when>
							<xsl:when test="./addressbook[1]">
								<xsl:call-template name="format_name">   
									<xsl:with-param name="name_arg" select="./addressbook[1]"></xsl:with-param>
								</xsl:call-template>
							</xsl:when>
						</xsl:choose>
						<xsl:if test=".//addressbook/address/*/text()">
							的
							<fo:block></fo:block>
							<xsl:call-template name="showAddress"></xsl:call-template>
						</xsl:if>
						<xsl:choose>
							<xsl:when test="parent::entitlement-to-claim-priority">
								申请人是通过在先申请寻求保护的主题的发明人 
							</xsl:when>
							<xsl:otherwise>
								是本国际申请要求保护的主题的发明人 
							</xsl:otherwise>
						</xsl:choose>
					</xsl:otherwise>
				</xsl:choose>
			</xsl:when>
			<xsl:when test="$matter='ii'">
				<!-- employer -->
				<xsl:if test="$lang='fr'">
					<!-- same text for is/was in FR version -->
					作为发明人
				</xsl:if>
				<xsl:if test="$lang='pt'">
					<!-- same text for is/was in FR version -->
					<xsl:text>o facto de </xsl:text>
				</xsl:if>
				<xsl:choose>
					<xsl:when test="./matter-name[2]/name and $lang='ja'">
						<xsl:value-of select="./matter-name[2]/name"></xsl:value-of>
					</xsl:when>
					<xsl:when test="./addressbook[2] and $lang='ja'">
						<xsl:call-template name="format_name">   
							<xsl:with-param name="name_arg" select="./addressbook[2]"></xsl:with-param>
						</xsl:call-template>
					</xsl:when>
					<xsl:when test="parent::entitlement-to-be-granted-patent/name and $lang != 'ja'">
						<xsl:value-of select="./matter-name[2]/name"></xsl:value-of>
					</xsl:when>
					<xsl:when test="parent::entitlement-to-claim-priority/name and $lang != 'ja'">
						<xsl:value-of select="./matter-name[2]/name"></xsl:value-of>
					</xsl:when>
				</xsl:choose>
				<xsl:choose>
					<xsl:when test="@tense='was' and not($lang='fr')">
						作为发明人
					</xsl:when>
					<xsl:when test="@tense='is' and not($lang='fr')">
						作为发明人
					</xsl:when>
					<xsl:when test="@tense='was' and $lang='fr'">
						的雇主曾是有权的
					</xsl:when>
					<xsl:when test="@tense='is' and $lang='fr'">
						的雇主是有权的
					</xsl:when>
				</xsl:choose>
				<xsl:if test="$lang='ja'">
					<fo:block></fo:block>
				</xsl:if>
				<xsl:choose>
					<xsl:when test="./matter-name[2]/name and $lang = 'ja'">
						<xsl:value-of select="./matter-name[1]/name"></xsl:value-of>
					</xsl:when>
					<xsl:when test="./addressbook[2] and $lang = 'ja'">
						<xsl:call-template name="format_name">   
							<xsl:with-param name="name_arg" select="./addressbook[1]"></xsl:with-param>
						</xsl:call-template>
					</xsl:when>
					<xsl:when test="./matter-name[2]/name and $lang != 'ja'">
						<xsl:value-of select="./matter-name[1]/name"></xsl:value-of>
					</xsl:when>
					<xsl:when test="./addressbook[2] and $lang != 'ja'">
						<xsl:call-template name="format_name">   
							<xsl:with-param name="name_arg" select="./addressbook[1]"></xsl:with-param>
						</xsl:call-template>
					</xsl:when>
				</xsl:choose>
				<xsl:if test="$lang='ja' or $lang='zh' or $lang='ko'">
					<xsl:choose>
						<xsl:when test="@tense='was'">
							的雇主曾是有权的
						</xsl:when>
						<xsl:otherwise>
							的雇主是有权的
						</xsl:otherwise>
					</xsl:choose>
				</xsl:if>
			</xsl:when> 
			<xsl:when test="$matter='iii'">
				<!-- agreement -->
				<xsl:if test="not($lang='ja' or $lang='ko' or $lang='zh')">
					签订的协议   
				</xsl:if>
				<xsl:choose>
					<xsl:when test="./addressbook[1]">
						<xsl:call-template name="format_name">   
							<xsl:with-param name="name_arg" select="./addressbook[1]"></xsl:with-param>
						</xsl:call-template>
					</xsl:when>
					<xsl:when test="./matter-name[1]/name">
						<xsl:value-of select="./matter-name[1]/name"></xsl:value-of>
					</xsl:when>
				</xsl:choose>
				<xsl:choose>
					<xsl:when test="$lang='ja'">
						<xsl:text>と</xsl:text>
						<fo:block></fo:block>
					</xsl:when>
					<xsl:otherwise>
						与
					</xsl:otherwise>
				</xsl:choose>
				<xsl:choose>
					<xsl:when test="./addressbook[2]">
						<xsl:call-template name="format_name">   
							<xsl:with-param name="name_arg" select="./addressbook[2]"></xsl:with-param>
						</xsl:call-template>
					</xsl:when>
					<xsl:when test="./matter-name[2]/name">
						<xsl:value-of select="./matter-name[2]/name"></xsl:value-of>
					</xsl:when>
				</xsl:choose>
				<xsl:if test="./date and $lang='zh'">
					于
					<xsl:call-template name="format_date"> 
						<xsl:with-param name="date" select="./date"></xsl:with-param> 
						<xsl:with-param name="lang" select="$lang"></xsl:with-param> 
						<xsl:with-param name="show_date" select="1"></xsl:with-param> 
						<xsl:with-param name="text" select="1"></xsl:with-param> 
						<xsl:with-param name="date_too" select="1"></xsl:with-param>  
					</xsl:call-template>  
				</xsl:if>
				<xsl:if test="$lang='zh'">
					签订的协议   
				</xsl:if>
				<xsl:if test="$lang='ja' or $lang='ko'">
					<fo:block></fo:block>
					签订的协议   
				</xsl:if>
			</xsl:when>  
			<xsl:when test="$matter='iv'">
				<!-- assignment -->
				<xsl:if test="not($lang='ja' or $lang='ko' or $lang='zh')">
					进行的转让
				</xsl:if>
				<xsl:choose>
					<xsl:when test="./addressbook[1]">
						<xsl:call-template name="format_name">   
							<xsl:with-param name="name_arg" select="./addressbook[1]"></xsl:with-param>
						</xsl:call-template>
					</xsl:when>
					<xsl:when test="./matter-name[1]/name">
						<xsl:value-of select="./matter-name/name[1]"></xsl:value-of>
					</xsl:when>
				</xsl:choose>
				<xsl:if test="./date and $lang='zh'">
					于
					<xsl:call-template name="format_date"> 
						<xsl:with-param name="date" select="./date"></xsl:with-param> 
						<xsl:with-param name="lang" select="$lang"></xsl:with-param> 
						<xsl:with-param name="show_date" select="1"></xsl:with-param> 
						<xsl:with-param name="text" select="1"></xsl:with-param> 
						<xsl:with-param name="date_too" select="1"></xsl:with-param>  
					</xsl:call-template>  
				</xsl:if>
				向
				<xsl:if test="$lang='ja'">
					<fo:block></fo:block>
				</xsl:if>
				<xsl:choose>
					<xsl:when test="./addressbook[2]">
						<xsl:call-template name="format_name">   
							<xsl:with-param name="name_arg" select="./addressbook[2]"></xsl:with-param>
						</xsl:call-template>
					</xsl:when>
					<xsl:when test="./matter-name[2]/name">
						<xsl:value-of select="./matter-name[2]/name"></xsl:value-of>
					</xsl:when>
				</xsl:choose>
				<xsl:if test="$lang='zh'">
					进行的转让
				</xsl:if>
				<xsl:if test="$lang='ja' or $lang='ko'">
					<fo:block></fo:block>
					进行的转让
				</xsl:if>
			</xsl:when>
			<xsl:when test="$matter='v'">
				<!-- consent -->
				<xsl:if test="not($lang='ja' or $lang='ko' or $lang='zh')">
					的允诺
				</xsl:if>
				<xsl:choose>
					<xsl:when test="./addressbook[1]">
						<xsl:call-template name="format_name">   
							<xsl:with-param name="name_arg" select="./addressbook[1]"></xsl:with-param>
						</xsl:call-template>
					</xsl:when>
					<xsl:when test="./matter-name[1]/name">
						<xsl:value-of select="./matter-name[1]/name"></xsl:value-of>
					</xsl:when>
				</xsl:choose>
				<xsl:if test="./date and $lang='zh'">
					于
					<xsl:call-template name="format_date"> 
						<xsl:with-param name="date" select="./date"></xsl:with-param> 
						<xsl:with-param name="lang" select="$lang"></xsl:with-param> 
						<xsl:with-param name="show_date" select="1"></xsl:with-param> 
						<xsl:with-param name="text" select="1"></xsl:with-param> 
						<xsl:with-param name="date_too" select="1"></xsl:with-param>  
					</xsl:call-template>  
				</xsl:if>
				对
				<xsl:choose>
					<xsl:when test="./addressbook[2]">
						<xsl:call-template name="format_name">   
							<xsl:with-param name="name_arg" select="./addressbook[2]"></xsl:with-param>
						</xsl:call-template>
					</xsl:when>
					<xsl:when test="./matter-name[2]/name">
						<xsl:value-of select="./matter-name[2]/name"></xsl:value-of>
					</xsl:when>
				</xsl:choose>
				<xsl:if test="$lang='zh'">
					的允诺
				</xsl:if>
				<xsl:if test="$lang='ja' or $lang='ko'">
					<fo:block></fo:block>
					的允诺
				</xsl:if>
			</xsl:when>  
			<xsl:when test="$matter='vi'">
				<!-- court order -->
				<xsl:if test="not($lang='ja' or $lang='ko' or $lang='zh')">
					的转让生效的决定
				</xsl:if>
				<xsl:value-of select="./court-name"></xsl:value-of>
				<xsl:if test="$lang='en'">
					<xsl:text>, </xsl:text>
				</xsl:if>
				<xsl:if test="./date and ($lang='zh' or $lang='de')">
					于
					<xsl:call-template name="format_date"> 
						<xsl:with-param name="date" select="./date"></xsl:with-param> 
						<xsl:with-param name="lang" select="$lang"></xsl:with-param> 
						<xsl:with-param name="show_date" select="1"></xsl:with-param> 
						<xsl:with-param name="text" select="1"></xsl:with-param> 
						<xsl:with-param name="date_too" select="1"></xsl:with-param>  
					</xsl:call-template>  
				</xsl:if>
				发布的使从
				<xsl:if test="$lang='ja'">
					<fo:block></fo:block>
				</xsl:if>
				<xsl:choose>
					<xsl:when test="./addressbook[1]">
						<xsl:call-template name="format_name">   
							<xsl:with-param name="name_arg" select="./addressbook[1]"></xsl:with-param>
						</xsl:call-template>
					</xsl:when>
					<xsl:when test="./matter-name[1]/name">
						<xsl:value-of select="./matter-name[1]/name"></xsl:value-of>
					</xsl:when>
				</xsl:choose>
				<xsl:choose>
					<xsl:when test="$lang='ru'">
						向
					</xsl:when>
					<xsl:otherwise>
						向
					</xsl:otherwise>
				</xsl:choose>
				<xsl:if test="$lang='ja'">
					<fo:block></fo:block>
				</xsl:if>
				<xsl:choose>
					<xsl:when test="./addressbook[2]">
						<xsl:call-template name="format_name">   
							<xsl:with-param name="name_arg" select="./addressbook[2]"></xsl:with-param>
						</xsl:call-template>
					</xsl:when>
					<xsl:when test="./matter-name[2]/name">
						<xsl:value-of select="./matter-name[2]/name"></xsl:value-of>
					</xsl:when>
				</xsl:choose>
				<xsl:if test="$lang = 'de'">
					
				</xsl:if>
				<xsl:if test="$lang='ja' or $lang='ko' or $lang='zh'">
					<fo:block></fo:block>
					的转让生效的决定
				</xsl:if>
			</xsl:when>  
			<xsl:when test="$matter='vii'">
				<!-- transfer -->
				<xsl:if test="./date and $lang='zh'">
					于
					<xsl:call-template name="format_date"> 
						<xsl:with-param name="date" select="./date"></xsl:with-param> 
						<xsl:with-param name="lang" select="$lang"></xsl:with-param> 
						<xsl:with-param name="show_date" select="1"></xsl:with-param> 
						<xsl:with-param name="text" select="1"></xsl:with-param> 
						<xsl:with-param name="date_too" select="1"></xsl:with-param>  
					</xsl:call-template>  
				</xsl:if>
				<xsl:choose>
					<xsl:when test="$lang='ja' or $lang='ko'">
						<xsl:value-of select="./kind-of-transfer"></xsl:value-of>
						从
						<fo:block></fo:block>
					</xsl:when>
					<xsl:when test="$lang='zh'">
						从
					</xsl:when>
					<xsl:otherwise>
						的其他权利转让
					</xsl:otherwise>
				</xsl:choose>
				<xsl:choose>
					<xsl:when test="./addressbook[1]">
						<xsl:call-template name="format_name">   
							<xsl:with-param name="name_arg" select="./addressbook[1]"></xsl:with-param>
						</xsl:call-template>
					</xsl:when>
					<xsl:when test="./matter-name[1]/name">
						<xsl:value-of select="./matter-name[1]/name"></xsl:value-of>
					</xsl:when>
				</xsl:choose>
				向
				<xsl:if test="$lang='ja'">
					<fo:block></fo:block>
				</xsl:if>
				<xsl:choose>
					<xsl:when test="./addressbook[2]">
						<xsl:call-template name="format_name">   
							<xsl:with-param name="name_arg" select="./addressbook[2]"></xsl:with-param>
						</xsl:call-template>
					</xsl:when>
					<xsl:when test="./matter-name[2]/name">
						<xsl:value-of select="./matter-name[2]/name"></xsl:value-of>
					</xsl:when>
				</xsl:choose>
				<xsl:choose>
					<xsl:when test="$lang='ja' or $lang='ko'">
						<fo:block></fo:block>
						的其他权利转让
					</xsl:when>
					<xsl:when test="$lang='zh'">
						的其他权利转让
						<xsl:text>(</xsl:text>
						<xsl:value-of select="./kind-of-transfer"></xsl:value-of>
						<xsl:text>)</xsl:text>
					</xsl:when>
					<xsl:otherwise>
						从
						<xsl:value-of select="./kind-of-transfer"></xsl:value-of>
					</xsl:otherwise>
				</xsl:choose>
			</xsl:when>
			<xsl:when test="$matter='viii'">
				<!-- name change -->
				<xsl:if test="./date and $lang='zh'">
					<xsl:call-template name="format_date"> 
						<xsl:with-param name="date" select="./date"></xsl:with-param> 
						<xsl:with-param name="lang" select="$lang"></xsl:with-param> 
						<xsl:with-param name="show_date" select="1"></xsl:with-param> 
						<xsl:with-param name="text" select="1"></xsl:with-param> 
						<xsl:with-param name="date_too" select="1"></xsl:with-param>  
					</xsl:call-template>  
				</xsl:if>
				申请人的姓名从
				<xsl:if test="$lang='ja'">
					<fo:block></fo:block>
				</xsl:if>
				<xsl:if test="$lang ='de'">
					<xsl:call-template name="format_date"> 
						<xsl:with-param name="date" select="./date"></xsl:with-param> 
						<xsl:with-param name="lang" select="$lang"></xsl:with-param> 
						<xsl:with-param name="show_date" select="1"></xsl:with-param> 
						<xsl:with-param name="text" select="1"></xsl:with-param> 
						<xsl:with-param name="date_too" select="1"></xsl:with-param>  
					</xsl:call-template>  
					von
				</xsl:if>
				<xsl:choose>
					<xsl:when test="./addressbook[1]">
						<xsl:call-template name="format_name">   
							<xsl:with-param name="name_arg" select="./addressbook[1]"></xsl:with-param>
						</xsl:call-template>
					</xsl:when>
					<xsl:when test="./matter-name[1]/name">
						<xsl:value-of select="./matter-name[1]/name"></xsl:value-of>
					</xsl:when>
				</xsl:choose>
				<xsl:choose>
					<xsl:when test="$lang='zh'">
						变更为
					</xsl:when>
					<xsl:when test="$lang='de'">
						in
					</xsl:when>
					<xsl:when test="$lang='fr'">
						en
					</xsl:when>
					<xsl:otherwise>
						向
					</xsl:otherwise>
				</xsl:choose>
				<xsl:if test="$lang='ja'">
					<fo:block></fo:block>
				</xsl:if>
				<xsl:choose>
					<xsl:when test="./addressbook[2]">
						<xsl:call-template name="format_name">   
							<xsl:with-param name="name_arg" select="./addressbook[2]"></xsl:with-param>
						</xsl:call-template>
					</xsl:when>
					<xsl:when test="./matter-name[2]/name">
						<xsl:value-of select="./matter-name[2]/name"></xsl:value-of>
					</xsl:when>
				</xsl:choose>
				<xsl:if test="$lang='ja'">
					<fo:block></fo:block>
				</xsl:if>
				<xsl:choose>
					<xsl:when test="$lang='de'">
						
					</xsl:when>
					<xsl:when test="$lang='zh'"></xsl:when>
					<xsl:when test="$lang='es'">
						
					</xsl:when>
					<xsl:otherwise>
						变更为
					</xsl:otherwise>
				</xsl:choose>
			</xsl:when> 
		</xsl:choose>  
		<xsl:if test="./date and not($lang='ja' or $lang='ko' or $lang='zh')">
			<xsl:if test="not($matter='vi' and $lang='de') and not($matter='viii' and $lang='de')">
				<xsl:if test="not($matter='viii')"> 
					<xsl:text>, </xsl:text>
					<xsl:choose>
						<xsl:when test="$lang='ru' and $matter='vi'">
							于
						</xsl:when>
						<xsl:otherwise>
							于
						</xsl:otherwise>
					</xsl:choose>
				</xsl:if>  
				<xsl:call-template name="format_date"> 
					<xsl:with-param name="date" select="./date"></xsl:with-param> 
					<xsl:with-param name="lang" select="$lang"></xsl:with-param> 
					<xsl:with-param name="show_date" select="1"></xsl:with-param> 
					<xsl:with-param name="text" select="1"></xsl:with-param> 
					<xsl:with-param name="date_too" select="1"></xsl:with-param>  
				</xsl:call-template>  
			</xsl:if>
		</xsl:if>
	</xsl:template>
	<xsl:template name="testSameAddress">
		<xsl:param name="seq"></xsl:param>
		<!-- test for multi-language addressbooks (ru, ja, zh, ko only) -->
		<xsl:choose>
			<xsl:when test="$lang='ja' or $lang='zh' or $lang='ru' or $lang='ko'">  
				<xsl:if test="not(./addressbook[1]/text)">  
					<!-- first native language, then english -->
					<fo:table-row> 
						<fo:table-cell xsl:use-attribute-sets="tdL">
							<fo:block>IV-<xsl:value-of select="$seq"></xsl:value-of>
								<xsl:text>-2</xsl:text>
								<xsl:if test="./addressbook[@lang='en']">
									<xsl:value-of select="$lang"></xsl:value-of>
								</xsl:if>
							</fo:block> 
						</fo:table-cell> 
						<fo:table-cell xsl:use-attribute-sets="tdC">
							<fo:block>
								地址
							</fo:block> 
						</fo:table-cell> 
						<fo:table-cell xsl:use-attribute-sets="tdR">
							<fo:block padding-top="1pt">
								<fo:inline font-weight="bold">   
									<xsl:choose>
										<xsl:when test="$lang='zh'">  
											<xsl:call-template name="showZhAddress"></xsl:call-template>
										</xsl:when>  
										<xsl:when test="$lang='ko'">  
											<xsl:call-template name="showKoAddress"></xsl:call-template>
										</xsl:when>
										<xsl:otherwise>
											<xsl:call-template name="showNativeAddress"></xsl:call-template>   
										</xsl:otherwise>
									</xsl:choose>
								</fo:inline>
							</fo:block> 
						</fo:table-cell>  
					</fo:table-row>  
					<xsl:if test="./addressbook[@lang='en']">  
						<fo:table-row> 
							<fo:table-cell xsl:use-attribute-sets="tdL">
								<fo:block>IV-<xsl:value-of select="$seq"></xsl:value-of>-2en</fo:block> 
							</fo:table-cell> 
							<fo:table-cell xsl:use-attribute-sets="tdC">
								<fo:block>
									<xsl:text>Address: </xsl:text>
								</fo:block> 
							</fo:table-cell> 
							<fo:table-cell xsl:use-attribute-sets="tdR">
								<fo:block padding-top="1pt">
									<fo:inline font-weight="bold">   
										<xsl:call-template name="showEnAddress"></xsl:call-template>   
									</fo:inline>
								</fo:block> 
							</fo:table-cell>  
						</fo:table-row>   
					</xsl:if>  
				</xsl:if>
			</xsl:when>
			<!-- application is en, de, es, or fr; only show one addressbook -->
			<xsl:otherwise>  
				<!-- if text is all that's entered display that below in IV-5 using 'showAddress' -->
				<xsl:if test="not(.//agent[@sequence='1']/addressbook[1]/text)">  
					<fo:table-row> 
						<fo:table-cell xsl:use-attribute-sets="tdL">
							<fo:block>IV-<xsl:value-of select="$seq"></xsl:value-of>-2</fo:block> 
						</fo:table-cell> 
						<fo:table-cell xsl:use-attribute-sets="tdC">
							<fo:block>
								地址
							</fo:block> 
						</fo:table-cell> 
						<fo:table-cell xsl:use-attribute-sets="tdR">
							<fo:block padding-top="1pt">
								<fo:inline font-weight="bold">   
									<xsl:call-template name="showAddress"></xsl:call-template>   
								</fo:inline>
							</fo:block> 
						</fo:table-cell>  
					</fo:table-row>  
				</xsl:if> 
			</xsl:otherwise>
		</xsl:choose>
	</xsl:template><xsl:template name="other_agents">
		<!-- get first named agent's info -->
		<xsl:variable name="firstAdd">
			<xsl:value-of select="concat(.//agent[1]//address-1,',',.//agent[1]//address-2,',',.//agent[1]//address-3,',',.//agent[1]//mailcode,',',.//agent[1]//pobox,',',.//agent[1]//room,',',.//agent[1]//address-floor,',',.//agent[1]//building,',',.//agent[1]//street,',',.//agent[1]//city,',',.//agent[1]//county,',',.//agent[1]//state,',',.//agent[1]//postcode,',',.//agent[1]//country,',',.//agent[1]//phone,',',.//agent[1]//fax,',',.//agent[1]//email)"></xsl:value-of>
		</xsl:variable>
		<xsl:variable name="firstAdd_en">
			<xsl:value-of select="concat(.//agent[1]/addressbook[@lang='en']//address-1,',',.//agent[1]/addressbook[@lang='en']//address-2,',',.//agent[1]/addressbook[@lang='en']//address-3,',',.//agent[1]/addressbook[@lang='en']//mailcode,',',.//agent[1]/addressbook[@lang='en']//pobox,',',.//agent[1]/addressbook[@lang='en']//room,',',.//agent[1]/addressbook[@lang='en']//address-floor,',',.//agent[1]/addressbook[@lang='en']//building,',',.//agent[1]/addressbook[@lang='en']//street,',',.//agent[1]/addressbook[@lang='en']//city,',',.//agent[1]/addressbook[@lang='en']//county,',',.//agent[1]/addressbook[@lang='en']//state,',',.//agent[1]/addressbook[@lang='en']//postcode,',',.//agent[1]/addressbook[@lang='en']//country,',',.//agent[1]/addressbook[@lang='en']//phone,',',.//agent[1]/addressbook[@lang='en']//fax,',',.//agent[1]/addressbook[@lang='en']//email)"></xsl:value-of>
		</xsl:variable>
		<!-- compare with each following agent's info -->
		<xsl:variable name="difTest">
			<xsl:for-each select=".//agent[@sequence != '1']">
				<xsl:variable name="curAdd">
					<xsl:value-of select="concat(.//address-1,',',.//address-2,',',.//address-3,',',.//mailcode,',',.//pobox,',',.//room,',',.//address-floor,',',.//building,',',.//street,',',.//city,',',.//county,',',.//state,',',.//postcode,',',.//country,',',.//phone,',',.//fax,',',.//email)"></xsl:value-of>
				</xsl:variable>
				<xsl:variable name="curAdd_en">
					<xsl:value-of select="concat(.//addressbook[@lang='en']//address-1,',',.//addressbook[@lang='en']//address-2,',',.//addressbook[@lang='en']//address-3,',',.//addressbook[@lang='en']//mailcode,',',.//addressbook[@lang='en']//pobox,',',.//addressbook[@lang='en']//room,',',.//addressbook[@lang='en']//address-floor,',',.//addressbook[@lang='en']//building,',',.//addressbook[@lang='en']//street,',',.//addressbook[@lang='en']//city,',',.//addressbook[@lang='en']//county,',',.//addressbook[@lang='en']//state,',',.//addressbook[@lang='en']//postcode,',',.//addressbook[@lang='en']//country,',',.//addressbook[@lang='en']//phone,',',.//addressbook[@lang='en']//fax,',',.//addressbook[@lang='en']//email)"></xsl:value-of>
				</xsl:variable>
				<xsl:choose>
					<xsl:when test="$curAdd=$firstAdd and $curAdd_en=$firstAdd_en">1</xsl:when>
					<xsl:otherwise>0</xsl:otherwise>
				</xsl:choose>
			</xsl:for-each>
		</xsl:variable>
		<!-- determine what to display in box (e.g, IV-2 or IV-3) -->
		<xsl:variable name="seqtest">
			<xsl:choose>
				<xsl:when test="contains($difTest,'1')">2</xsl:when>
				<xsl:otherwise>1</xsl:otherwise>
			</xsl:choose>
		</xsl:variable>
		<xsl:for-each select=".//agent[@sequence != '1'][concat(.//address-1,',',.//address-2,',',.//address-3,',',.//mailcode,',',.//pobox,',',.//room,',',.//address-floor,',',.//building,',',.//street,',',.//city,',',.//county,',',.//state,',',.//postcode,',',.//country,',',.//phone,',',.//fax,',',.//email) != $firstAdd or concat(.//addressbook[@lang='en']//address-1,',',.//addressbook[@lang='en']//address-2,',',.//addressbook[@lang='en']//address-3,',',.//addressbook[@lang='en']//mailcode,',',.//addressbook[@lang='en']//pobox,',',.//addressbook[@lang='en']//room,',',.//addressbook[@lang='en']//address-floor,',',.//addressbook[@lang='en']//building,',',.//addressbook[@lang='en']//street,',',.//addressbook[@lang='en']//city,',',.//addressbook[@lang='en']//county,',',.//addressbook[@lang='en']//state,',',.//addressbook[@lang='en']//postcode,',',.//addressbook[@lang='en']//country,',',.//addressbook[@lang='en']//phone,',',.//addressbook[@lang='en']//fax,',',.//addressbook[@lang='en']//email)!= $firstAdd_en]">
			<xsl:variable name="seq">
				<xsl:value-of select="position() + $seqtest"></xsl:value-of>
			</xsl:variable>
			<fo:table table-layout="fixed" border-collapse="separate" keep-together.within-page="always">         
				<fo:table-column column-width="12mm"></fo:table-column>         
				<fo:table-column column-width="53mm"></fo:table-column>         
				<fo:table-column column-width="105mm"></fo:table-column>
				<fo:table-body>  
					<fo:table-row>
						<fo:table-cell xsl:use-attribute-sets="tdTL">  
							<fo:block>
								<fo:inline font-weight="bold">IV-<xsl:value-of select="$seq"></xsl:value-of>
								</fo:inline>  
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdTC">  
							<fo:block>
								<fo:inline font-weight="bold">  
									其他代理人
								</fo:inline>  
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdTR">  
							<fo:block padding-top="1pt">
								<fo:inline font-weight="bold">
									<xsl:call-template name="agentType_ChoiceText">
										<xsl:with-param name="rep-type" select="@rep-type"></xsl:with-param>  
									</xsl:call-template>  
									<xsl:if test="$lang='ja' or $lang='ru' or $lang='zh'">(<xsl:call-template name="agentTypeEn_ChoiceText">
											<xsl:with-param name="rep-type" select="@rep-type"></xsl:with-param> 
										</xsl:call-template>)</xsl:if>
								</fo:inline>  
							</fo:block>
						</fo:table-cell>  
					</fo:table-row> 
					<!-- If <addressbook><text> has been used, will have been displayed in Name area above -->
					  
					<xsl:if test="not(./addressbook[1]/text)">
						<!-- test for multi-language addressbooks (ru, ja, zh only) -->
						<xsl:choose>
							<xsl:when test="$lang='ja' or $lang='zh' or $lang='ru' or $lang='ko'">  
								<xsl:if test="not(.//agent[@sequence='1']/addressbook[1]/text)">  
									<!-- first native language, then english -->
									<fo:table-row>  
										<fo:table-cell xsl:use-attribute-sets="tdL">
											<fo:block>IV-<xsl:value-of select="$seq"></xsl:value-of>
												<xsl:text>-1</xsl:text>
												<xsl:if test="./addressbook[@lang='en']">
													<xsl:value-of select="$lang"></xsl:value-of>
												</xsl:if>
											</fo:block> 
										</fo:table-cell> 
										<fo:table-cell xsl:use-attribute-sets="tdC">
											<fo:block>
												<xsl:call-template name="nameType">
													<xsl:with-param name="nam" select="./addressbook[@lang=$lang]"></xsl:with-param>
												</xsl:call-template>
											</fo:block> 
										</fo:table-cell> 
										<fo:table-cell xsl:use-attribute-sets="tdR">
											<fo:block padding-top="1pt">
												<fo:inline font-weight="bold">   
													<xsl:call-template name="format_name">  
														<xsl:with-param name="name_arg" select="./addressbook[@lang=$lang]"></xsl:with-param>   
													</xsl:call-template>
												</fo:inline>
											</fo:block> 
										</fo:table-cell>  
									</fo:table-row>  
									<!-- make sure that there is an English version to display -->
									<xsl:if test="./addressbook[@lang='en']">  
										<fo:table-row> 
											<fo:table-cell xsl:use-attribute-sets="tdL">
												<fo:block>IV-<xsl:value-of select="$seq"></xsl:value-of>-1en</fo:block> 
											</fo:table-cell> 
											<fo:table-cell xsl:use-attribute-sets="tdC">
												<fo:block>
													<xsl:choose>
														<xsl:when test="./addressbook[@lang='en']/name[@name-type='legal']">  
															<xsl:text>Name: </xsl:text>
														</xsl:when>
														<xsl:otherwise>
															<xsl:text>Name (LAST, First): </xsl:text>
														</xsl:otherwise>
													</xsl:choose>
												</fo:block> 
											</fo:table-cell> 
											<fo:table-cell xsl:use-attribute-sets="tdR">
												<fo:block padding-top="1pt">
													<fo:inline font-weight="bold">   
														<xsl:call-template name="format_name">  
															<xsl:with-param name="name_arg" select="./addressbook[@lang='en']"></xsl:with-param>   
														</xsl:call-template>
													</fo:inline>
												</fo:block> 
											</fo:table-cell>  
										</fo:table-row>  
									</xsl:if>
								</xsl:if>
							</xsl:when>
							<!-- application is en, de, es, or fr; only show one addressbook -->
							<xsl:otherwise>  
								<!-- if text is all that's entered display that below in IV-5 using 'showAddress' -->
								<xsl:if test="not(./addressbook[1]/text)">  
									<fo:table-row> 
										<fo:table-cell xsl:use-attribute-sets="tdL">
											<fo:block>IV-<xsl:value-of select="$seq"></xsl:value-of>-1</fo:block> 
										</fo:table-cell> 
										<fo:table-cell xsl:use-attribute-sets="tdC">
											<fo:block>
												<xsl:call-template name="nameType">
													<xsl:with-param name="nam" select="./addressbook[1]"></xsl:with-param>
												</xsl:call-template>
											</fo:block> 
										</fo:table-cell> 
										<fo:table-cell xsl:use-attribute-sets="tdR">
											<fo:block padding-top="1pt">
												<fo:inline font-weight="bold">   
													<xsl:call-template name="format_name">  
														<xsl:with-param name="name_arg" select="./addressbook[1]"></xsl:with-param>   
													</xsl:call-template>
												</fo:inline>
											</fo:block> 
										</fo:table-cell>  
									</fo:table-row>
								</xsl:if> 
							</xsl:otherwise>
						</xsl:choose>  
					</xsl:if>  
					<!-- get address info -->
					  
					<xsl:call-template name="testSameAddress"> 
						<xsl:with-param name="seq" select="$seq"></xsl:with-param>  
					</xsl:call-template>  
					<!--xsl:if test = "addressbook[1]/phone and addressbook[1]/phone/text() != //agent[1]/addressbook[1]/phone/text()"-->
					<fo:table-row>  
						<fo:table-cell xsl:use-attribute-sets="tdL">
							<fo:block>IV-<xsl:value-of select="$seq"></xsl:value-of>-3</fo:block>  
						</fo:table-cell>  
						<fo:table-cell xsl:use-attribute-sets="tdC">
							<fo:block>  
								电话号码
							</fo:block>  
						</fo:table-cell>  
						<fo:table-cell xsl:use-attribute-sets="tdR">
							<fo:block padding-top="1pt">  
								<fo:inline font-weight="bold">
									<xsl:value-of select="addressbook[1]/phone"></xsl:value-of>  
								</fo:inline>
							</fo:block>  
						</fo:table-cell>
					</fo:table-row>  
					<!--/xsl:if>  
					<xsl:if test = "addressbook[1]/fax and addressbook[1]/fax/text() != //agent[1]/addressbook[1]/fax/text()"-->
					<fo:table-row>  
						<fo:table-cell xsl:use-attribute-sets="tdL">
							<fo:block>IV-<xsl:value-of select="$seq"></xsl:value-of>-4</fo:block>  
						</fo:table-cell>  
						<fo:table-cell xsl:use-attribute-sets="tdC">
							<fo:block>  
								传真号码
							</fo:block>  
						</fo:table-cell>  
						<fo:table-cell xsl:use-attribute-sets="tdR">
							<fo:block padding-top="1pt">  
								<fo:inline font-weight="bold">
									<xsl:value-of select="addressbook[1]/fax"></xsl:value-of>  
								</fo:inline>
							</fo:block>  
						</fo:table-cell>
					</fo:table-row>  
					<!--/xsl:if>  
					<xsl:if test = "addressbook[1]/email and addressbook[1]/email/text() != //agent[1]/addressbook[1]/email/text()"-->
					<fo:table-row>  
						<fo:table-cell xsl:use-attribute-sets="tdL">
							<fo:block>IV-<xsl:value-of select="$seq"></xsl:value-of>-5</fo:block>  
						</fo:table-cell>  
						<fo:table-cell xsl:use-attribute-sets="tdC">
							<fo:block>  
								电子邮址
							</fo:block>  
						</fo:table-cell>  
						<fo:table-cell xsl:use-attribute-sets="tdR">
							<fo:block padding-top="1pt">  
								<fo:inline font-weight="bold">
									<xsl:value-of select="addressbook[1]/email"></xsl:value-of>  
								</fo:inline>
							</fo:block>  
						</fo:table-cell>
					</fo:table-row>  
					<!--/xsl:if>  
					<xsl:if test = "addressbook[1]/email and addressbook[1]/email/text() != //agent[1]/addressbook[1]/email/text()"-->
					<xsl:if test="addressbook[1]/email/@email-purpose='advance'">            
						<fo:table-row>
							<fo:table-cell xsl:use-attribute-sets="tdL">  
								<fo:block>IV-<xsl:value-of select="$seq"></xsl:value-of>-5(a)</fo:block>  
							</fo:table-cell>
							<fo:table-cell xsl:use-attribute-sets="tdC">  
								<fo:block>
									电子邮件授权  
								</fo:block>
								<fo:block>
									授权受理局、国际检索单位、国际局和国际初步审查单位，如果其愿意，使用本电子邮件地址发送有关本国际申请的通知书：  
								</fo:block>
							</fo:table-cell>
							<fo:table-cell xsl:use-attribute-sets="tdR">  
								<fo:block padding-top="1pt">
									<fo:inline font-weight="bold">  
										<fo:block>
											作为随后纸件通知书的预送本  
										</fo:block>
									</fo:inline>  
								</fo:block>
							</fo:table-cell>  
						</fo:table-row>
					</xsl:if>
					<xsl:if test="addressbook[1]/email/@email-purpose='main'">            
						<fo:table-row>
							<fo:table-cell xsl:use-attribute-sets="tdL">  
								<fo:block>IV-<xsl:value-of select="$seq"></xsl:value-of>-5(a)</fo:block>  
							</fo:table-cell>
							<fo:table-cell xsl:use-attribute-sets="tdC">  
								<fo:block>
									电子邮件授权  
								</fo:block>
								<fo:block>
									授权受理局、国际检索单位、国际局和国际初步审查单位，如果其愿意，使用本电子邮件地址发送有关本国际申请的通知书：  
								</fo:block>
							</fo:table-cell>
							<fo:table-cell xsl:use-attribute-sets="tdR">
								<fo:block padding-top="1pt">
									<fo:inline font-weight="bold">
										<fo:block>
											<xsl:variable name="email-address" select="./addressbook[1]/email[@email-purpose='main']"/>
											<xsl:variable name="matching-pis" select="//node()[self::processing-instruction() and name() = 'communication_attachment' and contains(concat(' ', ., ' '), concat(' ', $email-address, ' '))]"/>
											<xsl:variable name="communication_method" select="substring-after($matching-pis, ' ')"/>
											<xsl:choose>
												<xsl:when test="starts-with($software_name, 'ePCT')">
													<xsl:choose>
														<xsl:when test="$communication_method='epct'">
															ePCT（电子邮件所含的链接可用于查看和下载 ePCT 中的文档）
														</xsl:when>
														<xsl:otherwise>
															电子邮件（带有 PDF 附件的电子邮件）
														</xsl:otherwise>
													</xsl:choose>
												</xsl:when>
												<xsl:otherwise>
													exclusively in electronic form (no paper notifications will be sent)
												</xsl:otherwise>
											</xsl:choose>
										</fo:block>
									</fo:inline>
								</fo:block>
							</fo:table-cell>
						</fo:table-row>
					</xsl:if>
					<!--/xsl:if>  
					<xsl:if test = "addressbook[1]/registered-number and addressbook[1]/registered-number/text() != //agent[1]/addressbook[1]/registered-number/text()"-->
					<fo:table-row>  
						<fo:table-cell xsl:use-attribute-sets="tdL">
							<fo:block>IV-<xsl:value-of select="$seq"></xsl:value-of>-6</fo:block>  
						</fo:table-cell>  
						<fo:table-cell xsl:use-attribute-sets="tdC">
							<fo:block>
								代理人登记号
							</fo:block>  
						</fo:table-cell>  
						<fo:table-cell xsl:use-attribute-sets="tdR">
							<fo:block padding-top="1pt">  
								<fo:inline font-weight="bold">
									<xsl:value-of select="addressbook[1]/registered-number"></xsl:value-of>  
								</fo:inline>
							</fo:block>  
						</fo:table-cell>
					</fo:table-row>  
					<!--/xsl:if-->
					<fo:table-row>  
						<fo:table-cell border-top="solid black 0.25pt" number-columns-spanned="3">
							<fo:block></fo:block>  
						</fo:table-cell>
					</fo:table-row>
				</fo:table-body>
			</fo:table>  
		</xsl:for-each>    
	</xsl:template>
	<xsl:template match="request">
		<xsl:choose>
			<xsl:when test="./doc-page">
				<xsl:apply-templates select="./doc-page"></xsl:apply-templates>
			</xsl:when>
			<xsl:otherwise>
				<xsl:if test="not($officeUse='1')">
					<fo:table table-layout="fixed" border-collapse="separate" padding-bottom="5mm">
						<fo:table-column column-width="12mm"></fo:table-column>
						<fo:table-column column-width="53mm"></fo:table-column>
						<fo:table-column column-width="105mm"></fo:table-column>
						<fo:table-body>
							<fo:table-row>
								<fo:table-cell xsl:use-attribute-sets="tdTL">
									<fo:block padding-after="1mm">
										<fo:inline font-weight="bold">0</fo:inline>
									</fo:block>
								</fo:table-cell>
								<fo:table-cell xsl:use-attribute-sets="tdTC">
									<fo:block padding-after="1mm">
										<fo:inline font-weight="bold">
											由受理局填写
										</fo:inline>
									</fo:block>
								</fo:table-cell>
								<fo:table-cell xsl:use-attribute-sets="tdBorderTop">
									<fo:block></fo:block>
								</fo:table-cell>
							</fo:table-row>
							<fo:table-row>
								<fo:table-cell xsl:use-attribute-sets="tdL">
									<fo:block padding-after="2.5mm">
										<fo:inline font-weight="bold">0-1</fo:inline>
									</fo:block>
								</fo:table-cell>
								<fo:table-cell xsl:use-attribute-sets="tdC">
									<fo:block padding-after="2.5mm">
										国际申请号
									</fo:block>
								</fo:table-cell>
								<fo:table-cell xsl:use-attribute-sets="tdR">
									<fo:block>
									<xsl:choose>
										<xsl:when test="document($rrri_doc)//doc-number">
												<fo:inline font-weight="bold">
													<xsl:value-of select="document($rrri_doc)//doc-number"></xsl:value-of>
												</fo:inline>
										</xsl:when>
										<xsl:when test="$ia_number">
												<fo:inline font-weight="bold">
													<xsl:value-of select="$ia_number"></xsl:value-of>
												</fo:inline>
										</xsl:when>
									</xsl:choose>
									</fo:block>
								</fo:table-cell>
							</fo:table-row>
							<fo:table-row>
								<fo:table-cell xsl:use-attribute-sets="tdTL">
									<fo:block>
										<fo:inline font-weight="bold">
											<xsl:text>0-2</xsl:text>
										</fo:inline>
									</fo:block>
								</fo:table-cell>
								<fo:table-cell xsl:use-attribute-sets="tdTC">
									<fo:block padding-bottom="8mm">
										国际申请日
									</fo:block>
								</fo:table-cell>
								<fo:table-cell xsl:use-attribute-sets="tdTR">
									<fo:block padding-bottom="5mm">
										<xsl:if test="document($rrri_doc)//document-id/date">
											<fo:inline font-weight="bold">
												<xsl:call-template name="format_date">
													<xsl:with-param name="date" select="document($rrri_doc)//document-id/date"></xsl:with-param>
													<xsl:with-param name="lang" select="$lang"></xsl:with-param>
													<xsl:with-param name="show_date" select="1"></xsl:with-param>
													<xsl:with-param name="text" select="1"></xsl:with-param>
													<xsl:with-param name="date_too" select="1"></xsl:with-param>
												</xsl:call-template>
											</fo:inline>
										</xsl:if>
									</fo:block>
								</fo:table-cell>
							</fo:table-row>
							<fo:table-row>
								<fo:table-cell xsl:use-attribute-sets="tdTBL">
									<fo:block>
										<fo:inline font-weight="bold">0-3</fo:inline>
									</fo:block>
								</fo:table-cell>
								<fo:table-cell xsl:use-attribute-sets="tdTBC">
									<fo:block padding-bottom="5mm">
										受理局名称和“PCT国际申请”
									</fo:block>
								</fo:table-cell>
								<fo:table-cell xsl:use-attribute-sets="tdTBR">
									<fo:block>
										<xsl:if test="$rrri != ''">
										<!--20191008 show office name in full text and added "PCT International Application" for RO/KR-->
											<xsl:choose>
												<xsl:when test="document($rrri_doc)//@ro='KR'">
													<fo:inline font-weight="bold">
														<xsl:call-template name="officeName_ChoiceText">
															<xsl:with-param name="office" select=".//@ro"></xsl:with-param>
														</xsl:call-template>											
													</fo:inline>
													<fo:block></fo:block>
													<fo:inline font-weight="bold">	
														
													</fo:inline>
												</xsl:when>
												<xsl:otherwise>
													<fo:inline font-weight="bold">
														<xsl:text>RO/</xsl:text>
														<xsl:value-of select="document($rrri_doc)//@ro"></xsl:value-of>
													</fo:inline>
												</xsl:otherwise>
											</xsl:choose>
										</xsl:if>
									</fo:block>
								</fo:table-cell>
							</fo:table-row>
						</fo:table-body>
					</fo:table>
				</xsl:if>
				<fo:table table-layout="fixed" border-collapse="separate">
					<fo:table-column column-width="12mm"></fo:table-column>
					<fo:table-column column-width="53mm"></fo:table-column>
					<fo:table-column column-width="105mm"></fo:table-column>
					<fo:table-body>
						<fo:table-row>
							<fo:table-cell xsl:use-attribute-sets="tdTL">
								<fo:block>
									<fo:inline font-weight="bold">
										<xsl:text>0-4</xsl:text>
									</fo:inline>
								</fo:block>
							</fo:table-cell>
							<fo:table-cell xsl:use-attribute-sets="tdTC">
								<fo:block>
									<fo:inline font-weight="bold">
										PCT/RO/101表  PCT请求书
									</fo:inline>
								</fo:block>
							</fo:table-cell>
							<fo:table-cell xsl:use-attribute-sets="tdBorderTop">
								<fo:block></fo:block>
							</fo:table-cell>
						</fo:table-row>
						<fo:table-row>
							<fo:table-cell xsl:use-attribute-sets="tdL">
								<fo:block padding-before="1mm">
									<xsl:text>0-4-1</xsl:text>
								</fo:block>
							</fo:table-cell>
							<fo:table-cell xsl:use-attribute-sets="tdC">
								<fo:block padding-before="1mm">
									软件版本
								</fo:block>
							</fo:table-cell>
							<fo:table-cell xsl:use-attribute-sets="tdR">
								<fo:block padding-before="1mm">
									<fo:inline font-weight="bold">
										<xsl:value-of select="$software_name"></xsl:value-of>
										<fo:block></fo:block>
										<xsl:value-of select="$software_version"></xsl:value-of>
									</fo:inline>
								</fo:block>
							</fo:table-cell>
						</fo:table-row>
						<fo:table-row>
							<fo:table-cell xsl:use-attribute-sets="tdTL">
								<fo:block>
									<fo:inline font-weight="bold">
										<xsl:text>0-5</xsl:text>
									</fo:inline>
								</fo:block>
							</fo:table-cell>
							<fo:table-cell xsl:use-attribute-sets="tdBorderTopLeftNoCenter" number-columns-spanned="2">
								<fo:block wrap-option="wrap">
									<fo:inline font-weight="bold" padding-bottom="2mm">
										请求
									</fo:inline>
								</fo:block>
								<fo:block padding-before="1.5mm">
									<xsl:choose>
										<xsl:when test="./request-petition/text()">
											<xsl:value-of select="./request-petition"></xsl:value-of>
										</xsl:when>
										<xsl:otherwise>
											下列签字人请求按照专利合作条约的规定处理本国际申请
										</xsl:otherwise>
									</xsl:choose>
								</fo:block>
							</fo:table-cell>
						</fo:table-row>
						<fo:table-row>
							<fo:table-cell xsl:use-attribute-sets="tdTL">
								<fo:block>
									<fo:inline font-weight="bold">
										<xsl:text>0-6</xsl:text>
									</fo:inline>
								</fo:block>
							</fo:table-cell>
							<fo:table-cell xsl:use-attribute-sets="tdTC">
								<fo:block>
									<fo:inline font-weight="bold">
										申请人指定的受理局
									</fo:inline>
								</fo:block>
							</fo:table-cell>
							<fo:table-cell xsl:use-attribute-sets="tdTR">
								<fo:block padding-top="1pt">
									<fo:inline font-weight="bold">
										<xsl:choose>
											<xsl:when test="$lang='ar'">
												<fo:bidi-override unicode-bidi="embed" direction="rtl">
													<xsl:call-template name="officeName_ChoiceText">
														<xsl:with-param name="office" select=".//@ro"></xsl:with-param>
													</xsl:call-template>
												</fo:bidi-override>
											</xsl:when>
											<xsl:otherwise>
												<xsl:call-template name="officeName_ChoiceText">
													<xsl:with-param name="office" select=".//@ro"></xsl:with-param>
												</xsl:call-template>
											</xsl:otherwise>
										</xsl:choose>
										<fo:inline keep-together.within-line="always">
											<xsl:text>(RO/</xsl:text>
											<xsl:value-of select="translate(.//@ro,'abcdefghijklmnopqrstuvwxyz','ABCDEFGHIJKLMNOPQRSTUVWXYZ')"></xsl:value-of>
											<xsl:text>)</xsl:text>
										</fo:inline>
									</fo:inline>
								</fo:block>
							</fo:table-cell>
						</fo:table-row>
						<fo:table-row>
							<fo:table-cell xsl:use-attribute-sets="tdTL">
								<fo:block>
									<fo:inline font-weight="bold">
										<xsl:text>0-7</xsl:text>
									</fo:inline>
								</fo:block>
							</fo:table-cell>
							<fo:table-cell xsl:use-attribute-sets="tdTC">
								<fo:block>
									<fo:inline font-weight="bold">
										申请人或代理人的档案号
									</fo:inline>
								</fo:block>
							</fo:table-cell>
							<fo:table-cell xsl:use-attribute-sets="tdTR">
								<fo:block padding-top="1pt">
									<fo:inline font-weight="bold">
										<xsl:value-of select="./file-reference-id"></xsl:value-of>
									</fo:inline>
								</fo:block>
							</fo:table-cell>
						</fo:table-row>
						<fo:table-row>
							<fo:table-cell number-columns-spanned="3" border-top="solid black 0.25pt">
								<fo:block></fo:block>
							</fo:table-cell>
						</fo:table-row>
					</fo:table-body>
				</fo:table>
				<fo:table table-layout="fixed" border-collapse="separate">
					<fo:table-column column-width="12mm"></fo:table-column>
					<fo:table-column column-width="53mm"></fo:table-column>
					<fo:table-column column-width="105mm"></fo:table-column>
					<fo:table-body>
						<fo:table-row>
							<fo:table-cell xsl:use-attribute-sets="tdTBL">
								<fo:block>
									<fo:inline font-weight="bold">
										<xsl:text>I</xsl:text>
									</fo:inline>
								</fo:block>
							</fo:table-cell>
							<fo:table-cell xsl:use-attribute-sets="tdTBC">
								<fo:block>
									<fo:inline font-weight="bold">
										发明名称
									</fo:inline>
								</fo:block>
							</fo:table-cell>
							<fo:table-cell xsl:use-attribute-sets="tdTBR" hyphenate="false">
								<fo:block>
									<fo:inline font-weight="bold">
										<xsl:apply-templates select="./invention-title"></xsl:apply-templates>
									</fo:inline>
								</fo:block>
							</fo:table-cell>
						</fo:table-row>
					</fo:table-body>
				</fo:table>
				<!-- GET FIRST APPLICANT -->
				<xsl:apply-templates select=".//applicant[@sequence='1']"></xsl:apply-templates>
				<!-- OTHER APPLICANTS/INVENTORS -->
				<xsl:if test=".//inventors | .//applicant[position() &gt; 1] | .//deceased-inventor">
					<xsl:call-template name="other_applicants"></xsl:call-template>
				</xsl:if>
				<!-- FIRST ATTORNEY OR AGENT -->
				<xsl:if test=".//agents | .//correspondence-address">
					<xsl:call-template name="first_agent"></xsl:call-template>
				</xsl:if>
				<!-- OTHER AGENTS -->
				<xsl:if test="count(//agent) &gt; 1">
					<xsl:call-template name="other_agents"></xsl:call-template>
				</xsl:if>
				<xsl:choose>
					<xsl:when test="not($mode='v1.0' or $mode='v1.1')">
						<xsl:apply-templates select="./designation-of-states" mode="v1.2"></xsl:apply-templates>
					</xsl:when>
					<xsl:otherwise>
						<xsl:apply-templates select="./designation-of-states"></xsl:apply-templates>
					</xsl:otherwise>
				</xsl:choose>
				<xsl:choose>
					<xsl:when test="./priority-claims">
						<xsl:call-template name="priority_claims"></xsl:call-template>
					</xsl:when>
					<xsl:otherwise>
						<fo:table table-layout="fixed" border-collapse="separate" keep-together.within-page="always">
							<fo:table-column column-width="12mm"></fo:table-column>
							<fo:table-column column-width="53mm"></fo:table-column>
							<fo:table-column column-width="105mm"></fo:table-column>
							<fo:table-body>
								<fo:table-row>
									<fo:table-cell xsl:use-attribute-sets="tdTBL">
										<fo:block>
											<fo:inline font-weight="bold">
												<xsl:text>VI-1</xsl:text>
											</fo:inline>
										</fo:block>
									</fo:table-cell>
									<fo:table-cell xsl:use-attribute-sets="tdTBC">
										<fo:block>
											<fo:inline font-weight="bold">
												优先权
											</fo:inline>
										</fo:block>
									</fo:table-cell>
									<fo:table-cell xsl:use-attribute-sets="tdTBR">
										<fo:block>
											<fo:inline font-weight="bold">
												无
												<xsl:if test="$lang='ja' or $lang='zh' or $lang='ru'">
													<xsl:text> (NONE)</xsl:text>
												</xsl:if>
											</fo:inline>
										</fo:block>
									</fo:table-cell>
								</fo:table-row>
							</fo:table-body>
						</fo:table>
					</xsl:otherwise>
				</xsl:choose>
				<xsl:if test="./search-authority">
					<fo:table table-layout="fixed" border-collapse="separate" keep-together.within-page="always">
						<fo:table-column column-width="12mm"></fo:table-column>
						<fo:table-column column-width="53mm"></fo:table-column>
						<fo:table-column column-width="105mm"></fo:table-column>
						<fo:table-body>
							<fo:table-row>
								<fo:table-cell xsl:use-attribute-sets="tdTBL">
									<fo:block>
										<fo:inline font-weight="bold">
											<xsl:text>VII-1</xsl:text>
										</fo:inline>
									</fo:block>
								</fo:table-cell>
								<fo:table-cell xsl:use-attribute-sets="tdTBC">
									<fo:block>
										<fo:inline font-weight="bold">
											选定的国际检索单位
										</fo:inline>
									</fo:block>
								</fo:table-cell>
								<fo:table-cell xsl:use-attribute-sets="tdTBR">
									<fo:block padding-top="1pt">
										<fo:inline font-weight="bold">
											<xsl:choose>
												<xsl:when test="$lang='ar'">
													<fo:bidi-override unicode-bidi="embed" direction="rtl">
														<xsl:call-template name="officeName_ChoiceText">
															<xsl:with-param name="office" select="./search-authority/isa/country"></xsl:with-param>
														</xsl:call-template>
													</fo:bidi-override>
												</xsl:when>
												<xsl:otherwise>
													<xsl:call-template name="officeName_ChoiceText">
														<xsl:with-param name="office" select="./search-authority/isa/country"></xsl:with-param>
													</xsl:call-template>											
												</xsl:otherwise>
											</xsl:choose>
											<fo:inline keep-together.within-line="always">
												<xsl:text>(ISA/</xsl:text>
												<xsl:value-of select="translate(./search-authority/isa/country,'abcdefghijklmnopqrstuvwxyz','ABCDEFGHIJKLMNOPQRSTUVWXYZ')"></xsl:value-of>
												<xsl:text>)</xsl:text>
											</fo:inline>
										</fo:inline>
									</fo:block>
								</fo:table-cell>
							</fo:table-row>
						</fo:table-body>
					</fo:table>
				</xsl:if>
				<xsl:if test=".//earlier-search-request">
					<fo:table table-layout="fixed" border-collapse="separate">
						<fo:table-column column-width="12mm"></fo:table-column>
						<fo:table-column column-width="53mm"></fo:table-column>
						<fo:table-column column-width="105mm"></fo:table-column>
						<fo:table-body>
							<xsl:for-each select=".//earlier-search-request/document-id">
								<xsl:variable name="seq" select="position() + 1"></xsl:variable>
								<xsl:variable name="seq_id" select="position()"></xsl:variable>
								<fo:table-row>
									<fo:table-cell xsl:use-attribute-sets="tdTL">
										<fo:block>
											<fo:inline font-weight="bold">VII-<xsl:value-of select="$seq"></xsl:value-of>
											</fo:inline>
										</fo:block>
									</fo:table-cell>
									<fo:table-cell xsl:use-attribute-sets="tdTC">
										<fo:block>
											<fo:inline font-weight="bold">
												请求使用在先检索的结果；在先检索的情况
											</fo:inline>
										</fo:block>
									</fo:table-cell>
									<fo:table-cell xsl:use-attribute-sets="tdTR">
										<fo:block></fo:block>
									</fo:table-cell>
								</fo:table-row>
								<fo:table-row>
									<fo:table-cell xsl:use-attribute-sets="tdL">
										<fo:block>
											<fo:inline font-weight="bold">VII-<xsl:value-of select="$seq"></xsl:value-of>-1
						  
											</fo:inline>
										</fo:block>
									</fo:table-cell>
									<fo:table-cell xsl:use-attribute-sets="tdC">
										<fo:block>
											申请日
										</fo:block>
									</fo:table-cell>
									<fo:table-cell xsl:use-attribute-sets="tdR">
										<fo:block padding-top="1pt">
											<fo:inline font-weight="bold">
												<xsl:call-template name="format_date">
													<xsl:with-param name="date" select="normalize-space(date)"></xsl:with-param>
													<xsl:with-param name="show_date" select="1"></xsl:with-param>
													<xsl:with-param name="text" select="1"></xsl:with-param>
													<xsl:with-param name="lang" select="substring(translate(ancestor::request/@lang,'ABCDEFGHIJKLMNOPQRSTUVWXYZ','abcdefghijklmnopqrstuvwxyz'),1,2)"></xsl:with-param>
													<xsl:with-param name="date_too" select="1"></xsl:with-param>
												</xsl:call-template>
											</fo:inline>
										</fo:block>
									</fo:table-cell>
								</fo:table-row>
								<fo:table-row>
									<fo:table-cell xsl:use-attribute-sets="tdL">
										<fo:block>VII-<xsl:value-of select="$seq"></xsl:value-of>-2</fo:block>
									</fo:table-cell>
									<fo:table-cell xsl:use-attribute-sets="tdC">
										<fo:block>
											申请号
										</fo:block>
									</fo:table-cell>
									<fo:table-cell xsl:use-attribute-sets="tdR">
										<fo:block padding-top="1pt">
											<fo:inline font-weight="bold">
												<xsl:value-of select="doc-number"></xsl:value-of>
											</fo:inline>
										</fo:block>
									</fo:table-cell>
								</fo:table-row>
								<fo:table-row>
									<fo:table-cell xsl:use-attribute-sets="tdL">
										<fo:block>VII-<xsl:value-of select="$seq"></xsl:value-of>-3</fo:block>
									</fo:table-cell>
									<fo:table-cell xsl:use-attribute-sets="tdC">
										<fo:block>
											国家(或地区局)
										</fo:block>
									</fo:table-cell>
									<fo:table-cell xsl:use-attribute-sets="tdR">
										<fo:block padding-top="1pt">
											<fo:inline font-weight="bold">
												<xsl:if test="$lang='ja' or $lang='zh' or $lang='ru'">
													<xsl:call-template name="country_ChoiceText">
														<xsl:with-param name="country" select="country"></xsl:with-param>
													</xsl:call-template>
												</xsl:if>
												<xsl:value-of select="country"></xsl:value-of>
											</fo:inline>
										</fo:block>
									</fo:table-cell>
								</fo:table-row>
								<xsl:if test="name(following-sibling::*[position()=1])='substantially-equivalent'">
									<fo:table-row>
										<fo:table-cell xsl:use-attribute-sets="tdL">
											<fo:block>VII-<xsl:value-of select="$seq"></xsl:value-of>-4</fo:block>
										</fo:table-cell>
										<fo:table-cell xsl:use-attribute-sets="tdC">
											<fo:block>
												声明(细则4.12(ii)):
											</fo:block>
										</fo:table-cell>
										<fo:table-cell xsl:use-attribute-sets="tdR">
											<fo:block padding-top="1pt">
												<fo:inline font-weight="bold">
													除了，在适用的情况下，提交申请的语言不同，本国际申请与已进行了在先检索的申请相同或实质上相同。
												</fo:inline>
											</fo:block>
										</fo:table-cell>
									</fo:table-row>
								</xsl:if>
								<xsl:if test="../earlier-search-documents[$seq_id]/@available-at-isa = 'yes'">
									<fo:table-row>
										<fo:table-cell xsl:use-attribute-sets="tdL">
											<fo:block>VII-<xsl:value-of select="$seq"></xsl:value-of>-5</fo:block>
										</fo:table-cell>
										<fo:table-cell xsl:use-attribute-sets="tdC">
											<fo:block>
												国际检索单位（ISA）能够以其可以接受的形式和方式得到文件，因此无需申请人向受理局或国际检索单位提交（细则12之二.1(c)和(d)和12之二.2(b)）：
											</fo:block>
										</fo:table-cell>
										<fo:table-cell xsl:use-attribute-sets="tdR">
											<xsl:if test="../earlier-search-documents[$seq_id]/@results-of-earlier-search = 'yes'">
												<fo:block padding-top="1pt">
													<fo:inline font-weight="bold">
														在先检索结果的副本
													</fo:inline>
												</fo:block>
											</xsl:if>
											<xsl:if test="../earlier-search-documents[$seq_id]/@earlier-application = 'yes'">
												<fo:block padding-top="3pt">
													<fo:inline font-weight="bold">
														在先申请的副本
													</fo:inline>
												</fo:block>
											</xsl:if>
											<xsl:if test="../earlier-search-documents[$seq_id]/@translation-of-earlier-application = 'yes'">
												<fo:block padding-top="3pt">
													<fo:inline font-weight="bold">
														使用国际检索单位接受的语言的在先申请的译文
													</fo:inline>
												</fo:block>
											</xsl:if>
											<xsl:if test="../earlier-search-documents[$seq_id]/@translation-of-results-of-earlier-search = 'yes'">
												<fo:block padding-top="3pt">
													<fo:inline font-weight="bold">
														使用国际检索单位接受的语言的在先检索结果的译文
													</fo:inline>
												</fo:block>
											</xsl:if>
											<xsl:if test="../earlier-search-documents[$seq_id]/@documents-cited-in-earlier-search-results = 'yes'">
												<fo:block padding-top="3pt">
													<fo:inline font-weight="bold">
														在先检索结果中引用的任何文件的副本
													</fo:inline>
												</fo:block>
											</xsl:if>
											<xsl:if test="not(../earlier-search-documents[$seq_id]/@results-of-earlier-search = 'yes' or ../earlier-search-documents[$seq_id]/@earlier-application = 'yes' or ../earlier-search-documents[$seq_id]/@translation-of-earlier-application = 'yes' or ../earlier-search-documents[$seq_id]/@translation-of-results-of-earlier-search = 'yes' or ../earlier-search-documents[$seq_id]/@documents-cited-in-earlier-search-results = 'yes')">
												<fo:block></fo:block>
											</xsl:if>
										</fo:table-cell>
									</fo:table-row>
								</xsl:if>
								<xsl:if test="../earlier-search-documents[$seq_id]/@request-ro-to-transmit-to-isa = 'yes'">
									<fo:table-row>
										<fo:table-cell xsl:use-attribute-sets="tdL">
											<fo:block>VII-<xsl:value-of select="$seq"></xsl:value-of>-6</fo:block>
										</fo:table-cell>
										<fo:table-cell xsl:use-attribute-sets="tdC">
											<fo:block>
												申请人请求受理局准备并向国际检索单位传送在先检索结果的副本（细则12之二.1(b)和(d)）。
											</fo:block>
										</fo:table-cell>
										<fo:table-cell xsl:use-attribute-sets="tdR">
											<xsl:if test="../earlier-search-documents[$seq_id]/@results-of-earlier-search = 'yes'">
												<fo:block padding-top="1pt">
													<fo:inline font-weight="bold">
														在先检索结果的副本
													</fo:inline>
												</fo:block>
											</xsl:if>
											<xsl:if test="../earlier-search-documents[$seq_id]/@earlier-application = 'yes'">
												<fo:block padding-top="3pt">
													<fo:inline font-weight="bold">
														在先申请的副本
													</fo:inline>
												</fo:block>
											</xsl:if>
											<xsl:if test="../earlier-search-documents[$seq_id]/@documents-cited-in-earlier-search-results = 'yes'">
												<fo:block padding-top="3pt">
													<fo:inline font-weight="bold">
														在先检索结果中引用的任何文件的副本
													</fo:inline>
												</fo:block>
											</xsl:if>
											<xsl:if test="not(../earlier-search-documents[$seq_id]/@results-of-earlier-search = 'yes' or ../earlier-search-documents[$seq_id]/@earlier-application = 'yes' or ../earlier-search-documents[$seq_id]/@documents-cited-in-earlier-search-results = 'yes')">
												<fo:block></fo:block>
											</xsl:if>
										</fo:table-cell>
									</fo:table-row>
								</xsl:if>
								<fo:table-row>
									<fo:table-cell xsl:use-attribute-sets="tdBL">
										<fo:block></fo:block>
									</fo:table-cell>
									<fo:table-cell xsl:use-attribute-sets="tdBC">
										<fo:block></fo:block>
									</fo:table-cell>
									<fo:table-cell xsl:use-attribute-sets="tdBR">
										<fo:block></fo:block>
									</fo:table-cell>
								</fo:table-row>
							</xsl:for-each>
						</fo:table-body>
					</fo:table>
				</xsl:if>
				<xsl:if test=".//earlier-search-authorization">
					<fo:table table-layout="fixed" border-collapse="separate" keep-together.within-page="always">
						<fo:table-column column-width="12mm"></fo:table-column>
						<fo:table-column column-width="53mm"></fo:table-column>
						<fo:table-column column-width="105mm"></fo:table-column>
						<fo:table-body>
							<xsl:for-each select=".//earlier-search-authorization">
								<xsl:variable name="seq" select="count(/request//earlier-search-request/document-id) + position() + 1"></xsl:variable>
								<xsl:variable name="seq_id" select="position()"></xsl:variable>
								<fo:table-row>
									<fo:table-cell xsl:use-attribute-sets="tdTL">
										<fo:block>
											<fo:inline font-weight="bold">VII-<xsl:value-of select="$seq"></xsl:value-of>
											</fo:inline>
										</fo:block>
									</fo:table-cell>
									<fo:table-cell xsl:use-attribute-sets="tdTC" hyphenate="false">
										<fo:block>
											<fo:inline font-weight="bold">
												在先检索和分类结果的利用
											</fo:inline>
										</fo:block>
									</fo:table-cell>
									<fo:table-cell xsl:use-attribute-sets="tdTR">
										<fo:block></fo:block>
									</fo:table-cell>
								</fo:table-row>
								<fo:table-row>
									<fo:table-cell xsl:use-attribute-sets="tdL">
										<fo:block>
											<fo:inline font-weight="bold">VII-<xsl:value-of select="$seq"></xsl:value-of>-1
						  
											</fo:inline>
										</fo:block>
									</fo:table-cell>
									<fo:table-cell xsl:use-attribute-sets="tdC">
										<fo:block>
											申请日
										</fo:block>
									</fo:table-cell>
									<fo:table-cell xsl:use-attribute-sets="tdR">
										<fo:block padding-top="1pt">
											<fo:inline font-weight="bold">
												<xsl:call-template name="format_date">
													<xsl:with-param name="date" select="normalize-space(./document-id/date)"></xsl:with-param>
													<xsl:with-param name="show_date" select="1"></xsl:with-param>
													<xsl:with-param name="text" select="1"></xsl:with-param>
													<xsl:with-param name="lang" select="substring(translate(ancestor::request/@lang,'ABCDEFGHIJKLMNOPQRSTUVWXYZ','abcdefghijklmnopqrstuvwxyz'),1,2)"></xsl:with-param>
													<xsl:with-param name="date_too" select="1"></xsl:with-param>
												</xsl:call-template>
											</fo:inline>
										</fo:block>
									</fo:table-cell>
								</fo:table-row>
								<fo:table-row>
									<fo:table-cell xsl:use-attribute-sets="tdL">
										<fo:block>VII-<xsl:value-of select="$seq"></xsl:value-of>-2</fo:block>
									</fo:table-cell>
									<fo:table-cell xsl:use-attribute-sets="tdC">
										<fo:block>
											申请号
										</fo:block>
									</fo:table-cell>
									<fo:table-cell xsl:use-attribute-sets="tdR">
										<fo:block padding-top="1pt">
											<fo:inline font-weight="bold">
												<xsl:value-of select="./document-id/doc-number"></xsl:value-of>
											</fo:inline>
										</fo:block>
									</fo:table-cell>
								</fo:table-row>
								<fo:table-row>
									<fo:table-cell xsl:use-attribute-sets="tdL">
										<fo:block>VII-<xsl:value-of select="$seq"></xsl:value-of>-3</fo:block>
									</fo:table-cell>
									<fo:table-cell xsl:use-attribute-sets="tdC">
										<fo:block>
											国家(或地区局)
										</fo:block>
									</fo:table-cell>
									<fo:table-cell xsl:use-attribute-sets="tdR">
										<fo:block padding-top="1pt">
											<fo:inline font-weight="bold">
												<xsl:if test="$lang='ja' or $lang='zh' or $lang='ru'">
													<xsl:call-template name="country_ChoiceText">
														<xsl:with-param name="country" select="./document-id/country"></xsl:with-param>
													</xsl:call-template>
												</xsl:if>
												<xsl:value-of select="./document-id/country"></xsl:value-of>
											</fo:inline>
										</fo:block>
									</fo:table-cell>
								</fo:table-row>
								<xsl:if test="./@request-ro-not-transmit = 'yes'">
									<fo:table-row>
										<fo:table-cell xsl:use-attribute-sets="tdL">
											<fo:block>VII-<xsl:value-of select="$seq"></xsl:value-of>-7</fo:block>
										</fo:table-cell>
										<fo:table-cell xsl:use-attribute-sets="tdC">
											<fo:block>
												申请人请求受理局不向国际检索单位（ISA）传送在先检索结果（细则23之二.2(b)）。
											</fo:block>
										</fo:table-cell>
										<fo:table-cell xsl:use-attribute-sets="tdR">
											<fo:block></fo:block>
										</fo:table-cell>
									</fo:table-row>
								</xsl:if>
								<xsl:if test="./@applicant-authorizes-ro-transmit = 'yes' and not(starts-with(./document-id/doc-number/text(), 'PCT') or ./document-id/country = 'IB' or ./document-idcountry = 'WO')">
									<fo:table-row>
										<fo:table-cell xsl:use-attribute-sets="tdL">
											<fo:block>VII-<xsl:value-of select="$seq"></xsl:value-of>-8</fo:block>
										</fo:table-cell>
										<fo:table-cell xsl:use-attribute-sets="tdC">
											<fo:block>
												申请人授权受理局向国际检索单位（ISA）传送在先检索和分类结果（细则23之二.2(e)）。
											</fo:block>
										</fo:table-cell>
										<fo:table-cell xsl:use-attribute-sets="tdR">
											<fo:block></fo:block>
										</fo:table-cell>
									</fo:table-row>
								</xsl:if>
								<xsl:if test="./@applicant-authorizes-ro-transmit = 'yes' and (starts-with(./document-id/doc-number/text(), 'PCT') or ./document-id/country = 'IB' or ./document-idcountry = 'WO')">
									<fo:table-row>
										<fo:table-cell xsl:use-attribute-sets="tdL">
											<fo:block>VII-<xsl:value-of select="$seq"></xsl:value-of>-9</fo:block>
										</fo:table-cell>
										<fo:table-cell xsl:use-attribute-sets="tdC">
											<fo:block>
												申请人授权受理局向国际检索单位（ISA）传送在先国际检索和分类结果（细则23之二.2(a)和条款第30条(2)(a)和(3)）。
											</fo:block>
										</fo:table-cell>
										<fo:table-cell xsl:use-attribute-sets="tdR">
											<fo:block></fo:block>
										</fo:table-cell>
									</fo:table-row>
								</xsl:if>
								<fo:table-row>
									<fo:table-cell xsl:use-attribute-sets="tdBL">
										<fo:block></fo:block>
									</fo:table-cell>
									<fo:table-cell xsl:use-attribute-sets="tdBC">
										<fo:block></fo:block>
									</fo:table-cell>
									<fo:table-cell xsl:use-attribute-sets="tdBR">
										<fo:block></fo:block>
									</fo:table-cell>
								</fo:table-row>
							</xsl:for-each>
						</fo:table-body>
					</fo:table>
				</xsl:if>
				<!-- INSERT DECLARATIONS -->
				<xsl:call-template name="declarations"></xsl:call-template>
				<!-- INSERT CHECK LIST -->
				<xsl:call-template name="checklist"></xsl:call-template>
			</xsl:otherwise>
		</xsl:choose>
	</xsl:template><xsl:template match="designation-of-states">
		<fo:table table-layout="fixed" border-collapse="separate" keep-together.within-page="always">
			<fo:table-column column-width="12mm"></fo:table-column>
			<fo:table-column column-width="53mm"></fo:table-column>
			<fo:table-column column-width="105mm"></fo:table-column>
			<fo:table-body>
				<fo:table-row>
					<fo:table-cell xsl:use-attribute-sets="tdTL">
						<fo:block>
							<fo:inline font-weight="bold">
								<xsl:text>V</xsl:text>
							</fo:inline>
						</fo:block>
					</fo:table-cell>
					<fo:table-cell xsl:use-attribute-sets="tdTC">
						<fo:block>
							<fo:inline font-weight="bold">
								国家的指定
							</fo:inline>
						</fo:block>
					</fo:table-cell>
					<fo:table-cell xsl:use-attribute-sets="tdBorderTop">
						<fo:block></fo:block>
					</fo:table-cell>
				</fo:table-row>
				<!-- IF ITS A REGIONAL PATENT APP -->
				<xsl:if test=".//designation-pct/regional">
					<fo:table-row>
						<fo:table-cell xsl:use-attribute-sets="tdBL">
							<fo:block>
								<fo:inline font-weight="bold">
									<xsl:text>V-1</xsl:text>
								</fo:inline>
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdTBC">
							<fo:block>
								地区专利
								<fo:block></fo:block>
								(其他保护类型(如有的话)注明在所涉及指定国后的括号内)
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdTBR">
							<fo:block padding-top="1pt">
								<xsl:for-each select=".//designation-pct/regional">
									<xsl:sort select="."></xsl:sort>
									<xsl:variable name="lookup" select="document('')"></xsl:variable>
									<!-- count of countries making up Org in document instance -->
									<xsl:variable name="countries" select="./country"></xsl:variable>
									<xsl:variable name="docOrgCount" select="count(./country)"></xsl:variable>
									<xsl:variable name="organization" select="./region/country"></xsl:variable>
									<xsl:variable name="org-state" select="$lookup//LU:organization[@name=$organization]"></xsl:variable>
									<!-- count of countries that make up Organization -->
									<xsl:variable name="lookupOrgCount" select="count($org-state/LU:state)"></xsl:variable>
									<fo:inline font-weight="bold">
										<xsl:value-of select="translate(./region/country,'abdefghijklmnopqrstuvwxyz','ABDEFGHIJKLMNOPQRSTUVWXYZ')"></xsl:value-of>: 
										<!-- loop through countries in XML document -->
										<xsl:for-each select="./region/following-sibling::country">
											<xsl:call-template name="caseCH"></xsl:call-template>
										</xsl:for-each>
										<xsl:if test="./any-other-state">
											 以及任何同时是 
											<xsl:choose>
												<xsl:when test="$organization='AP'">
													 哈拉雷协定缔约国和
												</xsl:when>
												<xsl:when test="$organization='EA'">
													 欧亚专利公约缔约国和
												</xsl:when>
												<xsl:when test="$organization='EP'">
													欧洲专利公约缔约国和
												</xsl:when>
												<xsl:when test="$organization='OA'">
													 非洲知识产权组织缔约国和 
												</xsl:when>
											</xsl:choose>
											<xsl:text>
											</xsl:text>
											 PCT缔约国的国家
										</xsl:if>
										<!-- test here to show "(except {state code})" if a state 
							  is missing from the organization -->
										<xsl:if test="$docOrgCount != $lookupOrgCount">(除了 
											<xsl:for-each select="$org-state//LU:state[not(@name=$countries)]">
												<xsl:choose>
													<xsl:when test="@name='ch' or @name = 'CH'">
														<xsl:text>CH&amp;LI</xsl:text>
													</xsl:when>
													<xsl:when test="@name = 'li' or @name = 'LI'"></xsl:when>
													<xsl:otherwise>
														<xsl:value-of select="translate(@name,'abdefghijklmnopqrstuvwxyz','ABDEFGHIJKLMNOPQRSTUVWXYZ')"></xsl:value-of>
													</xsl:otherwise>
												</xsl:choose>
												<xsl:if test="not(position()=last())">
													<xsl:text>
													</xsl:text>
												</xsl:if>
											</xsl:for-each>
											<xsl:text>)</xsl:text>
										</xsl:if>
										<xsl:text>
										</xsl:text>
										<xsl:if test=".//protection-request">(
											<xsl:call-template name="kind-of-protection">
												<xsl:with-param name="kind-text">
													<xsl:value-of select=".//protection-request/kind-of-protection"></xsl:value-of>
												</xsl:with-param>
											</xsl:call-template>
										)</xsl:if>
										<xsl:text>
										</xsl:text>
									</fo:inline>
									<fo:block></fo:block>
								</xsl:for-each>
							</fo:block>
						</fo:table-cell>
					</fo:table-row>
				</xsl:if>
				<!-- NATIONAL APP -->
				<fo:table-row>
					<fo:table-cell xsl:use-attribute-sets="tdTBL">
						<fo:block>
							<fo:inline font-weight="bold">
								<xsl:text>V-2</xsl:text>
							</fo:inline>
						</fo:block>
					</fo:table-cell>
					<fo:table-cell xsl:use-attribute-sets="tdTBC">
						<fo:block>
							国家专利
							<fo:block></fo:block>
							(其他保护类型(如有的话)注明在所涉及指定国后的括号内)
						</fo:block>
					</fo:table-cell>
					<fo:table-cell xsl:use-attribute-sets="tdTBR">
						<fo:block padding-top="1pt">
							<fo:inline font-weight="bold">
								<xsl:choose>
									<xsl:when test=".//designation-pct/national">
										<xsl:for-each select=".//designation-pct/national/country | .//designation-pct/new-designation-country">
											<xsl:sort select="."></xsl:sort>
											<!--xsl:for-each select = "."-->
											<xsl:call-template name="caseCH"></xsl:call-template>
											<xsl:if test="name(following-sibling::*)='protection-request'">(
											<xsl:call-template name="kind-of-protection">
													<xsl:with-param name="kind-text">
														<xsl:value-of select="following-sibling::protection-request/kind-of-protection"></xsl:value-of>
													</xsl:with-param>
												</xsl:call-template>											
											)</xsl:if>
										</xsl:for-each>
									</xsl:when>
									<xsl:otherwise>
										<xsl:text>--</xsl:text>
									</xsl:otherwise>
								</xsl:choose>
							</fo:inline>
						</fo:block>
					</fo:table-cell>
				</fo:table-row>
				<!-- V-3 -->
				<xsl:if test=".//designation-pct/new-designation-country">
					<fo:table-row>
						<fo:table-cell xsl:use-attribute-sets="tdTBL">
							<fo:block>
								<fo:inline font-weight="bold">
									<xsl:text>V-3</xsl:text>
								</fo:inline>
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdTBC">
							<fo:block>
								国家专利
								<fo:block></fo:block>
								(在本SAFE版本公布之后加入PCT的缔约国)
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdTBR">
							<fo:block padding-top="1pt">
								<fo:inline font-weight="bold">
									<xsl:for-each select=".//designation-pct/new-designation-country">
										<xsl:sort select="."></xsl:sort>
										<xsl:call-template name="uppercaser">
											<xsl:with-param name="string" select="."></xsl:with-param>
										</xsl:call-template>
										<xsl:text>
										</xsl:text>
									</xsl:for-each>
								</fo:inline>
							</fo:block>
						</fo:table-cell>
					</fo:table-row>
				</xsl:if>
			</fo:table-body>
		</fo:table>
		<xsl:for-each select=".//regional[child::protection-request] | .//national[child::protection-request]">
			<xsl:variable name="seq" select="position()"></xsl:variable>
			<fo:table table-layout="fixed" border-collapse="separate" keep-together.within-page="always">
				<fo:table-column column-width="12mm"></fo:table-column>
				<fo:table-column column-width="53mm"></fo:table-column>
				<fo:table-column column-width="105mm"></fo:table-column>
				<fo:table-body>
					<fo:table-row>
						<fo:table-cell xsl:use-attribute-sets="tdTL">
							<fo:block>
								<fo:inline font-weight="bold">
									<xsl:text>V-4</xsl:text>
								</fo:inline>
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdTC">
							<fo:block>
								<fo:inline font-weight="bold">
									主申请或主专利的说明
								</fo:inline>
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdTR">
							<fo:block>
							</fo:block>
						</fo:table-cell>
					</fo:table-row>
					<fo:table-row>
						<fo:table-cell xsl:use-attribute-sets="tdL">
							<fo:block>
								<fo:inline font-weight="bold"> V-4-<xsl:value-of select="$seq"></xsl:value-of>
								</fo:inline>
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdC">
							<fo:block>
								<fo:inline font-weight="bold">
									指定
								</fo:inline>
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdR">
							<fo:block padding-top="1pt">
								<fo:inline font-weight="bold">
									<xsl:value-of select=".//country"></xsl:value-of>
								</fo:inline>
							</fo:block>
						</fo:table-cell>
					</fo:table-row>
					<fo:table-row>
						<fo:table-cell xsl:use-attribute-sets="tdL">
							<fo:block> V-4-<xsl:value-of select="$seq"></xsl:value-of>-1</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdC">
							<fo:block>
								保护类型
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdR">
							<fo:block padding-top="1pt">
								<fo:inline font-weight="bold">
									<xsl:call-template name="kind-of-protection">
										<xsl:with-param name="kind-text">
											<xsl:value-of select=".//kind-of-protection"></xsl:value-of>
										</xsl:with-param>
									</xsl:call-template>
								</fo:inline>
							</fo:block>
						</fo:table-cell>
					</fo:table-row>
					<fo:table-row>
						<fo:table-cell xsl:use-attribute-sets="tdL">
							<fo:block>V-4-<xsl:value-of select="$seq"></xsl:value-of>-2</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdC">
							<fo:block>
								主申请号或授权号
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdR">
							<fo:block padding-top="1pt">
								<fo:inline font-weight="bold">
									<xsl:value-of select=".//doc-number"></xsl:value-of>
								</fo:inline>
							</fo:block>
						</fo:table-cell>
					</fo:table-row>
					<fo:table-row>
						<fo:table-cell xsl:use-attribute-sets="tdBL">
							<fo:block>   V-4-<xsl:value-of select="$seq"></xsl:value-of>-3</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdBC">
							<fo:block>
								主申请日或授权日
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdBR">
							<fo:block padding-top="1pt">
								<fo:inline font-weight="bold">
									<xsl:call-template name="format_date">
										<xsl:with-param name="date" select="normalize-space(.//date)"></xsl:with-param>
										<xsl:with-param name="show_date" select="1"></xsl:with-param>
										<xsl:with-param name="text" select="1"></xsl:with-param>
										<xsl:with-param name="lang" select="substring(translate(ancestor::request/@lang,'ABCDEFGHIJKLMNOPQRSTUVWXYZ','abcdefghijklmnopqrstuvwxyz'),1,2)"></xsl:with-param>
										<xsl:with-param name="date_too" select="1"></xsl:with-param>
									</xsl:call-template>
								</fo:inline>
							</fo:block>
						</fo:table-cell>
					</fo:table-row>
				</fo:table-body>
			</fo:table>
		</xsl:for-each>
		<xsl:if test=".//precautionary-designation-statement">
			<fo:table table-layout="fixed" border-collapse="separate" keep-together.within-page="always">
				<fo:table-column column-width="12mm"></fo:table-column>
				<fo:table-column column-width="53mm"></fo:table-column>
				<fo:table-column column-width="105mm"></fo:table-column>
				<fo:table-body>
					<fo:table-row>
						<fo:table-cell xsl:use-attribute-sets="tdTBL">
							<fo:block>
								<fo:inline font-weight="bold">
									<xsl:text>V-5</xsl:text>
								</fo:inline>
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdTBC">
							<fo:block>
								<fo:inline font-weight="bold">
									预防性指定声明
								</fo:inline>
							</fo:block>
							<fo:block padding-before="2mm">
								除在V-1,V-2和V-3项中所作的指定外，申请人还按照细则4.9(b)指定 除下面V-6项所列出的国家外PCT所允许指定的所有国家，申请人声明这些补充指定是以确认为条件，并且自优先权日起15个月期限届满前尚未被确认的任何指定 应认为被申请人在该期限届满时撤回。
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdTBR">
							<fo:block></fo:block>
						</fo:table-cell>
					</fo:table-row>
					<fo:table-row>
						<fo:table-cell xsl:use-attribute-sets="tdTL">
							<fo:block>
								<fo:inline font-weight="bold">
									<xsl:text>V-6</xsl:text>
								</fo:inline>
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdTC">
							<fo:block>
								<fo:inline font-weight="bold">
									预防性指定的例外
								</fo:inline>
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdTR">
							<fo:block padding-top="1pt">
								<fo:inline font-weight="bold">
									<xsl:choose>
										<xsl:when test=".//exclusion-from-designation">
											<xsl:for-each select=".//exclusion-from-designation/*">
												<xsl:choose>
													<xsl:when test="name(.)='regional'">
														<xsl:call-template name="uppercaser">
															<xsl:with-param name="string" select="./region/country"></xsl:with-param>
														</xsl:call-template>
														<xsl:text>: </xsl:text>
														<xsl:for-each select="./region/following-sibling::country">(<xsl:call-template name="uppercaser">
																<xsl:with-param name="string" select="."></xsl:with-param>
															</xsl:call-template>
															<xsl:if test="following-sibling::country">
																<xsl:text>
																</xsl:text>
															</xsl:if>);</xsl:for-each>
													</xsl:when>
													<xsl:when test="name(.)='national'">
														<xsl:call-template name="uppercaser">
															<xsl:with-param name="string" select="./country"></xsl:with-param>
														</xsl:call-template>
													</xsl:when>
												</xsl:choose>
											</xsl:for-each>
										</xsl:when>
										<xsl:otherwise>
											无
											<xsl:if test="$lang='ja' or $lang='ru' or $lang='zh'">(NONE) </xsl:if>
										</xsl:otherwise>
									</xsl:choose>
								</fo:inline>
							</fo:block>
						</fo:table-cell>
					</fo:table-row>
					<fo:table-row>
						<fo:table-cell number-columns-spanned="3" border-top="solid black 0.5pt">
							<fo:block></fo:block>
						</fo:table-cell>
					</fo:table-row>
				</fo:table-body>
			</fo:table>
		</xsl:if>
	</xsl:template><xsl:template match="designation-of-states" mode="v1.2">
		<fo:table table-layout="fixed" border-collapse="separate" keep-together.within-page="always">
			<fo:table-column column-width="12mm"></fo:table-column>
			<fo:table-column column-width="53mm"></fo:table-column>
			<fo:table-column column-width="105mm"></fo:table-column>
			<fo:table-body>
				<fo:table-row>
					<fo:table-cell xsl:use-attribute-sets="tdTL">
						<fo:block>
							<fo:inline font-weight="bold">
								<xsl:text>V</xsl:text>
							</fo:inline>
						</fo:block>
					</fo:table-cell>
					<fo:table-cell xsl:use-attribute-sets="tdTC">
						<fo:block>
							<fo:inline font-weight="bold">
								国家的指定
							</fo:inline>
						</fo:block>
					</fo:table-cell>
					<fo:table-cell xsl:use-attribute-sets="tdTR">
						<fo:block></fo:block>
					</fo:table-cell>
				</fo:table-row>
				<fo:table-row>
					<fo:table-cell xsl:use-attribute-sets="tdTBL">
						<fo:block>
							<fo:inline font-weight="bold">
								<xsl:text>V-1</xsl:text>
							</fo:inline>
						</fo:block>
					</fo:table-cell>
					<fo:table-cell xsl:use-attribute-sets="tdBorderTopLeftNoCenter" number-columns-spanned="2">
						<fo:block>
							<fo:inline font-weight="bold">
								根据细则4.9(a)，提交本请求书即为，指定在国际申请日受PCT约束的所有成员国,以要求获得可以获得的所有保护类型，适用情况下，要求获得地区专利和国家专利。
							</fo:inline>
						</fo:block>
					</fo:table-cell>
				</fo:table-row>
				<!--  V-2 EXCLUSIONS (IN 2004 VERSION) -->
				<xsl:if test=".//exclusion-from-designation">
					<fo:table-row>
						<fo:table-cell xsl:use-attribute-sets="tdTBL">
							<fo:block>
								<fo:inline font-weight="bold">
									<xsl:text>V-2</xsl:text>
								</fo:inline>
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdTBC_hyp">
							<fo:block>
								<fo:inline font-weight="bold">
									<!--inc file = "commonText.xml" toTranslate = "exclusions_Text"/-->
									V-2栏只可用于（不可悔改地）排除对有关国家的指定，如果本国际申请在提交时或者在根据细则26之二.1的后续程序中，第VI栏包含有对在该有关国家提出的在先国家申请的优先权要求，以避免被要求优先权的该在先国家申请因国家法律而停止效力。
								</fo:inline>
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdTBR">
							<fo:block padding-top="1pt">
								<fo:inline font-weight="bold">
									<xsl:for-each select=".//exclusion-from-designation/*">
										<xsl:choose>
											<xsl:when test="name(.)='regional'">
												<xsl:call-template name="uppercaser">
													<xsl:with-param name="string" select="./region/country"></xsl:with-param>
												</xsl:call-template>
												<xsl:text>: </xsl:text>
												<xsl:for-each select="./region/following-sibling::country">(<xsl:call-template name="uppercaser">
														<xsl:with-param name="string" select="."></xsl:with-param>
													</xsl:call-template>
													<xsl:if test="following-sibling::country">
														<xsl:text>
														</xsl:text>
													</xsl:if>);</xsl:for-each>
											</xsl:when>
											<xsl:when test="name(.)='national'">
												<xsl:for-each select="./country">
													<xsl:call-template name="uppercaser">
														<xsl:with-param name="string" select="."></xsl:with-param>
													</xsl:call-template>
													<xsl:text>
													</xsl:text>
												</xsl:for-each>
											</xsl:when>
										</xsl:choose>
									</xsl:for-each>
								</fo:inline>
							</fo:block>
						</fo:table-cell>
					</fo:table-row>
					<fo:table-row>
						<fo:table-cell number-columns-spanned="3" border-top="solid black 0.5pt">
							<fo:block></fo:block>
						</fo:table-cell>
					</fo:table-row>
				</xsl:if>
			</fo:table-body>
		</fo:table>
		<!-- V-3 NATIONAL APP (PROTECTION REQUESTS IN 2004 VERSION) -->
		<xsl:for-each select=".//designation-pct/regional">
			<xsl:if test="./region/country[text()='OA']">
				<xsl:variable name="seq">
					<xsl:value-of select="position()"></xsl:value-of>
				</xsl:variable>
				<fo:table table-layout="fixed" border-collapse="separate" keep-together.within-page="always">
					<fo:table-column column-width="12mm"></fo:table-column>
					<fo:table-column column-width="53mm"></fo:table-column>
					<fo:table-column column-width="105mm"></fo:table-column>
					<fo:table-body>
						<fo:table-row>
							<fo:table-cell xsl:use-attribute-sets="tdTL">
								<fo:block>
									<fo:inline font-weight="bold">
										<xsl:text>V-3</xsl:text>
									</fo:inline>
								</fo:block>
							</fo:table-cell>
							<fo:table-cell xsl:use-attribute-sets="tdTC">
								<fo:block>
									<fo:inline font-weight="bold">
										主申请或主专利的说明
									</fo:inline>
								</fo:block>
							</fo:table-cell>
							<fo:table-cell xsl:use-attribute-sets="tdTR">
								<fo:block>
								</fo:block>
							</fo:table-cell>
						</fo:table-row>
						<fo:table-row>
							<fo:table-cell xsl:use-attribute-sets="tdL">
								<fo:block>
									<fo:inline font-weight="bold"> V-3-<xsl:value-of select="$seq"></xsl:value-of>
									</fo:inline>
								</fo:block>
							</fo:table-cell>
							<fo:table-cell xsl:use-attribute-sets="tdC">
								<fo:block>
									<fo:inline font-weight="bold">
										指定
									</fo:inline>
								</fo:block>
							</fo:table-cell>
							<fo:table-cell xsl:use-attribute-sets="tdR">
								<fo:block padding-top="1pt">
									<fo:inline font-weight="bold">
										<xsl:value-of select=".//country"></xsl:value-of>
									</fo:inline>
								</fo:block>
							</fo:table-cell>
						</fo:table-row>
						<fo:table-row>
							<fo:table-cell xsl:use-attribute-sets="tdL">
								<fo:block> V-3-<xsl:value-of select="$seq"></xsl:value-of>-1</fo:block>
							</fo:table-cell>
							<fo:table-cell xsl:use-attribute-sets="tdC">
								<fo:block>
									保护类型
								</fo:block>
							</fo:table-cell>
							<fo:table-cell xsl:use-attribute-sets="tdR">
								<fo:block padding-top="1pt">
									<fo:inline font-weight="bold">
										<xsl:call-template name="kind-of-protection">
											<xsl:with-param name="kind-text">
												<xsl:value-of select=".//kind-of-protection"></xsl:value-of>
											</xsl:with-param>
										</xsl:call-template>
									</fo:inline>
								</fo:block>
							</fo:table-cell>
						</fo:table-row>
						<xsl:if test=".//doc-number/text()">
							<fo:table-row>
								<fo:table-cell xsl:use-attribute-sets="tdL">
									<fo:block>V-3-<xsl:value-of select="$seq"></xsl:value-of>-2</fo:block>
								</fo:table-cell>
								<fo:table-cell xsl:use-attribute-sets="tdC">
									<fo:block>
										主申请号或授权号
									</fo:block>
								</fo:table-cell>
								<fo:table-cell xsl:use-attribute-sets="tdR">
									<fo:block padding-top="1pt">
										<fo:inline font-weight="bold">
											<xsl:value-of select=".//doc-number"></xsl:value-of>
										</fo:inline>
									</fo:block>
								</fo:table-cell>
							</fo:table-row>
						</xsl:if>
						<!--xsl:if test = "./designation-pct/regional//date"-->
						<fo:table-row>
							<fo:table-cell xsl:use-attribute-sets="tdBL">
								<fo:block>V-3-<xsl:value-of select="$seq"></xsl:value-of>-3</fo:block>
							</fo:table-cell>
							<fo:table-cell xsl:use-attribute-sets="tdBC">
								<fo:block>
									主申请日或授权日
								</fo:block>
							</fo:table-cell>
							<fo:table-cell xsl:use-attribute-sets="tdBR">
								<fo:block padding-top="1pt">
									<xsl:if test=".//date">
										<fo:inline font-weight="bold">
											<xsl:call-template name="format_date">
												<xsl:with-param name="date" select="normalize-space(.//date)"></xsl:with-param>
												<xsl:with-param name="show_date" select="1"></xsl:with-param>
												<xsl:with-param name="text" select="1"></xsl:with-param>
												<xsl:with-param name="lang" select="substring(translate(ancestor::request/@lang,'ABCDEFGHIJKLMNOPQRSTUVWXYZ','abcdefghijklmnopqrstuvwxyz'),1,2)"></xsl:with-param>
												<xsl:with-param name="date_too" select="1"></xsl:with-param>
											</xsl:call-template>
										</fo:inline>
									</xsl:if>
								</fo:block>
							</fo:table-cell>
						</fo:table-row>
						<!--/xsl:if-->
					</fo:table-body>
				</fo:table>
			</xsl:if>
		</xsl:for-each>
		<xsl:if test=".//protection-request[not(parent::regional)]">
			<xsl:for-each select=".//protection-request[not(parent::regional)]">
				<xsl:variable name="seq">
					<xsl:choose>
						<xsl:when test="ancestor::national/preceding-sibling::regional/region/country[text()='OA']">
							<xsl:value-of select="position() + count(ancestor::national/preceding-sibling::regional[./region/country[text()='OA']])"></xsl:value-of>
						</xsl:when>
						<xsl:otherwise>
							<xsl:value-of select="position()"></xsl:value-of>
						</xsl:otherwise>
					</xsl:choose>
				</xsl:variable>
				<fo:table table-layout="fixed" border-collapse="separate" keep-together.within-page="always">
					<fo:table-column column-width="12mm"></fo:table-column>
					<fo:table-column column-width="53mm"></fo:table-column>
					<fo:table-column column-width="105mm"></fo:table-column>
					<fo:table-body>
						<fo:table-row>
							<fo:table-cell xsl:use-attribute-sets="tdTL">
								<fo:block>
									<fo:inline font-weight="bold">
										<xsl:text>V-3</xsl:text>
									</fo:inline>
								</fo:block>
							</fo:table-cell>
							<fo:table-cell xsl:use-attribute-sets="tdTC">
								<fo:block>
									<fo:inline font-weight="bold">
										主申请或主专利的说明
									</fo:inline>
								</fo:block>
							</fo:table-cell>
							<fo:table-cell xsl:use-attribute-sets="tdTR">
								<fo:block>
								</fo:block>
							</fo:table-cell>
						</fo:table-row>
						<fo:table-row>
							<fo:table-cell xsl:use-attribute-sets="tdL">
								<fo:block>
									<fo:inline font-weight="bold"> V-3-<xsl:value-of select="$seq"></xsl:value-of>
									</fo:inline>
								</fo:block>
							</fo:table-cell>
							<fo:table-cell xsl:use-attribute-sets="tdC">
								<fo:block>
									<fo:inline font-weight="bold">
										指定
									</fo:inline>
								</fo:block>
							</fo:table-cell>
							<fo:table-cell xsl:use-attribute-sets="tdR">
								<fo:block padding-top="1pt">
									<fo:inline font-weight="bold">
										<xsl:value-of select="preceding-sibling::country[1]"></xsl:value-of>
									</fo:inline>
								</fo:block>
							</fo:table-cell>
						</fo:table-row>
						<fo:table-row>
							<fo:table-cell xsl:use-attribute-sets="tdL">
								<fo:block> V-3-<xsl:value-of select="$seq"></xsl:value-of>-1</fo:block>
							</fo:table-cell>
							<fo:table-cell xsl:use-attribute-sets="tdC">
								<fo:block>
									保护类型
								</fo:block>
							</fo:table-cell>
							<fo:table-cell xsl:use-attribute-sets="tdR">
								<fo:block padding-top="1pt">
									<fo:inline font-weight="bold">
										<xsl:call-template name="kind-of-protection">
											<xsl:with-param name="kind-text">
												<xsl:value-of select=".//kind-of-protection"></xsl:value-of>
											</xsl:with-param>
										</xsl:call-template>
									</fo:inline>
								</fo:block>
							</fo:table-cell>
						</fo:table-row>
						<xsl:if test=".//doc-number">
							<fo:table-row>
								<fo:table-cell xsl:use-attribute-sets="tdL">
									<fo:block>V-3-<xsl:value-of select="$seq"></xsl:value-of>-2</fo:block>
								</fo:table-cell>
								<fo:table-cell xsl:use-attribute-sets="tdC">
									<fo:block>
										主申请号或授权号
									</fo:block>
								</fo:table-cell>
								<fo:table-cell xsl:use-attribute-sets="tdR">
									<fo:block padding-top="1pt">
										<fo:inline font-weight="bold">
											<xsl:value-of select=".//doc-number"></xsl:value-of>
										</fo:inline>
									</fo:block>
								</fo:table-cell>
							</fo:table-row>
						</xsl:if>
						<!--xsl:if test=".//date"-->
						<fo:table-row>
							<fo:table-cell xsl:use-attribute-sets="tdBL">
								<fo:block>V-3-<xsl:value-of select="$seq"></xsl:value-of>-3</fo:block>
							</fo:table-cell>
							<fo:table-cell xsl:use-attribute-sets="tdBC">
								<fo:block>
									主申请日或授权日
								</fo:block>
							</fo:table-cell>
							<fo:table-cell xsl:use-attribute-sets="tdBR">
								<fo:block padding-top="1pt">
									<xsl:if test=".//date">
										<fo:inline font-weight="bold">
											<xsl:call-template name="format_date">
												<xsl:with-param name="date" select="normalize-space(.//date)"></xsl:with-param>
												<xsl:with-param name="show_date" select="1"></xsl:with-param>
												<xsl:with-param name="text" select="1"></xsl:with-param>
												<xsl:with-param name="lang" select="substring(translate(ancestor::request/@lang,'ABCDEFGHIJKLMNOPQRSTUVWXYZ','abcdefghijklmnopqrstuvwxyz'),1,2)"></xsl:with-param>
												<xsl:with-param name="date_too" select="1"></xsl:with-param>
											</xsl:call-template>
										</fo:inline>
									</xsl:if>
								</fo:block>
							</fo:table-cell>
						</fo:table-row>
						<!--/xsl:if-->
					</fo:table-body>
				</fo:table>
			</xsl:for-each>
		</xsl:if>
	</xsl:template><xsl:template name="declarations">
		<!-- creates declarations table in request -->
		<fo:table table-layout="fixed" keep-together.within-page="always">
			<fo:table-column column-width="12mm"></fo:table-column>
			<fo:table-column column-width="53mm"></fo:table-column>
			<fo:table-column column-width="52mm"></fo:table-column>
			<fo:table-column column-width="53mm"></fo:table-column>
			<fo:table-body>
				<fo:table-row>
					<fo:table-cell xsl:use-attribute-sets="tdTL">
						<fo:block>
							<fo:inline font-weight="bold">
								<xsl:text>VIII</xsl:text>
							</fo:inline>
						</fo:block>
					</fo:table-cell>
					<fo:table-cell xsl:use-attribute-sets="tdTC">
						<fo:block>
							<fo:inline font-weight="bold">
								声明
							</fo:inline>
						</fo:block>
					</fo:table-cell>
					<fo:table-cell xsl:use-attribute-sets="tdBorderTopRight">
						<fo:block>
							声明数目
						</fo:block>
					</fo:table-cell>
					<fo:table-cell xsl:use-attribute-sets="tdBorderTop" font-size="8pt" vertical-align="top" padding="1pt" text-align="center">
						<fo:block>
							<xsl:if test="/processing-instruction('attached_declaration1_quantity') or&#xA;  												 /processing-instruction('attached_declaration2_quantity') or &#xA;  												 /processing-instruction('attached_declaration3_quantity') or &#xA;  												 /processing-instruction('attached_declaration4_quantity') or &#xA;  												 /processing-instruction('attached_declaration5_quantity')">
								附以电子文档
							</xsl:if>
						</fo:block>
					</fo:table-cell>
				</fo:table-row>
				<fo:table-row>
					<fo:table-cell xsl:use-attribute-sets="tdL">
						<fo:block>
							<xsl:text>VIII-1</xsl:text>
						</fo:block>
					</fo:table-cell>
					<fo:table-cell xsl:use-attribute-sets="tdTC">
						<fo:block>
							关于发明人身份的声明
						</fo:block>
					</fo:table-cell>
					<fo:table-cell xsl:use-attribute-sets="tdBorderTopRightData">
						<fo:block padding-top="1pt">
							<fo:inline font-weight="bold">
								<xsl:choose>
									<xsl:when test=".//declaration1">
										<xsl:value-of select=".//declaration1/@quantity"></xsl:value-of>
									</xsl:when>
									<xsl:otherwise>-</xsl:otherwise>
								</xsl:choose>
							</fo:inline>
						</fo:block>
					</fo:table-cell>
					<fo:table-cell xsl:use-attribute-sets="tdBorderTop" font-size="8pt" vertical-align="top" padding="1pt" text-align="center">
						<fo:block>
							<xsl:if test="/processing-instruction('attached_declaration1_quantity') or&#xA;  												 /processing-instruction('attached_declaration2_quantity') or &#xA;  												 /processing-instruction('attached_declaration3_quantity') or &#xA;  												 /processing-instruction('attached_declaration4_quantity') or &#xA;  												 /processing-instruction('attached_declaration5_quantity')">
								<xsl:choose>
									<xsl:when test="/processing-instruction('attached_declaration1_quantity') &gt; 0">
										<fo:block font-size="10pt" font-family="ZapfDingbats">✓</fo:block>
									</xsl:when>
									<xsl:otherwise>
										<fo:inline font-weight="bold" font-size="12pt" font-family="{$courier_font}">-</fo:inline>
									</xsl:otherwise>
								</xsl:choose>
							</xsl:if>
						</fo:block>
					</fo:table-cell>
				</fo:table-row>
				<fo:table-row>
					<fo:table-cell xsl:use-attribute-sets="tdL">
						<fo:block>
							<xsl:text>VIII-2</xsl:text>
						</fo:block>
					</fo:table-cell>
					<fo:table-cell xsl:use-attribute-sets="tdTC">
						<fo:block>
							关于申请人在国际申请日有权申请和被授予专利的声明
						</fo:block>
					</fo:table-cell>
					<fo:table-cell xsl:use-attribute-sets="tdBorderTopRightData">
						<fo:block padding-top="1pt">
							<fo:inline font-weight="bold">
								<xsl:choose>
									<xsl:when test=".//declaration2">
										<xsl:value-of select=".//declaration2/@quantity"></xsl:value-of>
									</xsl:when>
									<xsl:otherwise>-</xsl:otherwise>
								</xsl:choose>
							</fo:inline>
						</fo:block>
					</fo:table-cell>
					<fo:table-cell xsl:use-attribute-sets="tdBorderTop" font-size="8pt" vertical-align="top" padding="1pt" text-align="center">
						<fo:block>
							<xsl:if test="/processing-instruction('attached_declaration1_quantity') or&#xA;  												 /processing-instruction('attached_declaration2_quantity') or &#xA;  												 /processing-instruction('attached_declaration3_quantity') or &#xA;  												 /processing-instruction('attached_declaration4_quantity') or &#xA;  												 /processing-instruction('attached_declaration5_quantity')">
								<xsl:choose>
									<xsl:when test="/processing-instruction('attached_declaration2_quantity') &gt; 0">
										<fo:block font-size="10pt" font-family="ZapfDingbats">✓</fo:block>
									</xsl:when>
									<xsl:otherwise>
										<fo:inline font-weight="bold" font-size="12pt" font-family="{$courier_font}">-</fo:inline>
									</xsl:otherwise>
								</xsl:choose>
							</xsl:if>
						</fo:block>
					</fo:table-cell>
				</fo:table-row>
				<fo:table-row>
					<fo:table-cell xsl:use-attribute-sets="tdL">
						<fo:block>
							<xsl:text>VIII-3</xsl:text>
						</fo:block>
					</fo:table-cell>
					<fo:table-cell xsl:use-attribute-sets="tdTC">
						<fo:block>
							关于申请人在国际申请日有权要求在先申请的优先权的说明
						</fo:block>
					</fo:table-cell>
					<fo:table-cell xsl:use-attribute-sets="tdBorderTopRightData">
						<fo:block padding-top="1pt">
							<fo:inline font-weight="bold">
								<xsl:choose>
									<xsl:when test=".//declaration3">
										<xsl:value-of select=".//declaration3/@quantity"></xsl:value-of>
									</xsl:when>
									<xsl:otherwise>-</xsl:otherwise>
								</xsl:choose>
							</fo:inline>
						</fo:block>
					</fo:table-cell>
					<fo:table-cell xsl:use-attribute-sets="tdBorderTop" font-size="8pt" vertical-align="top" padding="1pt" text-align="center">
						<fo:block>
							<xsl:if test="/processing-instruction('attached_declaration1_quantity') or&#xA;  												 /processing-instruction('attached_declaration2_quantity') or &#xA;  												 /processing-instruction('attached_declaration3_quantity') or &#xA;  												 /processing-instruction('attached_declaration4_quantity') or &#xA;  												 /processing-instruction('attached_declaration5_quantity')">
								<xsl:choose>
									<xsl:when test="/processing-instruction('attached_declaration3_quantity') &gt; 0">
										<fo:block font-size="10pt" font-family="ZapfDingbats">✓</fo:block>
									</xsl:when>
									<xsl:otherwise>
										<fo:inline font-weight="bold" font-size="12pt" font-family="{$courier_font}">-</fo:inline>
									</xsl:otherwise>
								</xsl:choose>
							</xsl:if>
						</fo:block>
					</fo:table-cell>
				</fo:table-row>
				<fo:table-row>
					<fo:table-cell xsl:use-attribute-sets="tdL">
						<fo:block>
							<xsl:text>VIII-4</xsl:text>
						</fo:block>
					</fo:table-cell>
					<fo:table-cell xsl:use-attribute-sets="tdTC">
						<fo:block>
							发明人资格声明(仅为指定美国目的)
						</fo:block>
					</fo:table-cell>
					<fo:table-cell xsl:use-attribute-sets="tdBorderTopRightData">
						<fo:block padding-top="1pt">
							<fo:inline font-weight="bold">
								<xsl:choose>
									<xsl:when test=".//declaration4">
										<xsl:value-of select=".//declaration4/@quantity"></xsl:value-of>
									</xsl:when>
									<xsl:otherwise>-</xsl:otherwise>
								</xsl:choose>
							</fo:inline>
						</fo:block>
					</fo:table-cell>
					<fo:table-cell xsl:use-attribute-sets="tdBorderTop" font-size="8pt" vertical-align="top" padding="1pt" text-align="center">
						<fo:block>
							<xsl:if test="/processing-instruction('attached_declaration1_quantity') or&#xA;  												 /processing-instruction('attached_declaration2_quantity') or &#xA;  												 /processing-instruction('attached_declaration3_quantity') or &#xA;  												 /processing-instruction('attached_declaration4_quantity') or &#xA;  												 /processing-instruction('attached_declaration5_quantity')">
								<xsl:choose>
									<xsl:when test="/processing-instruction('attached_declaration4_quantity') &gt; 0">
										<fo:block font-size="10pt" font-family="ZapfDingbats">✓</fo:block>
									</xsl:when>
									<xsl:otherwise>
										<fo:inline font-weight="bold" font-size="12pt" font-family="{$courier_font}">-</fo:inline>
									</xsl:otherwise>
								</xsl:choose>
							</xsl:if>
						</fo:block>
					</fo:table-cell>
				</fo:table-row>
				<fo:table-row>
					<fo:table-cell xsl:use-attribute-sets="tdBL">
						<fo:block>
							<xsl:text>VIII-5</xsl:text>
						</fo:block>
					</fo:table-cell>
					<fo:table-cell xsl:use-attribute-sets="tdTBC">
						<fo:block>
							关于不影响新颖性的公开或缺乏新颖性的例外的声明
						</fo:block>
					</fo:table-cell>
					<fo:table-cell border-bottom="solid black 0.5pt" xsl:use-attribute-sets="tdBorderTopRightData">
						<fo:block padding-top="1pt">
							<fo:inline font-weight="bold">
								<xsl:choose>
									<xsl:when test=".//declaration5">
										<xsl:value-of select=".//declaration5/@quantity"></xsl:value-of>
									</xsl:when>
									<xsl:otherwise>-</xsl:otherwise>
								</xsl:choose>
							</fo:inline>
						</fo:block>
					</fo:table-cell>
					<fo:table-cell xsl:use-attribute-sets="tdTB" font-size="8pt" vertical-align="top" padding="1pt" text-align="center">
						<fo:block>
							<xsl:if test="/processing-instruction('attached_declaration1_quantity') or&#xA;  												 /processing-instruction('attached_declaration2_quantity') or &#xA;  												 /processing-instruction('attached_declaration3_quantity') or &#xA;  												 /processing-instruction('attached_declaration4_quantity') or &#xA;  												 /processing-instruction('attached_declaration5_quantity')">
								<xsl:choose>
									<xsl:when test="/processing-instruction('attached_declaration5_quantity') &gt; 0">
										<fo:block font-size="10pt" font-family="ZapfDingbats">✓</fo:block>
									</xsl:when>
									<xsl:otherwise>
										<fo:inline font-weight="bold" font-size="12pt" font-family="{$courier_font}">-</fo:inline>
									</xsl:otherwise>
								</xsl:choose>
							</xsl:if>
						</fo:block>
					</fo:table-cell>
				</fo:table-row>
			</fo:table-body>
		</fo:table>
		<!-- GET INFO FROM DECLARATIONS DOCUMENT(S) IF SUPPLIED AS PARAMETER -->
		<!-- NOTE: $declarations will be a parameter that stores a 
	               document with multiple declarations -->
		<!--fo:block id="declarationSec"/-->
		<xsl:if test="$declarations != ''">
			<xsl:call-template name="declaration_info"></xsl:call-template>
		</xsl:if>
		<xsl:if test="$declaration1 != ''">
			<xsl:call-template name="declaration_1"></xsl:call-template>
		</xsl:if>
		<xsl:if test="$declaration2 != ''">
			<xsl:call-template name="declaration_2"></xsl:call-template>
		</xsl:if>
		<xsl:if test="$declaration3 != ''">
			<xsl:call-template name="declaration_3"></xsl:call-template>
		</xsl:if>
		<xsl:if test="$declaration4 != ''">
			<xsl:call-template name="declaration_4"></xsl:call-template>
		</xsl:if>
		<xsl:if test="$declaration5 != ''">
			<xsl:call-template name="declaration_5"></xsl:call-template>
		</xsl:if>
	</xsl:template><xsl:template name="declaration_info">
		<xsl:call-template name="declaration_1"></xsl:call-template>
		<xsl:call-template name="declaration_2"></xsl:call-template>
		<xsl:call-template name="declaration_3"></xsl:call-template>
		<xsl:call-template name="declaration_4"></xsl:call-template>
		<xsl:call-template name="declaration_5"></xsl:call-template>
	</xsl:template><xsl:template name="declaration_1">
		<xsl:if test="$dec_doc != '' or $dec1_doc != ''">
			<xsl:if test="document($dec_doc)//identity-of-inventor                or document($dec1_doc)//identity-of-inventor">
				<fo:block id="declarationSec"></fo:block>
			</xsl:if>
			<!-- TODO: get page breaking beyond first declaration1 doc working -->
			<xsl:if test="document($dec_doc)//identity-of-inventor                or document($dec1_doc)//identity-of-inventor">
				<xsl:for-each select="document($dec_doc)//identity-of-inventor | document($dec1_doc)//identity-of-inventor">
					<xsl:choose>
						<xsl:when test="./doc-page">
							<xsl:apply-templates select="doc-page"></xsl:apply-templates>
						</xsl:when>
						<xsl:otherwise>
							<fo:block break-before="page"></fo:block>
							<xsl:call-template name="process_dec1"></xsl:call-template>
						</xsl:otherwise>
					</xsl:choose>
				</xsl:for-each>
			</xsl:if>
		</xsl:if>
	</xsl:template><xsl:template name="declaration_2">
		<xsl:if test="(document($dec_doc)//entitlement-to-be-granted-patent      or document($dec2_doc)//entitlement-to-be-granted-patent)">
			<!-- if there is no dec1, insert bookmark here -->
			<xsl:if test="not(document($dec_doc)//identity-of-inventor          or document($dec1_doc)//identity-of-inventor)        and (document($dec_doc)//entitlement-to-be-granted-patent          or document($dec2_doc)//entitlement-to-be-granted-patent)">
				<fo:block id="declarationSec"></fo:block>
			</xsl:if>
		</xsl:if>
		<xsl:if test="$dec_doc != '' or $dec2_doc != ''">
			<xsl:for-each select="document($dec_doc)//entitlement-to-be-granted-patent | document($dec2_doc)//entitlement-to-be-granted-patent">
				<xsl:choose>
					<xsl:when test="./doc-page">
						<xsl:apply-templates select="doc-page"></xsl:apply-templates>
					</xsl:when>
					<xsl:otherwise>
						<fo:block break-before="page">
							<xsl:call-template name="process_dec2"></xsl:call-template>
						</fo:block>
					</xsl:otherwise>
				</xsl:choose>
			</xsl:for-each>
		</xsl:if>
	</xsl:template><xsl:template name="declaration_3">
		<xsl:if test="(document($dec_doc)//entitlement-to-claim-priority                    or document($dec3_doc)//entitlement-to-claim-priority)">
			<!-- if no prior declarations, insert bookmark here -->
			<xsl:if test="not(document($dec_doc)//identity-of-inventor          or document($dec1_doc)//identity-of-inventor          or document($dec_doc)//entitlement-to-be-granted-patent          or document($dec2_doc)//entitlement-to-be-granted-patent)        and (document($dec_doc)//entitlement-to-claim-priority          or document($dec3_doc)//entitlement-to-claim-priority)">
				<fo:block id="declarationSec"></fo:block>
			</xsl:if>
		</xsl:if>
		<xsl:if test="$dec_doc != '' or $dec3_doc != '' ">
			<xsl:for-each select="document($dec_doc)//entitlement-to-claim-priority | document($dec3_doc)//entitlement-to-claim-priority">
				<xsl:choose>
					<xsl:when test="./doc-page">
						<xsl:apply-templates select="doc-page"></xsl:apply-templates>
					</xsl:when>
					<xsl:otherwise>
						<fo:block break-before="page">
							<xsl:call-template name="process_dec3"></xsl:call-template>
						</fo:block>
					</xsl:otherwise>
				</xsl:choose>
			</xsl:for-each>
		</xsl:if>
	</xsl:template><xsl:template name="declaration_4">
		<xsl:if test="(document($dec_doc)//inventorship      or document($dec4_doc)//inventorship)">
			<!-- if there is no prior declaration, insert bookmark here -->
			<xsl:if test="not(document($dec_doc)//identity-of-inventor          or document($dec1_doc)//identity-of-inventor          or document($dec_doc)//entitlement-to-be-granted-patent          or document($dec2_doc)//entitlement-to-be-granted-patent          or document($dec_doc)//entitlement-to-claim-priority          or document($dec3_doc)//entitlement-to-claim-priority)        and (document($dec_doc)//inventorship          or document($dec4_doc)//inventorship)">
				<fo:block id="declarationSec"></fo:block>
			</xsl:if>
		</xsl:if>
		<xsl:if test="$dec_doc != '' or $dec4_doc != ''">
			<xsl:for-each select="document($dec_doc)//inventorship | document($dec4_doc)//inventorship">
				<xsl:choose>
					<xsl:when test="./doc-page">
						<xsl:apply-templates select="doc-page"></xsl:apply-templates>
					</xsl:when>
					<xsl:otherwise>
						<fo:block break-before="page">
							<xsl:call-template name="process_dec4"></xsl:call-template>
						</fo:block>
					</xsl:otherwise>
				</xsl:choose>
			</xsl:for-each>
		</xsl:if>
	</xsl:template><xsl:template name="declaration_5">
		<xsl:if test="(document($dec_doc)//lack-of-novelty                  or document($dec5_doc)//lack-of-novelty)">
			<!-- if there is no prior declaration, insert bookmark here -->
			<xsl:if test="not(document($dec_doc)//identity-of-inventor          or document($dec1_doc)//identity-of-inventor          or document($dec_doc)//entitlement-to-be-granted-patent          or document($dec2_doc)//entitlement-to-be-granted-patent          or document($dec_doc)//entitlement-to-claim-priority          or document($dec3_doc)//entitlement-to-claim-priority          or document($dec_doc)//inventorship          or document($dec4_doc)//inventorship)        and (document($dec_doc)//lack-of-novelty          or document($dec5_doc)//lack-of-novelty)">
				<fo:block id="declarationSec"></fo:block>
			</xsl:if>
		</xsl:if>
		<xsl:if test="$dec_doc != '' or $dec5_doc != ''">
			<xsl:for-each select="document($dec_doc)//lack-of-novelty | document($dec5_doc)//lack-of-novelty">
				<xsl:choose>
					<xsl:when test="./doc-page">
						<xsl:apply-templates select="doc-page"></xsl:apply-templates>
					</xsl:when>
					<xsl:otherwise>
						<fo:block break-before="page">
							<xsl:call-template name="process_dec5">
								<xsl:with-param name="lack_seq" select="position()"></xsl:with-param>
							</xsl:call-template>
						</fo:block>
					</xsl:otherwise>
				</xsl:choose>
			</xsl:for-each>
		</xsl:if>
	</xsl:template><xsl:template name="checklist">
		<fo:table table-layout="fixed" keep-together.within-page="always">
			<xsl:if test="$declarations != '' or $declaration1 != '' or $declaration2 != '' or $declaration3 != '' or $declaration4 != '' or $declaration5 != '' ">
				<xsl:attribute name="break-before">page</xsl:attribute>
			</xsl:if>
			<fo:table-column column-width="12mm"></fo:table-column>
			<fo:table-column column-width="53mm"></fo:table-column>
			<fo:table-column column-width="52mm"></fo:table-column>
			<fo:table-column column-width="53mm"></fo:table-column>
			<fo:table-body>
				<fo:table-row>
					<fo:table-cell xsl:use-attribute-sets="tdTL">
						<fo:block>
							<fo:inline font-weight="bold">
								<xsl:text>IX</xsl:text>
							</fo:inline>
						</fo:block>
					</fo:table-cell>
					<fo:table-cell xsl:use-attribute-sets="tdTC">
						<fo:block>
							<fo:inline font-weight="bold">
								清单 
							</fo:inline>
						</fo:block>
					</fo:table-cell>
					<fo:table-cell xsl:use-attribute-sets="tdTC" text-align="center">
						<fo:block>
							页数
						</fo:block>
					</fo:table-cell>
					<fo:table-cell xsl:use-attribute-sets="tdTL" text-align="center">
						<fo:block>
							附以电子文档
						</fo:block>
					</fo:table-cell>
				</fo:table-row>
				<fo:table-row>
					<fo:table-cell xsl:use-attribute-sets="tdL">
						<fo:block>
							<xsl:text>IX-1</xsl:text>
						</fo:block>
					</fo:table-cell>
					<fo:table-cell xsl:use-attribute-sets="tdTC">
						<fo:block>
							请求书(包括声明页)
						</fo:block>
					</fo:table-cell>
					<fo:table-cell xsl:use-attribute-sets="tdBorderTopRightData" text-align="center">
						<fo:block>
							<fo:inline font-weight="bold">
								<xsl:choose>
									<xsl:when test=".//cl-request">
										<xsl:value-of select=".//cl-request/@page-count"></xsl:value-of>
									</xsl:when>
									<xsl:otherwise>0</xsl:otherwise>
								</xsl:choose>
							</fo:inline>
						</fo:block>
					</fo:table-cell>
					<fo:table-cell xsl:use-attribute-sets="tdTR" text-align="center">
						<fo:block text-align="center" font-size="10pt" font-family="ZapfDingbats" padding-top="1pt">✓</fo:block>
					</fo:table-cell>
				</fo:table-row>
				<fo:table-row>
					<fo:table-cell xsl:use-attribute-sets="tdL">
						<fo:block>
							<xsl:text>IX-2</xsl:text>
						</fo:block>
					</fo:table-cell>
					<fo:table-cell xsl:use-attribute-sets="tdTC">
						<fo:block>
							说明书 
							<xsl:if test=".//cl-sequence-listing[@page-count] or .//processing-instruction('seqlist')">
								(除序列表部分外)
							</xsl:if>
						</fo:block>
					</fo:table-cell>
					<fo:table-cell xsl:use-attribute-sets="tdBorderTopRightData" text-align="center">
						<fo:block>
							<fo:inline font-weight="bold">
								<xsl:choose>
									<xsl:when test=".//cl-description">
										<xsl:value-of select=".//cl-description/@page-count"></xsl:value-of>
									</xsl:when>
									<xsl:otherwise>0</xsl:otherwise>
								</xsl:choose>
							</fo:inline>
						</fo:block>
					</fo:table-cell>
					<fo:table-cell xsl:use-attribute-sets="tdTR" text-align="center">
						<fo:block>
							<xsl:choose>
								<xsl:when test="$EASY != 1 and .//cl-description">
									<fo:block text-align="center" font-size="10pt" font-family="ZapfDingbats" padding-top="1pt">✓</fo:block>
								</xsl:when>
								<xsl:otherwise>
									<fo:block>
										<fo:inline font-weight="bold">-</fo:inline>
									</fo:block>
								</xsl:otherwise>
							</xsl:choose>
						</fo:block>
					</fo:table-cell>
				</fo:table-row>
				<fo:table-row>
					<fo:table-cell xsl:use-attribute-sets="tdL">
						<fo:block>
							<xsl:text>IX-3</xsl:text>
						</fo:block>
					</fo:table-cell>
					<fo:table-cell xsl:use-attribute-sets="tdTC">
						<fo:block>
							权利要求
						</fo:block>
					</fo:table-cell>
					<fo:table-cell xsl:use-attribute-sets="tdBorderTopRightData" text-align="center">
						<fo:block>
							<fo:inline font-weight="bold">
								<xsl:choose>
									<xsl:when test=".//cl-claims">
										<xsl:value-of select=".//cl-claims/@page-count"></xsl:value-of>
									</xsl:when>
									<xsl:otherwise>0</xsl:otherwise>
								</xsl:choose>
							</fo:inline>
						</fo:block>
					</fo:table-cell>
					<fo:table-cell xsl:use-attribute-sets="tdTR" text-align="center">
						<fo:block>
							<xsl:choose>
								<xsl:when test="$EASY != 1 and .//cl-claims">
									<fo:block text-align="center" font-size="10pt" font-family="ZapfDingbats" padding-top="1pt">✓</fo:block>
								</xsl:when>
								<xsl:otherwise>
									<fo:block>
										<fo:inline font-weight="bold">-</fo:inline>
									</fo:block>
								</xsl:otherwise>
							</xsl:choose>
						</fo:block>
					</fo:table-cell>
				</fo:table-row>
				<fo:table-row>
					<fo:table-cell xsl:use-attribute-sets="tdL">
						<fo:block>
							<xsl:text>IX-4</xsl:text>
						</fo:block>
					</fo:table-cell>
					<fo:table-cell xsl:use-attribute-sets="tdTC">
						<fo:block>
							摘要
						</fo:block>
					</fo:table-cell>
					<fo:table-cell xsl:use-attribute-sets="tdBorderTopRightData" text-align="center">
						<fo:block>
							<fo:inline font-weight="bold">
								<xsl:choose>
									<xsl:when test=".//cl-abstract">
										<xsl:value-of select=".//cl-abstract/@page-count"></xsl:value-of>
									</xsl:when>
									<xsl:otherwise>0</xsl:otherwise>
								</xsl:choose>
							</fo:inline>
						</fo:block>
					</fo:table-cell>
					<fo:table-cell xsl:use-attribute-sets="tdTR" text-align="center">
						<xsl:choose>
							<xsl:when test="$EASY = 1 and .//cl-abstract">
								<fo:block font-size="10pt" font-family="ZapfDingbats" padding-top="1pt">✓</fo:block>
							</xsl:when>
							<xsl:otherwise>
								<fo:block>
									<xsl:choose>
										<xsl:when test="$EASY != 1 and .//cl-abstract">
											<fo:block text-align="center" font-size="10pt" font-family="ZapfDingbats" padding-top="1pt">✓</fo:block>
										</xsl:when>
										<xsl:otherwise>
											<fo:block>
												<fo:inline font-weight="bold">-</fo:inline>
											</fo:block>
										</xsl:otherwise>
									</xsl:choose>
								</fo:block>
							</xsl:otherwise>
						</xsl:choose>
					</fo:table-cell>
				</fo:table-row>
				<fo:table-row>
					<fo:table-cell xsl:use-attribute-sets="tdL">
						<fo:block>
							<xsl:text>IX-5</xsl:text>
						</fo:block>
					</fo:table-cell>
					<fo:table-cell xsl:use-attribute-sets="tdTC">
						<fo:block>
							附图
						</fo:block>
					</fo:table-cell>
					<fo:table-cell xsl:use-attribute-sets="tdBorderTopRightData" text-align="center">
						<fo:block>
							<fo:inline font-weight="bold">
								<xsl:choose>
									<xsl:when test=".//cl-drawings">
										<xsl:value-of select=".//cl-drawings/@page-count"></xsl:value-of>
									</xsl:when>
									<xsl:otherwise>0</xsl:otherwise>
								</xsl:choose>
							</fo:inline>
						</fo:block>
					</fo:table-cell>
					<fo:table-cell xsl:use-attribute-sets="tdTR" text-align="center">
						<fo:block>
							<xsl:choose>
								<xsl:when test="$EASY != 1 and .//cl-drawings and .//cl-drawings/@page-count &gt; 0">
									<fo:block text-align="center" font-size="10pt" font-family="ZapfDingbats" padding-top="1pt">✓</fo:block>
								</xsl:when>
								<xsl:otherwise>
									<fo:block>
										<fo:inline font-weight="bold">-</fo:inline>
									</fo:block>
								</xsl:otherwise>
							</xsl:choose>
						</fo:block>
					</fo:table-cell>
				</fo:table-row>
				<xsl:if test=".//cl-sequence-listing[@page-count] or .//cl-sequence-listing-table[@page-count]">
					<fo:table-row>
						<fo:table-cell xsl:use-attribute-sets="tdL">
							<fo:block>
								<xsl:text>IX-7a</xsl:text>
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdTC">
							<fo:block>
								页数分项总数
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdBorderTopRightData" text-align="center">
							<fo:block>
								<fo:inline font-weight="bold">
									<xsl:value-of select="sum(.//*[not(name()='cl-sequence-listing' or name()='cl-sequence-listing-table' or name()='cl-other-document')]/@page-count[. != ''])"></xsl:value-of>
								</fo:inline>
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdTR" text-align="center">
							<fo:block></fo:block>
						</fo:table-cell>
					</fo:table-row>
				</xsl:if>
				<!--20191003 Always show Sequence listing in the checklist 
				<xsl:if test="$seqlist != 0 or .//cl-sequence-listing[@page-count] or .//cl-sequence-listing/@for-search-only = 'no'"> -->
					<fo:table-row>
						<fo:table-cell xsl:use-attribute-sets="tdL">
							<xsl:choose>
								<xsl:when test=".//cl-sequence-listing[@page-count]">
									<fo:block>
										<xsl:text>IX-6</xsl:text>
									</fo:block>
								</xsl:when>
								<xsl:otherwise>
									<fo:block>
										<xsl:text>IX-6a</xsl:text>
									</fo:block>
								</xsl:otherwise>
							</xsl:choose>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdTC">
							<xsl:choose>
								<xsl:when test="$EASY = '1'">
									<fo:block>
										<!-- 20090701 RuleChange
										<xsl:call-template name = "seq_ChoiceText">
											<xsl:with-param name = "sequence" select = ".//cl-sequence-listing"/>
										</xsl:call-template>
-->
										<xsl:choose>
											<xsl:when test=".//cl-sequence-listing[@page-count]">
												<fo:block>
													说明书序列表部分
												</fo:block>
											</xsl:when>
											<xsl:otherwise>
												<fo:block>
													说明书序列表部分
												</fo:block>
											</xsl:otherwise>
										</xsl:choose>
									</fo:block>
								</xsl:when>
								<xsl:otherwise>
									<xsl:choose>
										<xsl:when test=".//cl-sequence-listing[@page-count]">
											<fo:block>
												说明书序列表部分
											</fo:block>
										</xsl:when>
										<xsl:otherwise>
											<fo:block>
												说明书序列表部分
											</fo:block>
										</xsl:otherwise>
									</xsl:choose>
								</xsl:otherwise>
							</xsl:choose>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdBorderTopRightData" text-align="center">
							<fo:block>
								<fo:inline font-weight="bold">
									<xsl:choose>
										<xsl:when test=".//cl-sequence-listing/@page-count != 0">
											<xsl:value-of select=".//cl-sequence-listing/@page-count"></xsl:value-of>
										</xsl:when>
										<xsl:otherwise>-</xsl:otherwise>
									</xsl:choose>
								</fo:inline>
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdTR" text-align="center">
							<xsl:choose>
								<xsl:when test="$seqlist != '0'">
									<xsl:choose>
										<xsl:when test="$EASY = '1'">
											<fo:block>
												<!-- 20090701 RuleChange
												<fo:inline font-weight = "bold">
													<xsl:value-of select = "$seqlist"/>
												</fo:inline>
-->
												<xsl:choose>
													<xsl:when test="$seqlist = ''">
														<fo:block text-align="center" font-size="10pt" font-family="ZapfDingbats" padding-top="1pt">✓</fo:block>
													</xsl:when>
													<xsl:otherwise>
														<fo:inline font-weight="bold">
															<xsl:value-of select="$seqlist"></xsl:value-of>
														</fo:inline>
													</xsl:otherwise>
												</xsl:choose>
											</fo:block>
										</xsl:when>
										<xsl:otherwise>
											<fo:block text-align="center" font-size="10pt" font-family="ZapfDingbats" padding-top="1pt">✓</fo:block>
										</xsl:otherwise>
									</xsl:choose>
								</xsl:when>
								<xsl:when test=".//cl-sequence-listing and $EASY = '1' and .//cl-sequence-listing/@carriers-type and not(.//cl-sequence-listing/@page-count) and .//cl-sequence-listing/@carriers = 'external-electronic' and .//cl-sequence-listing/@for-search-only = 'no'">
									<fo:block>
										<fo:inline font-weight="bold">
											<xsl:call-template name="carriersInfo_ChoiceText">
												<xsl:with-param name="carriers_type" select=".//cl-sequence-listing/@carriers-type"></xsl:with-param>
												<xsl:with-param name="carriers_quantity" select=".//cl-sequence-listing/@carriers-quantity"></xsl:with-param>
											</xsl:call-template>
										</fo:inline>
									</fo:block>
								</xsl:when>
								<xsl:when test=".//cl-sequence-listing and $EASY != '1'">
									<fo:block text-align="center" font-size="10pt" font-family="ZapfDingbats" padding-top="1pt">✓</fo:block>
								</xsl:when>
								<xsl:when test=".//cl-sequence-listing and not(.//cl-sequence-listing[@page-count]) and $EFSWEB = '1'">
									<fo:block text-align="center" font-size="10pt" font-family="ZapfDingbats" padding-top="1pt">✓</fo:block>
								</xsl:when>
								<xsl:otherwise>
									<fo:block>
										<fo:inline font-weight="bold">-</fo:inline>
									</fo:block>
								</xsl:otherwise>
							</xsl:choose>
						</fo:table-cell>
					</fo:table-row>
				<!--20191003 Always show Sequence listing in the checklist 
				</xsl:if>-->
				<xsl:if test="$seqtab != 0 or .//cl-sequence-listing-table[@page-count]">
					<fo:table-row>
						<fo:table-cell xsl:use-attribute-sets="tdL">
							<fo:block>
								<xsl:text>IX-6b</xsl:text>
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdTC">
							<xsl:choose>
								<xsl:when test="$EASY = '1'">
									<fo:block>
										根据行政规程802（b之四）供国际检索之用提交的与序列表相关的表格
									</fo:block>
								</xsl:when>
								<xsl:otherwise>
									<fo:block>
										说明书的与序列表相关的表格
									</fo:block>
								</xsl:otherwise>
							</xsl:choose>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdBorderTopRightData" text-align="center">
							<fo:block>
								<fo:inline font-weight="bold">
									<xsl:choose>
										<xsl:when test=".//cl-sequence-listing-table/@page-count">
											<xsl:value-of select=".//cl-sequence-listing-table/@page-count"></xsl:value-of>
										</xsl:when>
										<xsl:otherwise>-</xsl:otherwise>
									</xsl:choose>
								</fo:inline>
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdTR" text-align="center">
							<xsl:choose>
								<xsl:when test="$seqtab != '0'">
									<xsl:choose>
										<xsl:when test="$EASY = '1'">
											<fo:block>
												<fo:inline font-weight="bold">
													<xsl:value-of select="$seqtab"></xsl:value-of>
												</fo:inline>
											</fo:block>
										</xsl:when>
										<xsl:otherwise>
											<fo:block text-align="center" font-size="10pt" font-family="ZapfDingbats" padding-top="1pt">✓</fo:block>
										</xsl:otherwise>
									</xsl:choose>
								</xsl:when>
								<xsl:when test=".//cl-sequence-listing-table and $EASY != '1'">
									<fo:block text-align="center" font-size="10pt" font-family="ZapfDingbats" padding-top="1pt">✓</fo:block>
								</xsl:when>
								<xsl:otherwise>
									<fo:block>
										<fo:inline font-weight="bold">-</fo:inline>
									</fo:block>
								</xsl:otherwise>
							</xsl:choose>
						</fo:table-cell>
					</fo:table-row>
				</xsl:if>
				<fo:table-row>
					<fo:table-cell xsl:use-attribute-sets="tdBL">
						<fo:block>
							<xsl:text>IX-7</xsl:text>
						</fo:block>
					</fo:table-cell>
					<fo:table-cell xsl:use-attribute-sets="tdTBC">
						<fo:block start-indent="3mm">
							共计
						</fo:block>
					</fo:table-cell>
					<fo:table-cell xsl:use-attribute-sets="tdTBR" number-columns-spanned="1" text-align="center">
						<fo:block>
							<fo:inline font-weight="bold">
								<xsl:value-of select="sum(.//*[not(name()='cl-other-document')]/@page-count[. != ''])"></xsl:value-of>
							</fo:inline>
						</fo:block>
					</fo:table-cell>
					<fo:table-cell xsl:use-attribute-sets="tdTB" number-columns-spanned="1" text-align="center">
						<fo:block>
							<fo:inline font-weight="bold">
							</fo:inline>
						</fo:block>
					</fo:table-cell>
					<!--<fo:table-cell xsl:use-attribute-sets="tdTR" text-align="center">
						<fo:block>
							<fo:inline/>
						</fo:block>
					</fo:table-cell>-->
				</fo:table-row>
				<fo:table-row>
					<fo:table-cell number-columns-spanned="3" border-top="solid black 0.25pt">
						<fo:block></fo:block>
					</fo:table-cell>
				</fo:table-row>
			</fo:table-body>
		</fo:table>
		<!-- NOTE: PCT-SAFE only allows for electronic file attachments; therefore, all
           documents will appear in the 'electronic files attached' column UNLESS
           filing in EASY mode ($EASY = 1) -->
		<fo:table table-layout="fixed" keep-together.within-page="always">
			<fo:table-column column-width="12mm"></fo:table-column>
			<fo:table-column column-width="53mm"></fo:table-column>
			<fo:table-column column-width="52mm"></fo:table-column>
			<fo:table-column column-width="53mm"></fo:table-column>
			<fo:table-body>
				<fo:table-row>
					<fo:table-cell xsl:use-attribute-sets="tdTL">
						<fo:block>
							<xsl:text>
							</xsl:text>
						</fo:block>
					</fo:table-cell>
					<fo:table-cell xsl:use-attribute-sets="tdTC">
						<fo:block>
							<fo:inline font-weight="bold">
								附件
							</fo:inline>
						</fo:block>
					</fo:table-cell>
					<fo:table-cell xsl:use-attribute-sets="tdTL" text-align="center">
						<fo:block>
							附以纸件
						</fo:block>
					</fo:table-cell>
					<fo:table-cell xsl:use-attribute-sets="tdBorderTopLeft">
						<fo:block>
							附以电子文档
						</fo:block>
					</fo:table-cell>
				</fo:table-row>
				<xsl:if test=".//cl-fee-calculation">
					<fo:table-row>
						<fo:table-cell xsl:use-attribute-sets="tdL">
							<fo:block>
								<xsl:text>IX-8</xsl:text>
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdTC">
							<fo:block>
								费用计算页
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdTR" text-align="center">
							<xsl:choose>
								<xsl:when test="$EASY = '1'">
									<fo:block text-align="center" font-size="10pt" font-family="ZapfDingbats" padding-top="1pt">✓</fo:block>
								</xsl:when>
								<xsl:otherwise>
									<fo:block>
										<fo:inline font-weight="bold">-</fo:inline>
									</fo:block>
								</xsl:otherwise>
							</xsl:choose>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdBorderTopLeftData" text-align="center">
							<xsl:choose>
								<xsl:when test="$EASY = '1'">
									<fo:block>
										<fo:inline font-weight="bold">-</fo:inline>
									</fo:block>
								</xsl:when>
								<xsl:otherwise>
									<fo:block text-align="center" font-size="10pt" font-family="ZapfDingbats" padding-top="1pt">✓</fo:block>
								</xsl:otherwise>
							</xsl:choose>
						</fo:table-cell>
					</fo:table-row>
				</xsl:if>
				<xsl:if test=".//cl-separate-power-of-attorney">
					<fo:table-row>
						<fo:table-cell xsl:use-attribute-sets="tdL">
							<fo:block>
								<xsl:text>IX-9</xsl:text>
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdTC">
							<fo:block>
								单独委托书原件
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdTR" text-align="center">
							<xsl:choose>
								<xsl:when test="$EASY = '1'">
									<fo:block font-size="10pt" font-family="ZapfDingbats" padding-top="1pt">✓</fo:block>
								</xsl:when>
								<xsl:otherwise>
									<fo:block>
										<fo:inline font-weight="bold">-</fo:inline>
									</fo:block>
								</xsl:otherwise>
							</xsl:choose>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdBorderTopLeftData" text-align="center">
							<xsl:choose>
								<xsl:when test="$EASY = '1'">
									<fo:block>
										<fo:inline font-weight="bold">-</fo:inline>
									</fo:block>
								</xsl:when>
								<xsl:otherwise>
									<fo:block font-size="10pt" font-family="ZapfDingbats" padding-top="1pt">✓</fo:block>
								</xsl:otherwise>
							</xsl:choose>
						</fo:table-cell>
					</fo:table-row>
				</xsl:if>
				<xsl:if test=".//cl-general-power-of-attorney">
					<fo:table-row>
						<fo:table-cell xsl:use-attribute-sets="tdL">
							<fo:block>
								<xsl:text>IX-10</xsl:text>
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdTC">
							<fo:block>
								总委托书原件
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdTR" text-align="center">
							<xsl:choose>
								<xsl:when test="$EASY = '1'">
									<fo:block font-size="10pt" font-family="ZapfDingbats" padding-top="1pt">✓</fo:block>
								</xsl:when>
								<xsl:otherwise>
									<fo:block>
										<fo:inline font-weight="bold">-</fo:inline>
									</fo:block>
								</xsl:otherwise>
							</xsl:choose>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdBorderTopLeftData" text-align="center">
							<xsl:choose>
								<xsl:when test="$EASY = '1'">
									<fo:block>
										<fo:inline font-weight="bold">-</fo:inline>
									</fo:block>
								</xsl:when>
								<xsl:otherwise>
									<fo:block font-size="10pt" font-family="ZapfDingbats" padding-top="1pt">✓</fo:block>
								</xsl:otherwise>
							</xsl:choose>
						</fo:table-cell>
					</fo:table-row>
				</xsl:if>
				<xsl:for-each select=".//cl-copy-general-power-of-attorney/ref-number">
					<fo:table-row>
						<fo:table-cell xsl:use-attribute-sets="tdL">
							<fo:block>
								<xsl:text>IX-11</xsl:text>
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdTC">
							<fo:block>
								总委托书副本
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdTR">
							<xsl:choose>
								<xsl:when test="$EASY = '1'">
									<xsl:choose>
										<xsl:when test="string-length(text()) &gt; 0">
											<fo:block>
												<fo:inline font-weight="bold">
													文档号 
													<xsl:value-of select="text()"></xsl:value-of>
												</fo:inline>
											</fo:block>
										</xsl:when>
										<xsl:otherwise>
											<fo:block text-align="center" font-size="10pt" font-family="ZapfDingbats">✓</fo:block>
										</xsl:otherwise>
									</xsl:choose>
								</xsl:when>
								<xsl:otherwise>
									<fo:block text-align="center">
										<fo:inline font-weight="bold">-</fo:inline>
									</fo:block>
									<!--fo:block font-size = "10pt" font-family = "ZapfDingbats">✓</fo:block-->
								</xsl:otherwise>
							</xsl:choose>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdBorderTopLeftData" text-align="center">
							<xsl:choose>
								<xsl:when test="$EASY = '1'">
									<fo:block>
										<fo:inline font-weight="bold">-</fo:inline>
									</fo:block>
								</xsl:when>
								<xsl:otherwise>
									<xsl:choose>
										<xsl:when test="string-length(text()) &gt; 0">
											<fo:block>
												<fo:inline font-weight="bold">
													文档号 
													<xsl:value-of select="text()"></xsl:value-of>
												</fo:inline>
											</fo:block>
										</xsl:when>
										<xsl:otherwise>
											<fo:block font-size="10pt" font-family="ZapfDingbats" text-align="center">✓</fo:block>
										</xsl:otherwise>
									</xsl:choose>
								</xsl:otherwise>
							</xsl:choose>
						</fo:table-cell>
					</fo:table-row>
				</xsl:for-each>
				<xsl:if test=".//cl-lack-of-signature">
					<fo:table-row>
						<fo:table-cell xsl:use-attribute-sets="tdL">
							<fo:block>
								<xsl:text>IX-12</xsl:text>
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdTC">
							<fo:block>
								缺少签字的解释
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdTR" text-align="center">
							<xsl:choose>
								<xsl:when test="$EASY='1'">
									<fo:block font-size="10pt" font-family="ZapfDingbats">✓</fo:block>
								</xsl:when>
								<xsl:otherwise>
									<fo:block>
										<fo:inline font-weight="bold">-</fo:inline>
									</fo:block>
								</xsl:otherwise>
							</xsl:choose>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdBorderTopLeftData" text-align="center">
							<xsl:choose>
								<xsl:when test="$EASY='1'">
									<fo:block>
										<fo:inline font-weight="bold">-</fo:inline>
									</fo:block>
								</xsl:when>
								<xsl:otherwise>
									<fo:block font-size="10pt" font-family="ZapfDingbats">✓</fo:block>
								</xsl:otherwise>
							</xsl:choose>
						</fo:table-cell>
					</fo:table-row>
				</xsl:if>
				<xsl:if test=".//cl-priority-document">
					<fo:table-row>
						<fo:table-cell xsl:use-attribute-sets="tdL">
							<fo:block>
								<xsl:text>IX-13</xsl:text>
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdTC">
							<fo:block>
								优先权文件
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdTR">
							<xsl:choose>
								<xsl:when test="$EASY='1'">
									<fo:block>
										<fo:inline font-weight="bold">
											<xsl:if test=".//cl-priority-document/sequence-number">
												项目 
												<xsl:for-each select=".//cl-priority-document/sequence-number">
													VI-<xsl:value-of select="."></xsl:value-of>
													<xsl:text>
													</xsl:text>
												</xsl:for-each>
											</xsl:if>
										</fo:inline>
									</fo:block>
								</xsl:when>
								<xsl:otherwise>
									<fo:block text-align="center">
										<fo:inline font-weight="bold">-</fo:inline>
									</fo:block>
								</xsl:otherwise>
							</xsl:choose>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdBorderTopLeftData" text-align="center">
							<xsl:choose>
								<xsl:when test="$EASY='1'">
									<fo:block>
										<fo:inline font-weight="bold">-</fo:inline>
									</fo:block>
								</xsl:when>
								<xsl:otherwise>
									<fo:block>
										<fo:inline font-weight="bold">
											<xsl:if test=".//cl-priority-document/sequence-number">
												项目 
												<xsl:for-each select=".//cl-priority-document/sequence-number">
													VI-<xsl:value-of select="."></xsl:value-of>
													<xsl:text>
													</xsl:text>
												</xsl:for-each>
											</xsl:if>
										</fo:inline>
									</fo:block>
								</xsl:otherwise>
							</xsl:choose>
						</fo:table-cell>
					</fo:table-row>
				</xsl:if>
				<xsl:if test=".//cl-restore-rights-reason">
					<fo:table-row>
						<fo:table-cell xsl:use-attribute-sets="tdL">
							<fo:block>
								<xsl:text>IX-13(A)</xsl:text>
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdTC">
							<fo:block>
									恢复优先权的说明
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdTR" text-align="center">
							<xsl:choose>
								<xsl:when test="$EASY='1'">
									<fo:block font-size="10pt" font-family="ZapfDingbats">✓</fo:block>
								</xsl:when>
								<xsl:otherwise>
									<fo:block>
										<fo:inline font-weight="bold">-</fo:inline>
									</fo:block>
								</xsl:otherwise>
							</xsl:choose>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdBorderTopLeftData" text-align="center">
							<xsl:choose>
								<xsl:when test="$EASY='1'">
									<fo:block>
										<fo:inline font-weight="bold">-</fo:inline>
									</fo:block>
								</xsl:when>
								<xsl:otherwise>
									<fo:block font-size="10pt" font-family="ZapfDingbats">✓</fo:block>
								</xsl:otherwise>
							</xsl:choose>
						</fo:table-cell>
					</fo:table-row>
				</xsl:if>
				<xsl:if test=".//cl-translation-of-application">
					<fo:table-row>
						<fo:table-cell xsl:use-attribute-sets="tdL">
							<fo:block>
								<xsl:text>IX-14</xsl:text>
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdTC">
							<fo:block>
								国际申请被译成
								<xsl:text>
								</xsl:text>
								<fo:inline font-weight="bold">
									<xsl:call-template name="language_ChoiceText">
										<xsl:with-param name="lang" select="substring(translate(.//cl-translation-of-application/@lang,'ABCDEFGHIJKLMNOPQRSTUVWXYZ','abcdefghijklmnopqrstuvwxyz'),1,2)"></xsl:with-param>
									</xsl:call-template>
								</fo:inline>
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdTR" text-align="center">
							<xsl:choose>
								<xsl:when test="$EASY='1'">
									<fo:block font-size="10pt" font-family="ZapfDingbats">✓</fo:block>
								</xsl:when>
								<xsl:otherwise>
									<fo:block>
										<fo:inline font-weight="bold">-</fo:inline>
									</fo:block>
								</xsl:otherwise>
							</xsl:choose>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdBorderTopLeftData" text-align="center">
							<xsl:choose>
								<xsl:when test="$EASY='1'">
									<fo:block>
										<fo:inline font-weight="bold">-</fo:inline>
									</fo:block>
								</xsl:when>
								<xsl:otherwise>
									<fo:block font-size="10pt" font-family="ZapfDingbats">✓</fo:block>
								</xsl:otherwise>
							</xsl:choose>
						</fo:table-cell>
					</fo:table-row>
				</xsl:if>
				<xsl:if test=".//cl-biological-material">
					<fo:table-row>
						<fo:table-cell xsl:use-attribute-sets="tdL">
							<fo:block>
								<xsl:text>IX-15</xsl:text>
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdTC">
							<fo:block>
								有关保藏的微生物或其他生物材料的单独说明
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdTR" text-align="center">
							<xsl:choose>
								<xsl:when test="$EASY='1'">
									<fo:block font-size="10pt" font-family="ZapfDingbats">✓</fo:block>
								</xsl:when>
								<xsl:otherwise>
									<fo:block>
										<fo:inline font-weight="bold">-</fo:inline>
									</fo:block>
								</xsl:otherwise>
							</xsl:choose>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdBorderTopLeftData" text-align="center">
							<xsl:choose>
								<xsl:when test="$EASY='1'">
									<fo:block>
										<fo:inline font-weight="bold">-</fo:inline>
									</fo:block>
								</xsl:when>
								<xsl:otherwise>
									<fo:block text-align="center" font-size="10pt" font-family="ZapfDingbats">✓</fo:block>
								</xsl:otherwise>
							</xsl:choose>
						</fo:table-cell>
					</fo:table-row>
				</xsl:if>
				<!-- 20090701 RuleChange
				<xsl:if test = "$seqlist-search != 0 or .//processing-instruction('seqlist-additional') or .//cl-sequence-listing/@for-search-only = 'yes' or .//cl-sequence-listing/@additional-copies-including-search-copy = 'yes' or .//cl-sequence-listing/@with-identity-statement = 'yes'">
					<fo:table-row>
						<fo:table-cell xsl:use-attribute-sets = "tdL">
							<fo:block>
								<xsl:text>IX-16(A)</xsl:text>
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets = "tdTC">
							<xsl:choose>
								<xsl:when test = "$EASY='1'">
									<fo:block>
										<inc file = "commonText.xml" toTranslate = "seqList_Text"/>
									</fo:block>
								</xsl:when>
								<xsl:otherwise>
									<fo:block>
										<inc file = "commonText.xml" toTranslate = "seqListElec_Text"/>
									</fo:block>
								</xsl:otherwise>
							</xsl:choose>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets = "tdTR" text-align = "center">
							<xsl:choose>
								<xsl:when test = "$EASY = '1'">
									<fo:block> </fo:block>
								</xsl:when>
								<xsl:otherwise>
									<fo:block>
										<fo:inline font-weight = "bold">-</fo:inline>
									</fo:block>
								</xsl:otherwise>
							</xsl:choose>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets = "tdBorderTopLeftData" text-align = "center">
							<xsl:choose>
								<xsl:when test = "$EASY = '1'">
									<fo:block> </fo:block>
								</xsl:when>
								<xsl:otherwise>
									<fo:block text-align = "center" font-size = "10pt" font-family = "ZapfDingbats" padding-top = "1pt">✓</fo:block>
								</xsl:otherwise>
							</xsl:choose>
						</fo:table-cell>          
					</fo:table-row>
				</xsl:if>
-->
<!-- bug fix 20170928: When there are two SLs IX16 appear even though those SL are submitted as a part of IAs.
				<xsl:if test="$seqlist-search != 0 or .//cl-sequence-listing/@for-search-only = 'yes' or .//cl-sequence-listing/@quantity = '2'">
-->
				<xsl:if test="$seqlist-search != 0 or .//cl-sequence-listing/@for-search-only = 'yes'">
					<!-- 20090701 RuleChange
					<xsl:choose>
						<xsl:when test = "$EASY='1'">
-->
					<fo:table-row>
						<fo:table-cell xsl:use-attribute-sets="tdL">
							<fo:block>
								<xsl:text>IX-16</xsl:text>
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdTC">
							<!-- 20090701 RuleChange
									<fo:block start-indent = "3mm">
										<inc file = "commonText.xml" toTranslate = "seqlistSearchOnly_Text"/>
									</fo:block>
-->
							<xsl:choose>
								<xsl:when test=".//cl-sequence-listing/@for-search-only = 'yes'">
									<fo:block>
										根据细则13之三，仅为国际检索的目的提交的电子形式序列表(附件C/ST.25 文本文件)
									</fo:block>
								</xsl:when>
								<xsl:otherwise>
									<fo:block>
										根据细则13之三，为国际检索的目的提交的序列表
									</fo:block>
								</xsl:otherwise>
							</xsl:choose>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdTR" text-align="center">
							<fo:block>
								<fo:inline font-weight="bold">-</fo:inline>
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdBorderTopLeftData" text-align="center">
							<xsl:choose>
								<!-- 20090701 RuleChange
										<xsl:when test="$seqlist-search = '0'">
-->
								<xsl:when test=".//cl-sequence-listing[@carriers-type] and $EASY = '1' and .//cl-sequence-listing/@carriers = 'external-electronic' and (.//cl-sequence-listing[@page-count] or .//cl-sequence-listing/@for-search-only = 'yes')">
									<fo:block>
										<fo:inline font-weight="bold">
											<xsl:call-template name="carriersInfo_ChoiceText">
												<xsl:with-param name="carriers_type" select=".//cl-sequence-listing/@carriers-type"></xsl:with-param>
												<xsl:with-param name="carriers_quantity" select=".//cl-sequence-listing/@carriers-quantity"></xsl:with-param>
											</xsl:call-template>
										</fo:inline>
									</fo:block>
								</xsl:when>
								<xsl:when test="$seqlist-search = '0' or $seqlist-search = ''">
									<fo:block text-align="center" font-size="10pt" font-family="ZapfDingbats" padding-top="1pt">✓</fo:block>
								</xsl:when>
								<xsl:otherwise>
									<fo:block>
										<fo:inline font-weight="bold">
											<xsl:value-of select="$seqlist-search"></xsl:value-of>
										</fo:inline>
									</fo:block>
								</xsl:otherwise>
							</xsl:choose>
						</fo:table-cell>
					</fo:table-row>
					<!-- 20090701 RuleChange
						</xsl:when>
						<xsl:otherwise/>
					</xsl:choose>
-->
				</xsl:if>
				<xsl:if test=".//processing-instruction('seqlist-additional') or .//cl-sequence-listing/@additional-copies-including-search-copy = 'yes'">
					<xsl:choose>
						<xsl:when test="$EASY='1'">
							<fo:table-row>
								<fo:table-cell xsl:use-attribute-sets="tdL">
									<fo:block>
										<xsl:text>IX-16(A)-(ii)</xsl:text>
									</fo:block>
								</fo:table-cell>
								<fo:table-cell xsl:use-attribute-sets="tdTC">
									<fo:block start-indent="3mm">
										副本中包括(适用时)按细则13之三用于国际检索的副本
									</fo:block>
								</fo:table-cell>
								<fo:table-cell xsl:use-attribute-sets="tdTR" text-align="center">
									<fo:block>
										<fo:inline font-weight="bold">-</fo:inline>
									</fo:block>
								</fo:table-cell>
								<fo:table-cell xsl:use-attribute-sets="tdBorderTopLeftData" text-align="center">
									<xsl:choose>
										<xsl:when test=".//processing-instruction('seqlist-additional')">
											<fo:block>
												<fo:inline font-weight="bold">
													<xsl:value-of select=".//processing-instruction('seqlist-additional')"></xsl:value-of>
												</fo:inline>
											</fo:block>
										</xsl:when>
										<xsl:otherwise>
											<fo:block text-align="center" font-size="10pt" font-family="ZapfDingbats" padding-top="1pt">✓</fo:block>
										</xsl:otherwise>
									</xsl:choose>
								</fo:table-cell>
							</fo:table-row>
						</xsl:when>
						<xsl:otherwise></xsl:otherwise>
					</xsl:choose>
				</xsl:if>
				<xsl:if test=".//cl-sequence-listing/@with-identity-statement = 'yes'">
					<xsl:choose>
						<xsl:when test="$EASY='1'">
							<fo:table-row>
								<fo:table-cell xsl:use-attribute-sets="tdL">
									<fo:block>
										<xsl:text>IX-16(A)-(iii)</xsl:text>
									</fo:block>
								</fo:table-cell>
								<fo:table-cell xsl:use-attribute-sets="tdTC">
									<fo:block start-indent="3mm">
										the information recorded in electronic form is identical to the sequence listing as contained in the application
									</fo:block>
								</fo:table-cell>
								<fo:table-cell xsl:use-attribute-sets="tdTR" text-align="center">
									<fo:block>
										<fo:inline font-weight="bold">-</fo:inline>
									</fo:block>
								</fo:table-cell>
								<fo:table-cell xsl:use-attribute-sets="tdBorderTopLeftData" text-align="center">
									<fo:block text-align="center" font-size="10pt" font-family="ZapfDingbats" padding-top="1pt">✓</fo:block>
								</fo:table-cell>
							</fo:table-row>
						</xsl:when>
						<xsl:otherwise></xsl:otherwise>
					</xsl:choose>
				</xsl:if>
				<xsl:if test="$seqtab-search != 0 or .//processing-instruction('seqtab-additional')">
					<fo:table-row>
						<fo:table-cell xsl:use-attribute-sets="tdL">
							<fo:block>
								<xsl:text>IX-16(B)</xsl:text>
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdTC">
							<xsl:choose>
								<xsl:when test="$EASY='1'">
									<fo:block>
										根据行政规程802（b之四）供国际检索之用提交的与序列表相关的表格
									</fo:block>
								</xsl:when>
								<xsl:otherwise>
									<fo:block>
										与 IX-16(A)项下提交的序列表 相关的表格
									</fo:block>
								</xsl:otherwise>
							</xsl:choose>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdTR" text-align="center">
							<xsl:choose>
								<xsl:when test="$EASY = '1'">
									<fo:block> </fo:block>
								</xsl:when>
								<xsl:otherwise>
									<fo:block>
										<fo:inline font-weight="bold">-</fo:inline>
									</fo:block>
								</xsl:otherwise>
							</xsl:choose>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdBorderTopLeftData" text-align="center">
							<xsl:choose>
								<xsl:when test="$EASY = '1'">
									<fo:block> </fo:block>
								</xsl:when>
								<xsl:otherwise>
									<fo:block text-align="center" font-size="10pt" font-family="ZapfDingbats" padding-top="1pt">✓</fo:block>
								</xsl:otherwise>
							</xsl:choose>
						</fo:table-cell>
					</fo:table-row>
				</xsl:if>
				<xsl:if test="$seqtab-search != 0">
					<xsl:choose>
						<xsl:when test="$EASY='1'">
							<fo:table-row>
								<fo:table-cell xsl:use-attribute-sets="tdL">
									<fo:block>
										<xsl:text>IX-16(B)-(i)</xsl:text>
									</fo:block>
								</fo:table-cell>
								<fo:table-cell xsl:use-attribute-sets="tdTC">
									<fo:block start-indent="3mm">
										按细则13之三仅供国际检索之用(不是国际申请的一部分)的副本
									</fo:block>
								</fo:table-cell>
								<fo:table-cell xsl:use-attribute-sets="tdTR" text-align="center">
									<fo:block>
										<fo:inline font-weight="bold">-</fo:inline>
									</fo:block>
								</fo:table-cell>
								<fo:table-cell xsl:use-attribute-sets="tdBorderTopLeftData" text-align="center">
									<fo:block>
										<fo:inline font-weight="bold">
											<xsl:value-of select="$seqtab-search"></xsl:value-of>
										</fo:inline>
									</fo:block>
								</fo:table-cell>
							</fo:table-row>
						</xsl:when>
						<xsl:otherwise></xsl:otherwise>
					</xsl:choose>
				</xsl:if>
				<xsl:if test=".//processing-instruction('seqtab-additional')">
					<xsl:choose>
						<xsl:when test="$EASY='1'">
							<fo:table-row>
								<fo:table-cell xsl:use-attribute-sets="tdL">
									<fo:block>
										<xsl:text>IX-16(B)-(ii)</xsl:text>
									</fo:block>
								</fo:table-cell>
								<fo:table-cell xsl:use-attribute-sets="tdTC">
									<fo:block start-indent="3mm">
										副本中包括(适用时)按细则13之三用于国际检索的副本
									</fo:block>
								</fo:table-cell>
								<fo:table-cell xsl:use-attribute-sets="tdTR" text-align="center">
									<fo:block>
										<fo:inline font-weight="bold">-</fo:inline>
									</fo:block>
								</fo:table-cell>
								<fo:table-cell xsl:use-attribute-sets="tdBorderTopLeftData" text-align="center">
									<fo:block>
										<fo:inline font-weight="bold">
											<xsl:value-of select=".//processing-instruction('seqtab-additional')"></xsl:value-of>
										</fo:inline>
									</fo:block>
								</fo:table-cell>
							</fo:table-row>
						</xsl:when>
						<xsl:otherwise></xsl:otherwise>
					</xsl:choose>
				</xsl:if>
				<xsl:if test=".//cl-earlier-search-document">
					<fo:table-row>
						<fo:table-cell xsl:use-attribute-sets="tdL">
							<fo:block>
								<xsl:text>IX-17</xsl:text>
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdTC">
							<fo:block>
								在先检索结果的副本
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdTR" text-align="center">
							<xsl:choose>
								<xsl:when test="$EASY = '1'">
									<fo:block text-align="center" font-size="10pt" font-family="ZapfDingbats" padding-top="1pt">✓</fo:block>
								</xsl:when>
								<xsl:otherwise>
									<fo:block>
										<fo:inline font-weight="bold">-</fo:inline>
									</fo:block>
								</xsl:otherwise>
							</xsl:choose>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdBorderTopLeftData" text-align="center">
							<xsl:choose>
								<xsl:when test="$EASY = '1'">
									<fo:block>
										<fo:inline font-weight="bold">-</fo:inline>
									</fo:block>
								</xsl:when>
								<xsl:otherwise>
									<fo:block text-align="center" font-size="10pt" font-family="ZapfDingbats" padding-top="1pt">✓</fo:block>
								</xsl:otherwise>
							</xsl:choose>
						</fo:table-cell>
					</fo:table-row>
				</xsl:if>
				<xsl:if test="$EFSWEB != '1' and $EASY='1'">
					<fo:table-row>
						<fo:table-cell xsl:use-attribute-sets="tdL">
							<fo:block>
								<xsl:text>IX-18</xsl:text>
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdTBC">
							<fo:block>
								PCT-SAFE 物理载体
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdTBR" text-align="center">
							<fo:block>
								<fo:inline font-weight="bold">-</fo:inline>
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdBorderTopBottomLeftData" text-align="center">
							<xsl:choose>
								<xsl:when test="$EASY='1'">
									<fo:block font-size="10pt" font-family="ZapfDingbats">✓</fo:block>
								</xsl:when>
								<xsl:otherwise>
									<fo:block text-align="center">
										<fo:inline font-weight="bold">-
											<!--xsl:value-of select = "$physical_media"/-->
										</fo:inline>
									</fo:block>
								</xsl:otherwise>
							</xsl:choose>
						</fo:table-cell>
					</fo:table-row>
				</xsl:if>
				<xsl:if test=".//cl-sequence-listing and .//cl-sequence-listing/@with-identifying-statement = 'yes'">
					<fo:table-row>
						<fo:table-cell xsl:use-attribute-sets="tdL">
							<fo:block>
								<xsl:text>IX-19</xsl:text>
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdTC">
							<fo:block>
								确认“根据细则13之三提交的以电子形式记录的信息与包含在国际申请中以纸件提交的序列表相同” 的声明
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdTR" text-align="center">
							<xsl:choose>
								<xsl:when test="$EASY = '1'">
									<fo:block font-size="10pt" font-family="ZapfDingbats" padding-top="1pt">✓</fo:block>
								</xsl:when>
								<xsl:otherwise>
									<fo:block>
										<fo:inline font-weight="bold">-</fo:inline>
									</fo:block>
								</xsl:otherwise>
							</xsl:choose>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdBorderTopLeftData" text-align="center">
							<xsl:choose>
								<xsl:when test="$EASY = '1'">
									<fo:block>
										<fo:inline font-weight="bold">-</fo:inline>
									</fo:block>
								</xsl:when>
								<xsl:otherwise>
									<fo:block font-size="10pt" font-family="ZapfDingbats" padding-top="1pt">✓</fo:block>
								</xsl:otherwise>
							</xsl:choose>
						</fo:table-cell>
					</fo:table-row>
				</xsl:if>
				<xsl:for-each select=".//cl-other-document">
					<fo:table-row>
						<fo:table-cell xsl:use-attribute-sets="tdL">
							<fo:block>
								<xsl:text>IX-19</xsl:text>
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdTBC">
							<fo:block>
								其他
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdTBR">
							<fo:block>
								<fo:inline font-weight="bold">
									<xsl:value-of select="."></xsl:value-of>
								</fo:inline>
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdBorderTopBottomLeftData" text-align="center">
							<fo:block>
							<xsl:if test="not($EASY = '1')">
								<fo:block font-size="10pt" font-family="ZapfDingbats">✓</fo:block>
							</xsl:if>
							</fo:block>
						</fo:table-cell>
					</fo:table-row>
				</xsl:for-each>
				<fo:table-row>
					<fo:table-cell xsl:use-attribute-sets="tdTL">
						<fo:block>
							<fo:inline font-weight="bold">
								<xsl:text>IX-20</xsl:text>
							</fo:inline>
						</fo:block>
					</fo:table-cell>
					<fo:table-cell xsl:use-attribute-sets="tdTC">
						<fo:block>
							<fo:inline font-weight="bold">
								应与摘要一起公布的附图图号
							</fo:inline>
						</fo:block>
					</fo:table-cell>
					<fo:table-cell xsl:use-attribute-sets="tdTR" number-columns-spanned="2">
						<fo:block>
							<fo:inline font-weight="bold">
								<xsl:value-of select="./figure-to-publish/fig-number"></xsl:value-of>
							</fo:inline>
						</fo:block>
					</fo:table-cell>
				</fo:table-row>
				<fo:table-row>
					<fo:table-cell xsl:use-attribute-sets="tdTBL">
						<fo:block>
							<fo:inline font-weight="bold">
								<xsl:text>IX-21</xsl:text>
							</fo:inline>
						</fo:block>
					</fo:table-cell>
					<fo:table-cell xsl:use-attribute-sets="tdTBC">
						<fo:block>
							<fo:inline font-weight="bold">
								国际申请所用语言
							</fo:inline>
						</fo:block>
					</fo:table-cell>
					<fo:table-cell xsl:use-attribute-sets="tdTBR" number-columns-spanned="2">
						<fo:block>
							<fo:inline font-weight="bold">
								<xsl:call-template name="language_ChoiceText">
									<xsl:with-param name="lang" select="substring(translate(./language-of-filing,'ABCDEFGHIJKLMNOPQRSTUVWXYZ','abcdefghijklmnopqrstuvwxyz'),1,2)"></xsl:with-param>
								</xsl:call-template>
							</fo:inline>
						</fo:block>
					</fo:table-cell>
				</fo:table-row>
				<xsl:if test="./store-in-digital-library">
					<fo:table-row>
						<fo:table-cell xsl:use-attribute-sets="tdTBL">
							<fo:block>
								<fo:inline font-weight="bold">
									<xsl:text>IX-22</xsl:text>
								</fo:inline>
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdTBC">
							<fo:block>
								<fo:inline font-weight="bold">
									请受理局让优先权文件数字查询服务 (DAS) 获得此国际申请（如果此据称为的国际申请已被给予国际申请号和国际申请日）。
								</fo:inline>
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdTBR" number-columns-spanned="2">
							<fo:block>
								<fo:inline font-weight="bold">
									是
								</fo:inline>
							</fo:block>
						</fo:table-cell>
					</fo:table-row>
				</xsl:if>
			</fo:table-body>
		</fo:table>
		<xsl:if test=".//signatory">
			<xsl:for-each select=".//signatory">
				<xsl:call-template name="signatory">
					<xsl:with-param name="sig_seq" select="position()"></xsl:with-param>
					<xsl:with-param name="box">X</xsl:with-param>
				</xsl:call-template>
			</xsl:for-each>
			<xsl:if test="not($officeUse='1')">
				<xsl:call-template name="office_info"></xsl:call-template>
			</xsl:if>
		</xsl:if>
	</xsl:template><xsl:template name="office_info">
		<fo:table table-layout="fixed" border-collapse="separate" keep-together.within-page="always" space-before="5mm">
			<fo:table-column column-width="12mm"></fo:table-column>
			<fo:table-column column-width="53mm"></fo:table-column>
			<fo:table-column column-width="105mm"></fo:table-column>
			<fo:table-body>
				<fo:table-row>
					<fo:table-cell font-size="10pt" vertical-align="top" padding="1.5pt" number-columns-spanned="3" space-before="5mm" padding-top="4mm" padding-bottom="4mm">
						<fo:block text-align="center">
							<fo:inline font-weight="bold">
								由受理局填写
							</fo:inline>
						</fo:block>
					</fo:table-cell>
				</fo:table-row>
				<fo:table-row>
					<fo:table-cell xsl:use-attribute-sets="tdTL">
						<fo:block>
							<fo:inline font-weight="bold">
								<xsl:text>10-1</xsl:text>
							</fo:inline>
						</fo:block>
					</fo:table-cell>
					<fo:table-cell xsl:use-attribute-sets="tdTC">
						<fo:block padding-bottom="5mm">
							<fo:inline font-weight="bold">
								据称的国际申请文件的实际收到日期
							</fo:inline>
						</fo:block>
					</fo:table-cell>
					<fo:table-cell xsl:use-attribute-sets="tdTR">
						<fo:block>
							<xsl:if test="document($rrri_doc)//date-of-actual-receipt/date">
								<fo:inline font-weight="bold">
									<xsl:call-template name="format_date">
										<xsl:with-param name="date" select="document($rrri_doc)//date-of-actual-receipt/date"></xsl:with-param>
										<xsl:with-param name="lang" select="$lang"></xsl:with-param>
										<xsl:with-param name="show_date" select="1"></xsl:with-param>
										<xsl:with-param name="text" select="1"></xsl:with-param>
										<xsl:with-param name="date_too" select="1"></xsl:with-param>
									</xsl:call-template>
								</fo:inline>
							</xsl:if>
						</fo:block>
					</fo:table-cell>
				</fo:table-row>
				<fo:table-row>
					<fo:table-cell xsl:use-attribute-sets="tdTL">
						<fo:block>
							<fo:inline font-weight="bold">
								<xsl:text>10-2</xsl:text>
							</fo:inline>
						</fo:block>
						<fo:block padding-before="1.5mm">
							<xsl:text>10-2-1</xsl:text>
						</fo:block>
						<fo:block padding-before="1.5mm">
							<xsl:text>10-2-2</xsl:text>
						</fo:block>
					</fo:table-cell>
					<fo:table-cell xsl:use-attribute-sets="tdTC">
						<fo:block>
							<fo:inline font-weight="bold">
								附图:
							</fo:inline>
						</fo:block>
						<fo:block padding-before="1.5mm">
							收到
						</fo:block>
						<fo:block padding-before="1.5mm">
							未收到
						</fo:block>
					</fo:table-cell>
					<fo:table-cell xsl:use-attribute-sets="tdBorderTop">
						<fo:block>
						<xsl:if test="document($rrri_doc)//drawings-not-received">
							<fo:block text-align="left" font-size="10pt" font-family="ZapfDingbats" padding-before="9mm">✓</fo:block>
						</xsl:if>
						</fo:block>
					</fo:table-cell>
				</fo:table-row>
				<fo:table-row>
					<fo:table-cell xsl:use-attribute-sets="tdTL">
						<fo:block>
							<fo:inline font-weight="bold">
								<xsl:text>10-3</xsl:text>
							</fo:inline>
						</fo:block>
					</fo:table-cell>
					<fo:table-cell xsl:use-attribute-sets="tdTC">
						<fo:block>
							<fo:inline font-weight="bold">
								由于随后在期限内收到补充国际申请的文件或附图,更改的实际收到日期
							</fo:inline>
						</fo:block>
					</fo:table-cell>
					<fo:table-cell xsl:use-attribute-sets="tdTR">
						<fo:block>
							<xsl:if test="document($rrri_doc)//corrected-date-receipt/date">
								<fo:inline font-weight="bold">
									<xsl:call-template name="format_date">
										<xsl:with-param name="date" select="document($rrri_doc)//corrected-date-receipt/date"></xsl:with-param>
										<xsl:with-param name="lang" select="$lang"></xsl:with-param>
										<xsl:with-param name="show_date" select="1"></xsl:with-param>
										<xsl:with-param name="text" select="1"></xsl:with-param>
										<xsl:with-param name="date_too" select="1"></xsl:with-param>
									</xsl:call-template>
								</fo:inline>
							</xsl:if>
						</fo:block>
					</fo:table-cell>
				</fo:table-row>
				<fo:table-row>
					<fo:table-cell xsl:use-attribute-sets="tdTL">
						<fo:block>
							<fo:inline font-weight="bold">
								<xsl:text>10-4</xsl:text>
							</fo:inline>
						</fo:block>
					</fo:table-cell>
					<fo:table-cell xsl:use-attribute-sets="tdTC">
						<fo:block>
							<fo:inline font-weight="bold">
								在期限内收到根据PCT第11(2)条所进行的改正的日期
							</fo:inline>
						</fo:block>
					</fo:table-cell>
					<fo:table-cell xsl:use-attribute-sets="tdTR">
						<fo:block>
							<xsl:if test="document($rrri_doc)//receipt-pct11-2/date">
								<fo:inline font-weight="bold">
									<xsl:call-template name="format_date">
										<xsl:with-param name="date" select="document($rrri_doc)//receipt-pct11-2/date"></xsl:with-param>
										<xsl:with-param name="lang" select="$lang"></xsl:with-param>
										<xsl:with-param name="show_date" select="1"></xsl:with-param>
										<xsl:with-param name="text" select="1"></xsl:with-param>
										<xsl:with-param name="date_too" select="1"></xsl:with-param>
									</xsl:call-template>
								</fo:inline>
							</xsl:if>
						</fo:block>
					</fo:table-cell>
				</fo:table-row>
				<fo:table-row>
					<fo:table-cell xsl:use-attribute-sets="tdTL">
						<fo:block>
							<fo:inline font-weight="bold">
								<xsl:text>10-5</xsl:text>
							</fo:inline>
						</fo:block>
					</fo:table-cell>
					<fo:table-cell xsl:use-attribute-sets="tdTC">
						<fo:block>
							<fo:inline font-weight="bold">
								国际检索单位
							</fo:inline>
						</fo:block>
					</fo:table-cell>
					<fo:table-cell xsl:use-attribute-sets="tdTR">
						<fo:block padding-top="1pt">
							<fo:inline font-weight="bold">                ISA/<xsl:call-template name="uppercaser">
									<xsl:with-param name="string" select=".//isa/country"></xsl:with-param>
								</xsl:call-template>
							</fo:inline>
						</fo:block>
					</fo:table-cell>
				</fo:table-row>
				<fo:table-row>
					<fo:table-cell xsl:use-attribute-sets="tdTBL">
						<fo:block>
							<fo:inline font-weight="bold">
								<xsl:text>10-6</xsl:text>
							</fo:inline>
						</fo:block>
					</fo:table-cell>
					<fo:table-cell xsl:use-attribute-sets="tdTBC">
						<fo:block>
							<fo:inline font-weight="bold">
								检索本的传送推迟到缴纳检索费后
							</fo:inline>
						</fo:block>
					</fo:table-cell>
					<fo:table-cell xsl:use-attribute-sets="tdTB">
					<fo:block>
						<xsl:if test="document($rrri_doc)//search-copy-delayed">
							<fo:block text-align="left" font-size="10pt" font-family="ZapfDingbats" padding-top="1pt">✓</fo:block>
						</xsl:if>
					</fo:block>
					</fo:table-cell>
				</fo:table-row>
			</fo:table-body>
		</fo:table>
		<fo:table table-layout="fixed" border-collapse="separate" keep-together.within-page="always">
			<fo:table-column column-width="12mm"></fo:table-column>
			<fo:table-column column-width="53mm"></fo:table-column>
			<fo:table-column column-width="105mm"></fo:table-column>
			<fo:table-body>
				<fo:table-row>
					<fo:table-cell font-size="10pt" vertical-align="top" padding="1.5pt" number-columns-spanned="3" padding-top="4mm" padding-bottom="4mm">
						<fo:block text-align="center">
							<fo:inline font-weight="bold">
								由国际局填写
							</fo:inline>
						</fo:block>
					</fo:table-cell>
				</fo:table-row>
				<fo:table-row>
					<fo:table-cell xsl:use-attribute-sets="tdTBL">
						<fo:block>
							<fo:inline font-weight="bold">11-1</fo:inline>
						</fo:block>
					</fo:table-cell>
					<fo:table-cell xsl:use-attribute-sets="tdTBC">
						<fo:block>
							<fo:inline font-weight="bold">
								国际局收到登记本的日期
							</fo:inline>
						</fo:block>
					</fo:table-cell>
					<fo:table-cell xsl:use-attribute-sets="tdTBR" padding="4mm">
						<fo:block>
							<xsl:text>
							</xsl:text>
						</fo:block>
					</fo:table-cell>
				</fo:table-row>
			</fo:table-body>
		</fo:table>
	</xsl:template><xsl:template name="priority_claims">
		<xsl:for-each select=".//priority-claim">
			<xsl:variable name="prio_claims_seq" select="position()"></xsl:variable>
			<fo:table table-layout="fixed" border-collapse="separate" keep-together.within-page="always">
				<fo:table-column column-width="12mm"></fo:table-column>
				<fo:table-column column-width="53mm"></fo:table-column>
				<fo:table-column column-width="105mm"></fo:table-column>
				<fo:table-body>
					<fo:table-row>
						<fo:table-cell xsl:use-attribute-sets="tdTL">
							<fo:block>
								<fo:inline font-weight="bold">VI-<xsl:value-of select="$prio_claims_seq"></xsl:value-of>
								</fo:inline>
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdTC">
							<fo:block>
								<fo:inline font-weight="bold">
									<xsl:choose>
										<xsl:when test="@kind='regional'">
											要求在先地区申请的优先权
										</xsl:when>
										<xsl:when test="@kind='national'">
											要求在先国家申请的优先权
										</xsl:when>
										<xsl:when test="@kind='international'">
											要求在先国际申请的优先权
										</xsl:when>
									</xsl:choose>
								</fo:inline>
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdBorderTop">
							<fo:block></fo:block>
						</fo:table-cell>
					</fo:table-row>
					<fo:table-row>
						<fo:table-cell xsl:use-attribute-sets="tdL">
							<fo:block>VI-<xsl:value-of select="$prio_claims_seq"></xsl:value-of>-1</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdC">
							<fo:block>
								申请日
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdR">
							<fo:block padding-top="1pt">
								<fo:inline font-weight="bold">
									<xsl:call-template name="format_date">
										<xsl:with-param name="date" select="normalize-space(date)"></xsl:with-param>
										<xsl:with-param name="show_date" select="1"></xsl:with-param>
										<xsl:with-param name="text" select="1"></xsl:with-param>
										<xsl:with-param name="lang" select="substring(translate(//request/@lang,'ABCDEFGHIJKLMNOPQRSTUVWXYZ','abcdefghijklmnopqrstuvwxyz'),1,2)"></xsl:with-param>
										<xsl:with-param name="date_too" select="1"></xsl:with-param>
									</xsl:call-template>
								</fo:inline>
							</fo:block>
						</fo:table-cell>
					</fo:table-row>
					<xsl:if test=".//doc-number">
						<fo:table-row>
							<fo:table-cell xsl:use-attribute-sets="tdL">
								<fo:block>VI-<xsl:value-of select="$prio_claims_seq"></xsl:value-of>-2</fo:block>
							</fo:table-cell>
							<fo:table-cell xsl:use-attribute-sets="tdC">
								<fo:block>
									号码
								</fo:block>
							</fo:table-cell>
							<fo:table-cell xsl:use-attribute-sets="tdR">
								<fo:block padding-top="1pt">
									<fo:inline font-weight="bold">
										<xsl:value-of select=".//doc-number"></xsl:value-of>
									</fo:inline>
								</fo:block>
							</fo:table-cell>
						</fo:table-row>
					</xsl:if>
					<fo:table-row>
						<fo:table-cell xsl:use-attribute-sets="tdL">
							<fo:block>VI-<xsl:value-of select="$prio_claims_seq"></xsl:value-of>-3</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdC">
							<fo:block>
								<xsl:choose>
									<xsl:when test="@kind='international'">
										PCT受理局
									</xsl:when>
									<xsl:when test="@kind='national'">
										国家或WTO成员
									</xsl:when>
									<xsl:when test="@kind='regional'">
										地区专利局 
									</xsl:when>
								</xsl:choose>
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdR">
							<fo:block padding-top="1pt">
								<fo:inline font-weight="bold">
									<xsl:if test="$lang='ja' or $lang='zh' or $lang='ru'">
										<xsl:call-template name="country_ChoiceText">
											<xsl:with-param name="country" select=".//country"></xsl:with-param>
										</xsl:call-template>
									</xsl:if>
									<xsl:value-of select=".//country"></xsl:value-of>
								</fo:inline>
							</fo:block>
						</fo:table-cell>
					</fo:table-row>
					<xsl:if test="./office-of-filing">
						<fo:table-row>
							<fo:table-cell xsl:use-attribute-sets="tdL">
								<fo:block>VI-<xsl:value-of select="$prio_claims_seq"></xsl:value-of>-4</fo:block>
							</fo:table-cell>
							<fo:table-cell xsl:use-attribute-sets="tdC">
								<fo:block>
									在先申请在其提交的保护工业产权巴黎公约成员国或世界贸易组织成员
								</fo:block>
							</fo:table-cell>
							<fo:table-cell xsl:use-attribute-sets="tdR">
								<fo:block padding-top="1pt">
									<fo:inline font-weight="bold">
										<xsl:call-template name="uppercaser">
											<xsl:with-param name="string" select="./office-of-filing//country"></xsl:with-param>
										</xsl:call-template>
									</fo:inline>
								</fo:block>
							</fo:table-cell>
						</fo:table-row>
					</xsl:if>
					<xsl:if test=".//restore-rights">
						<fo:table-row>
							<fo:table-cell xsl:use-attribute-sets="tdL">
								<fo:block>VI-<xsl:value-of select="$prio_claims_seq"></xsl:value-of>-5</fo:block>
							</fo:table-cell>
							<fo:table-cell xsl:use-attribute-sets="tdC">
								<fo:block>
									恢复优先权
								</fo:block>
							</fo:table-cell>
							<fo:table-cell xsl:use-attribute-sets="tdR">
								<fo:block padding-top="1pt">
									<fo:inline font-weight="bold">
										要求受理局恢复优先权
									</fo:inline>
								</fo:block>
							</fo:table-cell>
						</fo:table-row>
					</xsl:if>
					<fo:table-row>
						<fo:table-cell border-top="solid black 0.5pt" number-columns-spanned="3">
							<fo:block></fo:block>
						</fo:table-cell>
					</fo:table-row>
				</fo:table-body>
			</fo:table>
		</xsl:for-each>
		<xsl:if test=".//priority-doc-from-library[@action-by='IB']">
			<fo:table table-layout="fixed" border-collapse="separate" keep-together.within-page="always">
				<fo:table-column column-width="12mm"></fo:table-column>
				<fo:table-column column-width="53mm"></fo:table-column>
				<fo:table-column column-width="105mm"></fo:table-column>
				<fo:table-body>
					<fo:table-row>
						<fo:table-cell xsl:use-attribute-sets="tdTBL">
							<fo:block>
								<fo:inline font-weight="bold">VI-<xsl:value-of select="count(.//priority-claim) + 1"></xsl:value-of>
								</fo:inline>
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdTBC">
							<fo:block>
								<fo:inline font-weight="bold">
									优先权文件请求
								</fo:inline>
							</fo:block>
							<fo:block padding-before="2mm">
								请国际局从数字图书馆获取上面指明的在先申请的证明副本，查询码为：
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdTBR">
							<fo:block padding-before="6mm">
								<xsl:for-each select=".//priority-doc-from-library[@action-by='IB']">
									<fo:block font-weight="bold">
										VI-<xsl:value-of select="parent::priority-claim/@sequence"></xsl:value-of>
										<xsl:if test="./@priority-doc-access-code">
											查询码: 
											<xsl:value-of select="./@priority-doc-access-code"></xsl:value-of>
										</xsl:if>
									</fo:block>
								</xsl:for-each>
							</fo:block>
						</fo:table-cell>
					</fo:table-row>
				</fo:table-body>
			</fo:table>
		</xsl:if>
		<xsl:if test=".//priority-doc-from-library[@action-by='RO']">
			<fo:table table-layout="fixed" border-collapse="separate" keep-together.within-page="always">
				<fo:table-column column-width="12mm"></fo:table-column>
				<fo:table-column column-width="53mm"></fo:table-column>
				<fo:table-column column-width="105mm"></fo:table-column>
				<fo:table-body>
					<fo:table-row>
						<fo:table-cell xsl:use-attribute-sets="tdTBL">
							<fo:block>
								<xsl:if test=".//priority-doc-from-library[@action-by='IB']">
									<fo:inline font-weight="bold">VI-<xsl:value-of select="count(.//priority-claim) + 2"></xsl:value-of>
									</fo:inline>
								</xsl:if>
								<xsl:if test="not(.//priority-doc-from-library[@action-by='IB'])">
									<fo:inline font-weight="bold">VI-<xsl:value-of select="count(.//priority-claim) + 1"></xsl:value-of>
									</fo:inline>
								</xsl:if>
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdTBC">
							<fo:block>
								<fo:inline font-weight="bold">
									优先权文件请求
								</fo:inline>
							</fo:block>
							<fo:block padding-before="2mm">
								请受理局从数字图书馆获取并向国际局传送上面指明的标号如下的在先申请的证明副本：
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdTBR">
							<fo:block padding-before="6mm">
								<xsl:for-each select=".//priority-doc-from-library[@action-by='RO']">
									<fo:block font-weight="bold">
										VI-<xsl:value-of select="parent::priority-claim/@sequence"></xsl:value-of>
										<xsl:if test="./@priority-doc-access-code">
											查询码: 
											<xsl:value-of select="./@priority-doc-access-code"></xsl:value-of>
										</xsl:if>
									</fo:block>
								</xsl:for-each>
							</fo:block>
						</fo:table-cell>
					</fo:table-row>
				</fo:table-body>
			</fo:table>
		</xsl:if>
		<xsl:if test=".//priority-doc-requested">
			<fo:table table-layout="fixed" border-collapse="separate" keep-together.within-page="always">
				<fo:table-column column-width="12mm"></fo:table-column>
				<fo:table-column column-width="53mm"></fo:table-column>
				<fo:table-column column-width="105mm"></fo:table-column>
				<fo:table-body>
					<fo:table-row>
						<fo:table-cell xsl:use-attribute-sets="tdTBL">
							<fo:block>
								<xsl:choose>
									<xsl:when test="not(.//priority-doc-from-library)">
										<fo:inline font-weight="bold">VI-<xsl:value-of select="count(.//priority-claim) + 1"></xsl:value-of>
										</fo:inline>
									</xsl:when>
									<xsl:when test="(.//priority-doc-from-library[@action-by='IB']) and (.//priority-doc-from-library[@action-by='RO'])">
										<fo:inline font-weight="bold">VI-<xsl:value-of select="count(.//priority-claim) + 3"></xsl:value-of>
										</fo:inline>
									</xsl:when>
									<xsl:otherwise>
										<fo:inline font-weight="bold">VI-<xsl:value-of select="count(.//priority-claim) + 2"></xsl:value-of>
										</fo:inline>
									</xsl:otherwise>
								</xsl:choose>
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdTBC">
							<fo:block>
								<fo:inline font-weight="bold">
									优先权文件请求
								</fo:inline>
							</fo:block>
							<fo:block padding-before="2mm">
								请受理局准备并向国际局送交上述在先申请中标号如下的在先申请的证明副本:
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdTBR">
							<fo:block padding-before="6mm">
								<xsl:for-each select=".//priority-doc-requested">
									<fo:block font-weight="bold">
										VI-<xsl:value-of select="parent::priority-claim/@sequence"></xsl:value-of>
									</fo:block>
								</xsl:for-each>
							</fo:block>
						</fo:table-cell>
					</fo:table-row>
				</fo:table-body>
			</fo:table>
		</xsl:if>
		<xsl:if test=".//incorporation-by-reference">
			<fo:table table-layout="fixed" border-collapse="separate" keep-together.within-page="always">
				<fo:table-column column-width="12mm"></fo:table-column>
				<fo:table-column column-width="53mm"></fo:table-column>
				<fo:table-column column-width="105mm"></fo:table-column>
				<fo:table-body>
					<fo:table-row>
						<fo:table-cell xsl:use-attribute-sets="tdTBL">
							<fo:block>
								<xsl:if test=".//priority-doc-requested">
									<xsl:choose>
										<xsl:when test="not(.//priority-doc-from-library)">
											<fo:inline font-weight="bold">VI-<xsl:value-of select="count(.//priority-claim) + 2"></xsl:value-of>
											</fo:inline>
										</xsl:when>
										<xsl:when test="(.//priority-doc-from-library[@action-by='IB']) and (.//priority-doc-from-library[@action-by='RO'])">
											<fo:inline font-weight="bold">VI-<xsl:value-of select="count(.//priority-claim) + 4"></xsl:value-of>
											</fo:inline>
										</xsl:when>
										<xsl:otherwise>
											<fo:inline font-weight="bold">VI-<xsl:value-of select="count(.//priority-claim) + 3"></xsl:value-of>
											</fo:inline>
										</xsl:otherwise>
									</xsl:choose>
								</xsl:if>
								<xsl:if test="not(.//priority-doc-requested)">
									<xsl:choose>
										<xsl:when test="not(.//priority-doc-from-library)">
											<fo:inline font-weight="bold">VI-<xsl:value-of select="count(.//priority-claim) + 1"></xsl:value-of>
											</fo:inline>
										</xsl:when>
										<xsl:when test="(.//priority-doc-from-library[@action-by='IB']) and (.//priority-doc-from-library[@action-by='RO'])">
											<fo:inline font-weight="bold">VI-<xsl:value-of select="count(.//priority-claim) + 3"></xsl:value-of>
											</fo:inline>
										</xsl:when>
										<xsl:otherwise>
											<fo:inline font-weight="bold">VI-<xsl:value-of select="count(.//priority-claim) + 2"></xsl:value-of>
											</fo:inline>
										</xsl:otherwise>
									</xsl:choose>
								</xsl:if>
							</fo:block>
						</fo:table-cell>
						<fo:table-cell xsl:use-attribute-sets="tdBorderTopLeftNoCenter" number-columns-spanned="2">
							<fo:block>
								<fo:inline font-weight="bold">
									援引加入 : 
								</fo:inline>
							</fo:block>
							<fo:block padding-before="2mm">
								如果条约11(1)(iii)(d)或(e)所述的国际申请的某一项目，或者本细则20.5(a)所述的说明书、权利要求书或附图的某一部分，或者本细则20.5之二(a)所述的某一项目或说明书、权利要求书或附图的某一部分不包含在本国际申请中，但是全部包含在一件在受理局首次收到条约11(1)(iii)所述一个或者多个项目之日已要求其优先权的在先申请中，则该项目或该部分可以经由根据本细则20.6的确认，为本细则20.6的目的援引加入到本国际申请中。
							</fo:block>
						</fo:table-cell>
					</fo:table-row>
				</fo:table-body>
			</fo:table>
		</xsl:if>
	</xsl:template><xsl:template name="kind-of-protection">
		<xsl:param name="kind-text"></xsl:param>
		<xsl:choose>
			<xsl:when test="$kind-text = 'continuation-in-part'">
				部分继续
			</xsl:when>
			<xsl:when test="$kind-text = 'certificate-of-addition'">
				增补证书
			</xsl:when>
			<xsl:when test="$kind-text = 'continuation'">
				继续
			</xsl:when>
			<xsl:when test="$kind-text = 'inventors-certificate-of-addition'">
				增补发明人证书
			</xsl:when>
			<xsl:when test="$kind-text = 'patent-of-addition'">
				增补专利
			</xsl:when>
			<xsl:when test="$kind-text = 'utility-certificate-of-addition'">
				增补实用证书
			</xsl:when>
			<xsl:otherwise>
				<xsl:value-of select="$kind-text"></xsl:value-of>
			</xsl:otherwise>
		</xsl:choose>
	</xsl:template>
	<xsl:template match="i">      
		<fo:inline>
			<xsl:if test="not(name(preceding-sibling::node()[1])='i') and not(ancestor::i)">
				<xsl:attribute name="font-style">italic</xsl:attribute>
			</xsl:if>
			<xsl:attribute name="vertical-align">
				<xsl:choose>
					<xsl:when test="name(ancestor::sup2)">
						<xsl:choose>
							<xsl:when test="name(ancestor::sub)">baseline</xsl:when>
							<xsl:otherwise>super</xsl:otherwise>
						</xsl:choose>
					</xsl:when>
					<xsl:when test="name(ancestor::sub2)">
						<xsl:choose>
							<xsl:when test="name(ancestor::sup)">baseline</xsl:when>
							<xsl:otherwise>sub</xsl:otherwise>
						</xsl:choose>
					</xsl:when>
					<xsl:otherwise>
						<xsl:choose>
							<xsl:when test="name(ancestor::sup)">super</xsl:when>
							<xsl:when test="name(ancestor::sub)">sub</xsl:when>
							<xsl:otherwise>baseline</xsl:otherwise>
						</xsl:choose>
					</xsl:otherwise>
				</xsl:choose>
			</xsl:attribute>
			<xsl:apply-templates></xsl:apply-templates>
		</fo:inline>
	</xsl:template><xsl:template match="sub">
		<fo:inline>
			<xsl:attribute name="vertical-align">sub</xsl:attribute>
			<xsl:attribute name="font-size">7pt</xsl:attribute>
			<xsl:apply-templates></xsl:apply-templates>
		</fo:inline>
	</xsl:template><xsl:template match="sup">
		<fo:inline>
			<xsl:attribute name="vertical-align">super</xsl:attribute>
			<xsl:attribute name="font-size">7pt</xsl:attribute>
			<xsl:apply-templates></xsl:apply-templates>
		</fo:inline>
	</xsl:template><xsl:template match="sub2">
		<fo:inline>
			<xsl:attribute name="vertical-align">
				<xsl:choose>
					<xsl:when test="name(ancestor::sup)">baseline</xsl:when>
					<xsl:when test="name(ancestor::sub)">sub</xsl:when>
					<xsl:otherwise>sub</xsl:otherwise>
				</xsl:choose>
			</xsl:attribute>
			<xsl:attribute name="font-size">5pt</xsl:attribute>
			<xsl:apply-templates></xsl:apply-templates>
		</fo:inline>
	</xsl:template><xsl:template match="sup2">
		<fo:inline>
			<xsl:attribute name="vertical-align">
				<xsl:choose>
					<xsl:when test="name(ancestor::sub)">baseline</xsl:when>
					<xsl:when test="name(ancestor::sup)">super</xsl:when>
					<xsl:otherwise>super</xsl:otherwise>
				</xsl:choose>
			</xsl:attribute>
			<xsl:attribute name="font-size">5pt</xsl:attribute>
			<xsl:apply-templates></xsl:apply-templates>
		</fo:inline>
	</xsl:template><xsl:template match="u">   	  
		<xsl:param name="renderer"></xsl:param>      
		<fo:inline>
			<!-- Note: FOP does not support all '@style' values for underline -->
			         
			<xsl:choose>            
				<xsl:when test="$renderer='FOP'">               
					<xsl:attribute name="text-decoration">underline</xsl:attribute>            
				</xsl:when>            
				<xsl:otherwise>               
					<xsl:choose>                  
						<xsl:when test="@style='double'">                     
							<xsl:attribute name="text-decoration">underline</xsl:attribute>                     
							<xsl:attribute name="border-bottom-style">solid</xsl:attribute>                     
							<xsl:attribute name="border-bottom-width">0.1mm</xsl:attribute>                  
						</xsl:when>                  
						<xsl:when test="@style='dash'">                     
							<xsl:attribute name="border-bottom-style">dashed</xsl:attribute>                     
							<xsl:attribute name="border-bottom-width">0.3mm</xsl:attribute>                  
						</xsl:when>                  
						<xsl:when test="@style='dots'">                     
							<xsl:attribute name="border-bottom-style">dotted</xsl:attribute>                     
							<xsl:attribute name="border-bottom-width">0.3mm</xsl:attribute>                  
						</xsl:when>                  
						<xsl:otherwise>                     
							<xsl:attribute name="text-decoration">underline</xsl:attribute>                  
						</xsl:otherwise>               
					</xsl:choose>            
				</xsl:otherwise>         
			</xsl:choose>
			<xsl:attribute name="vertical-align">
				<xsl:choose>
					<xsl:when test="name(ancestor::sup2)">
						<xsl:choose>
							<xsl:when test="name(ancestor::sub)">baseline</xsl:when>
							<xsl:otherwise>super</xsl:otherwise>
						</xsl:choose>
					</xsl:when>
					<xsl:when test="name(ancestor::sub2)">
						<xsl:choose>
							<xsl:when test="name(ancestor::sup)">baseline</xsl:when>
							<xsl:otherwise>sub</xsl:otherwise>
						</xsl:choose>
					</xsl:when>
					<xsl:otherwise>
						<xsl:choose>
							<xsl:when test="name(ancestor::sup)">super</xsl:when>
							<xsl:when test="name(ancestor::sub)">sub</xsl:when>
							<xsl:otherwise>baseline</xsl:otherwise>
						</xsl:choose>
					</xsl:otherwise>
				</xsl:choose>
			</xsl:attribute>
			<xsl:apply-templates></xsl:apply-templates>      
		</fo:inline>
	</xsl:template>
	<LU:organizations>
		<LU:organization name="AP">
			<LU:state name="BW"></LU:state>
			<LU:state name="GH"></LU:state>
			<LU:state name="GM"></LU:state>
			<LU:state name="KE"></LU:state>
			<LU:state name="LR"></LU:state>
			<LU:state name="LS"></LU:state>
			<LU:state name="MW"></LU:state>
			<LU:state name="MZ"></LU:state>
			<LU:state name="NA"></LU:state>
			<LU:state name="SD"></LU:state>
			<LU:state name="SL"></LU:state>
			<LU:state name="SZ"></LU:state>
			<LU:state name="TZ"></LU:state>
			<LU:state name="UG"></LU:state>
			<LU:state name="ZM"></LU:state>
			<LU:state name="ZW"></LU:state>
		</LU:organization>
		<LU:organization name="EA">
			<LU:state name="AM"></LU:state>
			<LU:state name="AZ"></LU:state>
			<LU:state name="BY"></LU:state>
			<LU:state name="KG"></LU:state>
			<LU:state name="KZ"></LU:state>
			<LU:state name="MD"></LU:state>
			<LU:state name="RU"></LU:state>
			<LU:state name="TJ"></LU:state>
			<LU:state name="TM"></LU:state>
		</LU:organization>
		<LU:organization name="EP">
			<LU:state name="AL"></LU:state>
			<LU:state name="AT"></LU:state>
			<LU:state name="BE"></LU:state>
			<LU:state name="BG"></LU:state>
			<LU:state name="CH"></LU:state>
			<LU:state name="LI"></LU:state>
			<LU:state name="CY"></LU:state>
			<LU:state name="CZ"></LU:state>
			<LU:state name="DE"></LU:state>
			<LU:state name="DK"></LU:state>
			<LU:state name="EE"></LU:state>
			<LU:state name="ES"></LU:state>
			<LU:state name="FI"></LU:state>
			<LU:state name="FR"></LU:state>
			<LU:state name="GB"></LU:state>
			<LU:state name="GR"></LU:state>
			<LU:state name="HR"></LU:state>
			<LU:state name="HU"></LU:state>
			<LU:state name="IE"></LU:state>
			<LU:state name="IS"></LU:state>
			<LU:state name="IT"></LU:state>
			<LU:state name="LT"></LU:state>
			<LU:state name="LU"></LU:state>
			<LU:state name="LV"></LU:state>
			<LU:state name="MC"></LU:state>
			<LU:state name="MK"></LU:state>
			<LU:state name="MT"></LU:state>
			<LU:state name="NL"></LU:state>
			<LU:state name="NO"></LU:state>
			<LU:state name="PL"></LU:state>
			<LU:state name="PT"></LU:state>
			<LU:state name="RO"></LU:state>
			<LU:state name="RS"></LU:state>
			<LU:state name="SE"></LU:state>
			<LU:state name="SI"></LU:state>
			<LU:state name="SK"></LU:state>
			<LU:state name="TR"></LU:state>
		</LU:organization>
		<LU:organization name="OA">
			<LU:state name="BF"></LU:state>
			<LU:state name="BJ"></LU:state>
			<LU:state name="CF"></LU:state>
			<LU:state name="CG"></LU:state>
			<LU:state name="CI"></LU:state>
			<LU:state name="CM"></LU:state>
			<LU:state name="GA"></LU:state>
			<LU:state name="GN"></LU:state>
			<LU:state name="GQ"></LU:state>
			<LU:state name="GW"></LU:state>
			<LU:state name="ML"></LU:state>
			<LU:state name="MR"></LU:state>
			<LU:state name="NE"></LU:state>
			<LU:state name="SN"></LU:state>
			<LU:state name="TD"></LU:state>
			<LU:state name="TG"></LU:state>
		</LU:organization>
	</LU:organizations>
	<xsl:template name="nameType">
   	<xsl:param name="nam"></xsl:param>
   	      <xsl:choose>
	         <xsl:when test="$nam//name[@name-type='legal']">
	         	名称
	         </xsl:when>
	         <xsl:otherwise>
	         	姓名:
	         </xsl:otherwise>
	      </xsl:choose>
   </xsl:template>
	<xsl:template name="enCountry_ChoiceText">
		<xsl:param name="country"></xsl:param>
		<xsl:choose>
			<xsl:when test="$country='AD'">
				<xsl:text>Andorra </xsl:text>
			</xsl:when>
			<xsl:when test="$country='AE'">
				<xsl:text>United Arab Emirates </xsl:text>
			</xsl:when>
			<xsl:when test="$country='AF'">
				<xsl:text>Afghanistan </xsl:text>
			</xsl:when>
			<xsl:when test="$country='AG'">
				<xsl:text>Antigua and Barbuda </xsl:text>
			</xsl:when>
			<xsl:when test="$country='AI'">
				<xsl:text>Anguilla </xsl:text>
			</xsl:when>
			<xsl:when test="$country='AL'">
				<xsl:text>Albania </xsl:text>
			</xsl:when>
			<xsl:when test="$country='AM'">
				<xsl:text>Armenia </xsl:text>
			</xsl:when>
			<xsl:when test="$country='AO'">
				<xsl:text>Angola </xsl:text>
			</xsl:when>
			<xsl:when test="$country='AQ'">
				<xsl:text>Antarctica </xsl:text>
			</xsl:when>
			<xsl:when test="$country='AR'">
				<xsl:text>Argentina </xsl:text>
			</xsl:when>
			<xsl:when test="$country='AS'">
				<xsl:text>American Samoa </xsl:text>
			</xsl:when>
			<xsl:when test="$country='AT'">
				<xsl:text>Austria </xsl:text>
			</xsl:when>
			<xsl:when test="$country='AU'">
				<xsl:text>Australia </xsl:text>
			</xsl:when>
			<xsl:when test="$country='AW'">
				<xsl:text>Aruba </xsl:text>
			</xsl:when>
			<xsl:when test="$country='AX'">
				<xsl:text>Aland Islands </xsl:text>
			</xsl:when>
			<xsl:when test="$country='AZ'">
				<xsl:text>Azerbaijan </xsl:text>
			</xsl:when>
			<xsl:when test="$country='BA'">
				<xsl:text>Bosnia and Herzegovina </xsl:text>
			</xsl:when>
			<xsl:when test="$country='BB'">
				<xsl:text>Barbados </xsl:text>
			</xsl:when>
			<xsl:when test="$country='BD'">
				<xsl:text>Bangladesh </xsl:text>
			</xsl:when>
			<xsl:when test="$country='BE'">
				<xsl:text>Belgium </xsl:text>
			</xsl:when>
			<xsl:when test="$country='BF'">
				<xsl:text>Burkina Faso </xsl:text>
			</xsl:when>
			<xsl:when test="$country='BG'">
				<xsl:text>Bulgaria </xsl:text>
			</xsl:when>
			<xsl:when test="$country='BH'">
				<xsl:text>Bahrain </xsl:text>
			</xsl:when>
			<xsl:when test="$country='BI'">
				<xsl:text>Burundi </xsl:text>
			</xsl:when>
			<xsl:when test="$country='BJ'">
				<xsl:text>Benin </xsl:text>
			</xsl:when>
			<xsl:when test="$country='BM'">
				<xsl:text>Bermuda </xsl:text>
			</xsl:when>
			<xsl:when test="$country='BN'">
				<xsl:text>Brunei Darussalam </xsl:text>
			</xsl:when>
			<xsl:when test="$country='BO'">
				<xsl:text>Bolivia (Plurinational State of) </xsl:text>
			</xsl:when>
			<xsl:when test="$country='BQ'">
				<xsl:text>Bonaire, Saint Eustatius and Saba </xsl:text>
			</xsl:when>
			<xsl:when test="$country='BR'">
				<xsl:text>Brazil </xsl:text>
			</xsl:when>
			<xsl:when test="$country='BS'">
				<xsl:text>Bahamas </xsl:text>
			</xsl:when>
			<xsl:when test="$country='BT'">
				<xsl:text>Bhutan </xsl:text>
			</xsl:when>
			<xsl:when test="$country='BV'">
				<xsl:text>Bouvet Island </xsl:text>
			</xsl:when>
			<xsl:when test="$country='BW'">
				<xsl:text>Botswana </xsl:text>
			</xsl:when>
			<xsl:when test="$country='BY'">
				<xsl:text>Belarus </xsl:text>
			</xsl:when>
			<xsl:when test="$country='BZ'">
				<xsl:text>Belize </xsl:text>
			</xsl:when>
			<xsl:when test="$country='CA'">
				<xsl:text>Canada </xsl:text>
			</xsl:when>
			<xsl:when test="$country='CC'">
				<xsl:text>Cocos (Keeling) Islands </xsl:text>
			</xsl:when>
			<xsl:when test="$country='CD'">
				<xsl:text>Democratic Republic of Congo </xsl:text>
			</xsl:when>
			<xsl:when test="$country='CF'">
				<xsl:text>Central African Republic </xsl:text>
			</xsl:when>
			<xsl:when test="$country='CG'">
				<xsl:text>Congo </xsl:text>
			</xsl:when>
			<xsl:when test="$country='CH'">
				<xsl:text>Switzerland </xsl:text>
			</xsl:when>
			<xsl:when test="$country='CI'">
				<xsl:text>Côte d'Ivoire </xsl:text>
			</xsl:when>
			<xsl:when test="$country='CK'">
				<xsl:text>Cook Islands </xsl:text>
			</xsl:when>
			<xsl:when test="$country='CL'">
				<xsl:text>Chile </xsl:text>
			</xsl:when>
			<xsl:when test="$country='CM'">
				<xsl:text>Cameroon </xsl:text>
			</xsl:when>
			<xsl:when test="$country='CN'">
				<xsl:text>China </xsl:text>
			</xsl:when>
			<xsl:when test="$country='CO'">
				<xsl:text>Colombia </xsl:text>
			</xsl:when>
			<xsl:when test="$country='CR'">
				<xsl:text>Costa Rica </xsl:text>
			</xsl:when>
			<xsl:when test="$country='CU'">
				<xsl:text>Cuba </xsl:text>
			</xsl:when>
			<xsl:when test="$country='CV'">
				<xsl:text>Cabo Verde </xsl:text>
			</xsl:when>
			<xsl:when test="$country='CW'">
				<xsl:text>Curaçao </xsl:text>
			</xsl:when>
			<xsl:when test="$country='CX'">
				<xsl:text>Christmas Island </xsl:text>
			</xsl:when>
			<xsl:when test="$country='CY'">
				<xsl:text>Cyprus </xsl:text>
			</xsl:when>
			<xsl:when test="$country='CZ'">
				<xsl:text>Czechia </xsl:text>
			</xsl:when>
			<xsl:when test="$country='DE'">
				<xsl:text>Germany </xsl:text>
			</xsl:when>
			<xsl:when test="$country='DJ'">
				<xsl:text>Djibouti </xsl:text>
			</xsl:when>
			<xsl:when test="$country='DK'">
				<xsl:text>Denmark </xsl:text>
			</xsl:when>
			<xsl:when test="$country='DM'">
				<xsl:text>Dominica </xsl:text>
			</xsl:when>
			<xsl:when test="$country='DO'">
				<xsl:text>Dominican Republic </xsl:text>
			</xsl:when>
			<xsl:when test="$country='DZ'">
				<xsl:text>Algeria </xsl:text>
			</xsl:when>
			<xsl:when test="$country='EC'">
				<xsl:text>Ecuador </xsl:text>
			</xsl:when>
			<xsl:when test="$country='EE'">
				<xsl:text>Estonia </xsl:text>
			</xsl:when>
			<xsl:when test="$country='EG'">
				<xsl:text>Egypt </xsl:text>
			</xsl:when>
			<xsl:when test="$country='EH'">
				<xsl:text>Western Sahara </xsl:text>
			</xsl:when>
			<xsl:when test="$country='ER'">
				<xsl:text>Eritrea </xsl:text>
			</xsl:when>
			<xsl:when test="$country='ES'">
				<xsl:text>Spain </xsl:text>
			</xsl:when>
			<xsl:when test="$country='ET'">
				<xsl:text>Ethiopia </xsl:text>
			</xsl:when>
			<xsl:when test="$country='FI'">
				<xsl:text>Finland </xsl:text>
			</xsl:when>
			<xsl:when test="$country='FJ'">
				<xsl:text>Fiji </xsl:text>
			</xsl:when>
			<xsl:when test="$country='FK'">
				<xsl:text>Falkland Islands (Malvinas) </xsl:text>
			</xsl:when>
			<xsl:when test="$country='FM'">
				<xsl:text>Micronesia (Federated States of) </xsl:text>
			</xsl:when>
			<xsl:when test="$country='FO'">
				<xsl:text>Faroe Islands </xsl:text>
			</xsl:when>
			<xsl:when test="$country='FR'">
				<xsl:text>France </xsl:text>
			</xsl:when>
			<xsl:when test="$country='GA'">
				<xsl:text>Gabon </xsl:text>
			</xsl:when>
			<xsl:when test="$country='GB'">
				<xsl:text>United Kingdom </xsl:text>
			</xsl:when>
			<xsl:when test="$country='GD'">
				<xsl:text>Grenada </xsl:text>
			</xsl:when>
			<xsl:when test="$country='GE'">
				<xsl:text>Georgia </xsl:text>
			</xsl:when>
			<xsl:when test="$country='GF'">
				<xsl:text>French Guiana </xsl:text>
			</xsl:when>
			<xsl:when test="$country='GG'">
				<xsl:text>Guernsey </xsl:text>
			</xsl:when>
			<xsl:when test="$country='GH'">
				<xsl:text>Ghana </xsl:text>
			</xsl:when>
			<xsl:when test="$country='GI'">
				<xsl:text>Gibraltar </xsl:text>
			</xsl:when>
			<xsl:when test="$country='GL'">
				<xsl:text>Greenland </xsl:text>
			</xsl:when>
			<xsl:when test="$country='GM'">
				<xsl:text>Gambia </xsl:text>
			</xsl:when>
			<xsl:when test="$country='GN'">
				<xsl:text>Guinea </xsl:text>
			</xsl:when>
			<xsl:when test="$country='GP'">
				<xsl:text>Guadeloupe </xsl:text>
			</xsl:when>
			<xsl:when test="$country='GQ'">
				<xsl:text>Equatorial Guinea </xsl:text>
			</xsl:when>
			<xsl:when test="$country='GR'">
				<xsl:text>Greece </xsl:text>
			</xsl:when>
			<xsl:when test="$country='GS'">
				<xsl:text>South Georgia and the South Sandwich Islands </xsl:text>
			</xsl:when>
			<xsl:when test="$country='GT'">
				<xsl:text>Guatemala </xsl:text>
			</xsl:when>
			<xsl:when test="$country='GU'">
				<xsl:text>Guam </xsl:text>
			</xsl:when>
			<xsl:when test="$country='GW'">
				<xsl:text>Guinea-Bissau </xsl:text>
			</xsl:when>
			<xsl:when test="$country='GY'">
				<xsl:text>Guyana </xsl:text>
			</xsl:when>
			<xsl:when test="$country='HK'">
				<xsl:text>Hong Kong, China </xsl:text>
			</xsl:when>
			<xsl:when test="$country='HM'">
				<xsl:text>Heard Island and McDonald Islands </xsl:text>
			</xsl:when>
			<xsl:when test="$country='HN'">
				<xsl:text>Honduras </xsl:text>
			</xsl:when>
			<xsl:when test="$country='HR'">
				<xsl:text>Croatia </xsl:text>
			</xsl:when>
			<xsl:when test="$country='HT'">
				<xsl:text>Haiti </xsl:text>
			</xsl:when>
			<xsl:when test="$country='HU'">
				<xsl:text>Hungary </xsl:text>
			</xsl:when>
			<xsl:when test="$country='ID'">
				<xsl:text>Indonesia </xsl:text>
			</xsl:when>
			<xsl:when test="$country='IE'">
				<xsl:text>Ireland </xsl:text>
			</xsl:when>
			<xsl:when test="$country='IL'">
				<xsl:text>Israel </xsl:text>
			</xsl:when>
			<xsl:when test="$country='IM'">
				<xsl:text>Isle of Man </xsl:text>
			</xsl:when>
			<xsl:when test="$country='IN'">
				<xsl:text>India </xsl:text>
			</xsl:when>
			<xsl:when test="$country='IO'">
				<xsl:text>British Indian Ocean Territory </xsl:text>
			</xsl:when>
			<xsl:when test="$country='IQ'">
				<xsl:text>Iraq </xsl:text>
			</xsl:when>
			<xsl:when test="$country='IR'">
				<xsl:text>Iran (Islamic Republic of) </xsl:text>
			</xsl:when>
			<xsl:when test="$country='IS'">
				<xsl:text>Iceland </xsl:text>
			</xsl:when>
			<xsl:when test="$country='IT'">
				<xsl:text>Italy </xsl:text>
			</xsl:when>
			<xsl:when test="$country='JE'">
				<xsl:text>Jersey </xsl:text>
			</xsl:when>
			<xsl:when test="$country='JM'">
				<xsl:text>Jamaica </xsl:text>
			</xsl:when>
			<xsl:when test="$country='JO'">
				<xsl:text>Jordan </xsl:text>
			</xsl:when>
			<xsl:when test="$country='JP'">
				<xsl:text>Japan </xsl:text>
			</xsl:when>
			<xsl:when test="$country='KE'">
				<xsl:text>Kenya </xsl:text>
			</xsl:when>
			<xsl:when test="$country='KG'">
				<xsl:text>Kyrgyzstan </xsl:text>
			</xsl:when>
			<xsl:when test="$country='KH'">
				<xsl:text>Cambodia </xsl:text>
			</xsl:when>
			<xsl:when test="$country='KI'">
				<xsl:text>Kiribati </xsl:text>
			</xsl:when>
			<xsl:when test="$country='KM'">
				<xsl:text>Comoros </xsl:text>
			</xsl:when>
			<xsl:when test="$country='KN'">
				<xsl:text>Saint Kitts and Nevis </xsl:text>
			</xsl:when>
			<xsl:when test="$country='KP'">
				<xsl:text>Democratic People's Republic of Korea </xsl:text>
			</xsl:when>
			<xsl:when test="$country='KR'">
				<xsl:text>Republic of Korea </xsl:text>
			</xsl:when>
			<xsl:when test="$country='KW'">
				<xsl:text>Kuwait </xsl:text>
			</xsl:when>
			<xsl:when test="$country='KY'">
				<xsl:text>Cayman Islands </xsl:text>
			</xsl:when>
			<xsl:when test="$country='KZ'">
				<xsl:text>Kazakhstan </xsl:text>
			</xsl:when>
			<xsl:when test="$country='LA'">
				<xsl:text>Lao People's Democratic Republic </xsl:text>
			</xsl:when>
			<xsl:when test="$country='LB'">
				<xsl:text>Lebanon </xsl:text>
			</xsl:when>
			<xsl:when test="$country='LC'">
				<xsl:text>Saint Lucia </xsl:text>
			</xsl:when>
			<xsl:when test="$country='LI'">
				<xsl:text>Liechtenstein </xsl:text>
			</xsl:when>
			<xsl:when test="$country='LK'">
				<xsl:text>Sri Lanka </xsl:text>
			</xsl:when>
			<xsl:when test="$country='LR'">
				<xsl:text>Liberia </xsl:text>
			</xsl:when>
			<xsl:when test="$country='LS'">
				<xsl:text>Lesotho </xsl:text>
			</xsl:when>
			<xsl:when test="$country='LT'">
				<xsl:text>Lithuania </xsl:text>
			</xsl:when>
			<xsl:when test="$country='LU'">
				<xsl:text>Luxembourg </xsl:text>
			</xsl:when>
			<xsl:when test="$country='LV'">
				<xsl:text>Latvia </xsl:text>
			</xsl:when>
			<xsl:when test="$country='LY'">
				<xsl:text>Libya </xsl:text>
			</xsl:when>
			<xsl:when test="$country='MA'">
				<xsl:text>Morocco </xsl:text>
			</xsl:when>
			<xsl:when test="$country='MC'">
				<xsl:text>Monaco </xsl:text>
			</xsl:when>
			<xsl:when test="$country='MD'">
				<xsl:text>Republic of Moldova </xsl:text>
			</xsl:when>
			<xsl:when test="$country='ME'">
				<xsl:text>Montenegro </xsl:text>
			</xsl:when>
			<xsl:when test="$country='MG'">
				<xsl:text>Madagascar </xsl:text>
			</xsl:when>
			<xsl:when test="$country='MH'">
				<xsl:text>Marshall Islands </xsl:text>
			</xsl:when>
			<xsl:when test="$country='MK'">
				<xsl:text>North Macedonia </xsl:text>
			</xsl:when>
			<xsl:when test="$country='ML'">
				<xsl:text>Mali </xsl:text>
			</xsl:when>
			<xsl:when test="$country='MM'">
				<xsl:text>Myanmar </xsl:text>
			</xsl:when>
			<xsl:when test="$country='MN'">
				<xsl:text>Mongolia </xsl:text>
			</xsl:when>
			<xsl:when test="$country='MO'">
				<xsl:text>Macao, China </xsl:text>
			</xsl:when>
			<xsl:when test="$country='MP'">
				<xsl:text>Northern Mariana Islands </xsl:text>
			</xsl:when>
			<xsl:when test="$country='MQ'">
				<xsl:text>Martinique </xsl:text>
			</xsl:when>
			<xsl:when test="$country='MR'">
				<xsl:text>Mauritania </xsl:text>
			</xsl:when>
			<xsl:when test="$country='MS'">
				<xsl:text>Montserrat </xsl:text>
			</xsl:when>
			<xsl:when test="$country='MT'">
				<xsl:text>Malta </xsl:text>
			</xsl:when>
			<xsl:when test="$country='MU'">
				<xsl:text>Mauritius </xsl:text>
			</xsl:when>
			<xsl:when test="$country='MV'">
				<xsl:text>Maldives </xsl:text>
			</xsl:when>
			<xsl:when test="$country='MW'">
				<xsl:text>Malawi </xsl:text>
			</xsl:when>
			<xsl:when test="$country='MX'">
				<xsl:text>Mexico </xsl:text>
			</xsl:when>
			<xsl:when test="$country='MY'">
				<xsl:text>Malaysia </xsl:text>
			</xsl:when>
			<xsl:when test="$country='MZ'">
				<xsl:text>Mozambique </xsl:text>
			</xsl:when>
			<xsl:when test="$country='NA'">
				<xsl:text>Namibia </xsl:text>
			</xsl:when>
			<xsl:when test="$country='NC'">
				<xsl:text>New Caledonia </xsl:text>
			</xsl:when>
			<xsl:when test="$country='NE'">
				<xsl:text>Niger </xsl:text>
			</xsl:when>
			<xsl:when test="$country='NF'">
				<xsl:text>Norfolk Island </xsl:text>
			</xsl:when>
			<xsl:when test="$country='NG'">
				<xsl:text>Nigeria </xsl:text>
			</xsl:when>
			<xsl:when test="$country='NI'">
				<xsl:text>Nicaragua </xsl:text>
			</xsl:when>
			<xsl:when test="$country='NL'">
				<xsl:text>Netherlands (Kingdom of the) </xsl:text>
			</xsl:when>
			<xsl:when test="$country='NO'">
				<xsl:text>Norway </xsl:text>
			</xsl:when>
			<xsl:when test="$country='NP'">
				<xsl:text>Nepal </xsl:text>
			</xsl:when>
			<xsl:when test="$country='NR'">
				<xsl:text>Nauru </xsl:text>
			</xsl:when>
			<xsl:when test="$country='NU'">
				<xsl:text>Niue </xsl:text>
			</xsl:when>
			<xsl:when test="$country='NZ'">
				<xsl:text>New Zealand </xsl:text>
			</xsl:when>
			<xsl:when test="$country='OM'">
				<xsl:text>Oman </xsl:text>
			</xsl:when>
			<xsl:when test="$country='PA'">
				<xsl:text>Panama </xsl:text>
			</xsl:when>
			<xsl:when test="$country='PE'">
				<xsl:text>Peru </xsl:text>
			</xsl:when>
			<xsl:when test="$country='PF'">
				<xsl:text>French Polynesia </xsl:text>
			</xsl:when>
			<xsl:when test="$country='PG'">
				<xsl:text>Papua New Guinea </xsl:text>
			</xsl:when>
			<xsl:when test="$country='PH'">
				<xsl:text>Philippines </xsl:text>
			</xsl:when>
			<xsl:when test="$country='PK'">
				<xsl:text>Pakistan </xsl:text>
			</xsl:when>
			<xsl:when test="$country='PL'">
				<xsl:text>Poland </xsl:text>
			</xsl:when>
			<xsl:when test="$country='PM'">
				<xsl:text>Saint Pierre and Miquelon </xsl:text>
			</xsl:when>
			<xsl:when test="$country='PN'">
				<xsl:text>Pitcairn </xsl:text>
			</xsl:when>
			<xsl:when test="$country='PR'">
				<xsl:text>Puerto Rico </xsl:text>
			</xsl:when>
			<xsl:when test="$country='PS'">
				<xsl:text>Palestine </xsl:text>
			</xsl:when>
			<xsl:when test="$country='PT'">
				<xsl:text>Portugal </xsl:text>
			</xsl:when>
			<xsl:when test="$country='PW'">
				<xsl:text>Palau </xsl:text>
			</xsl:when>
			<xsl:when test="$country='PY'">
				<xsl:text>Paraguay </xsl:text>
			</xsl:when>
			<xsl:when test="$country='QA'">
				<xsl:text>Qatar </xsl:text>
			</xsl:when>
			<xsl:when test="$country='RE'">
				<xsl:text>Réunion </xsl:text>
			</xsl:when>
			<xsl:when test="$country='RO'">
				<xsl:text>Romania </xsl:text>
			</xsl:when>
			<xsl:when test="$country='RS'">
				<xsl:text>Serbia </xsl:text>
			</xsl:when>
			<xsl:when test="$country='RU'">
				<xsl:text>Russian Federation </xsl:text>
			</xsl:when>
			<xsl:when test="$country='RW'">
				<xsl:text>Rwanda </xsl:text>
			</xsl:when>
			<xsl:when test="$country='SA'">
				<xsl:text>Saudi Arabia </xsl:text>
			</xsl:when>
			<xsl:when test="$country='SB'">
				<xsl:text>Solomon Islands </xsl:text>
			</xsl:when>
			<xsl:when test="$country='SC'">
				<xsl:text>Seychelles </xsl:text>
			</xsl:when>
			<xsl:when test="$country='SD'">
				<xsl:text>Sudan </xsl:text>
			</xsl:when>
			<xsl:when test="$country='SE'">
				<xsl:text>Sweden </xsl:text>
			</xsl:when>
			<xsl:when test="$country='SG'">
				<xsl:text>Singapore </xsl:text>
			</xsl:when>
			<xsl:when test="$country='SH'">
				<xsl:text>Saint Helena, Ascension and Tristan da Cunha </xsl:text>
			</xsl:when>
			<xsl:when test="$country='SI'">
				<xsl:text>Slovenia </xsl:text>
			</xsl:when>
			<xsl:when test="$country='SJ'">
				<xsl:text>Svalbard and Jan Mayen </xsl:text>
			</xsl:when>
			<xsl:when test="$country='SK'">
				<xsl:text>Slovakia </xsl:text>
			</xsl:when>
			<xsl:when test="$country='SL'">
				<xsl:text>Sierra Leone </xsl:text>
			</xsl:when>
			<xsl:when test="$country='SM'">
				<xsl:text>San Marino </xsl:text>
			</xsl:when>
			<xsl:when test="$country='SN'">
				<xsl:text>Senegal </xsl:text>
			</xsl:when>
			<xsl:when test="$country='SO'">
				<xsl:text>Somalia </xsl:text>
			</xsl:when>
			<xsl:when test="$country='SR'">
				<xsl:text>Suriname </xsl:text>
			</xsl:when>
			<xsl:when test="$country='SS'">
				<xsl:text>South Sudan </xsl:text>
			</xsl:when>
			<xsl:when test="$country='ST'">
				<xsl:text>Sao Tome and Principe </xsl:text>
			</xsl:when>
			<xsl:when test="$country='SV'">
				<xsl:text>El Salvador </xsl:text>
			</xsl:when>
			<xsl:when test="$country='SX'">
				<xsl:text>Sint Maarten (Dutch part) </xsl:text>
			</xsl:when>
			<xsl:when test="$country='SY'">
				<xsl:text>Syrian Arab Republic </xsl:text>
			</xsl:when>
			<xsl:when test="$country='SZ'">
				<xsl:text>Eswatini </xsl:text>
			</xsl:when>
			<xsl:when test="$country='TC'">
				<xsl:text>Turks and Caicos Islands </xsl:text>
			</xsl:when>
			<xsl:when test="$country='TD'">
				<xsl:text>Chad </xsl:text>
			</xsl:when>
			<xsl:when test="$country='TF'">
				<xsl:text>French Southern Territories </xsl:text>
			</xsl:when>
			<xsl:when test="$country='TG'">
				<xsl:text>Togo </xsl:text>
			</xsl:when>
			<xsl:when test="$country='TH'">
				<xsl:text>Thailand </xsl:text>
			</xsl:when>
			<xsl:when test="$country='TJ'">
				<xsl:text>Tajikistan </xsl:text>
			</xsl:when>
			<xsl:when test="$country='TK'">
				<xsl:text>Tokelau </xsl:text>
			</xsl:when>
			<xsl:when test="$country='TL'">
				<xsl:text>Timor–Leste </xsl:text>
			</xsl:when>
			<xsl:when test="$country='TM'">
				<xsl:text>Turkmenistan </xsl:text>
			</xsl:when>
			<xsl:when test="$country='TN'">
				<xsl:text>Tunisia </xsl:text>
			</xsl:when>
			<xsl:when test="$country='TO'">
				<xsl:text>Tonga </xsl:text>
			</xsl:when>
			<xsl:when test="$country='TP'">
				<xsl:text>East Timor </xsl:text>
			</xsl:when>
			<xsl:when test="$country='TR'">
				<xsl:text>Türkiye </xsl:text>
			</xsl:when>
			<xsl:when test="$country='TT'">
				<xsl:text>Trinidad and Tobago </xsl:text>
			</xsl:when>
			<xsl:when test="$country='TV'">
				<xsl:text>Tuvalu </xsl:text>
			</xsl:when>
			<xsl:when test="$country='TW'">
				<xsl:text>Taiwan, Province of China </xsl:text>
			</xsl:when>
			<xsl:when test="$country='TZ'">
				<xsl:text>United Republic of Tanzania </xsl:text>
			</xsl:when>
			<xsl:when test="$country='UA'">
				<xsl:text>Ukraine </xsl:text>
			</xsl:when>
			<xsl:when test="$country='UG'">
				<xsl:text>Uganda </xsl:text>
			</xsl:when>
			<xsl:when test="$country='UM'">
				<xsl:text>United States Minor Outlying Islands </xsl:text>
			</xsl:when>
			<xsl:when test="$country='US'">
				<xsl:text>United States of America </xsl:text>
			</xsl:when>
			<xsl:when test="$country='UY'">
				<xsl:text>Uruguay </xsl:text>
			</xsl:when>
			<xsl:when test="$country='UZ'">
				<xsl:text>Uzbekistan </xsl:text>
			</xsl:when>
			<xsl:when test="$country='VA'">
				<xsl:text>Holy See </xsl:text>
			</xsl:when>
			<xsl:when test="$country='VC'">
				<xsl:text>Saint Vincent and the Grenadines </xsl:text>
			</xsl:when>
			<xsl:when test="$country='VE'">
				<xsl:text>Venezuela (Bolivarian Republic of) </xsl:text>
			</xsl:when>
			<xsl:when test="$country='VG'">
				<xsl:text>Virgin Islands, British </xsl:text>
			</xsl:when>
			<xsl:when test="$country='VI'">
				<xsl:text>Virgin Islands, U.S. </xsl:text>
			</xsl:when>
			<xsl:when test="$country='VN'">
				<xsl:text>Viet Nam </xsl:text>
			</xsl:when>
			<xsl:when test="$country='VU'">
				<xsl:text>Vanuatu </xsl:text>
			</xsl:when>
			<xsl:when test="$country='WF'">
				<xsl:text>Wallis and Futuna </xsl:text>
			</xsl:when>
			<xsl:when test="$country='WS'">
				<xsl:text>Samoa </xsl:text>
			</xsl:when>
			<xsl:when test="$country='YE'">
				<xsl:text>Yemen </xsl:text>
			</xsl:when>
			<xsl:when test="$country='YT'">
				<xsl:text>Mayotte </xsl:text>
			</xsl:when>
			<xsl:when test="$country='ZA'">
				<xsl:text>South Africa </xsl:text>
			</xsl:when>
			<xsl:when test="$country='ZM'">
				<xsl:text>Zambia </xsl:text>
			</xsl:when>
			<xsl:when test="$country='ZW'">
				<xsl:text>Zimbabwe </xsl:text>
			</xsl:when>
			<xsl:otherwise>
				<xsl:value-of select="$country"></xsl:value-of>
			</xsl:otherwise>
		</xsl:choose>
	</xsl:template>
	<xsl:template name="designation_ChoiceText">   
		<xsl:param name="designation"></xsl:param>   
		<xsl:choose>   
			<xsl:when test="$designation/@designation='all'">   
				所有指定国   
			</xsl:when>   
			<xsl:when test="$designation/@designation='all-except-us'">   
				除美国以外的所有指定国   
			</xsl:when>   
			<xsl:when test="$designation/@designation='us-only'">   
				美国   
			</xsl:when>   
			<xsl:when test="$designation/@designation='as-indicated'">
				<!-- do region: (countries); countries -->
				<xsl:for-each select="$designation/designated-states/region">
					<xsl:sort select="."></xsl:sort>
					<xsl:variable name="pos" select="position() +1"></xsl:variable>
					<xsl:value-of select="concat(translate(normalize-space(.),'abdefghijklmnopqrstuvwxyz','ABDEFGHIJKLMNOPQRSTUVWXYZ'),': ','(')"></xsl:value-of> 
					<xsl:for-each select="following-sibling::country[not(preceding-sibling::region[$pos])]">
						<xsl:sort select="."></xsl:sort>   
						<xsl:choose>   
							<xsl:when test="text()='ch' or text() = 'CH'">  
								<xsl:text>CH&amp;LI </xsl:text>   
							</xsl:when>   
							<xsl:when test="text() = 'li' or text() = 'LI'"></xsl:when>   
							<xsl:otherwise>   
								<xsl:value-of select="translate(.,'abdefghijklmnopqrstuvwxyz','ABDEFGHIJKLMNOPQRSTUVWXYZ')"></xsl:value-of>   
								<xsl:if test="following-sibling::country[not(preceding-sibling::region[$pos])]">
									<xsl:text> 
									</xsl:text>   
								</xsl:if>   
							</xsl:otherwise>   
						</xsl:choose>
					</xsl:for-each>);<xsl:text> 
					</xsl:text>
				</xsl:for-each>
				<xsl:for-each select="$designation/designated-states/country[not(preceding-sibling::region)]">
					<xsl:sort select="."></xsl:sort>   
					<xsl:choose>   
						<xsl:when test="text()='ch' or text() = 'CH'">  
							<xsl:text>CH&amp;LI </xsl:text>   
						</xsl:when>   
						<xsl:when test="text() = 'li' or text() = 'LI'"></xsl:when>   
						<xsl:otherwise>   
							<xsl:value-of select="translate(.,'abdefghijklmnopqrstuvwxyz','ABDEFGHIJKLMNOPQRSTUVWXYZ')"></xsl:value-of>   
							<xsl:text> 
							</xsl:text>   
						</xsl:otherwise>   
					</xsl:choose>
				</xsl:for-each>   
			</xsl:when>   
		</xsl:choose>   
	</xsl:template><xsl:template name="designationEn_ChoiceText">   
		<xsl:param name="designation"></xsl:param>   
		<xsl:choose>   
			<xsl:when test="$designation/@designation='all'">   
				<xsl:text>all designated States</xsl:text>   
			</xsl:when>   
			<xsl:when test="$designation/@designation='all-except-us'">   
				<xsl:text>all designated States except US</xsl:text>   
			</xsl:when>   
			<xsl:when test="$designation/@designation='us-only'">   
				<xsl:text>US only</xsl:text>   
			</xsl:when>   
			<xsl:when test="$designation/@designation='as-indicated'">  
				<!-- do region: (countries); countries -->
				<xsl:for-each select="$designation/designated-states/region">
					<xsl:sort select="."></xsl:sort>
					<xsl:variable name="pos" select="position() +1"></xsl:variable>
					<xsl:value-of select="concat(translate(normalize-space(.),'abdefghijklmnopqrstuvwxyz','ABDEFGHIJKLMNOPQRSTUVWXYZ'),': ','(')"></xsl:value-of> 
					<xsl:for-each select="following-sibling::country[not(preceding-sibling::region[$pos])]">
						<xsl:sort select="."></xsl:sort>   
						<xsl:choose>   
							<xsl:when test="text()='ch' or text() = 'CH'">  
								<xsl:text>CH&amp;LI </xsl:text>   
							</xsl:when>   
							<xsl:when test="text() = 'li' or text() = 'LI'"></xsl:when>   
							<xsl:otherwise>   
								<xsl:value-of select="translate(.,'abdefghijklmnopqrstuvwxyz','ABDEFGHIJKLMNOPQRSTUVWXYZ')"></xsl:value-of>   
								<xsl:if test="following-sibling::country[not(preceding-sibling::region[$pos])]">
									<xsl:text> 
									</xsl:text>   
								</xsl:if>   
							</xsl:otherwise>   
						</xsl:choose>
					</xsl:for-each>);<xsl:text> 
					</xsl:text>
				</xsl:for-each>
				<xsl:for-each select="$designation/designated-states/country[not(preceding-sibling::region)]">
					<xsl:sort select="."></xsl:sort>   
					<xsl:choose>   
						<xsl:when test="text()='ch' or text() = 'CH'">  
							<xsl:text>CH&amp;LI </xsl:text>   
						</xsl:when>   
						<xsl:when test="text() = 'li' or text() = 'LI'"></xsl:when>   
						<xsl:otherwise>   
							<xsl:value-of select="translate(.,'abdefghijklmnopqrstuvwxyz','ABDEFGHIJKLMNOPQRSTUVWXYZ')"></xsl:value-of>   
							<xsl:text> 
							</xsl:text>   
						</xsl:otherwise>   
					</xsl:choose>
				</xsl:for-each>   
			</xsl:when>   
		</xsl:choose>   
	</xsl:template>
	<xsl:template name="typeOfDisclosure_ChoiceText">
		<xsl:param name="type"></xsl:param>
		<xsl:choose>
			<xsl:when test="$type='international-exhibition'">
				国际展览会
			</xsl:when>
			<xsl:when test="$type='publication'">
				公布
			</xsl:when>
			<xsl:when test="$type='abuse'">
				滥用
			</xsl:when>
			<xsl:when test="$type='other'">
				其他: 
				<xsl:value-of select="."></xsl:value-of>
			</xsl:when>			
		</xsl:choose>
	</xsl:template>
	<xsl:template name="applicantType_ChoiceText">
   <xsl:param name="app-type"></xsl:param>
   	  <xsl:choose>
   	  	<xsl:when test="$app-type='applicant'">
			申请人   
   	  	</xsl:when>
   	  	<xsl:when test="$app-type='applicant-inventor'">
   	  		申请人和发明人    	  		
   	  	</xsl:when>
   	  </xsl:choose>
   </xsl:template><xsl:template name="applicantTypeEn_ChoiceText">
   <xsl:param name="app-type"></xsl:param>
   	  <xsl:choose>
   	  	<xsl:when test="$app-type='applicant'">
			<xsl:text>applicant only</xsl:text>   	  	
   	  	</xsl:when>
   	  	<xsl:when test="$app-type='applicant-inventor'">
   	  		<xsl:text>applicant and inventor</xsl:text>
   	  	</xsl:when>
   	  </xsl:choose>
   </xsl:template><xsl:template name="kind_ChoiceText">
   <xsl:param name="kind"></xsl:param>
   		<xsl:choose>
			<xsl:when test="$kind='heir'">
				继承人
			</xsl:when>
			<xsl:when test="$kind='heiress'">
				女继承人
			</xsl:when>
			<xsl:when test="$kind='heirs'">
				继承人
			</xsl:when>
			<xsl:when test="$kind='executor'">
				遗嘱执行人
			</xsl:when>
			<xsl:when test="$kind='executrix'">
				女遗嘱执行人
			</xsl:when>
			<xsl:when test="$kind='executors'">
				遗嘱执行人
			</xsl:when>
			<xsl:when test="$kind='legal-heirs'">
				法定继承人
			</xsl:when>
			<xsl:when test="$kind='legal-representative'">
				法律代表
			</xsl:when>
			<xsl:when test="$kind='legal-representatives'">
				法律代表
			</xsl:when>
			<xsl:when test="$kind='administrator'">
				管理人				
   			</xsl:when>
			<xsl:when test="$kind='administratrix'">
				女管理人				
   			</xsl:when>
			<xsl:when test="$kind='estate'">
				遗产管理人				
   			</xsl:when>
   		</xsl:choose>
   </xsl:template>
	<xsl:template name="representBefore_ChoiceText">
		<xsl:param name="arg"></xsl:param>
		<xsl:choose>
			<xsl:when test="$arg='all-authorities'">
				所有主管的国际单位
			</xsl:when>
			<xsl:when test="$arg='isa-only'">
				国际检索单位				
			</xsl:when>
			<xsl:when test="$arg='ipea-only'">
				国际初步审查单位
			</xsl:when>
		</xsl:choose>
	</xsl:template>
	<xsl:template name="agentType_ChoiceText">
   <xsl:param name="rep-type"></xsl:param>
   	  <xsl:choose>
   	  	<xsl:when test="$rep-type='agent'">
   	  		代理人 
   	  	</xsl:when>
   	  	<xsl:when test="$rep-type='attorney'">
	   	  	代理人
   	  	</xsl:when>
   	  	<xsl:when test="$rep-type='common-representative'">
	   	  	共同代表 
   	  	</xsl:when>
   	  </xsl:choose>
   </xsl:template><xsl:template name="agentTypeEn_ChoiceText">
   <xsl:param name="rep-type"></xsl:param>
   	  <xsl:choose>
   	  	<xsl:when test="$rep-type='agent'">
			<xsl:text>agent</xsl:text>   	  	
   	  	</xsl:when>
   	  	<xsl:when test="$rep-type='attorney'">
   	  		<xsl:text>attorney</xsl:text>
   	  	</xsl:when>
   	  	<xsl:when test="$rep-type='common-representative'">
   	  		<xsl:text>common representative </xsl:text>
   	  	</xsl:when>
   	  </xsl:choose>
   </xsl:template>
	<xsl:template name="country_ChoiceText">
		<xsl:param name="country"></xsl:param>
		<xsl:choose>
			<xsl:when test="$country='AD'">
				安道尔 
			</xsl:when>
			<xsl:when test="$country='AE'">
				阿拉伯联合酋长国 
			</xsl:when>
			<xsl:when test="$country='AF'">
				阿富汗 
			</xsl:when>
			<xsl:when test="$country='AG'">
				安提瓜和巴布达 
			</xsl:when>
			<xsl:when test="$country='AI'">
				安圭拉 
			</xsl:when>
			<xsl:when test="$country='AL'">
				阿尔巴尼亚 
			</xsl:when>
			<xsl:when test="$country='AM'">
				亚美尼亚 
			</xsl:when>
			<xsl:when test="$country='AN'">
				
			</xsl:when>
			<xsl:when test="$country='AO'">
				安哥拉 
			</xsl:when>
			<xsl:when test="$country='AP'">
				
			</xsl:when>
			<xsl:when test="$country='AQ'">
				南极 
			</xsl:when>
			<xsl:when test="$country='AR'">
				阿根廷 
			</xsl:when>
			<xsl:when test="$country='AS'">
				美属萨摩亚 
			</xsl:when>
			<xsl:when test="$country='AT'">
				奥地利 
			</xsl:when>
			<xsl:when test="$country='AU'">
				澳大利亚 
			</xsl:when>
			<xsl:when test="$country='AW'">
				阿鲁巴 
			</xsl:when>
			<xsl:when test="$country='AX'">
				奥兰群岛 
			</xsl:when>
			<xsl:when test="$country='AZ'">
				阿塞拜疆 
			</xsl:when>
			<xsl:when test="$country='BA'">
				波斯尼亚-黑塞哥维那 
			</xsl:when>
			<xsl:when test="$country='BB'">
				巴巴多斯 
			</xsl:when>
			<xsl:when test="$country='BD'">
				孟加拉国 
			</xsl:when>
			<xsl:when test="$country='BE'">
				比利时 
			</xsl:when>
			<xsl:when test="$country='BF'">
				布基纳法索 
			</xsl:when>
			<xsl:when test="$country='BG'">
				保加利亚 
			</xsl:when>
			<xsl:when test="$country='BH'">
				巴林 
			</xsl:when>
			<xsl:when test="$country='BI'">
				布隆迪 
			</xsl:when>
			<xsl:when test="$country='BJ'">
				贝宁 
			</xsl:when>
			<xsl:when test="$country='BM'">
				百慕大 
			</xsl:when>
			<xsl:when test="$country='BN'">
				文莱达鲁萨兰国 
			</xsl:when>
			<xsl:when test="$country='BO'">
				多民族玻利维亚国 
			</xsl:when>
			<xsl:when test="$country='BQ'">
				博内尔岛、圣尤斯特歇斯和萨巴岛 
			</xsl:when>
			<xsl:when test="$country='BR'">
				巴西 
			</xsl:when>
			<xsl:when test="$country='BS'">
				巴哈马 
			</xsl:when>
			<xsl:when test="$country='BT'">
				不丹 
			</xsl:when>
			<xsl:when test="$country='BV'">
				布维岛 
			</xsl:when>
			<xsl:when test="$country='BW'">
				博茨瓦纳 
			</xsl:when>
			<xsl:when test="$country='BX'">
				
			</xsl:when>
			<xsl:when test="$country='BY'">
				白俄罗斯 
			</xsl:when>
			<xsl:when test="$country='BZ'">
				伯利兹 
			</xsl:when>
			<xsl:when test="$country='CA'">
				加拿大 
			</xsl:when>
			<xsl:when test="$country='CC'">
				科科斯（基林）群岛 
			</xsl:when>
			<xsl:when test="$country='CD'">
				刚果民主共和国 
			</xsl:when>
			<xsl:when test="$country='CF'">
				中非共和国 
			</xsl:when>
			<xsl:when test="$country='CG'">
				刚果 
			</xsl:when>
			<xsl:when test="$country='CH'">
				瑞士 
			</xsl:when>
			<xsl:when test="$country='CI'">
				科特迪瓦 
			</xsl:when>
			<xsl:when test="$country='CK'">
				库克群岛 
			</xsl:when>
			<xsl:when test="$country='CL'">
				智利 
			</xsl:when>
			<xsl:when test="$country='CM'">
				喀麦隆 
			</xsl:when>
			<xsl:when test="$country='CN'">
				中国 
			</xsl:when>
			<xsl:when test="$country='CO'">
				哥伦比亚 
			</xsl:when>
			<xsl:when test="$country='CR'">
				哥斯达黎加 
			</xsl:when>
			<xsl:when test="$country='CU'">
				古巴 
			</xsl:when>
			<xsl:when test="$country='CV'">
				佛得角 
			</xsl:when>
			<xsl:when test="$country='CW'">
				库拉索 
			</xsl:when>
			<xsl:when test="$country='CX'">
				圣诞岛 
			</xsl:when>
			<xsl:when test="$country='CY'">
				塞浦路斯 
			</xsl:when>
			<xsl:when test="$country='CZ'">
				捷克 
			</xsl:when>
			<xsl:when test="$country='DE'">
				德国 
			</xsl:when>
			<xsl:when test="$country='DJ'">
				吉布提 
			</xsl:when>
			<xsl:when test="$country='DK'">
				丹麦 
			</xsl:when>
			<xsl:when test="$country='DM'">
				多米尼加 
			</xsl:when>
			<xsl:when test="$country='DO'">
				多米尼加共和国 
			</xsl:when>
			<xsl:when test="$country='DZ'">
				阿尔及利亚 
			</xsl:when>
			<xsl:when test="$country='EA'">
				
			</xsl:when>
			<xsl:when test="$country='EC'">
				厄瓜多尔 
			</xsl:when>
			<xsl:when test="$country='EE'">
				爱沙尼亚 
			</xsl:when>
			<xsl:when test="$country='EG'">
				埃及 
			</xsl:when>
			<xsl:when test="$country='EH'">
				西撒哈拉 
			</xsl:when>
			<xsl:when test="$country='EM'">
				
			</xsl:when>
			<xsl:when test="$country='EP'">
				
			</xsl:when>
			<xsl:when test="$country='ER'">
				厄立特里亚 
			</xsl:when>
			<xsl:when test="$country='ES'">
				西班牙 
			</xsl:when>
			<xsl:when test="$country='ET'">
				埃塞俄比亚 
			</xsl:when>
			<xsl:when test="$country='FI'">
				芬兰 
			</xsl:when>
			<xsl:when test="$country='FJ'">
				斐济 
			</xsl:when>
			<xsl:when test="$country='FK'">
				福克兰群岛（马尔维纳斯） 
			</xsl:when>
			<xsl:when test="$country='FM'">
				密克罗尼西亚（联邦） 
			</xsl:when>
			<xsl:when test="$country='FO'">
				法罗群岛 
			</xsl:when>
			<xsl:when test="$country='FR'">
				法国 
			</xsl:when>
			<xsl:when test="$country='GA'">
				加蓬 
			</xsl:when>
			<xsl:when test="$country='GB'">
				英国 
			</xsl:when>
			<xsl:when test="$country='GC'">
				
			</xsl:when>
			<xsl:when test="$country='GD'">
				格拉纳达 
			</xsl:when>
			<xsl:when test="$country='GE'">
				格鲁吉亚 
			</xsl:when>
			<xsl:when test="$country='GF'">
				法属圭亚那 
			</xsl:when>
			<xsl:when test="$country='GG'">
				根西岛 
			</xsl:when>
			<xsl:when test="$country='GH'">
				加纳 
			</xsl:when>
			<xsl:when test="$country='GI'">
				直布罗陀 
			</xsl:when>
			<xsl:when test="$country='GL'">
				格陵兰 
			</xsl:when>
			<xsl:when test="$country='GM'">
				冈比亚 
			</xsl:when>
			<xsl:when test="$country='GN'">
				几内亚 
			</xsl:when>
			<xsl:when test="$country='GP'">
				瓜德罗普 
			</xsl:when>
			<xsl:when test="$country='GQ'">
				赤道几内亚 
			</xsl:when>
			<xsl:when test="$country='GR'">
				希腊 
			</xsl:when>
			<xsl:when test="$country='GS'">
				南乔治亚岛和南桑威奇群岛 
			</xsl:when>
			<xsl:when test="$country='GT'">
				危地马拉 
			</xsl:when>
			<xsl:when test="$country='GU'">
				关岛 
			</xsl:when>
			<xsl:when test="$country='GW'">
				几内亚比绍 
			</xsl:when>
			<xsl:when test="$country='GY'">
				圭亚那 
			</xsl:when>
			<xsl:when test="$country='HK'">
				中国香港 
			</xsl:when>
			<xsl:when test="$country='HM'">
				赫德和麦克唐纳群岛 
			</xsl:when>
			<xsl:when test="$country='HN'">
				洪都拉斯 
			</xsl:when>
			<xsl:when test="$country='HR'">
				克罗地亚 
			</xsl:when>
			<xsl:when test="$country='HT'">
				海地 
			</xsl:when>
			<xsl:when test="$country='HU'">
				匈牙利 
			</xsl:when>
			<xsl:when test="$country='IB'">
				
			</xsl:when>
			<xsl:when test="$country='ID'">
				印度尼西亚 
			</xsl:when>
			<xsl:when test="$country='IE'">
				爱尔兰 
			</xsl:when>
			<xsl:when test="$country='IL'">
				以色列 
			</xsl:when>
			<xsl:when test="$country='IM'">
				马恩岛 
			</xsl:when>
			<xsl:when test="$country='IN'">
				印度 
			</xsl:when>
			<xsl:when test="$country='IO'">
				英属印度洋领土 
			</xsl:when>
			<xsl:when test="$country='IQ'">
				伊拉克 
			</xsl:when>
			<xsl:when test="$country='IR'">
				伊朗（伊斯兰共和国） 
			</xsl:when>
			<xsl:when test="$country='IS'">
				冰岛 
			</xsl:when>
			<xsl:when test="$country='IT'">
				意大利 
			</xsl:when>
			<xsl:when test="$country='JE'">
				泽西 
			</xsl:when>
			<xsl:when test="$country='JM'">
				牙买加 
			</xsl:when>
			<xsl:when test="$country='JO'">
				约旦 
			</xsl:when>
			<xsl:when test="$country='JP'">
				日本 
			</xsl:when>
			<xsl:when test="$country='KE'">
				肯尼亚 
			</xsl:when>
			<xsl:when test="$country='KG'">
				吉尔吉斯斯坦 
			</xsl:when>
			<xsl:when test="$country='KH'">
				柬埔寨 
			</xsl:when>
			<xsl:when test="$country='KI'">
				基里巴斯 
			</xsl:when>
			<xsl:when test="$country='KM'">
				科摩罗 
			</xsl:when>
			<xsl:when test="$country='KN'">
				圣基茨和尼维斯 
			</xsl:when>
			<xsl:when test="$country='KP'">
				朝鲜民主主义人民共和国 
			</xsl:when>
			<xsl:when test="$country='KR'">
				韩国 
			</xsl:when>
			<xsl:when test="$country='KW'">
				科威特 
			</xsl:when>
			<xsl:when test="$country='KY'">
				开曼群岛 
			</xsl:when>
			<xsl:when test="$country='KZ'">
				哈萨克斯坦 
			</xsl:when>
			<xsl:when test="$country='LA'">
				老挝人民民主共和国 
			</xsl:when>
			<xsl:when test="$country='LB'">
				黎巴嫩 
			</xsl:when>
			<xsl:when test="$country='LC'">
				圣卢西亚 
			</xsl:when>
			<xsl:when test="$country='LI'">
				列支敦士登 
			</xsl:when>
			<xsl:when test="$country='LK'">
				斯里兰卡 
			</xsl:when>
			<xsl:when test="$country='LR'">
				利比里亚 
			</xsl:when>
			<xsl:when test="$country='LS'">
				莱索托 
			</xsl:when>
			<xsl:when test="$country='LT'">
				立陶宛 
			</xsl:when>
			<xsl:when test="$country='LU'">
				卢森堡 
			</xsl:when>
			<xsl:when test="$country='LV'">
				拉脱维亚 
			</xsl:when>
			<xsl:when test="$country='LY'">
				利比亚 
			</xsl:when>
			<xsl:when test="$country='MA'">
				摩洛哥 
			</xsl:when>
			<xsl:when test="$country='MC'">
				摩纳哥 
			</xsl:when>
			<xsl:when test="$country='MD'">
				摩尔多瓦共和国 
			</xsl:when>
			<xsl:when test="$country='ME'">
				黑山 
			</xsl:when>
			<xsl:when test="$country='MG'">
				马达加斯加 
			</xsl:when>
			<xsl:when test="$country='MH'">
				马绍尔群岛 
			</xsl:when>
			<xsl:when test="$country='MK'">
				北马其顿 
			</xsl:when>
			<xsl:when test="$country='ML'">
				马里 
			</xsl:when>
			<xsl:when test="$country='MM'">
				缅甸 
			</xsl:when>
			<xsl:when test="$country='MN'">
				蒙古 
			</xsl:when>
			<xsl:when test="$country='MO'">
				中国澳门 
			</xsl:when>
			<xsl:when test="$country='MP'">
				北马里亚纳群岛 
			</xsl:when>
			<xsl:when test="$country='MQ'">
				马提尼克 
			</xsl:when>
			<xsl:when test="$country='MR'">
				毛里塔尼亚 
			</xsl:when>
			<xsl:when test="$country='MS'">
				蒙特塞拉特 
			</xsl:when>
			<xsl:when test="$country='MT'">
				马耳他 
			</xsl:when>
			<xsl:when test="$country='MU'">
				毛里求斯 
			</xsl:when>
			<xsl:when test="$country='MV'">
				马尔代夫 
			</xsl:when>
			<xsl:when test="$country='MW'">
				马拉维 
			</xsl:when>
			<xsl:when test="$country='MX'">
				墨西哥 
			</xsl:when>
			<xsl:when test="$country='MY'">
				马来西亚 
			</xsl:when>
			<xsl:when test="$country='MZ'">
				莫桑比克 
			</xsl:when>
			<xsl:when test="$country='NA'">
				纳米比亚 
			</xsl:when>
			<xsl:when test="$country='NC'">
				新喀里多尼亚 
			</xsl:when>
			<xsl:when test="$country='NE'">
				尼日尔 
			</xsl:when>
			<xsl:when test="$country='NF'">
				诺福克岛 
			</xsl:when>
			<xsl:when test="$country='NG'">
				尼日利亚 
			</xsl:when>
			<xsl:when test="$country='NI'">
				尼加拉瓜 
			</xsl:when>
			<xsl:when test="$country='NL'">
				荷兰王国 
			</xsl:when>
			<xsl:when test="$country='NO'">
				挪威 
			</xsl:when>
			<xsl:when test="$country='NP'">
				尼泊尔 
			</xsl:when>
			<xsl:when test="$country='NR'">
				瑙鲁 
			</xsl:when>
			<xsl:when test="$country='NU'">
				纽埃 
			</xsl:when>
			<xsl:when test="$country='NZ'">
				新西兰 
			</xsl:when>
			<xsl:when test="$country='OA'">
				
			</xsl:when>
			<xsl:when test="$country='OM'">
				阿曼 
			</xsl:when>
			<xsl:when test="$country='PA'">
				巴拿马 
			</xsl:when>
			<xsl:when test="$country='PE'">
				秘鲁 
			</xsl:when>
			<xsl:when test="$country='PF'">
				法属波利尼西亚 
			</xsl:when>
			<xsl:when test="$country='PG'">
				巴布亚新几内亚 
			</xsl:when>
			<xsl:when test="$country='PH'">
				菲律宾 
			</xsl:when>
			<xsl:when test="$country='PK'">
				巴基斯坦 
			</xsl:when>
			<xsl:when test="$country='PL'">
				波兰 
			</xsl:when>
			<xsl:when test="$country='PM'">
				圣皮埃尔和密克隆岛 
			</xsl:when>
			<xsl:when test="$country='PN'">
				皮特凯恩 
			</xsl:when>
			<xsl:when test="$country='PR'">
				波多黎各 
			</xsl:when>
			<xsl:when test="$country='PS'">
				巴勒斯坦 
			</xsl:when>
			<xsl:when test="$country='PT'">
				葡萄牙 
			</xsl:when>
			<xsl:when test="$country='PW'">
				帕劳 
			</xsl:when>
			<xsl:when test="$country='PY'">
				巴拉圭 
			</xsl:when>
			<xsl:when test="$country='QA'">
				卡塔尔 
			</xsl:when>
			<xsl:when test="$country='RE'">
				留尼汪岛 
			</xsl:when>
			<xsl:when test="$country='RO'">
				罗马尼亚 
			</xsl:when>
			<xsl:when test="$country='RS'">
				塞尔维亚 
			</xsl:when>
			<xsl:when test="$country='RU'">
				俄罗斯 
			</xsl:when>
			<xsl:when test="$country='RW'">
				卢旺达 
			</xsl:when>
			<xsl:when test="$country='SA'">
				沙特阿拉伯 
			</xsl:when>
			<xsl:when test="$country='SB'">
				所罗门群岛 
			</xsl:when>
			<xsl:when test="$country='SC'">
				塞舌尔 
			</xsl:when>
			<xsl:when test="$country='SD'">
				苏丹 
			</xsl:when>
			<xsl:when test="$country='SE'">
				瑞典 
			</xsl:when>
			<xsl:when test="$country='SG'">
				新加坡 
			</xsl:when>
			<xsl:when test="$country='SH'">
				圣赫勒拿，阿森松岛与特里斯坦达库尼亚 
			</xsl:when>
			<xsl:when test="$country='SI'">
				斯洛文尼亚 
			</xsl:when>
			<xsl:when test="$country='SJ'">
				斯瓦尔巴群岛和扬马延岛 
			</xsl:when>
			<xsl:when test="$country='SK'">
				斯洛伐克 
			</xsl:when>
			<xsl:when test="$country='SL'">
				塞拉利昂 
			</xsl:when>
			<xsl:when test="$country='SM'">
				圣马力诺 
			</xsl:when>
			<xsl:when test="$country='SN'">
				塞内加尔 
			</xsl:when>
			<xsl:when test="$country='SO'">
				索马里 
			</xsl:when>
			<xsl:when test="$country='SR'">
				苏里南 
			</xsl:when>
			<xsl:when test="$country='SS'">
				南苏丹 
			</xsl:when>
			<xsl:when test="$country='ST'">
				圣多美和普林西比 
			</xsl:when>
			<xsl:when test="$country='SV'">
				萨尔瓦多 
			</xsl:when>
			<xsl:when test="$country='SX'">
				圣马丁（荷兰部分） 
			</xsl:when>
			<xsl:when test="$country='SY'">
				阿拉伯叙利亚共和国 
			</xsl:when>
			<xsl:when test="$country='SZ'">
				伊斯瓦蒂尼 
			</xsl:when>
			<xsl:when test="$country='TC'">
				特克斯和凯科斯群岛 
			</xsl:when>
			<xsl:when test="$country='TD'">
				乍得 
			</xsl:when>
			<xsl:when test="$country='TF'">
				法国南部领土 
			</xsl:when>
			<xsl:when test="$country='TG'">
				多哥 
			</xsl:when>
			<xsl:when test="$country='TH'">
				泰国 
			</xsl:when>
			<xsl:when test="$country='TJ'">
				塔吉克斯坦 
			</xsl:when>
			<xsl:when test="$country='TK'">
				托克劳 
			</xsl:when>
			<xsl:when test="$country='TL'">
				东帝汶 
			</xsl:when>
			<xsl:when test="$country='TM'">
				土库曼斯坦 
			</xsl:when>
			<xsl:when test="$country='TN'">
				突尼斯 
			</xsl:when>
			<xsl:when test="$country='TO'">
				汤加 
			</xsl:when>
			<xsl:when test="$country='TP'">
				东帝汶 
			</xsl:when>
			<xsl:when test="$country='TR'">
				土耳其 
			</xsl:when>
			<xsl:when test="$country='TT'">
				特立尼达和多巴哥 
			</xsl:when>
			<xsl:when test="$country='TV'">
				图瓦卢 
			</xsl:when>
			<xsl:when test="$country='TW'">
				中国台湾省 
			</xsl:when>
			<xsl:when test="$country='TZ'">
				坦桑尼亚联合共和国 
			</xsl:when>
			<xsl:when test="$country='UA'">
				乌克兰 
			</xsl:when>
			<xsl:when test="$country='UG'">
				乌干达 
			</xsl:when>
			<xsl:when test="$country='UM'">
				美国本土外小岛屿 
			</xsl:when>
			<xsl:when test="$country='US'">
				美国 
			</xsl:when>
			<xsl:when test="$country='UY'">
				乌拉圭 
			</xsl:when>
			<xsl:when test="$country='UZ'">
				乌兹别克斯坦 
			</xsl:when>
			<xsl:when test="$country='VA'">
				罗马教廷 
			</xsl:when>
			<xsl:when test="$country='VC'">
				圣文森特和格林纳丁斯 
			</xsl:when>
			<xsl:when test="$country='VE'">
				委内瑞拉玻利瓦尔共和国 
			</xsl:when>
			<xsl:when test="$country='VG'">
				维尔京群岛（英国） 
			</xsl:when>
			<xsl:when test="$country='VI'">
				维尔京群岛（美国） 
			</xsl:when>
			<xsl:when test="$country='VN'">
				越南 
			</xsl:when>
			<xsl:when test="$country='VU'">
				瓦努阿图 
			</xsl:when>
			<xsl:when test="$country='WF'">
				瓦利斯和富图纳 
			</xsl:when>
			<xsl:when test="$country='WO'">
				
			</xsl:when>
			<xsl:when test="$country='WS'">
				萨摩亚 
			</xsl:when>
			<xsl:when test="$country='XV'">
				
			</xsl:when>
			<xsl:when test="$country='YE'">
				也门 
			</xsl:when>
			<xsl:when test="$country='YT'">
				马约特岛 
			</xsl:when>
			<xsl:when test="$country='YU'">
				
			</xsl:when>
			<xsl:when test="$country='ZA'">
				南非 
			</xsl:when>
			<xsl:when test="$country='ZM'">
				赞比亚 
			</xsl:when>
			<xsl:when test="$country='ZW'">
				津巴布韦 
			</xsl:when>
			<xsl:otherwise>
				<xsl:value-of select="$country"></xsl:value-of>
			</xsl:otherwise>
		</xsl:choose>
	</xsl:template>
	<xsl:template name="language_ChoiceText">
	<xsl:param name="lang"></xsl:param>
		<xsl:choose>
		  <xsl:when test="$lang='aa'">
			  Afar
		  </xsl:when>
		  <xsl:when test="$lang='ab'">
			 Abkhazian 
		  </xsl:when>
		  <xsl:when test="$lang='ae'">
			 Avestan 
		  </xsl:when>
		  <xsl:when test="$lang='af'">
			 Afrikaans 
		  </xsl:when>
		  <xsl:when test="$lang='am'">
			 Amharic 
		  </xsl:when>
		  <xsl:when test="$lang='ar'">
			 Arabic 
		  </xsl:when>
		  <xsl:when test="$lang='as'">
			 Assamese 
		  </xsl:when>
		  <xsl:when test="$lang='ay'">
			 Aymara 
		  </xsl:when>
		  <xsl:when test="$lang='az'">
			 Azerbijani 
		  </xsl:when>
		  <xsl:when test="$lang='ba'">
			 Bashkir 
		  </xsl:when>
		  <xsl:when test="$lang='be'">
			 Belarusian 
		  </xsl:when>
		  <xsl:when test="$lang='bg'">
			 Bulgarian 
		  </xsl:when>
		  <xsl:when test="$lang='bh'">
			 Bihari 
		  </xsl:when>
		  <xsl:when test="$lang='bi'">
			 Bislama 
		  </xsl:when>
		  <xsl:when test="$lang='bn'">
			 Bengali 
		  </xsl:when>
		  <xsl:when test="$lang='bo'">
			 Tibetan 
		  </xsl:when>
		  <xsl:when test="$lang='br'">
			 Breton 
		  </xsl:when>
		  <xsl:when test="$lang='bs'">
			 Bosnian 
		  </xsl:when>
		  <xsl:when test="$lang='ca'">
			 Catalan 
		  </xsl:when>
		  <xsl:when test="$lang='ce'">
			 Chechen 
		  </xsl:when>
		  <xsl:when test="$lang='ch'">
			 Chamorro 
		  </xsl:when>
		  <xsl:when test="$lang='co'">
			 Corsican 
		  </xsl:when>
		  <xsl:when test="$lang='cs'">
			 捷克文
		  </xsl:when>
		  <xsl:when test="$lang='cu'">
			 
		  </xsl:when>
		  <xsl:when test="$lang='cv'">
			 Chuvash 
		  </xsl:when>
		  <xsl:when test="$lang='cy'">
			 Welsh 
		  </xsl:when>
		  <xsl:when test="$lang='da'">
			 丹麦文
		  </xsl:when>
		  <xsl:when test="$lang='de'">
			 德文
		  </xsl:when>
		  <xsl:when test="$lang='dz'">
			 Dzongkha 
		  </xsl:when>
		  <xsl:when test="$lang='el'">
			 Greek 
		  </xsl:when>
		  <xsl:when test="$lang='en'">
			 英文
		  </xsl:when>
		  <xsl:when test="$lang='eo'">
			 Esperanto 
		  </xsl:when>
		  <xsl:when test="$lang='es'">
			 西班牙文
		  </xsl:when>
		  <xsl:when test="$lang='et'">
			 Estonian 
		  </xsl:when>
		  <xsl:when test="$lang='eu'">
			 Basque 
		  </xsl:when>
		  <xsl:when test="$lang='fa'">
			 Persian 
		  </xsl:when>
		  <xsl:when test="$lang='fi'">
			 芬兰文
		  </xsl:when>
		  <xsl:when test="$lang='fj'">
			 Fijian 
		  </xsl:when>
		  <xsl:when test="$lang='fo'">
			 Faroese 
		  </xsl:when>
		  <xsl:when test="$lang='fr'">
			 法文
		  </xsl:when>
		  <xsl:when test="$lang='fy'">
			 Frisian 
		  </xsl:when>
		  <xsl:when test="$lang='ga'">
			 Irish 
		  </xsl:when>
		  <xsl:when test="$lang='gd'">
			 Gaelic 
		  </xsl:when>
		  <xsl:when test="$lang='gl'">
			 Gallegan 
		  </xsl:when>
		  <xsl:when test="$lang='gn'">
			 Guarani 
		  </xsl:when>
		  <xsl:when test="$lang='gu'">
			 Gujarati 
		  </xsl:when>
		  <xsl:when test="$lang='gv'">
			 Manx 
		  </xsl:when>
		  <xsl:when test="$lang='ha'">
			 Hausa 
		  </xsl:when>
		  <xsl:when test="$lang='he'">
			 Hebrew 
		  </xsl:when>
		  <xsl:when test="$lang='hi'">
			 Hindi 
		  </xsl:when>
		  <xsl:when test="$lang='ho'">
			 Hiri Motu 
		  </xsl:when>
		  <xsl:when test="$lang='hr'">
			 克罗地亚文
		  </xsl:when>
		  <xsl:when test="$lang='hu'">
			 匈牙利文
		  </xsl:when>
		  <xsl:when test="$lang='hy'">
			 Armenian 
		  </xsl:when>
		  <xsl:when test="$lang='hz'">
			 Herero 
		  </xsl:when>
		  <xsl:when test="$lang='ia'">
			 Interlingua 
		  </xsl:when>
		  <xsl:when test="$lang='id'">
			 Indonesian 
		  </xsl:when>
		  <xsl:when test="$lang='ie'">
			 Interlingue 
		  </xsl:when>
		  <xsl:when test="$lang='ik'">
			 Inupiaq 
		  </xsl:when>
		  <xsl:when test="$lang='io'">
			 Ido 
		  </xsl:when>
		  <xsl:when test="$lang='is'">
			 冰岛文
		  </xsl:when>
		  <xsl:when test="$lang='it'">
			 意大利文
		  </xsl:when>
		  <xsl:when test="$lang='iu'">
			 Inuktitut 
		  </xsl:when>
		  <xsl:when test="$lang='ja'">
			 日文
		  </xsl:when>
		  <xsl:when test="$lang='jv'">
			 Javanese 
		  </xsl:when>
		  <xsl:when test="$lang='ka'">
			 Georgian 
		  </xsl:when>
		  <xsl:when test="$lang='ki'">
			 Kikuyu 
		  </xsl:when>
		  <xsl:when test="$lang='kj'">
			 Kuanyama 
		  </xsl:when>
		  <xsl:when test="$lang='kk'">
			 Kazakh 
		  </xsl:when>
		  <xsl:when test="$lang='kl'">
			 Greenlandic 
		  </xsl:when>
		  <xsl:when test="$lang='km'">
			 Cambodian 
		  </xsl:when>
		  <xsl:when test="$lang='kn'">
			 Kannada 
		  </xsl:when>
		  <xsl:when test="$lang='ko'">
			 朝鲜文
		  </xsl:when>
		  <xsl:when test="$lang='ks'">
			 Kashmiri 
		  </xsl:when>
		  <xsl:when test="$lang='ku'">
			 Kurdish 
		  </xsl:when>
		  <xsl:when test="$lang='kv'">
			 Komi 
		  </xsl:when>
		  <xsl:when test="$lang='kw'">
			 Cornish 
		  </xsl:when>
		  <xsl:when test="$lang='ky'">
			 Kirghiz 
		  </xsl:when>
		  <xsl:when test="$lang='la'">
			 Latin 
		  </xsl:when>
		  <xsl:when test="$lang='lb'">
			 Luxembourgish 
		  </xsl:when>
		  <xsl:when test="$lang='ln'">
			 Lingala 
		  </xsl:when>
		  <xsl:when test="$lang='lo'">
			 Laothian 
		  </xsl:when>
		  <xsl:when test="$lang='lt'">
			 Lithuanian 
		  </xsl:when>
		  <xsl:when test="$lang='lv'">
			 Latvian 
		  </xsl:when>
		  <xsl:when test="$lang='mg'">
			 Malagasy 
		  </xsl:when>
		  <xsl:when test="$lang='mh'">
			 Marshallese 
		  </xsl:when>
		  <xsl:when test="$lang='mi'">
			 Maori 
		  </xsl:when>
		  <xsl:when test="$lang='mk'">
			 Macedonian 
		  </xsl:when>
		  <xsl:when test="$lang='ml'">
			 Malayalam 
		  </xsl:when>
		  <xsl:when test="$lang='mn'">
			 Mongolian 
		  </xsl:when>
		  <xsl:when test="$lang='mo'">
			 Moldavian 
		  </xsl:when>
		  <xsl:when test="$lang='mr'">
			 Marathi 
		  </xsl:when>
		  <xsl:when test="$lang='ms'">
			 Malay 
		  </xsl:when>
		  <xsl:when test="$lang='mt'">
			 Maltese 
		  </xsl:when>
		  <xsl:when test="$lang='my'">
			 Burmese 
		  </xsl:when>
		  <xsl:when test="$lang='na'">
			 Burmese 
		  </xsl:when>
		  <xsl:when test="$lang='nb'">
			 Norwegian Bokmål 
		  </xsl:when>
		  <xsl:when test="$lang='nd'">
			 Ndebele, North 
		  </xsl:when>
		  <xsl:when test="$lang='ne'">
			 Nepali 
		  </xsl:when>
		  <xsl:when test="$lang='ng'">
			 Ndonga 
		  </xsl:when>
		  <xsl:when test="$lang='nl'">
			 荷兰文
		  </xsl:when>
		  <xsl:when test="$lang='nn'">
			 Norwegian Nynorsk 
		  </xsl:when>
		  <xsl:when test="$lang='no'">
			 挪威文
		  </xsl:when>
		  <xsl:when test="$lang='nr'">
			 Ndebele, South 
		  </xsl:when>
		  <xsl:when test="$lang='nv'">
			 Navajo 
		  </xsl:when>
		  <xsl:when test="$lang='ny'">
			 Chichewa 
		  </xsl:when>
		  <xsl:when test="$lang='oc'">
			 Occitan 
		  </xsl:when>
		  <xsl:when test="$lang='om'">
			 Oromo 
		  </xsl:when>
		  <xsl:when test="$lang='or'">
			 Oriya 
		  </xsl:when>
		  <xsl:when test="$lang='os'">
			 Ossetian 
		  </xsl:when>
		  <xsl:when test="$lang='pa'">
			 Punjabi 
		  </xsl:when>
		  <xsl:when test="$lang='pi'">
			 Pali 
		  </xsl:when>
		  <xsl:when test="$lang='pl'">
			 Polish 
		  </xsl:when>
		  <xsl:when test="$lang='ps'">
			 Pushto 
		  </xsl:when>
		  <xsl:when test="$lang='pt'">
			 Portuguese 
		  </xsl:when>
		  <xsl:when test="$lang='qu'">
			 Quechua 
		  </xsl:when>
		  <xsl:when test="$lang='rm'">
			 Raeto-Romance 
		  </xsl:when>
		  <xsl:when test="$lang='rn'">
			 Rundi 
		  </xsl:when>
		  <xsl:when test="$lang='ro'">
			 Romanian 
		  </xsl:when>
		  <xsl:when test="$lang='ru'">
			 俄文
		  </xsl:when>
		  <xsl:when test="$lang='rw'">
			 Kinyarwanda 
		  </xsl:when>
		  <xsl:when test="$lang='sa'">
			 Sanskrit 
		  </xsl:when>
		  <xsl:when test="$lang='sc'">
			 Sardinian 
		  </xsl:when>
		  <xsl:when test="$lang='sd'">
			 Sindhi 
		  </xsl:when>
		  <xsl:when test="$lang='se'">
			 Northern Sami 
		  </xsl:when>
		  <xsl:when test="$lang='sg'">
			 Sango 
		  </xsl:when>
		  <xsl:when test="$lang='sh'">
			  Serbo-Croatian 
		  </xsl:when>      
		  <xsl:when test="$lang='si'">
			 Sinhalese 
		  </xsl:when>
		  <xsl:when test="$lang='sk'">
			 斯洛伐克文
		  </xsl:when>
		  <xsl:when test="$lang='sl'">
			 斯洛文尼亚文
		  </xsl:when>
		  <xsl:when test="$lang='sm'">
			 Samoan 
		  </xsl:when>
		  <xsl:when test="$lang='sn'">
			 Shona 
		  </xsl:when>
		  <xsl:when test="$lang='so'">
			 Somali 
		  </xsl:when>
		  <xsl:when test="$lang='sq'">
			 阿尔巴尼亚
		  </xsl:when>
		  <xsl:when test="$lang='sr'">
			 Serbian 
		  </xsl:when>
		  <xsl:when test="$lang='ss'">
			 Swati 
		  </xsl:when>
		  <xsl:when test="$lang='st'">
			 Sotho, Southern 
		  </xsl:when>
		  <xsl:when test="$lang='su'">
			 Sundanese 
		  </xsl:when>
		  <xsl:when test="$lang='sv'">
			 瑞典文
		  </xsl:when>
		  <xsl:when test="$lang='sw'">
			 Swahili 
		  </xsl:when>
		  <xsl:when test="$lang='ta'">
			 Tamil 
		  </xsl:when>
		  <xsl:when test="$lang='te'">
			 Telugu 
		  </xsl:when>
		  <xsl:when test="$lang='tg'">
			 Tajik 
		  </xsl:when>
		  <xsl:when test="$lang='th'">
			 Thai 
		  </xsl:when>
		  <xsl:when test="$lang='ti'">
			 Tigrinya 
		  </xsl:when>
		  <xsl:when test="$lang='tk'">
			 Turkmen 
		  </xsl:when>
		  <xsl:when test="$lang='tl'">
			 Tagalog 
		  </xsl:when>
		  <xsl:when test="$lang='tn'">
			 Tswana 
		  </xsl:when>
		  <xsl:when test="$lang='to'">
			 Tonga 
		  </xsl:when>
		  <xsl:when test="$lang='tr'">
			 土耳其文
		  </xsl:when>
		  <xsl:when test="$lang='ts'">
			 Tsonga 
		  </xsl:when>
		  <xsl:when test="$lang='tt'">
			 Tatar 
		  </xsl:when>
		  <xsl:when test="$lang='tw'">
			 Twi 
		  </xsl:when>
		  <xsl:when test="$lang='ty'">
			 Tahitian 
		  </xsl:when>
		  <xsl:when test="$lang='ug'">
			 Uighur 
		  </xsl:when>
		  <xsl:when test="$lang='uk'">
			 Ukrainian 
		  </xsl:when>
		  <xsl:when test="$lang='ur'">
			 Urdu 
		  </xsl:when>
		  <xsl:when test="$lang='uz'">
			 Uzbek 
		  </xsl:when>
		  <xsl:when test="$lang='vi'">
			 Vietnamese 
		  </xsl:when>
		  <xsl:when test="$lang='vo'">
			 Volapük 
		  </xsl:when>
		  <xsl:when test="$lang='wa'">
			 Walloon 
		  </xsl:when>
		  <xsl:when test="$lang='wo'">
			 Wolof 
		  </xsl:when>
		  <xsl:when test="$lang='xh'">
			 Xhosa 
		  </xsl:when>
		  <xsl:when test="$lang='yi'">
			 Yiddish 
		  </xsl:when>
		  <xsl:when test="$lang='yo'">
			 Yoruba 
		  </xsl:when>
		  <xsl:when test="$lang='za'">
			 Zhuang 
		  </xsl:when>
		  <xsl:when test="$lang='zh'">
			 中文
		  </xsl:when>
		  <xsl:when test="$lang='zu'">
			 Zulu 
		  </xsl:when>
		</xsl:choose>
   </xsl:template>
	<xsl:template name="officeName_ChoiceText">
      <xsl:param name="office"></xsl:param>
      <xsl:param name="tOffice" select="translate($office,'abcdefghijklmnopqrstuvwxyz','ABCDEFGHIJKLMNOPQRSTUVWXYZ')"></xsl:param>
      <xsl:choose>
         <xsl:when test="$tOffice='AE'">
	            经济部专利注册国际中心（阿拉伯联合酋长国）	
         </xsl:when>
         <xsl:when test="$tOffice='AG'">
	            安提瓜和巴布达知识产权与商务局 (ABIPCO)	
         </xsl:when>
         <xsl:when test="$tOffice='AL'">
	            工业产权总司 (GDIP)（阿尔巴尼亚）	
         </xsl:when>
         <xsl:when test="$tOffice='AM'">
	            亚美尼亚共和国知识产权局	
         </xsl:when>
         <xsl:when test="$tOffice='AO'">
	            安哥拉工业产权署	
         </xsl:when>
         <xsl:when test="$tOffice='AP'">
	            非洲地区知识产权组织 (ARIPO)	
         </xsl:when>
         <xsl:when test="$tOffice='AT'">
	            奥地利专利局	
         </xsl:when>
         <xsl:when test="$tOffice='AU'">
	            澳大利亚专利局	
         </xsl:when>
         <xsl:when test="$tOffice='AZ'">
	            阿塞拜疆共和国知识产权署	
         </xsl:when>
         <xsl:when test="$tOffice='BA'">
	            波斯尼亚和黑塞哥维那知识产权署	
         </xsl:when>
         <xsl:when test="$tOffice='BB'">
	            企业事务和知识产权局（巴巴多斯）	
         </xsl:when>
         <xsl:when test="$tOffice='BE'">
	            比利时知识产权局 (IPObel)	
         </xsl:when>
         <xsl:when test="$tOffice='BF'">
	            --	
         </xsl:when>
         <xsl:when test="$tOffice='BG'">
	            保加利亚共和国专利局	
         </xsl:when>
         <xsl:when test="$tOffice='BH'">
	            国家专利局对外贸易和工业产权处（巴林）	
         </xsl:when>
         <xsl:when test="$tOffice='BJ'">
	            --	
         </xsl:when>
         <xsl:when test="$tOffice='BN'">
	            文莱达鲁萨兰国知识产权局 (BruIPO)	
         </xsl:when>
         <xsl:when test="$tOffice='BR'">
	            巴西国家工业产权局	
         </xsl:when>
         <xsl:when test="$tOffice='BW'">
	            公司和知识产权事务局(CIPA)（博茨瓦纳）	
         </xsl:when>
         <xsl:when test="$tOffice='BX'">
	            Benelux Office for Intellectual Property (BOIP)	
         </xsl:when>
         <xsl:when test="$tOffice='BY'">
	            国家知识产权中心（白俄罗斯）	
         </xsl:when>
         <xsl:when test="$tOffice='BZ'">
	            伯利兹知识产权局	
         </xsl:when>
         <xsl:when test="$tOffice='CA'">
	            加拿大知识产权局	
         </xsl:when>
         <xsl:when test="$tOffice='CF'">
	            --	
         </xsl:when>
         <xsl:when test="$tOffice='CG'">
	            --	
         </xsl:when>
         <xsl:when test="$tOffice='CH'">
	            瑞士联邦知识产权局	
         </xsl:when>
         <xsl:when test="$tOffice='CI'">
	            --	
         </xsl:when>
         <xsl:when test="$tOffice='CL'">
	            国家工业产权局（智利）	
         </xsl:when>
         <xsl:when test="$tOffice='CM'">
	            --	
         </xsl:when>
         <xsl:when test="$tOffice='CN'">
	            中国国家知识产权局 (CNIPA)	
         </xsl:when>
         <xsl:when test="$tOffice='CO'">
	            工商监管局（哥伦比亚）	
         </xsl:when>
         <xsl:when test="$tOffice='CR'">
	            知识产权注册署（哥斯达黎加）	
         </xsl:when>
         <xsl:when test="$tOffice='CS'">
	            --	
         </xsl:when>
         <xsl:when test="$tOffice='CU'">
	            古巴工业产权局	
         </xsl:when>
         <xsl:when test="$tOffice='CY'">
	            塞浦路斯公司注册和破产管理署	
         </xsl:when>
         <xsl:when test="$tOffice='CV'">
	            质量管理和知识产权局(IGQPI)（佛得角）	
         </xsl:when>
         <xsl:when test="$tOffice='CZ'">
	            捷克共和国工业产权局	
         </xsl:when>
         <xsl:when test="$tOffice='DD'">
	            --	
         </xsl:when>
         <xsl:when test="$tOffice='DE'">
	            德国专利商标局	
         </xsl:when>
         <xsl:when test="$tOffice='DJ'">
	            吉布提工业产权和商务局(ODPIC)	
         </xsl:when>
         <xsl:when test="$tOffice='DK'">
	            丹麦专利商标局	
         </xsl:when>
         <xsl:when test="$tOffice='DM'">
	            公司注册和知识产权局（多米尼加）	
         </xsl:when>
         <xsl:when test="$tOffice='DO'">
	            国家工业产权局（多米尼加共和国）	
         </xsl:when>
         <xsl:when test="$tOffice='DZ'">
	            阿尔及利亚国家工业产权局	
         </xsl:when>
         <xsl:when test="$tOffice='EA'">
	            欧亚专利局 (EAPO)	
         </xsl:when>
         <xsl:when test="$tOffice='EC'">
	            国家知识产权服务局 (SENADI)（厄瓜多尔）	
         </xsl:when>
         <xsl:when test="$tOffice='EE'">
	            爱沙尼亚专利局	
         </xsl:when>
         <xsl:when test="$tOffice='EG'">
	            埃及专利局	
         </xsl:when>
         <xsl:when test="$tOffice='EM'">
	            欧盟知识产权局	
         </xsl:when>
         <xsl:when test="$tOffice='EP'">
	            欧洲专利局 (EPO)	
         </xsl:when>
         <xsl:when test="$tOffice='ES'">
	            西班牙专利商标局	
         </xsl:when>
         <xsl:when test="$tOffice='FI'">
	            芬兰专利和注册局 (PRH)	
         </xsl:when>
         <xsl:when test="$tOffice='FR'">
	            国家工业产权局 (INPI)（法国）	
         </xsl:when>
         <xsl:when test="$tOffice='GA'">
	            --	
         </xsl:when>
         <xsl:when test="$tOffice='GB'">
	            知识产权局（英国）	
         </xsl:when>
         <xsl:when test="$tOffice='GC'">
	            Patent Office of the Gulf Cooperation Council (GCC)	
         </xsl:when>
         <xsl:when test="$tOffice='GD'">
	            最高法院注册处（格林纳达）	
         </xsl:when>
         <xsl:when test="$tOffice='GE'">
	            格鲁吉亚国家知识产权中心 (SAKPATENTI)	
         </xsl:when>
         <xsl:when test="$tOffice='GH'">
	            注册总署（加纳）	
         </xsl:when>
         <xsl:when test="$tOffice='GM'">
	            司法部注册总署（冈比亚）	
         </xsl:when>
         <xsl:when test="$tOffice='GN'">
	            --	
         </xsl:when>
         <xsl:when test="$tOffice='GQ'">
	            --	
         </xsl:when>
         <xsl:when test="$tOffice='GR'">
	            工业产权局(OBI)（希腊）	
         </xsl:when>
         <xsl:when test="$tOffice='GT'">
	            知识产权注册署（危地马拉）	
         </xsl:when>
         <xsl:when test="$tOffice='GW'">
	            --	
         </xsl:when>
         <xsl:when test="$tOffice='HK'">
	            --	
         </xsl:when>
         <xsl:when test="$tOffice='HN'">
	            知识产权总司（洪都拉斯）	
         </xsl:when>
         <xsl:when test="$tOffice='HR'">
	            国家知识产权局（克罗地亚）	
         </xsl:when>
         <xsl:when test="$tOffice='HU'">
	            匈牙利知识产权局 (HIPO)	
         </xsl:when>
         <xsl:when test="$tOffice='IB'">
	            世界知识产权组织国际局	
         </xsl:when>
         <xsl:when test="$tOffice='ID'">
	            知识产权总司（印度尼西亚）	
         </xsl:when>
         <xsl:when test="$tOffice='IE'">
	            爱尔兰知识产权局	
         </xsl:when>
         <xsl:when test="$tOffice='IL'">
	            以色列专利局	
         </xsl:when>
         <xsl:when test="$tOffice='IR'">
	            知识产权中心（伊朗伊斯兰共和国）	
         </xsl:when>
         <xsl:when test="$tOffice='IN'">
	            印度专利局	
         </xsl:when>
         <xsl:when test="$tOffice='IQ'">
	            伊拉克专利	
         </xsl:when>
         <xsl:when test="$tOffice='IS'">
	            冰岛知识产权局 (ISIPO)	
         </xsl:when>
         <xsl:when test="$tOffice='IT'">
	            意大利专利商标局	
         </xsl:when>
         <xsl:when test="$tOffice='JM'">
               牙买加知识产权局 (JIPO)	
         </xsl:when>
         <xsl:when test="$tOffice='JO'">
	            工业、贸易和供给部工业产权保护司（约旦）	
         </xsl:when>
         <xsl:when test="$tOffice='JP'">
	            日本专利局(JPO)	
         </xsl:when>
         <xsl:when test="$tOffice='KE'">
	            肯尼亚工业产权局	
         </xsl:when>
         <xsl:when test="$tOffice='KG'">
	            吉尔吉斯共和国科学高等教育和创新部	
         </xsl:when>
         <xsl:when test="$tOffice='KH'">
	            工业、科学、技术和创新部 (MISTI) 工业产权司 (DIP)（柬埔寨）	
         </xsl:when>
         <xsl:when test="$tOffice='KM'">
	            科摩罗工业产权局	
         </xsl:when>
         <xsl:when test="$tOffice='KN'">
	            圣基茨和尼维斯知识产权局	
         </xsl:when>
         <xsl:when test="$tOffice='KP'">
	            朝鲜民主主义人民共和国知识产权局	
         </xsl:when>
         <xsl:when test="$tOffice='KR'">
	            知识产权部(MOIP)(大韩民国)	
         </xsl:when>
         <xsl:when test="$tOffice='KW'">
	            商务工业部专利商标司（科威特）	
         </xsl:when>
         <xsl:when test="$tOffice='KZ'">
	            国家知识产权局 (NIIP)（哈萨克斯坦）	
         </xsl:when>
         <xsl:when test="$tOffice='LA'">
	            科学技术部知识产权司（老挝人民民主共和国）	
         </xsl:when>
         <xsl:when test="$tOffice='LC'">
	            公司和知识产权注册处（圣卢西亚）	
         </xsl:when>
         <xsl:when test="$tOffice='LK'">
	            斯里兰卡国家知识产权局	
         </xsl:when>
         <xsl:when test="$tOffice='LR'">
	            利比里亚知识产权局 (LIPO)	
         </xsl:when>
         <xsl:when test="$tOffice='LS'">
	            注册总署（莱索托）	
         </xsl:when>
         <xsl:when test="$tOffice='LT'">
	            立陶宛共和国国家专利局	
         </xsl:when>
         <xsl:when test="$tOffice='LU'">
	            知识产权局（卢森堡）	
         </xsl:when>
         <xsl:when test="$tOffice='LV'">
	            拉脱维亚共和国专利局	
         </xsl:when>
         <xsl:when test="$tOffice='LY'">
	            利比亚工业产权局	
         </xsl:when>
         <xsl:when test="$tOffice='MA'">
	            摩洛哥工业和商业产权局 (OMPIC)	
         </xsl:when>
         <xsl:when test="$tOffice='MC'">
	            摩纳哥工业产权局 (MCIPO)	
         </xsl:when>
         <xsl:when test="$tOffice='MD'">
	            国家知识产权署（摩尔多瓦共和国）	
         </xsl:when>
         <xsl:when test="$tOffice='ME'">
	            经济发展部（黑山）	
         </xsl:when>
         <xsl:when test="$tOffice='MG'">
	            马达加斯加工业产权局	
         </xsl:when>
         <xsl:when test="$tOffice='MK'">
	            国家工业产权局（北马其顿）	
         </xsl:when>
         <xsl:when test="$tOffice='ML'">
	            --	
         </xsl:when>
         <xsl:when test="$tOffice='MN'">
	            蒙古知识产权局	
         </xsl:when>
         <xsl:when test="$tOffice='MR'">
	            --	
         </xsl:when>
         <xsl:when test="$tOffice='MT'">
	            商务局工业产权注册处（马耳他）	
         </xsl:when>
         <xsl:when test="$tOffice='MU'">
	            毛里求斯工业产权局 (IPOM)	
         </xsl:when>
         <xsl:when test="$tOffice='MW'">
	            司法部注册总署（马拉维）	
         </xsl:when>
         <xsl:when test="$tOffice='MX'">
	            墨西哥工业产权局	
         </xsl:when>
         <xsl:when test="$tOffice='MY'">
	            马来西亚知识产权局	
         </xsl:when>
         <xsl:when test="$tOffice='MZ'">
	            工业产权局 (IPI)（莫桑比克）	
         </xsl:when>
         <xsl:when test="$tOffice='NA'">
	            商业和知识产权局 (BIPA)（纳米比亚）	
         </xsl:when>
         <xsl:when test="$tOffice='NE'">
	            --	
         </xsl:when>
         <xsl:when test="$tOffice='NG'">
	            商法部专利和外观设计注册署（尼日利亚）	
         </xsl:when>
         <xsl:when test="$tOffice='NI'">
	            知识产权注册署（尼加拉瓜）	
         </xsl:when>
         <xsl:when test="$tOffice='NL'">
	            荷兰专利局	
         </xsl:when>
         <xsl:when test="$tOffice='NO'">
	            挪威工业产权局	
         </xsl:when>
         <xsl:when test="$tOffice='NZ'">
	            新西兰知识产权局 (IPONZ)	
         </xsl:when>
         <xsl:when test="$tOffice='OA'">
	            非洲知识产权组织 (OAPI)	
         </xsl:when>
         <xsl:when test="$tOffice='OM'">
	            国家知识产权局（商务工业和投资促进部）（阿曼）	
         </xsl:when>
         <xsl:when test="$tOffice='PA'">
	            工业产权注册总署 (DIGERPI)（巴拿马）	
         </xsl:when>
         <xsl:when test="$tOffice='PE'">
	            国家维护竞争和知识产权保护局（秘鲁）	
         </xsl:when>
         <xsl:when test="$tOffice='PG'">
	            巴布亚新几内亚知识产权局	
         </xsl:when>
         <xsl:when test="$tOffice='PH'">
	            菲律宾知识产权局	
         </xsl:when>
         <xsl:when test="$tOffice='PL'">
	            波兰共和国专利局	
         </xsl:when>
         <xsl:when test="$tOffice='PT'">
	            国家工业产权局（葡萄牙）	
         </xsl:when>
         <xsl:when test="$tOffice='QA'">
	            知识产权司（卡塔尔）	
         </xsl:when>
         <xsl:when test="$tOffice='RO'">
	            国家发明商标局（罗马尼亚）	
         </xsl:when>
         <xsl:when test="$tOffice='RS'">
	            知识产权局（塞尔维亚）	
         </xsl:when>
         <xsl:when test="$tOffice='RU'">
	            联邦知识产权局 (Rospatent)（俄罗斯联邦）	
         </xsl:when>
         <xsl:when test="$tOffice='RW'">
	            注册总署（卢旺达）	
         </xsl:when>
         <xsl:when test="$tOffice='SA'">
	            沙特阿拉伯知识产权局 (SAIP)	
         </xsl:when>
         <xsl:when test="$tOffice='SC'">
	            法务司注册处（塞舌尔）	
         </xsl:when>
         <xsl:when test="$tOffice='SD'">
	            知识产权注册总署（苏丹） 
         </xsl:when>
         <xsl:when test="$tOffice='SE'">
	            瑞典知识产权局 (PRV)	
         </xsl:when>
         <xsl:when test="$tOffice='SG'">
	            新加坡知识产权局	
         </xsl:when>
         <xsl:when test="$tOffice='SI'">
	            斯洛文尼亚知识产权局	
         </xsl:when>
         <xsl:when test="$tOffice='SK'">
	            斯洛伐克共和国工业产权局	
         </xsl:when>
         <xsl:when test="$tOffice='SL'">
	            管理和注册总署（塞拉利昂）	
         </xsl:when>
         <xsl:when test="$tOffice='SM'">
	            专利商标局（圣马力诺）	
         </xsl:when>
         <xsl:when test="$tOffice='SN'">
	            --	
         </xsl:when>
         <xsl:when test="$tOffice='ST'">
	            国家工业产权服务局 (SENAPI)	
         </xsl:when>
         <xsl:when test="$tOffice='SU'">
	            --	
         </xsl:when>
         <xsl:when test="$tOffice='SV'">
	            国家注册中心 (CNR)（萨尔瓦多）	
         </xsl:when>
         <xsl:when test="$tOffice='SY'">
	            国内贸易和消费者保护部工商业产权保护司（阿拉伯叙利亚共和国）	
         </xsl:when>
         <xsl:when test="$tOffice='SZ'">
	            Ministry of Justice
Registrar General's Office	
         </xsl:when>
         <xsl:when test="$tOffice='TD'">
	            --	
         </xsl:when>
         <xsl:when test="$tOffice='TG'">
	            --	
         </xsl:when>
         <xsl:when test="$tOffice='TH'">
	            知识产权司 (DIP)（泰国）	
         </xsl:when>
         <xsl:when test="$tOffice='TJ'">
	            塔吉克斯坦共和国经济发展和贸易部国家专利和信息中心	
         </xsl:when>
         <xsl:when test="$tOffice='TM'">
	            土库曼斯坦财政和经济部国家知识产权局	
         </xsl:when>
         <xsl:when test="$tOffice='TN'">
	            国家标准化和工业产权局(INNORPI)（突尼斯）	
         </xsl:when>
         <xsl:when test="$tOffice='TR'">
	            土耳其专利商标局 (Turkpatent)	
         </xsl:when>
         <xsl:when test="$tOffice='TT'">
	            土地和法务部知识产权局(特立尼达和多巴哥)	
         </xsl:when>
         <xsl:when test="$tOffice='TZ'">
	            工业贸易部商业注册和许可局（坦桑尼亚联合共和国）	
         </xsl:when>
         <xsl:when test="$tOffice='UA'">
	            乌克兰国家知识产权和创新局（UANIPIO)	
         </xsl:when>
         <xsl:when test="$tOffice='UG'">
	            乌干达注册服务局 (URSB)	
         </xsl:when>
         <xsl:when test="$tOffice='US'">
	            美国专利商标局 (USPTO)	
         </xsl:when>
         <xsl:when test="$tOffice='UY'">
	            国家工业产权局（DNPI）	
         </xsl:when>
         <xsl:when test="$tOffice='UZ'">
	            乌兹别克斯坦共和国司法部知识产权局	
         </xsl:when>
         <xsl:when test="$tOffice='VC'">
	            商务和知识产权局 (CIPO)（圣文森特和格林纳丁斯）	
         </xsl:when>
         <xsl:when test="$tOffice='VN'">
	            越南知识产权局 (IP Viet Nam)	
         </xsl:when>
         <xsl:when test="$tOffice='WO'">
	            世界知识产权组织	
         </xsl:when>
         <xsl:when test="$tOffice='WS'">
	            工商劳动部 (MCIL)（萨摩亚）	
         </xsl:when>
         <xsl:when test="$tOffice='XN'">
	            北欧专利局	
         </xsl:when>
		 <xsl:when test="$tOffice='XV'">
	            维谢格拉德专利局 (VPI)	
         </xsl:when>
         <xsl:when test="$tOffice='YU'">
	            --	
         </xsl:when>
         <xsl:when test="$tOffice='ZA'">
	            公司和知识产权委员会 (CIPC)（南非）	
         </xsl:when>
         <xsl:when test="$tOffice='ZM'">
	            专利和公司注册局 (PACRA)（赞比亚）	
         </xsl:when>
         <xsl:when test="$tOffice='ZR'">
	            --	
         </xsl:when>
         <xsl:when test="$tOffice='ZW'">
	            津巴布韦知识产权局	
         </xsl:when>
         <xsl:otherwise>
            <xsl:value-of select="$tOffice"></xsl:value-of>
         </xsl:otherwise>
      </xsl:choose>
   </xsl:template>
	<xsl:template name="seq_ChoiceText">
		<xsl:param name="sequence"></xsl:param>
		<xsl:choose>
			<xsl:when test="$sequence[@quantity &gt; 0] and $sequence/@page-count and not(.//processing-instruction('seqlist'))">
				说明书序列表部分
			</xsl:when>
			<xsl:when test="$sequence/@page-count">
				除纸件形式外以计算机可读形式提交的说明书序列表部分(行政规程第801条(a)(ii))
			</xsl:when>
			<xsl:otherwise>
				仅以计算机可读形式提交的说明书序列表部分(行政规程第801条(a)(i))
			</xsl:otherwise>
		</xsl:choose>
	</xsl:template>
	<xsl:template name="carriersInfo_ChoiceText">
		<xsl:param name="carriers_type"></xsl:param>
		<xsl:param name="carriers_quantity"></xsl:param>
		<xsl:if test="$carriers_quantity">
			<xsl:value-of select="$carriers_quantity"></xsl:value-of>
		</xsl:if>
		<xsl:text> </xsl:text>
		<xsl:choose>
			<xsl:when test="$carriers_type='FD'">
				<xsl:text>Diskette </xsl:text>
			</xsl:when>
			<xsl:when test="$carriers_type='CD'">
				<xsl:text>CD </xsl:text>
			</xsl:when>
			<xsl:when test="$carriers_type='BD'">
				<xsl:text>BD </xsl:text>
			</xsl:when>
			<xsl:when test="$carriers_type='DVD'">
				<xsl:text>DVD </xsl:text>
			</xsl:when>
			<xsl:when test="$carriers_type='other'">
				<xsl:text>other </xsl:text>
			</xsl:when>
			<xsl:otherwise>
				<xsl:value-of select="$carriers_type"></xsl:value-of>
			</xsl:otherwise>
		</xsl:choose>
	</xsl:template>
</xsl:stylesheet>