home *** CD-ROM | disk | FTP | other *** search
/ ftp.tcs3.com / ftp.tcs3.com.tar / ftp.tcs3.com / DRIVERS / Audio / Office2010 / ProPlus.WW / ProPsWW2.cab / GOSTNAME.XSL < prev    next >
Extensible Markup Language  |  2008-10-17  |  249KB  |  6,802 lines

  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  2.  
  3.  
  4.  
  5.  
  6.  
  7. <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt"    xmlns:b="http://schemas.openxmlformats.org/officeDocument/2006/bibliography" xmlns:t="http://www.microsoft.com/temp">
  8.     <xsl:output method="html" encoding="us-ascii"/>
  9.  
  10.  
  11.     
  12.     <xsl:template match="*" mode="outputHtml2">
  13.             <xsl:apply-templates mode="outputHtml"/>        
  14.     </xsl:template>
  15.  
  16.     <xsl:template name="StringFormatDot">
  17.         <xsl:param name="format" />
  18.         <xsl:param name="parameters" />
  19.  
  20.     <xsl:variable name="prop_EndChars">
  21.       <xsl:call-template name="templ_prop_EndChars"/>
  22.     </xsl:variable>
  23.  
  24.     <xsl:choose>
  25.             <xsl:when test="$format = ''"></xsl:when>
  26.             <xsl:when test="substring($format, 1, 2) = '%%'">
  27.                 <xsl:text>%</xsl:text>
  28.                 <xsl:call-template name="StringFormatDot">
  29.                     <xsl:with-param name="format" select="substring($format, 3)" />
  30.                     <xsl:with-param name="parameters" select="$parameters" />
  31.                 </xsl:call-template>
  32.                 <xsl:if test="string-length($format)=2">
  33.                     <xsl:call-template name="templ_prop_Dot"/>
  34.                 </xsl:if>
  35.             </xsl:when>
  36.             <xsl:when test="substring($format, 1, 1) = '%'">
  37.                 <xsl:variable name="pos" select="substring($format, 2, 1)" />
  38.                 <xsl:apply-templates select="msxsl:node-set($parameters)/t:params/t:param[position() = $pos]" mode="outputHtml2"/>
  39.                 <xsl:call-template name="StringFormatDot">
  40.                     <xsl:with-param name="format" select="substring($format, 3)" />
  41.                     <xsl:with-param name="parameters" select="$parameters" />
  42.                 </xsl:call-template>
  43.                 <xsl:if test="string-length($format)=2">
  44.                     <xsl:variable name="temp2">
  45.                         <xsl:call-template name="handleSpaces">
  46.                             <xsl:with-param name="field" select="msxsl:node-set($parameters)/t:params/t:param[position() = $pos]"/>
  47.                         </xsl:call-template>
  48.                     </xsl:variable>                
  49.                     <xsl:variable name="lastChar">
  50.                         <xsl:value-of select="substring($temp2, string-length($temp2))"/>
  51.                     </xsl:variable>
  52.                     <xsl:if test="not(contains($prop_EndChars, $lastChar))">
  53.                         <xsl:call-template name="templ_prop_Dot"/>
  54.                     </xsl:if>
  55.                 </xsl:if>
  56.             </xsl:when>
  57.             <xsl:otherwise>
  58.                 <xsl:value-of select="substring($format, 1, 1)" />
  59.                 <xsl:call-template name="StringFormatDot">
  60.                     <xsl:with-param name="format" select="substring($format, 2)" />
  61.                     <xsl:with-param name="parameters" select="$parameters" />
  62.                 </xsl:call-template>
  63.                 <xsl:if test="string-length($format)=1">
  64.                     <xsl:if test="not(contains($prop_EndChars, $format))">
  65.                         <xsl:call-template name="templ_prop_Dot"/>
  66.                     </xsl:if>
  67.                 </xsl:if>
  68.             </xsl:otherwise>
  69.         </xsl:choose>
  70.     </xsl:template>    
  71.  
  72.     <xsl:template name="StringFormat">
  73.         <xsl:param name="format" />
  74.         <xsl:param name="parameters" />
  75.         <xsl:choose>
  76.             <xsl:when test="$format = ''"></xsl:when>
  77.             <xsl:when test="substring($format, 1, 2) = '%%'">
  78.                 <xsl:text>%</xsl:text>
  79.                 <xsl:call-template name="StringFormat">
  80.                     <xsl:with-param name="format" select="substring($format, 3)" />
  81.                     <xsl:with-param name="parameters" select="$parameters" />
  82.                 </xsl:call-template>
  83.             </xsl:when>
  84.             <xsl:when test="substring($format, 1, 1) = '%'">
  85.                 <xsl:variable name="pos" select="substring($format, 2, 1)" />
  86.                 <xsl:apply-templates select="msxsl:node-set($parameters)/t:params/t:param[position() = $pos]" mode="outputHtml2"/>
  87.                 <xsl:call-template name="StringFormat">
  88.                     <xsl:with-param name="format" select="substring($format, 3)" />
  89.                     <xsl:with-param name="parameters" select="$parameters" />
  90.                 </xsl:call-template>
  91.             </xsl:when>
  92.             <xsl:otherwise>
  93.                 <xsl:value-of select="substring($format, 1, 1)" />
  94.                 <xsl:call-template name="StringFormat">
  95.                     <xsl:with-param name="format" select="substring($format, 2)" />
  96.                     <xsl:with-param name="parameters" select="$parameters" />
  97.                 </xsl:call-template>
  98.             </xsl:otherwise>
  99.         </xsl:choose>
  100.     </xsl:template>
  101.  
  102.  
  103.  
  104.  
  105.   <xsl:template name="localLCID">
  106.     <xsl:param name="LCID"/>
  107.  
  108.     <xsl:variable name="_LCID1">
  109.       <xsl:choose>
  110.         <xsl:when test="$LCID!='0' and $LCID!=''">
  111.           <xsl:value-of select="$LCID"/>
  112.         </xsl:when>
  113.         <xsl:when test="/b:Citation">
  114.           <xsl:value-of select="/*/b:Locals/b:DefaultLCID"/>
  115.         </xsl:when>
  116.         <xsl:when test="b:LCID">
  117.           <xsl:value-of select="b:LCID"/>
  118.         </xsl:when>
  119.         <xsl:when test="../b:LCID">
  120.           <xsl:value-of select="../b:LCID"/>
  121.         </xsl:when>
  122.         <xsl:when test="../../b:LCID">
  123.           <xsl:value-of select="../../b:LCID"/>
  124.         </xsl:when>
  125.         <xsl:when test="../../../b:LCID">
  126.           <xsl:value-of select="../../../b:LCID"/>
  127.         </xsl:when>
  128.         <xsl:when test="../../../../b:LCID">
  129.           <xsl:value-of select="../../../../b:LCID"/>
  130.         </xsl:when>
  131.         <xsl:when test="../../../../b:LCID">
  132.           <xsl:value-of select="../../../../b:LCID"/>
  133.         </xsl:when>
  134.         <xsl:when test="../../../../../b:LCID">
  135.           <xsl:value-of select="../../../../../b:LCID"/>
  136.         </xsl:when>
  137.         <xsl:otherwise>
  138.           <xsl:value-of select="/*/b:Locals/b:DefaultLCID"/>
  139.         </xsl:otherwise>
  140.       </xsl:choose>
  141.     </xsl:variable>
  142.  
  143.     <xsl:choose>
  144.       <xsl:when test="$_LCID1!='0' and string-length($_LCID1)>0">
  145.         <xsl:value-of select="$_LCID1"/>
  146.       </xsl:when>
  147.       <xsl:otherwise>
  148.         <xsl:value-of select="/*/b:Locals/b:DefaultLCID"/>
  149.       </xsl:otherwise>
  150.     </xsl:choose>
  151.  
  152.   </xsl:template>
  153.  
  154.   
  155.   <xsl:template name="templ_prop_MLA_CitationLong_FML" >
  156.     <xsl:param name="LCID" />
  157.     <xsl:variable name="_LCID">
  158.       <xsl:call-template name="localLCID">
  159.         <xsl:with-param name="LCID" select="$LCID"/>
  160.       </xsl:call-template>
  161.     </xsl:variable>
  162.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:CitationLong/b:FML"/>
  163.   </xsl:template>
  164.  
  165.   
  166.   <xsl:template name="templ_prop_MLA_CitationLong_FM" >
  167.     <xsl:param name="LCID" />
  168.     <xsl:variable name="_LCID">
  169.       <xsl:call-template name="localLCID">
  170.         <xsl:with-param name="LCID" select="$LCID"/>
  171.       </xsl:call-template>
  172.     </xsl:variable>
  173.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:CitationLong/b:FM"/>
  174.   </xsl:template>
  175.  
  176.   
  177.   <xsl:template name="templ_prop_MLA_CitationLong_ML" >
  178.     <xsl:param name="LCID" />
  179.     <xsl:variable name="_LCID">
  180.       <xsl:call-template name="localLCID">
  181.         <xsl:with-param name="LCID" select="$LCID"/>
  182.       </xsl:call-template>
  183.     </xsl:variable>
  184.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:CitationLong/b:ML"/>
  185.   </xsl:template>
  186.  
  187.   
  188.   <xsl:template name="templ_prop_MLA_CitationLong_FL" >
  189.     <xsl:param name="LCID" />
  190.     <xsl:variable name="_LCID">
  191.       <xsl:call-template name="localLCID">
  192.         <xsl:with-param name="LCID" select="$LCID"/>
  193.       </xsl:call-template>
  194.     </xsl:variable>
  195.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:CitationLong/b:FL"/>
  196.   </xsl:template>
  197.  
  198.   
  199.   <xsl:template name="templ_prop_MLA_CitationShort_FML" >
  200.     <xsl:param name="LCID" />
  201.     <xsl:variable name="_LCID">
  202.       <xsl:call-template name="localLCID">
  203.         <xsl:with-param name="LCID" select="$LCID"/>
  204.       </xsl:call-template>
  205.     </xsl:variable>
  206.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:CitationShort/b:FML"/>
  207.   </xsl:template>
  208.  
  209.   
  210.   <xsl:template name="templ_prop_MLA_CitationShort_FM" >
  211.     <xsl:param name="LCID" />
  212.     <xsl:variable name="_LCID">
  213.       <xsl:call-template name="localLCID">
  214.         <xsl:with-param name="LCID" select="$LCID"/>
  215.       </xsl:call-template>
  216.     </xsl:variable>
  217.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:CitationShort/b:FM"/>
  218.   </xsl:template>
  219.  
  220.   
  221.   <xsl:template name="templ_prop_MLA_CitationShort_ML" >
  222.     <xsl:param name="LCID" />
  223.     <xsl:variable name="_LCID">
  224.       <xsl:call-template name="localLCID">
  225.         <xsl:with-param name="LCID" select="$LCID"/>
  226.       </xsl:call-template>
  227.     </xsl:variable>
  228.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:CitationShort/b:ML"/>
  229.   </xsl:template>
  230.  
  231.   
  232.   <xsl:template name="templ_prop_MLA_CitationShort_FL" >
  233.     <xsl:param name="LCID" />
  234.     <xsl:variable name="_LCID">
  235.       <xsl:call-template name="localLCID">
  236.         <xsl:with-param name="LCID" select="$LCID"/>
  237.       </xsl:call-template>
  238.     </xsl:variable>
  239.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:CitationShort/b:FL"/>
  240.   </xsl:template>
  241.  
  242.   
  243.   <xsl:template name="templ_prop_APA_CitationLong_FML" >
  244.     <xsl:param name="LCID" />
  245.     <xsl:variable name="_LCID">
  246.       <xsl:call-template name="localLCID">
  247.         <xsl:with-param name="LCID" select="$LCID"/>
  248.       </xsl:call-template>
  249.     </xsl:variable>
  250.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:CitationLong/b:FML"/>
  251.   </xsl:template>
  252.  
  253.   
  254.   <xsl:template name="templ_prop_APA_CitationLong_FM" >
  255.     <xsl:param name="LCID" />
  256.     <xsl:variable name="_LCID">
  257.       <xsl:call-template name="localLCID">
  258.         <xsl:with-param name="LCID" select="$LCID"/>
  259.       </xsl:call-template>
  260.     </xsl:variable>
  261.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:CitationLong/b:FM"/>
  262.   </xsl:template>
  263.  
  264.   
  265.   <xsl:template name="templ_prop_APA_CitationLong_ML" >
  266.     <xsl:param name="LCID" />
  267.     <xsl:variable name="_LCID">
  268.       <xsl:call-template name="localLCID">
  269.         <xsl:with-param name="LCID" select="$LCID"/>
  270.       </xsl:call-template>
  271.     </xsl:variable>
  272.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:CitationLong/b:ML"/>
  273.   </xsl:template>
  274.  
  275.   
  276.   <xsl:template name="templ_prop_APA_CitationLong_FL" >
  277.     <xsl:param name="LCID" />
  278.     <xsl:variable name="_LCID">
  279.       <xsl:call-template name="localLCID">
  280.         <xsl:with-param name="LCID" select="$LCID"/>
  281.       </xsl:call-template>
  282.     </xsl:variable>
  283.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:CitationLong/b:FL"/>
  284.   </xsl:template>
  285.  
  286.   
  287.   <xsl:template name="templ_prop_APA_CitationShort_FML" >
  288.     <xsl:param name="LCID" />
  289.     <xsl:variable name="_LCID">
  290.       <xsl:call-template name="localLCID">
  291.         <xsl:with-param name="LCID" select="$LCID"/>
  292.       </xsl:call-template>
  293.     </xsl:variable>
  294.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:CitationShort/b:FML"/>
  295.   </xsl:template>
  296.  
  297.   
  298.   <xsl:template name="templ_prop_APA_CitationShort_FM" >
  299.     <xsl:param name="LCID" />
  300.     <xsl:variable name="_LCID">
  301.       <xsl:call-template name="localLCID">
  302.         <xsl:with-param name="LCID" select="$LCID"/>
  303.       </xsl:call-template>
  304.     </xsl:variable>
  305.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:CitationShort/b:FM"/>
  306.   </xsl:template>
  307.  
  308.   
  309.   <xsl:template name="templ_prop_APA_CitationShort_ML" >
  310.     <xsl:param name="LCID" />
  311.     <xsl:variable name="_LCID">
  312.       <xsl:call-template name="localLCID">
  313.         <xsl:with-param name="LCID" select="$LCID"/>
  314.       </xsl:call-template>
  315.     </xsl:variable>
  316.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:CitationShort/b:ML"/>
  317.   </xsl:template>
  318.  
  319.   
  320.   <xsl:template name="templ_prop_APA_CitationShort_FL" >
  321.     <xsl:param name="LCID" />
  322.     <xsl:variable name="_LCID">
  323.       <xsl:call-template name="localLCID">
  324.         <xsl:with-param name="LCID" select="$LCID"/>
  325.       </xsl:call-template>
  326.     </xsl:variable>
  327.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:CitationShort/b:FL"/>
  328.   </xsl:template>
  329.  
  330.   
  331.   <xsl:template name="templ_prop_Chicago_CitationLong_FML" >
  332.     <xsl:param name="LCID" />
  333.     <xsl:variable name="_LCID">
  334.       <xsl:call-template name="localLCID">
  335.         <xsl:with-param name="LCID" select="$LCID"/>
  336.       </xsl:call-template>
  337.     </xsl:variable>
  338.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:CitationLong/b:FML"/>
  339.   </xsl:template>
  340.  
  341.   
  342.   <xsl:template name="templ_prop_Chicago_CitationLong_FM" >
  343.     <xsl:param name="LCID" />
  344.     <xsl:variable name="_LCID">
  345.       <xsl:call-template name="localLCID">
  346.         <xsl:with-param name="LCID" select="$LCID"/>
  347.       </xsl:call-template>
  348.     </xsl:variable>
  349.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:CitationLong/b:FM"/>
  350.   </xsl:template>
  351.  
  352.   
  353.   <xsl:template name="templ_prop_Chicago_CitationLong_ML" >
  354.     <xsl:param name="LCID" />
  355.     <xsl:variable name="_LCID">
  356.       <xsl:call-template name="localLCID">
  357.         <xsl:with-param name="LCID" select="$LCID"/>
  358.       </xsl:call-template>
  359.     </xsl:variable>
  360.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:CitationLong/b:ML"/>
  361.   </xsl:template>
  362.  
  363.   
  364.   <xsl:template name="templ_prop_Chicago_CitationLong_FL" >
  365.     <xsl:param name="LCID" />
  366.     <xsl:variable name="_LCID">
  367.       <xsl:call-template name="localLCID">
  368.         <xsl:with-param name="LCID" select="$LCID"/>
  369.       </xsl:call-template>
  370.     </xsl:variable>
  371.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:CitationLong/b:FL"/>
  372.   </xsl:template>
  373.  
  374.   
  375.   <xsl:template name="templ_prop_Chicago_CitationShort_FML" >
  376.     <xsl:param name="LCID" />
  377.     <xsl:variable name="_LCID">
  378.       <xsl:call-template name="localLCID">
  379.         <xsl:with-param name="LCID" select="$LCID"/>
  380.       </xsl:call-template>
  381.     </xsl:variable>
  382.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:CitationShort/b:FML"/>
  383.   </xsl:template>
  384.  
  385.   
  386.   <xsl:template name="templ_prop_Chicago_CitationShort_FM" >
  387.     <xsl:param name="LCID" />
  388.     <xsl:variable name="_LCID">
  389.       <xsl:call-template name="localLCID">
  390.         <xsl:with-param name="LCID" select="$LCID"/>
  391.       </xsl:call-template>
  392.     </xsl:variable>
  393.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:CitationShort/b:FM"/>
  394.   </xsl:template>
  395.  
  396.   
  397.   <xsl:template name="templ_prop_Chicago_CitationShort_ML" >
  398.     <xsl:param name="LCID" />
  399.     <xsl:variable name="_LCID">
  400.       <xsl:call-template name="localLCID">
  401.         <xsl:with-param name="LCID" select="$LCID"/>
  402.       </xsl:call-template>
  403.     </xsl:variable>
  404.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:CitationShort/b:ML"/>
  405.   </xsl:template>
  406.  
  407.   
  408.   <xsl:template name="templ_prop_Chicago_CitationShort_FL" >
  409.     <xsl:param name="LCID" />
  410.     <xsl:variable name="_LCID">
  411.       <xsl:call-template name="localLCID">
  412.         <xsl:with-param name="LCID" select="$LCID"/>
  413.       </xsl:call-template>
  414.     </xsl:variable>
  415.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:CitationShort/b:FL"/>
  416.   </xsl:template>
  417.  
  418.   
  419.   <xsl:template name="templ_prop_Gost_CitationLong_FML" >
  420.     <xsl:param name="LCID" />
  421.     <xsl:variable name="_LCID">
  422.       <xsl:call-template name="localLCID">
  423.         <xsl:with-param name="LCID" select="$LCID"/>
  424.       </xsl:call-template>
  425.     </xsl:variable>
  426.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:CitationLong/b:FML"/>
  427.   </xsl:template>
  428.  
  429.   
  430.   <xsl:template name="templ_prop_Gost_CitationLong_FM" >
  431.     <xsl:param name="LCID" />
  432.     <xsl:variable name="_LCID">
  433.       <xsl:call-template name="localLCID">
  434.         <xsl:with-param name="LCID" select="$LCID"/>
  435.       </xsl:call-template>
  436.     </xsl:variable>
  437.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:CitationLong/b:FM"/>
  438.   </xsl:template>
  439.  
  440.   
  441.   <xsl:template name="templ_prop_Gost_CitationLong_ML" >
  442.     <xsl:param name="LCID" />
  443.     <xsl:variable name="_LCID">
  444.       <xsl:call-template name="localLCID">
  445.         <xsl:with-param name="LCID" select="$LCID"/>
  446.       </xsl:call-template>
  447.     </xsl:variable>
  448.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:CitationLong/b:ML"/>
  449.   </xsl:template>
  450.  
  451.   
  452.   <xsl:template name="templ_prop_Gost_CitationLong_FL" >
  453.     <xsl:param name="LCID" />
  454.     <xsl:variable name="_LCID">
  455.       <xsl:call-template name="localLCID">
  456.         <xsl:with-param name="LCID" select="$LCID"/>
  457.       </xsl:call-template>
  458.     </xsl:variable>
  459.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:CitationLong/b:FL"/>
  460.   </xsl:template>
  461.  
  462.   
  463.   <xsl:template name="templ_prop_Gost_CitationShort_FML" >
  464.     <xsl:param name="LCID" />
  465.     <xsl:variable name="_LCID">
  466.       <xsl:call-template name="localLCID">
  467.         <xsl:with-param name="LCID" select="$LCID"/>
  468.       </xsl:call-template>
  469.     </xsl:variable>
  470.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:CitationShort/b:FML"/>
  471.   </xsl:template>
  472.  
  473.   
  474.   <xsl:template name="templ_prop_Gost_CitationShort_FM" >
  475.     <xsl:param name="LCID" />
  476.     <xsl:variable name="_LCID">
  477.       <xsl:call-template name="localLCID">
  478.         <xsl:with-param name="LCID" select="$LCID"/>
  479.       </xsl:call-template>
  480.     </xsl:variable>
  481.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:CitationShort/b:FM"/>
  482.   </xsl:template>
  483.  
  484.   
  485.   <xsl:template name="templ_prop_Gost_CitationShort_ML" >
  486.     <xsl:param name="LCID" />
  487.     <xsl:variable name="_LCID">
  488.       <xsl:call-template name="localLCID">
  489.         <xsl:with-param name="LCID" select="$LCID"/>
  490.       </xsl:call-template>
  491.     </xsl:variable>
  492.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:CitationShort/b:ML"/>
  493.   </xsl:template>
  494.  
  495.   
  496.   <xsl:template name="templ_prop_Gost_CitationShort_FL" >
  497.     <xsl:param name="LCID" />
  498.     <xsl:variable name="_LCID">
  499.       <xsl:call-template name="localLCID">
  500.         <xsl:with-param name="LCID" select="$LCID"/>
  501.       </xsl:call-template>
  502.     </xsl:variable>
  503.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:CitationShort/b:FL"/>
  504.   </xsl:template>
  505.  
  506.   
  507.   <xsl:template name="templ_prop_ISO690_CitationLong_FML" >
  508.     <xsl:param name="LCID" />
  509.     <xsl:variable name="_LCID">
  510.       <xsl:call-template name="localLCID">
  511.         <xsl:with-param name="LCID" select="$LCID"/>
  512.       </xsl:call-template>
  513.     </xsl:variable>
  514.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:CitationLong/b:FML"/>
  515.   </xsl:template>
  516.  
  517.   
  518.   <xsl:template name="templ_prop_ISO690_CitationLong_FM" >
  519.     <xsl:param name="LCID" />
  520.     <xsl:variable name="_LCID">
  521.       <xsl:call-template name="localLCID">
  522.         <xsl:with-param name="LCID" select="$LCID"/>
  523.       </xsl:call-template>
  524.     </xsl:variable>
  525.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:CitationLong/b:FM"/>
  526.   </xsl:template>
  527.  
  528.   
  529.   <xsl:template name="templ_prop_ISO690_CitationLong_ML" >
  530.     <xsl:param name="LCID" />
  531.     <xsl:variable name="_LCID">
  532.       <xsl:call-template name="localLCID">
  533.         <xsl:with-param name="LCID" select="$LCID"/>
  534.       </xsl:call-template>
  535.     </xsl:variable>
  536.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:CitationLong/b:ML"/>
  537.   </xsl:template>
  538.  
  539.   
  540.   <xsl:template name="templ_prop_ISO690_CitationLong_FL" >
  541.     <xsl:param name="LCID" />
  542.     <xsl:variable name="_LCID">
  543.       <xsl:call-template name="localLCID">
  544.         <xsl:with-param name="LCID" select="$LCID"/>
  545.       </xsl:call-template>
  546.     </xsl:variable>
  547.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:CitationLong/b:FL"/>
  548.   </xsl:template>
  549.  
  550.   
  551.   <xsl:template name="templ_prop_ISO690_CitationShort_FML" >
  552.     <xsl:param name="LCID" />
  553.     <xsl:variable name="_LCID">
  554.       <xsl:call-template name="localLCID">
  555.         <xsl:with-param name="LCID" select="$LCID"/>
  556.       </xsl:call-template>
  557.     </xsl:variable>
  558.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:CitationShort/b:FML"/>
  559.   </xsl:template>
  560.  
  561.   
  562.   <xsl:template name="templ_prop_ISO690_CitationShort_FM" >
  563.     <xsl:param name="LCID" />
  564.     <xsl:variable name="_LCID">
  565.       <xsl:call-template name="localLCID">
  566.         <xsl:with-param name="LCID" select="$LCID"/>
  567.       </xsl:call-template>
  568.     </xsl:variable>
  569.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:CitationShort/b:FM"/>
  570.   </xsl:template>
  571.  
  572.   
  573.   <xsl:template name="templ_prop_ISO690_CitationShort_ML" >
  574.     <xsl:param name="LCID" />
  575.     <xsl:variable name="_LCID">
  576.       <xsl:call-template name="localLCID">
  577.         <xsl:with-param name="LCID" select="$LCID"/>
  578.       </xsl:call-template>
  579.     </xsl:variable>
  580.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:CitationShort/b:ML"/>
  581.   </xsl:template>
  582.  
  583.   
  584.   <xsl:template name="templ_prop_ISO690_CitationShort_FL" >
  585.     <xsl:param name="LCID" />
  586.     <xsl:variable name="_LCID">
  587.       <xsl:call-template name="localLCID">
  588.         <xsl:with-param name="LCID" select="$LCID"/>
  589.       </xsl:call-template>
  590.     </xsl:variable>
  591.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:CitationShort/b:FL"/>
  592.   </xsl:template>
  593.  
  594.   
  595.   <xsl:template name="templ_str_OnlineCap" >
  596.     <xsl:param name="LCID" />
  597.     <xsl:variable name="_LCID">
  598.       <xsl:call-template name="localLCID">
  599.         <xsl:with-param name="LCID" select="$LCID"/>
  600.       </xsl:call-template>
  601.     </xsl:variable>
  602.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:OnlineCap"/>
  603.   </xsl:template>
  604.  
  605.   
  606.   <xsl:template name="templ_str_OnlineUnCap" >
  607.     <xsl:param name="LCID" />
  608.     <xsl:variable name="_LCID">
  609.       <xsl:call-template name="localLCID">
  610.         <xsl:with-param name="LCID" select="$LCID"/>
  611.       </xsl:call-template>
  612.     </xsl:variable>
  613.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:OnlineUnCap"/>
  614.   </xsl:template>
  615.  
  616.   
  617.   <xsl:template name="templ_str_FiledCap" >
  618.     <xsl:param name="LCID" />
  619.     <xsl:variable name="_LCID">
  620.       <xsl:call-template name="localLCID">
  621.         <xsl:with-param name="LCID" select="$LCID"/>
  622.       </xsl:call-template>
  623.     </xsl:variable>
  624.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:FiledCap"/>
  625.   </xsl:template>
  626.  
  627.   
  628.   <xsl:template name="templ_str_PatentFiledCap" >
  629.     <xsl:param name="LCID" />
  630.     <xsl:variable name="_LCID">
  631.       <xsl:call-template name="localLCID">
  632.         <xsl:with-param name="LCID" select="$LCID"/>
  633.       </xsl:call-template>
  634.     </xsl:variable>
  635.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PatentFiledCap"/>
  636.   </xsl:template>
  637.  
  638.   
  639.   <xsl:template name="templ_str_InCap" >
  640.     <xsl:param name="LCID" />
  641.     <xsl:variable name="_LCID">
  642.       <xsl:call-template name="localLCID">
  643.         <xsl:with-param name="LCID" select="$LCID"/>
  644.       </xsl:call-template>
  645.     </xsl:variable>
  646.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:InCap"/>
  647.   </xsl:template>
  648.  
  649.   
  650.   <xsl:template name="templ_str_InNameCap" >
  651.     <xsl:param name="LCID" />
  652.     <xsl:variable name="_LCID">
  653.       <xsl:call-template name="localLCID">
  654.         <xsl:with-param name="LCID" select="$LCID"/>
  655.       </xsl:call-template>
  656.     </xsl:variable>
  657.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:InNameCap"/>
  658.   </xsl:template>
  659.  
  660.   
  661.   <xsl:template name="templ_str_WithUnCap" >
  662.     <xsl:param name="LCID" />
  663.     <xsl:variable name="_LCID">
  664.       <xsl:call-template name="localLCID">
  665.         <xsl:with-param name="LCID" select="$LCID"/>
  666.       </xsl:call-template>
  667.     </xsl:variable>
  668.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:WithUnCap"/>
  669.   </xsl:template>
  670.  
  671.   
  672.   <xsl:template name="templ_str_VersionShortCap" >
  673.     <xsl:param name="LCID" />
  674.     <xsl:variable name="_LCID">
  675.       <xsl:call-template name="localLCID">
  676.         <xsl:with-param name="LCID" select="$LCID"/>
  677.       </xsl:call-template>
  678.     </xsl:variable>
  679.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:VersionShortCap"/>
  680.   </xsl:template>
  681.  
  682.   
  683.   <xsl:template name="templ_str_InterviewCap" >
  684.     <xsl:param name="LCID" />
  685.     <xsl:variable name="_LCID">
  686.       <xsl:call-template name="localLCID">
  687.         <xsl:with-param name="LCID" select="$LCID"/>
  688.       </xsl:call-template>
  689.     </xsl:variable>
  690.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:InterviewCap"/>
  691.   </xsl:template>
  692.  
  693.   
  694.   <xsl:template name="templ_str_InterviewWithCap" >
  695.     <xsl:param name="LCID" />
  696.     <xsl:variable name="_LCID">
  697.       <xsl:call-template name="localLCID">
  698.         <xsl:with-param name="LCID" select="$LCID"/>
  699.       </xsl:call-template>
  700.     </xsl:variable>
  701.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:InterviewWithCap"/>
  702.   </xsl:template>
  703.  
  704.   
  705.   <xsl:template name="templ_str_InterviewByCap" >
  706.     <xsl:param name="LCID" />
  707.     <xsl:variable name="_LCID">
  708.       <xsl:call-template name="localLCID">
  709.         <xsl:with-param name="LCID" select="$LCID"/>
  710.       </xsl:call-template>
  711.     </xsl:variable>
  712.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:InterviewByCap"/>
  713.   </xsl:template>
  714.  
  715.   
  716.   <xsl:template name="templ_str_ByCap" >
  717.     <xsl:param name="LCID" />
  718.     <xsl:variable name="_LCID">
  719.       <xsl:call-template name="localLCID">
  720.         <xsl:with-param name="LCID" select="$LCID"/>
  721.       </xsl:call-template>
  722.     </xsl:variable>
  723.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ByCap"/>
  724.   </xsl:template>
  725.  
  726.   
  727.   <xsl:template name="templ_str_AndUnCap" >
  728.     <xsl:param name="LCID" />
  729.     <xsl:variable name="_LCID">
  730.       <xsl:call-template name="localLCID">
  731.         <xsl:with-param name="LCID" select="$LCID"/>
  732.       </xsl:call-template>
  733.     </xsl:variable>
  734.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:AndUnCap"/>
  735.   </xsl:template>
  736.  
  737.   
  738.   <xsl:template name="templ_str_AndOthersUnCap" >
  739.     <xsl:param name="LCID" />
  740.     <xsl:variable name="_LCID">
  741.       <xsl:call-template name="localLCID">
  742.         <xsl:with-param name="LCID" select="$LCID"/>
  743.       </xsl:call-template>
  744.     </xsl:variable>
  745.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:AndOthersUnCap"/>
  746.   </xsl:template>
  747.  
  748.   
  749.   <xsl:template name="templ_str_MotionPictureCap" >
  750.     <xsl:param name="LCID" />
  751.     <xsl:variable name="_LCID">
  752.       <xsl:call-template name="localLCID">
  753.         <xsl:with-param name="LCID" select="$LCID"/>
  754.       </xsl:call-template>
  755.     </xsl:variable>
  756.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:MotionPictureCap"/>
  757.   </xsl:template>
  758.  
  759.   
  760.   <xsl:template name="templ_str_PatentCap" >
  761.     <xsl:param name="LCID" />
  762.     <xsl:variable name="_LCID">
  763.       <xsl:call-template name="localLCID">
  764.         <xsl:with-param name="LCID" select="$LCID"/>
  765.       </xsl:call-template>
  766.     </xsl:variable>
  767.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PatentCap"/>
  768.   </xsl:template>
  769.  
  770.   
  771.   <xsl:template name="templ_str_EditionShortUnCap" >
  772.     <xsl:param name="LCID" />
  773.     <xsl:variable name="_LCID">
  774.       <xsl:call-template name="localLCID">
  775.         <xsl:with-param name="LCID" select="$LCID"/>
  776.       </xsl:call-template>
  777.     </xsl:variable>
  778.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:EditionShortUnCap"/>
  779.   </xsl:template>
  780.  
  781.   
  782.   <xsl:template name="templ_str_EditionUnCap" >
  783.     <xsl:param name="LCID" />
  784.     <xsl:variable name="_LCID">
  785.       <xsl:call-template name="localLCID">
  786.         <xsl:with-param name="LCID" select="$LCID"/>
  787.       </xsl:call-template>
  788.     </xsl:variable>
  789.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:EditionUnCap"/>
  790.   </xsl:template>
  791.  
  792.   
  793.   <xsl:template name="templ_str_RetrievedFromCap" >
  794.     <xsl:param name="LCID" />
  795.     <xsl:variable name="_LCID">
  796.       <xsl:call-template name="localLCID">
  797.         <xsl:with-param name="LCID" select="$LCID"/>
  798.       </xsl:call-template>
  799.     </xsl:variable>
  800.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:RetrievedFromCap"/>
  801.   </xsl:template>
  802.  
  803.   
  804.   <xsl:template name="templ_str_RetrievedCap" >
  805.     <xsl:param name="LCID" />
  806.     <xsl:variable name="_LCID">
  807.       <xsl:call-template name="localLCID">
  808.         <xsl:with-param name="LCID" select="$LCID"/>
  809.       </xsl:call-template>
  810.     </xsl:variable>
  811.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:RetrievedCap"/>
  812.   </xsl:template>
  813.  
  814.   
  815.   <xsl:template name="templ_str_FromCap" >
  816.     <xsl:param name="LCID" />
  817.     <xsl:variable name="_LCID">
  818.       <xsl:call-template name="localLCID">
  819.         <xsl:with-param name="LCID" select="$LCID"/>
  820.       </xsl:call-template>
  821.     </xsl:variable>
  822.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:FromCap"/>
  823.   </xsl:template>
  824.  
  825.   
  826.   <xsl:template name="templ_str_FromUnCap" >
  827.     <xsl:param name="LCID" />
  828.     <xsl:variable name="_LCID">
  829.       <xsl:call-template name="localLCID">
  830.         <xsl:with-param name="LCID" select="$LCID"/>
  831.       </xsl:call-template>
  832.     </xsl:variable>
  833.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:FromUnCap"/>
  834.   </xsl:template>
  835.  
  836.   
  837.   <xsl:template name="templ_str_NoDateShortUnCap" >
  838.     <xsl:param name="LCID" />
  839.     <xsl:variable name="_LCID">
  840.       <xsl:call-template name="localLCID">
  841.         <xsl:with-param name="LCID" select="$LCID"/>
  842.       </xsl:call-template>
  843.     </xsl:variable>
  844.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:NoDateShortUnCap"/>
  845.   </xsl:template>
  846.  
  847.   
  848.   <xsl:template name="templ_str_NumberShortCap" >
  849.     <xsl:param name="LCID" />
  850.     <xsl:variable name="_LCID">
  851.       <xsl:call-template name="localLCID">
  852.         <xsl:with-param name="LCID" select="$LCID"/>
  853.       </xsl:call-template>
  854.     </xsl:variable>
  855.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:NumberShortCap"/>
  856.   </xsl:template>
  857.  
  858.   
  859.   <xsl:template name="templ_str_NumberShortUnCap" >
  860.     <xsl:param name="LCID" />
  861.     <xsl:variable name="_LCID">
  862.       <xsl:call-template name="localLCID">
  863.         <xsl:with-param name="LCID" select="$LCID"/>
  864.       </xsl:call-template>
  865.     </xsl:variable>
  866.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:NumberShortUnCap"/>
  867.   </xsl:template>
  868.  
  869.   
  870.   <xsl:template name="templ_str_PatentNumberShortCap" >
  871.     <xsl:param name="LCID" />
  872.     <xsl:variable name="_LCID">
  873.       <xsl:call-template name="localLCID">
  874.         <xsl:with-param name="LCID" select="$LCID"/>
  875.       </xsl:call-template>
  876.     </xsl:variable>
  877.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PatentNumberShortCap"/>
  878.   </xsl:template>
  879.  
  880.   
  881.   <xsl:template name="templ_str_PagesCountinousShort" >
  882.     <xsl:param name="LCID" />
  883.     <xsl:variable name="_LCID">
  884.       <xsl:call-template name="localLCID">
  885.         <xsl:with-param name="LCID" select="$LCID"/>
  886.       </xsl:call-template>
  887.     </xsl:variable>
  888.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PagesCountinousShort"/>
  889.   </xsl:template>
  890.  
  891.   
  892.   <xsl:template name="templ_str_PageShort" >
  893.     <xsl:param name="LCID" />
  894.     <xsl:variable name="_LCID">
  895.       <xsl:call-template name="localLCID">
  896.         <xsl:with-param name="LCID" select="$LCID"/>
  897.       </xsl:call-template>
  898.     </xsl:variable>
  899.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PageShort"/>
  900.   </xsl:template>
  901.  
  902.   
  903.   <xsl:template name="templ_str_SineNomineShort" >
  904.     <xsl:param name="LCID" />
  905.     <xsl:variable name="_LCID">
  906.       <xsl:call-template name="localLCID">
  907.         <xsl:with-param name="LCID" select="$LCID"/>
  908.       </xsl:call-template>
  909.     </xsl:variable>
  910.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:SineNomineShort"/>
  911.   </xsl:template>
  912.  
  913.   
  914.   <xsl:template name="templ_str_SineLocoShort" >
  915.     <xsl:param name="LCID" />
  916.     <xsl:variable name="_LCID">
  917.       <xsl:call-template name="localLCID">
  918.         <xsl:with-param name="LCID" select="$LCID"/>
  919.       </xsl:call-template>
  920.     </xsl:variable>
  921.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:SineLocoShort"/>
  922.   </xsl:template>
  923.  
  924.   
  925.   <xsl:template name="templ_str_SineLocoSineNomineShort" >
  926.     <xsl:param name="LCID" />
  927.     <xsl:variable name="_LCID">
  928.       <xsl:call-template name="localLCID">
  929.         <xsl:with-param name="LCID" select="$LCID"/>
  930.       </xsl:call-template>
  931.     </xsl:variable>
  932.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:SineLocoSineNomineShort"/>
  933.   </xsl:template>
  934.  
  935.   
  936.   <xsl:template name="templ_str_VolumeOfShortCap" >
  937.     <xsl:param name="LCID" />
  938.     <xsl:variable name="_LCID">
  939.       <xsl:call-template name="localLCID">
  940.         <xsl:with-param name="LCID" select="$LCID"/>
  941.       </xsl:call-template>
  942.     </xsl:variable>
  943.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:VolumeOfShortCap"/>
  944.   </xsl:template>
  945.  
  946.   
  947.   <xsl:template name="templ_str_VolumesOfShortCap" >
  948.     <xsl:param name="LCID" />
  949.     <xsl:variable name="_LCID">
  950.       <xsl:call-template name="localLCID">
  951.         <xsl:with-param name="LCID" select="$LCID"/>
  952.       </xsl:call-template>
  953.     </xsl:variable>
  954.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:VolumesOfShortCap"/>
  955.   </xsl:template>
  956.  
  957.   
  958.   <xsl:template name="templ_str_VolumeShortCap" >
  959.     <xsl:param name="LCID" />
  960.     <xsl:variable name="_LCID">
  961.       <xsl:call-template name="localLCID">
  962.         <xsl:with-param name="LCID" select="$LCID"/>
  963.       </xsl:call-template>
  964.     </xsl:variable>
  965.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:VolumeShortCap"/>
  966.   </xsl:template>
  967.  
  968.   
  969.   <xsl:template name="templ_str_VolumeShortUnCap" >
  970.     <xsl:param name="LCID" />
  971.     <xsl:variable name="_LCID">
  972.       <xsl:call-template name="localLCID">
  973.         <xsl:with-param name="LCID" select="$LCID"/>
  974.       </xsl:call-template>
  975.     </xsl:variable>
  976.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:VolumeShortUnCap"/>
  977.   </xsl:template>
  978.  
  979.   
  980.   <xsl:template name="templ_str_VolumesShortUnCap" >
  981.     <xsl:param name="LCID" />
  982.     <xsl:variable name="_LCID">
  983.       <xsl:call-template name="localLCID">
  984.         <xsl:with-param name="LCID" select="$LCID"/>
  985.       </xsl:call-template>
  986.     </xsl:variable>
  987.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:VolumesShortUnCap"/>
  988.   </xsl:template>
  989.  
  990.   
  991.   <xsl:template name="templ_str_VolumesShortCap" >
  992.     <xsl:param name="LCID" />
  993.     <xsl:variable name="_LCID">
  994.       <xsl:call-template name="localLCID">
  995.         <xsl:with-param name="LCID" select="$LCID"/>
  996.       </xsl:call-template>
  997.     </xsl:variable>
  998.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:VolumesShortCap"/>
  999.   </xsl:template>
  1000.  
  1001.   
  1002.   <xsl:template name="templ_str_VolumeCap" >
  1003.     <xsl:param name="LCID" />
  1004.     <xsl:variable name="_LCID">
  1005.       <xsl:call-template name="localLCID">
  1006.         <xsl:with-param name="LCID" select="$LCID"/>
  1007.       </xsl:call-template>
  1008.     </xsl:variable>
  1009.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:VolumeCap"/>
  1010.   </xsl:template>
  1011.  
  1012.   
  1013.   <xsl:template name="templ_str_AuthorShortUnCap" >
  1014.     <xsl:param name="LCID" />
  1015.     <xsl:variable name="_LCID">
  1016.       <xsl:call-template name="localLCID">
  1017.         <xsl:with-param name="LCID" select="$LCID"/>
  1018.       </xsl:call-template>
  1019.     </xsl:variable>
  1020.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:AuthorShortUnCap"/>
  1021.   </xsl:template>
  1022.  
  1023.   
  1024.   <xsl:template name="templ_str_BookAuthorShortUnCap" >
  1025.     <xsl:param name="LCID" />
  1026.     <xsl:variable name="_LCID">
  1027.       <xsl:call-template name="localLCID">
  1028.         <xsl:with-param name="LCID" select="$LCID"/>
  1029.       </xsl:call-template>
  1030.     </xsl:variable>
  1031.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:BookAuthorShortUnCap"/>
  1032.   </xsl:template>
  1033.  
  1034.   
  1035.   <xsl:template name="templ_str_ArtistShortUnCap" >
  1036.     <xsl:param name="LCID" />
  1037.     <xsl:variable name="_LCID">
  1038.       <xsl:call-template name="localLCID">
  1039.         <xsl:with-param name="LCID" select="$LCID"/>
  1040.       </xsl:call-template>
  1041.     </xsl:variable>
  1042.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ArtistShortUnCap"/>
  1043.   </xsl:template>
  1044.  
  1045.   
  1046.   <xsl:template name="templ_str_WriterCap" >
  1047.     <xsl:param name="LCID" />
  1048.     <xsl:variable name="_LCID">
  1049.       <xsl:call-template name="localLCID">
  1050.         <xsl:with-param name="LCID" select="$LCID"/>
  1051.       </xsl:call-template>
  1052.     </xsl:variable>
  1053.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:WriterCap"/>
  1054.   </xsl:template>
  1055.  
  1056.   
  1057.   <xsl:template name="templ_str_WritersCap" >
  1058.     <xsl:param name="LCID" />
  1059.     <xsl:variable name="_LCID">
  1060.       <xsl:call-template name="localLCID">
  1061.         <xsl:with-param name="LCID" select="$LCID"/>
  1062.       </xsl:call-template>
  1063.     </xsl:variable>
  1064.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:WritersCap"/>
  1065.   </xsl:template>
  1066.  
  1067.   
  1068.   <xsl:template name="templ_str_WriterShortUnCap" >
  1069.     <xsl:param name="LCID" />
  1070.     <xsl:variable name="_LCID">
  1071.       <xsl:call-template name="localLCID">
  1072.         <xsl:with-param name="LCID" select="$LCID"/>
  1073.       </xsl:call-template>
  1074.     </xsl:variable>
  1075.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:WriterShortUnCap"/>
  1076.   </xsl:template>
  1077.  
  1078.   
  1079.   <xsl:template name="templ_str_ConductedByCap" >
  1080.     <xsl:param name="LCID" />
  1081.     <xsl:variable name="_LCID">
  1082.       <xsl:call-template name="localLCID">
  1083.         <xsl:with-param name="LCID" select="$LCID"/>
  1084.       </xsl:call-template>
  1085.     </xsl:variable>
  1086.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ConductedByCap"/>
  1087.   </xsl:template>
  1088.  
  1089.   
  1090.   <xsl:template name="templ_str_ConductedByUnCap" >
  1091.     <xsl:param name="LCID" />
  1092.     <xsl:variable name="_LCID">
  1093.       <xsl:call-template name="localLCID">
  1094.         <xsl:with-param name="LCID" select="$LCID"/>
  1095.       </xsl:call-template>
  1096.     </xsl:variable>
  1097.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ConductedByUnCap"/>
  1098.   </xsl:template>
  1099.  
  1100.   
  1101.   <xsl:template name="templ_str_ConductorCap" >
  1102.     <xsl:param name="LCID" />
  1103.     <xsl:variable name="_LCID">
  1104.       <xsl:call-template name="localLCID">
  1105.         <xsl:with-param name="LCID" select="$LCID"/>
  1106.       </xsl:call-template>
  1107.     </xsl:variable>
  1108.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ConductorCap"/>
  1109.   </xsl:template>
  1110.  
  1111.   
  1112.   <xsl:template name="templ_str_ConductorsCap" >
  1113.     <xsl:param name="LCID" />
  1114.     <xsl:variable name="_LCID">
  1115.       <xsl:call-template name="localLCID">
  1116.         <xsl:with-param name="LCID" select="$LCID"/>
  1117.       </xsl:call-template>
  1118.     </xsl:variable>
  1119.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ConductorsCap"/>
  1120.   </xsl:template>
  1121.  
  1122.   
  1123.   <xsl:template name="templ_str_ConductorShortCap" >
  1124.     <xsl:param name="LCID" />
  1125.     <xsl:variable name="_LCID">
  1126.       <xsl:call-template name="localLCID">
  1127.         <xsl:with-param name="LCID" select="$LCID"/>
  1128.       </xsl:call-template>
  1129.     </xsl:variable>
  1130.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ConductorShortCap"/>
  1131.   </xsl:template>
  1132.  
  1133.   
  1134.   <xsl:template name="templ_str_ConductorShortUnCap" >
  1135.     <xsl:param name="LCID" />
  1136.     <xsl:variable name="_LCID">
  1137.       <xsl:call-template name="localLCID">
  1138.         <xsl:with-param name="LCID" select="$LCID"/>
  1139.       </xsl:call-template>
  1140.     </xsl:variable>
  1141.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ConductorShortUnCap"/>
  1142.   </xsl:template>
  1143.  
  1144.   
  1145.   <xsl:template name="templ_str_ConductorsShortCap" >
  1146.     <xsl:param name="LCID" />
  1147.     <xsl:variable name="_LCID">
  1148.       <xsl:call-template name="localLCID">
  1149.         <xsl:with-param name="LCID" select="$LCID"/>
  1150.       </xsl:call-template>
  1151.     </xsl:variable>
  1152.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ConductorsShortCap"/>
  1153.   </xsl:template>
  1154.  
  1155.   
  1156.   <xsl:template name="templ_str_ConductorsShortUnCap" >
  1157.     <xsl:param name="LCID" />
  1158.     <xsl:variable name="_LCID">
  1159.       <xsl:call-template name="localLCID">
  1160.         <xsl:with-param name="LCID" select="$LCID"/>
  1161.       </xsl:call-template>
  1162.     </xsl:variable>
  1163.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ConductorsShortUnCap"/>
  1164.   </xsl:template>
  1165.  
  1166.   
  1167.   <xsl:template name="templ_str_CounselShortUnCapIso" >
  1168.     <xsl:param name="LCID" />
  1169.     <xsl:variable name="_LCID">
  1170.       <xsl:call-template name="localLCID">
  1171.         <xsl:with-param name="LCID" select="$LCID"/>
  1172.       </xsl:call-template>
  1173.     </xsl:variable>
  1174.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CounselShortUnCapIso"/>
  1175.   </xsl:template>
  1176.  
  1177.   
  1178.   <xsl:template name="templ_str_CounselShortUnCap" >
  1179.     <xsl:param name="LCID" />
  1180.     <xsl:variable name="_LCID">
  1181.       <xsl:call-template name="localLCID">
  1182.         <xsl:with-param name="LCID" select="$LCID"/>
  1183.       </xsl:call-template>
  1184.     </xsl:variable>
  1185.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CounselShortUnCap"/>
  1186.   </xsl:template>
  1187.  
  1188.   
  1189.   <xsl:template name="templ_str_DirectedByCap" >
  1190.     <xsl:param name="LCID" />
  1191.     <xsl:variable name="_LCID">
  1192.       <xsl:call-template name="localLCID">
  1193.         <xsl:with-param name="LCID" select="$LCID"/>
  1194.       </xsl:call-template>
  1195.     </xsl:variable>
  1196.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:DirectedByCap"/>
  1197.   </xsl:template>
  1198.  
  1199.   
  1200.   <xsl:template name="templ_str_DirectedByUnCap" >
  1201.     <xsl:param name="LCID" />
  1202.     <xsl:variable name="_LCID">
  1203.       <xsl:call-template name="localLCID">
  1204.         <xsl:with-param name="LCID" select="$LCID"/>
  1205.       </xsl:call-template>
  1206.     </xsl:variable>
  1207.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:DirectedByUnCap"/>
  1208.   </xsl:template>
  1209.  
  1210.   
  1211.   <xsl:template name="templ_str_DirectorCap" >
  1212.     <xsl:param name="LCID" />
  1213.     <xsl:variable name="_LCID">
  1214.       <xsl:call-template name="localLCID">
  1215.         <xsl:with-param name="LCID" select="$LCID"/>
  1216.       </xsl:call-template>
  1217.     </xsl:variable>
  1218.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:DirectorCap"/>
  1219.   </xsl:template>
  1220.  
  1221.   
  1222.   <xsl:template name="templ_str_DirectorsCap" >
  1223.     <xsl:param name="LCID" />
  1224.     <xsl:variable name="_LCID">
  1225.       <xsl:call-template name="localLCID">
  1226.         <xsl:with-param name="LCID" select="$LCID"/>
  1227.       </xsl:call-template>
  1228.     </xsl:variable>
  1229.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:DirectorsCap"/>
  1230.   </xsl:template>
  1231.  
  1232.   
  1233.   <xsl:template name="templ_str_DirectorShortCap" >
  1234.     <xsl:param name="LCID" />
  1235.     <xsl:variable name="_LCID">
  1236.       <xsl:call-template name="localLCID">
  1237.         <xsl:with-param name="LCID" select="$LCID"/>
  1238.       </xsl:call-template>
  1239.     </xsl:variable>
  1240.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:DirectorShortCap"/>
  1241.   </xsl:template>
  1242.  
  1243.   
  1244.   <xsl:template name="templ_str_DirectorShortUnCap" >
  1245.     <xsl:param name="LCID" />
  1246.     <xsl:variable name="_LCID">
  1247.       <xsl:call-template name="localLCID">
  1248.         <xsl:with-param name="LCID" select="$LCID"/>
  1249.       </xsl:call-template>
  1250.     </xsl:variable>
  1251.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:DirectorShortUnCap"/>
  1252.   </xsl:template>
  1253.  
  1254.   
  1255.   <xsl:template name="templ_str_DirectorsShortCap" >
  1256.     <xsl:param name="LCID" />
  1257.     <xsl:variable name="_LCID">
  1258.       <xsl:call-template name="localLCID">
  1259.         <xsl:with-param name="LCID" select="$LCID"/>
  1260.       </xsl:call-template>
  1261.     </xsl:variable>
  1262.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:DirectorsShortCap"/>
  1263.   </xsl:template>
  1264.  
  1265.   
  1266.   <xsl:template name="templ_str_DirectorsShortUnCap" >
  1267.     <xsl:param name="LCID" />
  1268.     <xsl:variable name="_LCID">
  1269.       <xsl:call-template name="localLCID">
  1270.         <xsl:with-param name="LCID" select="$LCID"/>
  1271.       </xsl:call-template>
  1272.     </xsl:variable>
  1273.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:DirectorsShortUnCap"/>
  1274.   </xsl:template>
  1275.  
  1276.   
  1277.   <xsl:template name="templ_str_EditedByCap" >
  1278.     <xsl:param name="LCID" />
  1279.     <xsl:variable name="_LCID">
  1280.       <xsl:call-template name="localLCID">
  1281.         <xsl:with-param name="LCID" select="$LCID"/>
  1282.       </xsl:call-template>
  1283.     </xsl:variable>
  1284.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:EditedByCap"/>
  1285.   </xsl:template>
  1286.  
  1287.   
  1288.   <xsl:template name="templ_str_EditedByUnCap" >
  1289.     <xsl:param name="LCID" />
  1290.     <xsl:variable name="_LCID">
  1291.       <xsl:call-template name="localLCID">
  1292.         <xsl:with-param name="LCID" select="$LCID"/>
  1293.       </xsl:call-template>
  1294.     </xsl:variable>
  1295.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:EditedByUnCap"/>
  1296.   </xsl:template>
  1297.  
  1298.   
  1299.   <xsl:template name="templ_str_EditorCap" >
  1300.     <xsl:param name="LCID" />
  1301.     <xsl:variable name="_LCID">
  1302.       <xsl:call-template name="localLCID">
  1303.         <xsl:with-param name="LCID" select="$LCID"/>
  1304.       </xsl:call-template>
  1305.     </xsl:variable>
  1306.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:EditorCap"/>
  1307.   </xsl:template>
  1308.  
  1309.   
  1310.   <xsl:template name="templ_str_EditorsCap" >
  1311.     <xsl:param name="LCID" />
  1312.     <xsl:variable name="_LCID">
  1313.       <xsl:call-template name="localLCID">
  1314.         <xsl:with-param name="LCID" select="$LCID"/>
  1315.       </xsl:call-template>
  1316.     </xsl:variable>
  1317.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:EditorsCap"/>
  1318.   </xsl:template>
  1319.  
  1320.   
  1321.   <xsl:template name="templ_str_EditorShortCap" >
  1322.     <xsl:param name="LCID" />
  1323.     <xsl:variable name="_LCID">
  1324.       <xsl:call-template name="localLCID">
  1325.         <xsl:with-param name="LCID" select="$LCID"/>
  1326.       </xsl:call-template>
  1327.     </xsl:variable>
  1328.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:EditorShortCap"/>
  1329.   </xsl:template>
  1330.  
  1331.   
  1332.   <xsl:template name="templ_str_EditorShortUnCap" >
  1333.     <xsl:param name="LCID" />
  1334.     <xsl:variable name="_LCID">
  1335.       <xsl:call-template name="localLCID">
  1336.         <xsl:with-param name="LCID" select="$LCID"/>
  1337.       </xsl:call-template>
  1338.     </xsl:variable>
  1339.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:EditorShortUnCap"/>
  1340.   </xsl:template>
  1341.  
  1342.   
  1343.   <xsl:template name="templ_str_EditorsShortCap" >
  1344.     <xsl:param name="LCID" />
  1345.     <xsl:variable name="_LCID">
  1346.       <xsl:call-template name="localLCID">
  1347.         <xsl:with-param name="LCID" select="$LCID"/>
  1348.       </xsl:call-template>
  1349.     </xsl:variable>
  1350.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:EditorsShortCap"/>
  1351.   </xsl:template>
  1352.  
  1353.   
  1354.   <xsl:template name="templ_str_EditorsShortUnCap" >
  1355.     <xsl:param name="LCID" />
  1356.     <xsl:variable name="_LCID">
  1357.       <xsl:call-template name="localLCID">
  1358.         <xsl:with-param name="LCID" select="$LCID"/>
  1359.       </xsl:call-template>
  1360.     </xsl:variable>
  1361.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:EditorsShortUnCap"/>
  1362.   </xsl:template>
  1363.  
  1364.   
  1365.   <xsl:template name="templ_str_IntervieweeShortUnCap" >
  1366.     <xsl:param name="LCID" />
  1367.     <xsl:variable name="_LCID">
  1368.       <xsl:call-template name="localLCID">
  1369.         <xsl:with-param name="LCID" select="$LCID"/>
  1370.       </xsl:call-template>
  1371.     </xsl:variable>
  1372.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:IntervieweeShortUnCap"/>
  1373.   </xsl:template>
  1374.  
  1375.   
  1376.   <xsl:template name="templ_str_InterviewerCap" >
  1377.     <xsl:param name="LCID" />
  1378.     <xsl:variable name="_LCID">
  1379.       <xsl:call-template name="localLCID">
  1380.         <xsl:with-param name="LCID" select="$LCID"/>
  1381.       </xsl:call-template>
  1382.     </xsl:variable>
  1383.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:InterviewerCap"/>
  1384.   </xsl:template>
  1385.  
  1386.   
  1387.   <xsl:template name="templ_str_InterviewersCap" >
  1388.     <xsl:param name="LCID" />
  1389.     <xsl:variable name="_LCID">
  1390.       <xsl:call-template name="localLCID">
  1391.         <xsl:with-param name="LCID" select="$LCID"/>
  1392.       </xsl:call-template>
  1393.     </xsl:variable>
  1394.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:InterviewersCap"/>
  1395.   </xsl:template>
  1396.  
  1397.   
  1398.   <xsl:template name="templ_str_InventorShortUnCap" >
  1399.     <xsl:param name="LCID" />
  1400.     <xsl:variable name="_LCID">
  1401.       <xsl:call-template name="localLCID">
  1402.         <xsl:with-param name="LCID" select="$LCID"/>
  1403.       </xsl:call-template>
  1404.     </xsl:variable>
  1405.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:InventorShortUnCap"/>
  1406.   </xsl:template>
  1407.  
  1408.   
  1409.   <xsl:template name="templ_str_PerformedByCap" >
  1410.     <xsl:param name="LCID" />
  1411.     <xsl:variable name="_LCID">
  1412.       <xsl:call-template name="localLCID">
  1413.         <xsl:with-param name="LCID" select="$LCID"/>
  1414.       </xsl:call-template>
  1415.     </xsl:variable>
  1416.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PerformedByCap"/>
  1417.   </xsl:template>
  1418.  
  1419.   
  1420.   <xsl:template name="templ_str_PerformedByUnCap" >
  1421.     <xsl:param name="LCID" />
  1422.     <xsl:variable name="_LCID">
  1423.       <xsl:call-template name="localLCID">
  1424.         <xsl:with-param name="LCID" select="$LCID"/>
  1425.       </xsl:call-template>
  1426.     </xsl:variable>
  1427.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PerformedByUnCap"/>
  1428.   </xsl:template>
  1429.  
  1430.   
  1431.   <xsl:template name="templ_str_PerformerCap" >
  1432.     <xsl:param name="LCID" />
  1433.     <xsl:variable name="_LCID">
  1434.       <xsl:call-template name="localLCID">
  1435.         <xsl:with-param name="LCID" select="$LCID"/>
  1436.       </xsl:call-template>
  1437.     </xsl:variable>
  1438.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PerformerCap"/>
  1439.   </xsl:template>
  1440.  
  1441.   
  1442.   <xsl:template name="templ_str_PerformersCap" >
  1443.     <xsl:param name="LCID" />
  1444.     <xsl:variable name="_LCID">
  1445.       <xsl:call-template name="localLCID">
  1446.         <xsl:with-param name="LCID" select="$LCID"/>
  1447.       </xsl:call-template>
  1448.     </xsl:variable>
  1449.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PerformersCap"/>
  1450.   </xsl:template>
  1451.  
  1452.   
  1453.   <xsl:template name="templ_str_PerformerShortCap" >
  1454.     <xsl:param name="LCID" />
  1455.     <xsl:variable name="_LCID">
  1456.       <xsl:call-template name="localLCID">
  1457.         <xsl:with-param name="LCID" select="$LCID"/>
  1458.       </xsl:call-template>
  1459.     </xsl:variable>
  1460.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PerformerShortCap"/>
  1461.   </xsl:template>
  1462.  
  1463.   
  1464.   <xsl:template name="templ_str_PerformerShortUnCap" >
  1465.     <xsl:param name="LCID" />
  1466.     <xsl:variable name="_LCID">
  1467.       <xsl:call-template name="localLCID">
  1468.         <xsl:with-param name="LCID" select="$LCID"/>
  1469.       </xsl:call-template>
  1470.     </xsl:variable>
  1471.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PerformerShortUnCap"/>
  1472.   </xsl:template>
  1473.  
  1474.   
  1475.   <xsl:template name="templ_str_PerformersShortCap" >
  1476.     <xsl:param name="LCID" />
  1477.     <xsl:variable name="_LCID">
  1478.       <xsl:call-template name="localLCID">
  1479.         <xsl:with-param name="LCID" select="$LCID"/>
  1480.       </xsl:call-template>
  1481.     </xsl:variable>
  1482.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PerformersShortCap"/>
  1483.   </xsl:template>
  1484.  
  1485.   
  1486.   <xsl:template name="templ_str_PerformersShortUnCap" >
  1487.     <xsl:param name="LCID" />
  1488.     <xsl:variable name="_LCID">
  1489.       <xsl:call-template name="localLCID">
  1490.         <xsl:with-param name="LCID" select="$LCID"/>
  1491.       </xsl:call-template>
  1492.     </xsl:variable>
  1493.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PerformersShortUnCap"/>
  1494.   </xsl:template>
  1495.  
  1496.   
  1497.   <xsl:template name="templ_str_ProducedByCap" >
  1498.     <xsl:param name="LCID" />
  1499.     <xsl:variable name="_LCID">
  1500.       <xsl:call-template name="localLCID">
  1501.         <xsl:with-param name="LCID" select="$LCID"/>
  1502.       </xsl:call-template>
  1503.     </xsl:variable>
  1504.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ProducedByCap"/>
  1505.   </xsl:template>
  1506.  
  1507.   
  1508.   <xsl:template name="templ_str_ProducedByUnCap" >
  1509.     <xsl:param name="LCID" />
  1510.     <xsl:variable name="_LCID">
  1511.       <xsl:call-template name="localLCID">
  1512.         <xsl:with-param name="LCID" select="$LCID"/>
  1513.       </xsl:call-template>
  1514.     </xsl:variable>
  1515.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ProducedByUnCap"/>
  1516.   </xsl:template>
  1517.  
  1518.   
  1519.   <xsl:template name="templ_str_ProducerCap" >
  1520.     <xsl:param name="LCID" />
  1521.     <xsl:variable name="_LCID">
  1522.       <xsl:call-template name="localLCID">
  1523.         <xsl:with-param name="LCID" select="$LCID"/>
  1524.       </xsl:call-template>
  1525.     </xsl:variable>
  1526.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ProducerCap"/>
  1527.   </xsl:template>
  1528.  
  1529.   
  1530.   <xsl:template name="templ_str_ProducersCap" >
  1531.     <xsl:param name="LCID" />
  1532.     <xsl:variable name="_LCID">
  1533.       <xsl:call-template name="localLCID">
  1534.         <xsl:with-param name="LCID" select="$LCID"/>
  1535.       </xsl:call-template>
  1536.     </xsl:variable>
  1537.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ProducersCap"/>
  1538.   </xsl:template>
  1539.  
  1540.   
  1541.   <xsl:template name="templ_str_ProductionCompanyShortCap" >
  1542.     <xsl:param name="LCID" />
  1543.     <xsl:variable name="_LCID">
  1544.       <xsl:call-template name="localLCID">
  1545.         <xsl:with-param name="LCID" select="$LCID"/>
  1546.       </xsl:call-template>
  1547.     </xsl:variable>
  1548.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ProductionCompanyShortCap"/>
  1549.   </xsl:template>
  1550.  
  1551.   
  1552.   <xsl:template name="templ_str_ProducerShortCap" >
  1553.     <xsl:param name="LCID" />
  1554.     <xsl:variable name="_LCID">
  1555.       <xsl:call-template name="localLCID">
  1556.         <xsl:with-param name="LCID" select="$LCID"/>
  1557.       </xsl:call-template>
  1558.     </xsl:variable>
  1559.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ProducerShortCap"/>
  1560.   </xsl:template>
  1561.  
  1562.   
  1563.   <xsl:template name="templ_str_ProducersShortCap" >
  1564.     <xsl:param name="LCID" />
  1565.     <xsl:variable name="_LCID">
  1566.       <xsl:call-template name="localLCID">
  1567.         <xsl:with-param name="LCID" select="$LCID"/>
  1568.       </xsl:call-template>
  1569.     </xsl:variable>
  1570.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ProducersShortCap"/>
  1571.   </xsl:template>
  1572.  
  1573.   
  1574.   <xsl:template name="templ_str_ProducerShortUnCap" >
  1575.     <xsl:param name="LCID" />
  1576.     <xsl:variable name="_LCID">
  1577.       <xsl:call-template name="localLCID">
  1578.         <xsl:with-param name="LCID" select="$LCID"/>
  1579.       </xsl:call-template>
  1580.     </xsl:variable>
  1581.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ProducerShortUnCap"/>
  1582.   </xsl:template>
  1583.  
  1584.   
  1585.   <xsl:template name="templ_str_TranslatedByCap" >
  1586.     <xsl:param name="LCID" />
  1587.     <xsl:variable name="_LCID">
  1588.       <xsl:call-template name="localLCID">
  1589.         <xsl:with-param name="LCID" select="$LCID"/>
  1590.       </xsl:call-template>
  1591.     </xsl:variable>
  1592.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:TranslatedByCap"/>
  1593.   </xsl:template>
  1594.  
  1595.   
  1596.   <xsl:template name="templ_str_TranslatedByUnCap" >
  1597.     <xsl:param name="LCID" />
  1598.     <xsl:variable name="_LCID">
  1599.       <xsl:call-template name="localLCID">
  1600.         <xsl:with-param name="LCID" select="$LCID"/>
  1601.       </xsl:call-template>
  1602.     </xsl:variable>
  1603.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:TranslatedByUnCap"/>
  1604.   </xsl:template>
  1605.  
  1606.   
  1607.   <xsl:template name="templ_str_TranslatorCap" >
  1608.     <xsl:param name="LCID" />
  1609.     <xsl:variable name="_LCID">
  1610.       <xsl:call-template name="localLCID">
  1611.         <xsl:with-param name="LCID" select="$LCID"/>
  1612.       </xsl:call-template>
  1613.     </xsl:variable>
  1614.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:TranslatorCap"/>
  1615.   </xsl:template>
  1616.  
  1617.   
  1618.   <xsl:template name="templ_str_TranslatorsCap" >
  1619.     <xsl:param name="LCID" />
  1620.     <xsl:variable name="_LCID">
  1621.       <xsl:call-template name="localLCID">
  1622.         <xsl:with-param name="LCID" select="$LCID"/>
  1623.       </xsl:call-template>
  1624.     </xsl:variable>
  1625.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:TranslatorsCap"/>
  1626.   </xsl:template>
  1627.  
  1628.   
  1629.   <xsl:template name="templ_str_TranslatorShortCap" >
  1630.     <xsl:param name="LCID" />
  1631.     <xsl:variable name="_LCID">
  1632.       <xsl:call-template name="localLCID">
  1633.         <xsl:with-param name="LCID" select="$LCID"/>
  1634.       </xsl:call-template>
  1635.     </xsl:variable>
  1636.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:TranslatorShortCap"/>
  1637.   </xsl:template>
  1638.  
  1639.   
  1640.   <xsl:template name="templ_str_TranslatorShortUnCap" >
  1641.     <xsl:param name="LCID" />
  1642.     <xsl:variable name="_LCID">
  1643.       <xsl:call-template name="localLCID">
  1644.         <xsl:with-param name="LCID" select="$LCID"/>
  1645.       </xsl:call-template>
  1646.     </xsl:variable>
  1647.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:TranslatorShortUnCap"/>
  1648.   </xsl:template>
  1649.  
  1650.   
  1651.   <xsl:template name="templ_str_TranslatorsShortCap" >
  1652.     <xsl:param name="LCID" />
  1653.     <xsl:variable name="_LCID">
  1654.       <xsl:call-template name="localLCID">
  1655.         <xsl:with-param name="LCID" select="$LCID"/>
  1656.       </xsl:call-template>
  1657.     </xsl:variable>
  1658.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:TranslatorsShortCap"/>
  1659.   </xsl:template>
  1660.  
  1661.   
  1662.   <xsl:template name="templ_str_TranslatorsShortUnCap" >
  1663.     <xsl:param name="LCID" />
  1664.     <xsl:variable name="_LCID">
  1665.       <xsl:call-template name="localLCID">
  1666.         <xsl:with-param name="LCID" select="$LCID"/>
  1667.       </xsl:call-template>
  1668.     </xsl:variable>
  1669.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:TranslatorsShortUnCap"/>
  1670.   </xsl:template>
  1671.  
  1672.   
  1673.   <xsl:template name="templ_str_ComposerCap" >
  1674.     <xsl:param name="LCID" />
  1675.     <xsl:variable name="_LCID">
  1676.       <xsl:call-template name="localLCID">
  1677.         <xsl:with-param name="LCID" select="$LCID"/>
  1678.       </xsl:call-template>
  1679.     </xsl:variable>
  1680.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ComposerCap"/>
  1681.   </xsl:template>
  1682.  
  1683.   
  1684.   <xsl:template name="templ_str_ComposersCap" >
  1685.     <xsl:param name="LCID" />
  1686.     <xsl:variable name="_LCID">
  1687.       <xsl:call-template name="localLCID">
  1688.         <xsl:with-param name="LCID" select="$LCID"/>
  1689.       </xsl:call-template>
  1690.     </xsl:variable>
  1691.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ComposersCap"/>
  1692.   </xsl:template>
  1693.  
  1694.   
  1695.   <xsl:template name="templ_str_ComposerShortCap" >
  1696.     <xsl:param name="LCID" />
  1697.     <xsl:variable name="_LCID">
  1698.       <xsl:call-template name="localLCID">
  1699.         <xsl:with-param name="LCID" select="$LCID"/>
  1700.       </xsl:call-template>
  1701.     </xsl:variable>
  1702.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ComposerShortCap"/>
  1703.   </xsl:template>
  1704.  
  1705.   
  1706.   <xsl:template name="templ_str_ComposersShortCap" >
  1707.     <xsl:param name="LCID" />
  1708.     <xsl:variable name="_LCID">
  1709.       <xsl:call-template name="localLCID">
  1710.         <xsl:with-param name="LCID" select="$LCID"/>
  1711.       </xsl:call-template>
  1712.     </xsl:variable>
  1713.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ComposersShortCap"/>
  1714.   </xsl:template>
  1715.  
  1716.   
  1717.   <xsl:template name="templ_str_ComposerShortUnCapIso" >
  1718.     <xsl:param name="LCID" />
  1719.     <xsl:variable name="_LCID">
  1720.       <xsl:call-template name="localLCID">
  1721.         <xsl:with-param name="LCID" select="$LCID"/>
  1722.       </xsl:call-template>
  1723.     </xsl:variable>
  1724.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ComposerShortUnCapIso"/>
  1725.   </xsl:template>
  1726.  
  1727.   
  1728.   <xsl:template name="templ_str_CompiledByCap" >
  1729.     <xsl:param name="LCID" />
  1730.     <xsl:variable name="_LCID">
  1731.       <xsl:call-template name="localLCID">
  1732.         <xsl:with-param name="LCID" select="$LCID"/>
  1733.       </xsl:call-template>
  1734.     </xsl:variable>
  1735.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CompiledByCap"/>
  1736.   </xsl:template>
  1737.  
  1738.   
  1739.   <xsl:template name="templ_str_CompiledByUnCap" >
  1740.     <xsl:param name="LCID" />
  1741.     <xsl:variable name="_LCID">
  1742.       <xsl:call-template name="localLCID">
  1743.         <xsl:with-param name="LCID" select="$LCID"/>
  1744.       </xsl:call-template>
  1745.     </xsl:variable>
  1746.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CompiledByUnCap"/>
  1747.   </xsl:template>
  1748.  
  1749.   
  1750.   <xsl:template name="templ_str_CompilerCap" >
  1751.     <xsl:param name="LCID" />
  1752.     <xsl:variable name="_LCID">
  1753.       <xsl:call-template name="localLCID">
  1754.         <xsl:with-param name="LCID" select="$LCID"/>
  1755.       </xsl:call-template>
  1756.     </xsl:variable>
  1757.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CompilerCap"/>
  1758.   </xsl:template>
  1759.  
  1760.   
  1761.   <xsl:template name="templ_str_CompilersCap" >
  1762.     <xsl:param name="LCID" />
  1763.     <xsl:variable name="_LCID">
  1764.       <xsl:call-template name="localLCID">
  1765.         <xsl:with-param name="LCID" select="$LCID"/>
  1766.       </xsl:call-template>
  1767.     </xsl:variable>
  1768.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CompilersCap"/>
  1769.   </xsl:template>
  1770.  
  1771.   
  1772.   <xsl:template name="templ_str_CompilerShortCap" >
  1773.     <xsl:param name="LCID" />
  1774.     <xsl:variable name="_LCID">
  1775.       <xsl:call-template name="localLCID">
  1776.         <xsl:with-param name="LCID" select="$LCID"/>
  1777.       </xsl:call-template>
  1778.     </xsl:variable>
  1779.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CompilerShortCap"/>
  1780.   </xsl:template>
  1781.  
  1782.   
  1783.   <xsl:template name="templ_str_CompilerShortUnCap" >
  1784.     <xsl:param name="LCID" />
  1785.     <xsl:variable name="_LCID">
  1786.       <xsl:call-template name="localLCID">
  1787.         <xsl:with-param name="LCID" select="$LCID"/>
  1788.       </xsl:call-template>
  1789.     </xsl:variable>
  1790.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CompilerShortUnCap"/>
  1791.   </xsl:template>
  1792.  
  1793.   
  1794.   <xsl:template name="templ_str_CompilersShortCap" >
  1795.     <xsl:param name="LCID" />
  1796.     <xsl:variable name="_LCID">
  1797.       <xsl:call-template name="localLCID">
  1798.         <xsl:with-param name="LCID" select="$LCID"/>
  1799.       </xsl:call-template>
  1800.     </xsl:variable>
  1801.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CompilersShortCap"/>
  1802.   </xsl:template>
  1803.  
  1804.   
  1805.   <xsl:template name="templ_str_CompilersShortUnCap" >
  1806.     <xsl:param name="LCID" />
  1807.     <xsl:variable name="_LCID">
  1808.       <xsl:call-template name="localLCID">
  1809.         <xsl:with-param name="LCID" select="$LCID"/>
  1810.       </xsl:call-template>
  1811.     </xsl:variable>
  1812.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CompilersShortUnCap"/>
  1813.   </xsl:template>
  1814.  
  1815.   
  1816.   <xsl:template name="templ_str_CompilerShortUnCapIso" >
  1817.     <xsl:param name="LCID" />
  1818.     <xsl:variable name="_LCID">
  1819.       <xsl:call-template name="localLCID">
  1820.         <xsl:with-param name="LCID" select="$LCID"/>
  1821.       </xsl:call-template>
  1822.     </xsl:variable>
  1823.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CompilerShortUnCapIso"/>
  1824.   </xsl:template>
  1825.  
  1826.  
  1827.   
  1828.  
  1829.   
  1830.   <xsl:template name="templ_prop_Culture" >
  1831.     <xsl:param name="LCID" />
  1832.     <xsl:variable name="_LCID">
  1833.       <xsl:call-template name="localLCID">
  1834.         <xsl:with-param name="LCID" select="$LCID"/>
  1835.       </xsl:call-template>
  1836.     </xsl:variable>
  1837.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/@Culture"/>
  1838.   </xsl:template>
  1839.  
  1840.   
  1841.   <xsl:template name="templ_prop_Direction" >
  1842.     <xsl:param name="LCID" />
  1843.     <xsl:variable name="_LCID">
  1844.       <xsl:call-template name="localLCID">
  1845.         <xsl:with-param name="LCID" select="$LCID"/>
  1846.       </xsl:call-template>
  1847.     </xsl:variable>
  1848.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Properties/b:Direction"/>
  1849.   </xsl:template>
  1850.  
  1851.  
  1852.   
  1853.  
  1854.   
  1855.   <xsl:template name="templ_prop_EndChars" >
  1856.     <xsl:param name="LCID" />
  1857.     <xsl:variable name="_LCID">
  1858.       <xsl:call-template name="localLCID">
  1859.         <xsl:with-param name="LCID" select="$LCID"/>
  1860.       </xsl:call-template>
  1861.     </xsl:variable>
  1862.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:EndChars"/>
  1863.   </xsl:template>
  1864.  
  1865.   
  1866.   <xsl:template name="templ_prop_NormalizeSpace" >
  1867.     <xsl:param name="LCID" />
  1868.     <xsl:variable name="_LCID">
  1869.       <xsl:call-template name="localLCID">
  1870.         <xsl:with-param name="LCID" select="$LCID"/>
  1871.       </xsl:call-template>
  1872.     </xsl:variable>
  1873.     <xsl:text>no</xsl:text>
  1874.     
  1875.   </xsl:template>
  1876.  
  1877.   
  1878.   <xsl:template name="templ_prop_Space" >
  1879.     <xsl:param name="LCID" />
  1880.     <xsl:variable name="_LCID">
  1881.       <xsl:call-template name="localLCID">
  1882.         <xsl:with-param name="LCID" select="$LCID"/>
  1883.       </xsl:call-template>
  1884.     </xsl:variable>
  1885.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:Space"/>
  1886.   </xsl:template>
  1887.  
  1888.   
  1889.   <xsl:template name="templ_prop_NonBreakingSpace" >
  1890.     <xsl:param name="LCID" />
  1891.     <xsl:variable name="_LCID">
  1892.       <xsl:call-template name="localLCID">
  1893.         <xsl:with-param name="LCID" select="$LCID"/>
  1894.       </xsl:call-template>
  1895.     </xsl:variable>
  1896.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:NonBreakingSpace"/>
  1897.   </xsl:template>
  1898.  
  1899.   
  1900.   <xsl:template name="templ_prop_ListSeparator" >
  1901.     <xsl:param name="LCID" />
  1902.     <xsl:variable name="_LCID">
  1903.       <xsl:call-template name="localLCID">
  1904.         <xsl:with-param name="LCID" select="$LCID"/>
  1905.       </xsl:call-template>
  1906.     </xsl:variable>
  1907.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:ListSeparator"/>
  1908.   </xsl:template>
  1909.  
  1910.   
  1911.   <xsl:template name="templ_prop_Dot" >
  1912.     <xsl:param name="LCID" />
  1913.     <xsl:variable name="_LCID">
  1914.       <xsl:call-template name="localLCID">
  1915.         <xsl:with-param name="LCID" select="$LCID"/>
  1916.       </xsl:call-template>
  1917.     </xsl:variable>
  1918.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:Dot"/>
  1919.   </xsl:template>
  1920.  
  1921.   
  1922.   <xsl:template name="templ_prop_DotInitial" >
  1923.     <xsl:param name="LCID" />
  1924.     <xsl:variable name="_LCID">
  1925.       <xsl:call-template name="localLCID">
  1926.         <xsl:with-param name="LCID" select="$LCID"/>
  1927.       </xsl:call-template>
  1928.     </xsl:variable>
  1929.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:DotInitial"/>
  1930.   </xsl:template>
  1931.  
  1932.   
  1933.   <xsl:template name="templ_prop_GroupSeparator" >
  1934.     <xsl:param name="LCID" />
  1935.     <xsl:variable name="_LCID">
  1936.       <xsl:call-template name="localLCID">
  1937.         <xsl:with-param name="LCID" select="$LCID"/>
  1938.       </xsl:call-template>
  1939.     </xsl:variable>
  1940.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:GroupSeparator"/>
  1941.   </xsl:template>
  1942.  
  1943.   
  1944.   <xsl:template name="templ_prop_EnumSeparator" >
  1945.     <xsl:param name="LCID" />
  1946.     <xsl:variable name="_LCID">
  1947.       <xsl:call-template name="localLCID">
  1948.         <xsl:with-param name="LCID" select="$LCID"/>
  1949.       </xsl:call-template>
  1950.     </xsl:variable>
  1951.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:EnumSeparator"/>
  1952.   </xsl:template>
  1953.  
  1954.   
  1955.   <xsl:template name="templ_prop_Equal" >
  1956.     <xsl:param name="LCID" />
  1957.     <xsl:variable name="_LCID">
  1958.       <xsl:call-template name="localLCID">
  1959.         <xsl:with-param name="LCID" select="$LCID"/>
  1960.       </xsl:call-template>
  1961.     </xsl:variable>
  1962.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:Equal"/>
  1963.   </xsl:template>
  1964.  
  1965.   
  1966.   <xsl:template name="templ_prop_Enum" >
  1967.     <xsl:param name="LCID" />
  1968.     <xsl:variable name="_LCID">
  1969.       <xsl:call-template name="localLCID">
  1970.         <xsl:with-param name="LCID" select="$LCID"/>
  1971.       </xsl:call-template>
  1972.     </xsl:variable>
  1973.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:Enum"/>
  1974.   </xsl:template>
  1975.  
  1976.   
  1977.   <xsl:template name="templ_prop_OpenQuote" >
  1978.     <xsl:param name="LCID" />
  1979.     <xsl:variable name="_LCID">
  1980.       <xsl:call-template name="localLCID">
  1981.         <xsl:with-param name="LCID" select="$LCID"/>
  1982.       </xsl:call-template>
  1983.     </xsl:variable>
  1984.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:OpenQuote"/>
  1985.   </xsl:template>
  1986.  
  1987.   
  1988.   <xsl:template name="templ_prop_CloseQuote" >
  1989.     <xsl:param name="LCID" />
  1990.     <xsl:variable name="_LCID">
  1991.       <xsl:call-template name="localLCID">
  1992.         <xsl:with-param name="LCID" select="$LCID"/>
  1993.       </xsl:call-template>
  1994.     </xsl:variable>
  1995.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:CloseQuote"/>
  1996.   </xsl:template>
  1997.  
  1998.   
  1999.   <xsl:template name="templ_prop_OpenBracket" >
  2000.     <xsl:param name="LCID" />
  2001.     <xsl:variable name="_LCID">
  2002.       <xsl:call-template name="localLCID">
  2003.         <xsl:with-param name="LCID" select="$LCID"/>
  2004.       </xsl:call-template>
  2005.     </xsl:variable>
  2006.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:OpenBracket"/>
  2007.   </xsl:template>
  2008.  
  2009.   
  2010.   <xsl:template name="templ_prop_CloseBracket" >
  2011.     <xsl:param name="LCID" />
  2012.     <xsl:variable name="_LCID">
  2013.       <xsl:call-template name="localLCID">
  2014.         <xsl:with-param name="LCID" select="$LCID"/>
  2015.       </xsl:call-template>
  2016.     </xsl:variable>
  2017.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:CloseBracket"/>
  2018.   </xsl:template>
  2019.  
  2020.   
  2021.   <xsl:template name="templ_prop_FromToDash" >
  2022.     <xsl:param name="LCID" />
  2023.     <xsl:variable name="_LCID">
  2024.       <xsl:call-template name="localLCID">
  2025.         <xsl:with-param name="LCID" select="$LCID"/>
  2026.       </xsl:call-template>
  2027.     </xsl:variable>
  2028.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:FromToDash"/>
  2029.   </xsl:template>
  2030.  
  2031.   
  2032.   <xsl:template name="templ_prop_OpenLink" >
  2033.     <xsl:param name="LCID" />
  2034.     <xsl:variable name="_LCID">
  2035.       <xsl:call-template name="localLCID">
  2036.         <xsl:with-param name="LCID" select="$LCID"/>
  2037.       </xsl:call-template>
  2038.     </xsl:variable>
  2039.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:OpenLink"/>
  2040.   </xsl:template>
  2041.  
  2042.   
  2043.   <xsl:template name="templ_prop_CloseLink" >
  2044.     <xsl:param name="LCID" />
  2045.     <xsl:variable name="_LCID">
  2046.       <xsl:call-template name="localLCID">
  2047.         <xsl:with-param name="LCID" select="$LCID"/>
  2048.       </xsl:call-template>
  2049.     </xsl:variable>
  2050.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:CloseLink"/>
  2051.   </xsl:template>
  2052.  
  2053.   
  2054.   <xsl:template name="templ_prop_AuthorsSeparator" >
  2055.     <xsl:param name="LCID" />
  2056.     <xsl:variable name="_LCID">
  2057.       <xsl:call-template name="localLCID">
  2058.         <xsl:with-param name="LCID" select="$LCID"/>
  2059.       </xsl:call-template>
  2060.     </xsl:variable>
  2061.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:AuthorsSeparator"/>
  2062.   </xsl:template>
  2063.  
  2064.   
  2065.   <xsl:template name="templ_prop_NoAndBeforeLastAuthor" >
  2066.     <xsl:param name="LCID" />
  2067.     <xsl:variable name="_LCID">
  2068.       <xsl:call-template name="localLCID">
  2069.         <xsl:with-param name="LCID" select="$LCID"/>
  2070.       </xsl:call-template>
  2071.     </xsl:variable>
  2072.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:NoAndBeforeLastAuthor"/>
  2073.   </xsl:template>
  2074.  
  2075.   
  2076.   <xsl:template name="templ_prop_SimpleAuthor_F" >
  2077.     <xsl:param name="LCID" />
  2078.     <xsl:variable name="_LCID">
  2079.       <xsl:call-template name="localLCID">
  2080.         <xsl:with-param name="LCID" select="$LCID"/>
  2081.       </xsl:call-template>
  2082.     </xsl:variable>
  2083.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:SimpleAuthor/b:F"/>
  2084.   </xsl:template>
  2085.  
  2086.   
  2087.   <xsl:template name="templ_prop_SimpleAuthor_M" >
  2088.     <xsl:param name="LCID" />
  2089.     <xsl:variable name="_LCID">
  2090.       <xsl:call-template name="localLCID">
  2091.         <xsl:with-param name="LCID" select="$LCID"/>
  2092.       </xsl:call-template>
  2093.     </xsl:variable>
  2094.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:SimpleAuthor/b:M"/>
  2095.   </xsl:template>
  2096.  
  2097.   
  2098.   <xsl:template name="templ_prop_SimpleAuthor_L" >
  2099.     <xsl:param name="LCID" />
  2100.     <xsl:variable name="_LCID">
  2101.       <xsl:call-template name="localLCID">
  2102.         <xsl:with-param name="LCID" select="$LCID"/>
  2103.       </xsl:call-template>
  2104.     </xsl:variable>
  2105.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:SimpleAuthor/b:L"/>
  2106.   </xsl:template>
  2107.  
  2108.   
  2109.   <xsl:template name="templ_prop_SimpleDate_D" >
  2110.     <xsl:param name="LCID" />
  2111.     <xsl:variable name="_LCID">
  2112.       <xsl:call-template name="localLCID">
  2113.         <xsl:with-param name="LCID" select="$LCID"/>
  2114.       </xsl:call-template>
  2115.     </xsl:variable>
  2116.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:SimpleDate/b:D"/>
  2117.   </xsl:template>
  2118.  
  2119.   
  2120.   <xsl:template name="templ_prop_SimpleDate_M" >
  2121.     <xsl:param name="LCID" />
  2122.     <xsl:variable name="_LCID">
  2123.       <xsl:call-template name="localLCID">
  2124.         <xsl:with-param name="LCID" select="$LCID"/>
  2125.       </xsl:call-template>
  2126.     </xsl:variable>
  2127.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:SimpleDate/b:M"/>
  2128.   </xsl:template>
  2129.  
  2130.   
  2131.   <xsl:template name="templ_prop_SimpleDate_Y" >
  2132.     <xsl:param name="LCID" />
  2133.     <xsl:variable name="_LCID">
  2134.       <xsl:call-template name="localLCID">
  2135.         <xsl:with-param name="LCID" select="$LCID"/>
  2136.       </xsl:call-template>
  2137.     </xsl:variable>
  2138.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:SimpleDate/b:Y"/>
  2139.   </xsl:template>
  2140.  
  2141.   
  2142.   <xsl:template name="templ_prop_MLA_SameAuthor" >
  2143.     <xsl:param name="LCID" />
  2144.     <xsl:variable name="_LCID">
  2145.       <xsl:call-template name="localLCID">
  2146.         <xsl:with-param name="LCID" select="$LCID"/>
  2147.       </xsl:call-template>
  2148.     </xsl:variable>
  2149.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:SameAuthor"/>
  2150.   </xsl:template>
  2151.  
  2152.   
  2153.   <xsl:template name="templ_prop_MLA_MainAuthor_FML" >
  2154.     <xsl:param name="LCID" />
  2155.     <xsl:variable name="_LCID">
  2156.       <xsl:call-template name="localLCID">
  2157.         <xsl:with-param name="LCID" select="$LCID"/>
  2158.       </xsl:call-template>
  2159.     </xsl:variable>
  2160.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:MainAuthor/b:FML"/>
  2161.   </xsl:template>
  2162.  
  2163.   
  2164.   <xsl:template name="templ_prop_MLA_MainAuthor_FM" >
  2165.     <xsl:param name="LCID" />
  2166.     <xsl:variable name="_LCID">
  2167.       <xsl:call-template name="localLCID">
  2168.         <xsl:with-param name="LCID" select="$LCID"/>
  2169.       </xsl:call-template>
  2170.     </xsl:variable>
  2171.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:MainAuthor/b:FM"/>
  2172.   </xsl:template>
  2173.  
  2174.   
  2175.   <xsl:template name="templ_prop_MLA_MainAuthor_ML" >
  2176.     <xsl:param name="LCID" />
  2177.     <xsl:variable name="_LCID">
  2178.       <xsl:call-template name="localLCID">
  2179.         <xsl:with-param name="LCID" select="$LCID"/>
  2180.       </xsl:call-template>
  2181.     </xsl:variable>
  2182.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:MainAuthor/b:ML"/>
  2183.   </xsl:template>
  2184.  
  2185.   
  2186.   <xsl:template name="templ_prop_MLA_MainAuthor_FL" >
  2187.     <xsl:param name="LCID" />
  2188.     <xsl:variable name="_LCID">
  2189.       <xsl:call-template name="localLCID">
  2190.         <xsl:with-param name="LCID" select="$LCID"/>
  2191.       </xsl:call-template>
  2192.     </xsl:variable>
  2193.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:MainAuthor/b:FL"/>
  2194.   </xsl:template>
  2195.  
  2196.   
  2197.   <xsl:template name="templ_prop_MLA_OtherAuthors_FML" >
  2198.     <xsl:param name="LCID" />
  2199.     <xsl:variable name="_LCID">
  2200.       <xsl:call-template name="localLCID">
  2201.         <xsl:with-param name="LCID" select="$LCID"/>
  2202.       </xsl:call-template>
  2203.     </xsl:variable>
  2204.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:OtherAuthors/b:FML"/>
  2205.   </xsl:template>
  2206.  
  2207.   
  2208.   <xsl:template name="templ_prop_MLA_OtherAuthors_FM" >
  2209.     <xsl:param name="LCID" />
  2210.     <xsl:variable name="_LCID">
  2211.       <xsl:call-template name="localLCID">
  2212.         <xsl:with-param name="LCID" select="$LCID"/>
  2213.       </xsl:call-template>
  2214.     </xsl:variable>
  2215.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:OtherAuthors/b:FM"/>
  2216.   </xsl:template>
  2217.  
  2218.   
  2219.   <xsl:template name="templ_prop_MLA_OtherAuthors_ML" >
  2220.     <xsl:param name="LCID" />
  2221.     <xsl:variable name="_LCID">
  2222.       <xsl:call-template name="localLCID">
  2223.         <xsl:with-param name="LCID" select="$LCID"/>
  2224.       </xsl:call-template>
  2225.     </xsl:variable>
  2226.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:OtherAuthors/b:ML"/>
  2227.   </xsl:template>
  2228.  
  2229.   
  2230.   <xsl:template name="templ_prop_MLA_OtherAuthors_FL" >
  2231.     <xsl:param name="LCID" />
  2232.     <xsl:variable name="_LCID">
  2233.       <xsl:call-template name="localLCID">
  2234.         <xsl:with-param name="LCID" select="$LCID"/>
  2235.       </xsl:call-template>
  2236.     </xsl:variable>
  2237.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:OtherAuthors/b:FL"/>
  2238.   </xsl:template>
  2239.  
  2240.   
  2241.   <xsl:template name="templ_prop_MLA_SecondaryAuthors_FML" >
  2242.     <xsl:param name="LCID" />
  2243.     <xsl:variable name="_LCID">
  2244.       <xsl:call-template name="localLCID">
  2245.         <xsl:with-param name="LCID" select="$LCID"/>
  2246.       </xsl:call-template>
  2247.     </xsl:variable>
  2248.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:SecondaryAuthors/b:FML"/>
  2249.   </xsl:template>
  2250.  
  2251.   
  2252.   <xsl:template name="templ_prop_MLA_SecondaryAuthors_FM" >
  2253.     <xsl:param name="LCID" />
  2254.     <xsl:variable name="_LCID">
  2255.       <xsl:call-template name="localLCID">
  2256.         <xsl:with-param name="LCID" select="$LCID"/>
  2257.       </xsl:call-template>
  2258.     </xsl:variable>
  2259.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:SecondaryAuthors/b:FM"/>
  2260.   </xsl:template>
  2261.  
  2262.   
  2263.   <xsl:template name="templ_prop_MLA_SecondaryAuthors_ML" >
  2264.     <xsl:param name="LCID" />
  2265.     <xsl:variable name="_LCID">
  2266.       <xsl:call-template name="localLCID">
  2267.         <xsl:with-param name="LCID" select="$LCID"/>
  2268.       </xsl:call-template>
  2269.     </xsl:variable>
  2270.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:SecondaryAuthors/b:ML"/>
  2271.   </xsl:template>
  2272.  
  2273.   
  2274.   <xsl:template name="templ_prop_MLA_SecondaryAuthors_FL" >
  2275.     <xsl:param name="LCID" />
  2276.     <xsl:variable name="_LCID">
  2277.       <xsl:call-template name="localLCID">
  2278.         <xsl:with-param name="LCID" select="$LCID"/>
  2279.       </xsl:call-template>
  2280.     </xsl:variable>
  2281.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:SecondaryAuthors/b:FL"/>
  2282.   </xsl:template>
  2283.  
  2284.   
  2285.   <xsl:template name="templ_prop_MLA_Date_DMY" >
  2286.     <xsl:param name="LCID" />
  2287.     <xsl:variable name="_LCID">
  2288.       <xsl:call-template name="localLCID">
  2289.         <xsl:with-param name="LCID" select="$LCID"/>
  2290.       </xsl:call-template>
  2291.     </xsl:variable>
  2292.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:Date/b:DMY"/>
  2293.   </xsl:template>
  2294.  
  2295.   
  2296.   <xsl:template name="templ_prop_MLA_Date_DM" >
  2297.     <xsl:param name="LCID" />
  2298.     <xsl:variable name="_LCID">
  2299.       <xsl:call-template name="localLCID">
  2300.         <xsl:with-param name="LCID" select="$LCID"/>
  2301.       </xsl:call-template>
  2302.     </xsl:variable>
  2303.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:Date/b:DM"/>
  2304.   </xsl:template>
  2305.  
  2306.   
  2307.   <xsl:template name="templ_prop_MLA_Date_MY" >
  2308.     <xsl:param name="LCID" />
  2309.     <xsl:variable name="_LCID">
  2310.       <xsl:call-template name="localLCID">
  2311.         <xsl:with-param name="LCID" select="$LCID"/>
  2312.       </xsl:call-template>
  2313.     </xsl:variable>
  2314.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:Date/b:MY"/>
  2315.   </xsl:template>
  2316.  
  2317.   
  2318.   <xsl:template name="templ_prop_MLA_Date_DY" >
  2319.     <xsl:param name="LCID" />
  2320.     <xsl:variable name="_LCID">
  2321.       <xsl:call-template name="localLCID">
  2322.         <xsl:with-param name="LCID" select="$LCID"/>
  2323.       </xsl:call-template>
  2324.     </xsl:variable>
  2325.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:Date/b:DY"/>
  2326.   </xsl:template>
  2327.  
  2328.   
  2329.   <xsl:template name="templ_prop_APA_MainAuthors_FML" >
  2330.     <xsl:param name="LCID" />
  2331.     <xsl:variable name="_LCID">
  2332.       <xsl:call-template name="localLCID">
  2333.         <xsl:with-param name="LCID" select="$LCID"/>
  2334.       </xsl:call-template>
  2335.     </xsl:variable>
  2336.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:MainAuthors/b:FML"/>
  2337.   </xsl:template>
  2338.  
  2339.   
  2340.   <xsl:template name="templ_prop_APA_MainAuthors_FM" >
  2341.     <xsl:param name="LCID" />
  2342.     <xsl:variable name="_LCID">
  2343.       <xsl:call-template name="localLCID">
  2344.         <xsl:with-param name="LCID" select="$LCID"/>
  2345.       </xsl:call-template>
  2346.     </xsl:variable>
  2347.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:MainAuthors/b:FM"/>
  2348.   </xsl:template>
  2349.  
  2350.   
  2351.   <xsl:template name="templ_prop_APA_MainAuthors_ML" >
  2352.     <xsl:param name="LCID" />
  2353.     <xsl:variable name="_LCID">
  2354.       <xsl:call-template name="localLCID">
  2355.         <xsl:with-param name="LCID" select="$LCID"/>
  2356.       </xsl:call-template>
  2357.     </xsl:variable>
  2358.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:MainAuthors/b:ML"/>
  2359.   </xsl:template>
  2360.  
  2361.   
  2362.   <xsl:template name="templ_prop_APA_MainAuthors_FL" >
  2363.     <xsl:param name="LCID" />
  2364.     <xsl:variable name="_LCID">
  2365.       <xsl:call-template name="localLCID">
  2366.         <xsl:with-param name="LCID" select="$LCID"/>
  2367.       </xsl:call-template>
  2368.     </xsl:variable>
  2369.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:MainAuthors/b:FL"/>
  2370.   </xsl:template>
  2371.  
  2372.   
  2373.   <xsl:template name="templ_prop_APA_SecondaryAuthors_FML" >
  2374.     <xsl:param name="LCID" />
  2375.     <xsl:variable name="_LCID">
  2376.       <xsl:call-template name="localLCID">
  2377.         <xsl:with-param name="LCID" select="$LCID"/>
  2378.       </xsl:call-template>
  2379.     </xsl:variable>
  2380.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:SecondaryAuthors/b:FML"/>
  2381.   </xsl:template>
  2382.  
  2383.   
  2384.   <xsl:template name="templ_prop_APA_SecondaryAuthors_FM" >
  2385.     <xsl:param name="LCID" />
  2386.     <xsl:variable name="_LCID">
  2387.       <xsl:call-template name="localLCID">
  2388.         <xsl:with-param name="LCID" select="$LCID"/>
  2389.       </xsl:call-template>
  2390.     </xsl:variable>
  2391.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:SecondaryAuthors/b:FM"/>
  2392.   </xsl:template>
  2393.  
  2394.   
  2395.   <xsl:template name="templ_prop_APA_SecondaryAuthors_ML" >
  2396.     <xsl:param name="LCID" />
  2397.     <xsl:variable name="_LCID">
  2398.       <xsl:call-template name="localLCID">
  2399.         <xsl:with-param name="LCID" select="$LCID"/>
  2400.       </xsl:call-template>
  2401.     </xsl:variable>
  2402.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:SecondaryAuthors/b:ML"/>
  2403.   </xsl:template>
  2404.  
  2405.   
  2406.   <xsl:template name="templ_prop_APA_SecondaryAuthors_FL" >
  2407.     <xsl:param name="LCID" />
  2408.     <xsl:variable name="_LCID">
  2409.       <xsl:call-template name="localLCID">
  2410.         <xsl:with-param name="LCID" select="$LCID"/>
  2411.       </xsl:call-template>
  2412.     </xsl:variable>
  2413.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:SecondaryAuthors/b:FL"/>
  2414.   </xsl:template>
  2415.  
  2416.   
  2417.   <xsl:template name="templ_prop_APA_BeforeLastAuthor" >
  2418.     <xsl:param name="LCID" />
  2419.     <xsl:variable name="_LCID">
  2420.       <xsl:call-template name="localLCID">
  2421.         <xsl:with-param name="LCID" select="$LCID"/>
  2422.       </xsl:call-template>
  2423.     </xsl:variable>
  2424.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:BeforeLastAuthor"/>
  2425.   </xsl:template>
  2426.  
  2427.   
  2428.   <xsl:template name="templ_prop_APA_GeneralOpen" >
  2429.     <xsl:param name="LCID" />
  2430.     <xsl:variable name="_LCID">
  2431.       <xsl:call-template name="localLCID">
  2432.         <xsl:with-param name="LCID" select="$LCID"/>
  2433.       </xsl:call-template>
  2434.     </xsl:variable>
  2435.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:GeneralOpen"/>
  2436.   </xsl:template>
  2437.  
  2438.   
  2439.   <xsl:template name="templ_prop_APA_GeneralClose" >
  2440.     <xsl:param name="LCID" />
  2441.     <xsl:variable name="_LCID">
  2442.       <xsl:call-template name="localLCID">
  2443.         <xsl:with-param name="LCID" select="$LCID"/>
  2444.       </xsl:call-template>
  2445.     </xsl:variable>
  2446.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:GeneralClose"/>
  2447.   </xsl:template>
  2448.  
  2449.   
  2450.   <xsl:template name="templ_prop_APA_SecondaryOpen" >
  2451.     <xsl:param name="LCID" />
  2452.     <xsl:variable name="_LCID">
  2453.       <xsl:call-template name="localLCID">
  2454.         <xsl:with-param name="LCID" select="$LCID"/>
  2455.       </xsl:call-template>
  2456.     </xsl:variable>
  2457.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:SecondaryOpen"/>
  2458.   </xsl:template>
  2459.  
  2460.   
  2461.   <xsl:template name="templ_prop_APA_SecondaryClose" >
  2462.     <xsl:param name="LCID" />
  2463.     <xsl:variable name="_LCID">
  2464.       <xsl:call-template name="localLCID">
  2465.         <xsl:with-param name="LCID" select="$LCID"/>
  2466.       </xsl:call-template>
  2467.     </xsl:variable>
  2468.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:SecondaryClose"/>
  2469.   </xsl:template>
  2470.  
  2471.   
  2472.   <xsl:template name="templ_prop_Hyphens" >
  2473.     <xsl:param name="LCID" />
  2474.     <xsl:variable name="_LCID">
  2475.       <xsl:call-template name="localLCID">
  2476.         <xsl:with-param name="LCID" select="$LCID"/>
  2477.       </xsl:call-template>
  2478.     </xsl:variable>
  2479.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:Hyphens"/>
  2480.   </xsl:template>
  2481.  
  2482.   
  2483.   <xsl:template name="templ_prop_APA_Date_DMY" >
  2484.     <xsl:param name="LCID" />
  2485.     <xsl:variable name="_LCID">
  2486.       <xsl:call-template name="localLCID">
  2487.         <xsl:with-param name="LCID" select="$LCID"/>
  2488.       </xsl:call-template>
  2489.     </xsl:variable>
  2490.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:Date/b:DMY"/>
  2491.   </xsl:template>
  2492.  
  2493.   
  2494.   <xsl:template name="templ_prop_APA_Date_DM" >
  2495.     <xsl:param name="LCID" />
  2496.     <xsl:variable name="_LCID">
  2497.       <xsl:call-template name="localLCID">
  2498.         <xsl:with-param name="LCID" select="$LCID"/>
  2499.       </xsl:call-template>
  2500.     </xsl:variable>
  2501.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:Date/b:DM"/>
  2502.   </xsl:template>
  2503.  
  2504.   
  2505.   <xsl:template name="templ_prop_APA_Date_MY" >
  2506.     <xsl:param name="LCID" />
  2507.     <xsl:variable name="_LCID">
  2508.       <xsl:call-template name="localLCID">
  2509.         <xsl:with-param name="LCID" select="$LCID"/>
  2510.       </xsl:call-template>
  2511.     </xsl:variable>
  2512.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:Date/b:MY"/>
  2513.   </xsl:template>
  2514.  
  2515.   
  2516.   <xsl:template name="templ_prop_APA_Date_DY" >
  2517.     <xsl:param name="LCID" />
  2518.     <xsl:variable name="_LCID">
  2519.       <xsl:call-template name="localLCID">
  2520.         <xsl:with-param name="LCID" select="$LCID"/>
  2521.       </xsl:call-template>
  2522.     </xsl:variable>
  2523.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:Date/b:DY"/>
  2524.   </xsl:template>
  2525.  
  2526.   
  2527.   <xsl:template name="templ_prop_APA_DateAccessed_DMY" >
  2528.     <xsl:param name="LCID" />
  2529.     <xsl:variable name="_LCID">
  2530.       <xsl:call-template name="localLCID">
  2531.         <xsl:with-param name="LCID" select="$LCID"/>
  2532.       </xsl:call-template>
  2533.     </xsl:variable>
  2534.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:DateAccessed/b:DMY"/>
  2535.   </xsl:template>
  2536.  
  2537.   
  2538.   <xsl:template name="templ_prop_APA_DateAccessed_DM" >
  2539.     <xsl:param name="LCID" />
  2540.     <xsl:variable name="_LCID">
  2541.       <xsl:call-template name="localLCID">
  2542.         <xsl:with-param name="LCID" select="$LCID"/>
  2543.       </xsl:call-template>
  2544.     </xsl:variable>
  2545.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:DateAccessed/b:DM"/>
  2546.   </xsl:template>
  2547.  
  2548.   
  2549.   <xsl:template name="templ_prop_APA_DateAccessed_MY" >
  2550.     <xsl:param name="LCID" />
  2551.     <xsl:variable name="_LCID">
  2552.       <xsl:call-template name="localLCID">
  2553.         <xsl:with-param name="LCID" select="$LCID"/>
  2554.       </xsl:call-template>
  2555.     </xsl:variable>
  2556.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:DateAccessed/b:MY"/>
  2557.   </xsl:template>
  2558.  
  2559.   
  2560.   <xsl:template name="templ_prop_APA_DateAccessed_DY" >
  2561.     <xsl:param name="LCID" />
  2562.     <xsl:variable name="_LCID">
  2563.       <xsl:call-template name="localLCID">
  2564.         <xsl:with-param name="LCID" select="$LCID"/>
  2565.       </xsl:call-template>
  2566.     </xsl:variable>
  2567.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:DateAccessed/b:DY"/>
  2568.   </xsl:template>
  2569.  
  2570.   
  2571.   <xsl:template name="templ_prop_APA_DateCourt_DMY" >
  2572.     <xsl:param name="LCID" />
  2573.     <xsl:variable name="_LCID">
  2574.       <xsl:call-template name="localLCID">
  2575.         <xsl:with-param name="LCID" select="$LCID"/>
  2576.       </xsl:call-template>
  2577.     </xsl:variable>
  2578.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:DateCourt/b:DMY"/>
  2579.   </xsl:template>
  2580.  
  2581.   
  2582.   <xsl:template name="templ_prop_APA_DateCourt_DM" >
  2583.     <xsl:param name="LCID" />
  2584.     <xsl:variable name="_LCID">
  2585.       <xsl:call-template name="localLCID">
  2586.         <xsl:with-param name="LCID" select="$LCID"/>
  2587.       </xsl:call-template>
  2588.     </xsl:variable>
  2589.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:DateCourt/b:DM"/>
  2590.   </xsl:template>
  2591.  
  2592.   
  2593.   <xsl:template name="templ_prop_APA_DateCourt_MY" >
  2594.     <xsl:param name="LCID" />
  2595.     <xsl:variable name="_LCID">
  2596.       <xsl:call-template name="localLCID">
  2597.         <xsl:with-param name="LCID" select="$LCID"/>
  2598.       </xsl:call-template>
  2599.     </xsl:variable>
  2600.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:DateCourt/b:MY"/>
  2601.   </xsl:template>
  2602.  
  2603.   
  2604.   <xsl:template name="templ_prop_APA_DateCourt_DY" >
  2605.     <xsl:param name="LCID" />
  2606.     <xsl:variable name="_LCID">
  2607.       <xsl:call-template name="localLCID">
  2608.         <xsl:with-param name="LCID" select="$LCID"/>
  2609.       </xsl:call-template>
  2610.     </xsl:variable>
  2611.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:DateCourt/b:DY"/>
  2612.   </xsl:template>
  2613.  
  2614.   
  2615.   <xsl:template name="templ_prop_Chicago_SameAuthor" >
  2616.     <xsl:param name="LCID" />
  2617.     <xsl:variable name="_LCID">
  2618.       <xsl:call-template name="localLCID">
  2619.         <xsl:with-param name="LCID" select="$LCID"/>
  2620.       </xsl:call-template>
  2621.     </xsl:variable>
  2622.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:SameAuthor"/>
  2623.   </xsl:template>
  2624.  
  2625.   
  2626.   <xsl:template name="templ_prop_Chicago_MainAuthor_FML" >
  2627.     <xsl:param name="LCID" />
  2628.     <xsl:variable name="_LCID">
  2629.       <xsl:call-template name="localLCID">
  2630.         <xsl:with-param name="LCID" select="$LCID"/>
  2631.       </xsl:call-template>
  2632.     </xsl:variable>
  2633.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:MainAuthor/b:FML"/>
  2634.   </xsl:template>
  2635.  
  2636.   
  2637.   <xsl:template name="templ_prop_Chicago_MainAuthor_FM" >
  2638.     <xsl:param name="LCID" />
  2639.     <xsl:variable name="_LCID">
  2640.       <xsl:call-template name="localLCID">
  2641.         <xsl:with-param name="LCID" select="$LCID"/>
  2642.       </xsl:call-template>
  2643.     </xsl:variable>
  2644.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:MainAuthor/b:FM"/>
  2645.   </xsl:template>
  2646.  
  2647.   
  2648.   <xsl:template name="templ_prop_Chicago_MainAuthor_ML" >
  2649.     <xsl:param name="LCID" />
  2650.     <xsl:variable name="_LCID">
  2651.       <xsl:call-template name="localLCID">
  2652.         <xsl:with-param name="LCID" select="$LCID"/>
  2653.       </xsl:call-template>
  2654.     </xsl:variable>
  2655.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:MainAuthor/b:ML"/>
  2656.   </xsl:template>
  2657.  
  2658.   
  2659.   <xsl:template name="templ_prop_Chicago_MainAuthor_FL" >
  2660.     <xsl:param name="LCID" />
  2661.     <xsl:variable name="_LCID">
  2662.       <xsl:call-template name="localLCID">
  2663.         <xsl:with-param name="LCID" select="$LCID"/>
  2664.       </xsl:call-template>
  2665.     </xsl:variable>
  2666.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:MainAuthor/b:FL"/>
  2667.   </xsl:template>
  2668.  
  2669.   
  2670.   <xsl:template name="templ_prop_Chicago_OtherAuthors_FML" >
  2671.     <xsl:param name="LCID" />
  2672.     <xsl:variable name="_LCID">
  2673.       <xsl:call-template name="localLCID">
  2674.         <xsl:with-param name="LCID" select="$LCID"/>
  2675.       </xsl:call-template>
  2676.     </xsl:variable>
  2677.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:OtherAuthors/b:FML"/>
  2678.   </xsl:template>
  2679.  
  2680.   
  2681.   <xsl:template name="templ_prop_Chicago_OtherAuthors_FM" >
  2682.     <xsl:param name="LCID" />
  2683.     <xsl:variable name="_LCID">
  2684.       <xsl:call-template name="localLCID">
  2685.         <xsl:with-param name="LCID" select="$LCID"/>
  2686.       </xsl:call-template>
  2687.     </xsl:variable>
  2688.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:OtherAuthors/b:FM"/>
  2689.   </xsl:template>
  2690.  
  2691.   
  2692.   <xsl:template name="templ_prop_Chicago_OtherAuthors_ML" >
  2693.     <xsl:param name="LCID" />
  2694.     <xsl:variable name="_LCID">
  2695.       <xsl:call-template name="localLCID">
  2696.         <xsl:with-param name="LCID" select="$LCID"/>
  2697.       </xsl:call-template>
  2698.     </xsl:variable>
  2699.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:OtherAuthors/b:ML"/>
  2700.   </xsl:template>
  2701.  
  2702.   
  2703.   <xsl:template name="templ_prop_Chicago_OtherAuthors_FL" >
  2704.     <xsl:param name="LCID" />
  2705.     <xsl:variable name="_LCID">
  2706.       <xsl:call-template name="localLCID">
  2707.         <xsl:with-param name="LCID" select="$LCID"/>
  2708.       </xsl:call-template>
  2709.     </xsl:variable>
  2710.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:OtherAuthors/b:FL"/>
  2711.   </xsl:template>
  2712.  
  2713.   
  2714.   <xsl:template name="templ_prop_Chicago_SecondaryAuthors_FML" >
  2715.     <xsl:param name="LCID" />
  2716.     <xsl:variable name="_LCID">
  2717.       <xsl:call-template name="localLCID">
  2718.         <xsl:with-param name="LCID" select="$LCID"/>
  2719.       </xsl:call-template>
  2720.     </xsl:variable>
  2721.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:SecondaryAuthors/b:FML"/>
  2722.   </xsl:template>
  2723.  
  2724.   
  2725.   <xsl:template name="templ_prop_Chicago_SecondaryAuthors_FM" >
  2726.     <xsl:param name="LCID" />
  2727.     <xsl:variable name="_LCID">
  2728.       <xsl:call-template name="localLCID">
  2729.         <xsl:with-param name="LCID" select="$LCID"/>
  2730.       </xsl:call-template>
  2731.     </xsl:variable>
  2732.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:SecondaryAuthors/b:FM"/>
  2733.   </xsl:template>
  2734.  
  2735.   
  2736.   <xsl:template name="templ_prop_Chicago_SecondaryAuthors_ML" >
  2737.     <xsl:param name="LCID" />
  2738.     <xsl:variable name="_LCID">
  2739.       <xsl:call-template name="localLCID">
  2740.         <xsl:with-param name="LCID" select="$LCID"/>
  2741.       </xsl:call-template>
  2742.     </xsl:variable>
  2743.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:SecondaryAuthors/b:ML"/>
  2744.   </xsl:template>
  2745.  
  2746.   
  2747.   <xsl:template name="templ_prop_Chicago_SecondaryAuthors_FL" >
  2748.     <xsl:param name="LCID" />
  2749.     <xsl:variable name="_LCID">
  2750.       <xsl:call-template name="localLCID">
  2751.         <xsl:with-param name="LCID" select="$LCID"/>
  2752.       </xsl:call-template>
  2753.     </xsl:variable>
  2754.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:SecondaryAuthors/b:FL"/>
  2755.   </xsl:template>
  2756.  
  2757.   
  2758.   <xsl:template name="templ_prop_Chicago_Date_DMY" >
  2759.     <xsl:param name="LCID" />
  2760.     <xsl:variable name="_LCID">
  2761.       <xsl:call-template name="localLCID">
  2762.         <xsl:with-param name="LCID" select="$LCID"/>
  2763.       </xsl:call-template>
  2764.     </xsl:variable>
  2765.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:Date/b:DMY"/>
  2766.   </xsl:template>
  2767.  
  2768.   
  2769.   <xsl:template name="templ_prop_Chicago_Date_DM" >
  2770.     <xsl:param name="LCID" />
  2771.     <xsl:variable name="_LCID">
  2772.       <xsl:call-template name="localLCID">
  2773.         <xsl:with-param name="LCID" select="$LCID"/>
  2774.       </xsl:call-template>
  2775.     </xsl:variable>
  2776.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:Date/b:DM"/>
  2777.   </xsl:template>
  2778.  
  2779.   
  2780.   <xsl:template name="templ_prop_Chicago_Date_MY" >
  2781.     <xsl:param name="LCID" />
  2782.     <xsl:variable name="_LCID">
  2783.       <xsl:call-template name="localLCID">
  2784.         <xsl:with-param name="LCID" select="$LCID"/>
  2785.       </xsl:call-template>
  2786.     </xsl:variable>
  2787.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:Date/b:MY"/>
  2788.   </xsl:template>
  2789.  
  2790.   
  2791.   <xsl:template name="templ_prop_Chicago_Date_DY" >
  2792.     <xsl:param name="LCID" />
  2793.     <xsl:variable name="_LCID">
  2794.       <xsl:call-template name="localLCID">
  2795.         <xsl:with-param name="LCID" select="$LCID"/>
  2796.       </xsl:call-template>
  2797.     </xsl:variable>
  2798.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:Date/b:DY"/>
  2799.   </xsl:template>
  2800.  
  2801.   
  2802.   <xsl:template name="templ_prop_ISO690_MainAuthors_FML" >
  2803.     <xsl:param name="LCID" />
  2804.     <xsl:variable name="_LCID">
  2805.       <xsl:call-template name="localLCID">
  2806.         <xsl:with-param name="LCID" select="$LCID"/>
  2807.       </xsl:call-template>
  2808.     </xsl:variable>
  2809.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:MainAuthors/b:FML"/>
  2810.   </xsl:template>
  2811.  
  2812.   
  2813.   <xsl:template name="templ_prop_ISO690_MainAuthors_FM" >
  2814.     <xsl:param name="LCID" />
  2815.     <xsl:variable name="_LCID">
  2816.       <xsl:call-template name="localLCID">
  2817.         <xsl:with-param name="LCID" select="$LCID"/>
  2818.       </xsl:call-template>
  2819.     </xsl:variable>
  2820.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:MainAuthors/b:FM"/>
  2821.   </xsl:template>
  2822.  
  2823.   
  2824.   <xsl:template name="templ_prop_ISO690_MainAuthors_ML" >
  2825.     <xsl:param name="LCID" />
  2826.     <xsl:variable name="_LCID">
  2827.       <xsl:call-template name="localLCID">
  2828.         <xsl:with-param name="LCID" select="$LCID"/>
  2829.       </xsl:call-template>
  2830.     </xsl:variable>
  2831.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:MainAuthors/b:ML"/>
  2832.   </xsl:template>
  2833.  
  2834.   
  2835.   <xsl:template name="templ_prop_ISO690_MainAuthors_FL" >
  2836.     <xsl:param name="LCID" />
  2837.     <xsl:variable name="_LCID">
  2838.       <xsl:call-template name="localLCID">
  2839.         <xsl:with-param name="LCID" select="$LCID"/>
  2840.       </xsl:call-template>
  2841.     </xsl:variable>
  2842.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:MainAuthors/b:FL"/>
  2843.   </xsl:template>
  2844.  
  2845.   
  2846.   <xsl:template name="templ_prop_ISO690_SecondaryAuthors_FML" >
  2847.     <xsl:param name="LCID" />
  2848.     <xsl:variable name="_LCID">
  2849.       <xsl:call-template name="localLCID">
  2850.         <xsl:with-param name="LCID" select="$LCID"/>
  2851.       </xsl:call-template>
  2852.     </xsl:variable>
  2853.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:SecondaryAuthors/b:FML"/>
  2854.   </xsl:template>
  2855.  
  2856.   
  2857.   <xsl:template name="templ_prop_ISO690_SecondaryAuthors_FM" >
  2858.     <xsl:param name="LCID" />
  2859.     <xsl:variable name="_LCID">
  2860.       <xsl:call-template name="localLCID">
  2861.         <xsl:with-param name="LCID" select="$LCID"/>
  2862.       </xsl:call-template>
  2863.     </xsl:variable>
  2864.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:SecondaryAuthors/b:FM"/>
  2865.   </xsl:template>
  2866.  
  2867.   
  2868.   <xsl:template name="templ_prop_ISO690_SecondaryAuthors_ML" >
  2869.     <xsl:param name="LCID" />
  2870.     <xsl:variable name="_LCID">
  2871.       <xsl:call-template name="localLCID">
  2872.         <xsl:with-param name="LCID" select="$LCID"/>
  2873.       </xsl:call-template>
  2874.     </xsl:variable>
  2875.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:SecondaryAuthors/b:ML"/>
  2876.   </xsl:template>
  2877.  
  2878.   
  2879.   <xsl:template name="templ_prop_ISO690_SecondaryAuthors_FL" >
  2880.     <xsl:param name="LCID" />
  2881.     <xsl:variable name="_LCID">
  2882.       <xsl:call-template name="localLCID">
  2883.         <xsl:with-param name="LCID" select="$LCID"/>
  2884.       </xsl:call-template>
  2885.     </xsl:variable>
  2886.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:SecondaryAuthors/b:FL"/>
  2887.   </xsl:template>
  2888.  
  2889.   
  2890.   <xsl:template name="templ_prop_ISO690_SameAuthor" >
  2891.     <xsl:param name="LCID" />
  2892.     <xsl:variable name="_LCID">
  2893.       <xsl:call-template name="localLCID">
  2894.         <xsl:with-param name="LCID" select="$LCID"/>
  2895.       </xsl:call-template>
  2896.     </xsl:variable>
  2897.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:SameAuthor"/>
  2898.   </xsl:template>
  2899.  
  2900.   
  2901.   <xsl:template name="templ_prop_ISO690_GeneralOpen" >
  2902.     <xsl:param name="LCID" />
  2903.     <xsl:variable name="_LCID">
  2904.       <xsl:call-template name="localLCID">
  2905.         <xsl:with-param name="LCID" select="$LCID"/>
  2906.       </xsl:call-template>
  2907.     </xsl:variable>
  2908.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:GeneralOpen"/>
  2909.   </xsl:template>
  2910.  
  2911.   
  2912.   <xsl:template name="templ_prop_ISO690_GeneralClose" >
  2913.     <xsl:param name="LCID" />
  2914.     <xsl:variable name="_LCID">
  2915.       <xsl:call-template name="localLCID">
  2916.         <xsl:with-param name="LCID" select="$LCID"/>
  2917.       </xsl:call-template>
  2918.     </xsl:variable>
  2919.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:GeneralClose"/>
  2920.   </xsl:template>
  2921.  
  2922.   
  2923.   <xsl:template name="templ_prop_ISO690_Date_DMY" >
  2924.     <xsl:param name="LCID" />
  2925.     <xsl:variable name="_LCID">
  2926.       <xsl:call-template name="localLCID">
  2927.         <xsl:with-param name="LCID" select="$LCID"/>
  2928.       </xsl:call-template>
  2929.     </xsl:variable>
  2930.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:Date/b:DMY"/>
  2931.   </xsl:template>
  2932.  
  2933.   
  2934.   <xsl:template name="templ_prop_ISO690_Date_DM" >
  2935.     <xsl:param name="LCID" />
  2936.     <xsl:variable name="_LCID">
  2937.       <xsl:call-template name="localLCID">
  2938.         <xsl:with-param name="LCID" select="$LCID"/>
  2939.       </xsl:call-template>
  2940.     </xsl:variable>
  2941.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:Date/b:DM"/>
  2942.   </xsl:template>
  2943.  
  2944.   
  2945.   <xsl:template name="templ_prop_ISO690_Date_MY" >
  2946.     <xsl:param name="LCID" />
  2947.     <xsl:variable name="_LCID">
  2948.       <xsl:call-template name="localLCID">
  2949.         <xsl:with-param name="LCID" select="$LCID"/>
  2950.       </xsl:call-template>
  2951.     </xsl:variable>
  2952.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:Date/b:MY"/>
  2953.   </xsl:template>
  2954.  
  2955.   
  2956.   <xsl:template name="templ_prop_ISO690_Date_DY" >
  2957.     <xsl:param name="LCID" />
  2958.     <xsl:variable name="_LCID">
  2959.       <xsl:call-template name="localLCID">
  2960.         <xsl:with-param name="LCID" select="$LCID"/>
  2961.       </xsl:call-template>
  2962.     </xsl:variable>
  2963.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:Date/b:DY"/>
  2964.   </xsl:template>
  2965.  
  2966.   
  2967.   <xsl:template name="templ_prop_ISO690_DateAccessed_DMY" >
  2968.     <xsl:param name="LCID" />
  2969.     <xsl:variable name="_LCID">
  2970.       <xsl:call-template name="localLCID">
  2971.         <xsl:with-param name="LCID" select="$LCID"/>
  2972.       </xsl:call-template>
  2973.     </xsl:variable>
  2974.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:DateAccessed/b:DMY"/>
  2975.   </xsl:template>
  2976.  
  2977.   
  2978.   <xsl:template name="templ_prop_ISO690_DateAccessed_DM" >
  2979.     <xsl:param name="LCID" />
  2980.     <xsl:variable name="_LCID">
  2981.       <xsl:call-template name="localLCID">
  2982.         <xsl:with-param name="LCID" select="$LCID"/>
  2983.       </xsl:call-template>
  2984.     </xsl:variable>
  2985.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:DateAccessed/b:DM"/>
  2986.   </xsl:template>
  2987.  
  2988.   
  2989.   <xsl:template name="templ_prop_ISO690_DateAccessed_MY" >
  2990.     <xsl:param name="LCID" />
  2991.     <xsl:variable name="_LCID">
  2992.       <xsl:call-template name="localLCID">
  2993.         <xsl:with-param name="LCID" select="$LCID"/>
  2994.       </xsl:call-template>
  2995.     </xsl:variable>
  2996.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:DateAccessed/b:MY"/>
  2997.   </xsl:template>
  2998.  
  2999.   
  3000.   <xsl:template name="templ_prop_ISO690_DateAccessed_DY" >
  3001.     <xsl:param name="LCID" />
  3002.     <xsl:variable name="_LCID">
  3003.       <xsl:call-template name="localLCID">
  3004.         <xsl:with-param name="LCID" select="$LCID"/>
  3005.       </xsl:call-template>
  3006.     </xsl:variable>
  3007.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:DateAccessed/b:DY"/>
  3008.   </xsl:template>
  3009.  
  3010.   
  3011.   <xsl:template name="templ_prop_Gost_Authors_FML" >
  3012.     <xsl:param name="LCID" />
  3013.     <xsl:variable name="_LCID">
  3014.       <xsl:call-template name="localLCID">
  3015.         <xsl:with-param name="LCID" select="$LCID"/>
  3016.       </xsl:call-template>
  3017.     </xsl:variable>
  3018.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:Authors/b:FML"/>
  3019.   </xsl:template>
  3020.  
  3021.   
  3022.   <xsl:template name="templ_prop_Gost_Authors_FM" >
  3023.     <xsl:param name="LCID" />
  3024.     <xsl:variable name="_LCID">
  3025.       <xsl:call-template name="localLCID">
  3026.         <xsl:with-param name="LCID" select="$LCID"/>
  3027.       </xsl:call-template>
  3028.     </xsl:variable>
  3029.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:Authors/b:FM"/>
  3030.   </xsl:template>
  3031.  
  3032.   
  3033.   <xsl:template name="templ_prop_Gost_Authors_ML" >
  3034.     <xsl:param name="LCID" />
  3035.     <xsl:variable name="_LCID">
  3036.       <xsl:call-template name="localLCID">
  3037.         <xsl:with-param name="LCID" select="$LCID"/>
  3038.       </xsl:call-template>
  3039.     </xsl:variable>
  3040.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:Authors/b:ML"/>
  3041.   </xsl:template>
  3042.  
  3043.   
  3044.   <xsl:template name="templ_prop_Gost_Authors_FL" >
  3045.     <xsl:param name="LCID" />
  3046.     <xsl:variable name="_LCID">
  3047.       <xsl:call-template name="localLCID">
  3048.         <xsl:with-param name="LCID" select="$LCID"/>
  3049.       </xsl:call-template>
  3050.     </xsl:variable>
  3051.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:Authors/b:FL"/>
  3052.   </xsl:template>
  3053.  
  3054.   
  3055.   <xsl:template name="templ_prop_Gost_Date_DMY" >
  3056.     <xsl:param name="LCID" />
  3057.     <xsl:variable name="_LCID">
  3058.       <xsl:call-template name="localLCID">
  3059.         <xsl:with-param name="LCID" select="$LCID"/>
  3060.       </xsl:call-template>
  3061.     </xsl:variable>
  3062.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:Date/b:DMY"/>
  3063.   </xsl:template>
  3064.  
  3065.   
  3066.   <xsl:template name="templ_prop_Gost_Date_DM" >
  3067.     <xsl:param name="LCID" />
  3068.     <xsl:variable name="_LCID">
  3069.       <xsl:call-template name="localLCID">
  3070.         <xsl:with-param name="LCID" select="$LCID"/>
  3071.       </xsl:call-template>
  3072.     </xsl:variable>
  3073.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:Date/b:DM"/>
  3074.   </xsl:template>
  3075.  
  3076.   
  3077.   <xsl:template name="templ_prop_Gost_Date_MY" >
  3078.     <xsl:param name="LCID" />
  3079.     <xsl:variable name="_LCID">
  3080.       <xsl:call-template name="localLCID">
  3081.         <xsl:with-param name="LCID" select="$LCID"/>
  3082.       </xsl:call-template>
  3083.     </xsl:variable>
  3084.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:Date/b:MY"/>
  3085.   </xsl:template>
  3086.  
  3087.   
  3088.   <xsl:template name="templ_prop_Gost_Date_DY" >
  3089.     <xsl:param name="LCID" />
  3090.     <xsl:variable name="_LCID">
  3091.       <xsl:call-template name="localLCID">
  3092.         <xsl:with-param name="LCID" select="$LCID"/>
  3093.       </xsl:call-template>
  3094.     </xsl:variable>
  3095.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:Date/b:DY"/>
  3096.   </xsl:template>
  3097.  
  3098.   
  3099.   <xsl:template name="templ_prop_Gost_GeneralOpen" >
  3100.     <xsl:param name="LCID" />
  3101.     <xsl:variable name="_LCID">
  3102.       <xsl:call-template name="localLCID">
  3103.         <xsl:with-param name="LCID" select="$LCID"/>
  3104.       </xsl:call-template>
  3105.     </xsl:variable>
  3106.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:GeneralOpen"/>
  3107.   </xsl:template>
  3108.  
  3109.   
  3110.   <xsl:template name="templ_prop_Gost_GeneralClose" >
  3111.     <xsl:param name="LCID" />
  3112.     <xsl:variable name="_LCID">
  3113.       <xsl:call-template name="localLCID">
  3114.         <xsl:with-param name="LCID" select="$LCID"/>
  3115.       </xsl:call-template>
  3116.     </xsl:variable>
  3117.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:GeneralClose"/>
  3118.   </xsl:template>
  3119.  
  3120.   
  3121.   <xsl:template name="templ_prop_Gost_OneSlash" >
  3122.     <xsl:param name="LCID" />
  3123.     <xsl:variable name="_LCID">
  3124.       <xsl:call-template name="localLCID">
  3125.         <xsl:with-param name="LCID" select="$LCID"/>
  3126.       </xsl:call-template>
  3127.     </xsl:variable>
  3128.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:OneSlash"/>
  3129.   </xsl:template>
  3130.  
  3131.   
  3132.   <xsl:template name="templ_prop_Gost_TwoSlash" >
  3133.     <xsl:param name="LCID" />
  3134.     <xsl:variable name="_LCID">
  3135.       <xsl:call-template name="localLCID">
  3136.         <xsl:with-param name="LCID" select="$LCID"/>
  3137.       </xsl:call-template>
  3138.     </xsl:variable>
  3139.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:TwoSlash"/>
  3140.   </xsl:template>
  3141.  
  3142.   
  3143.   <xsl:template name="templ_prop_SIST_MainAuthors_FML" >
  3144.     <xsl:param name="LCID" />
  3145.     <xsl:variable name="_LCID">
  3146.       <xsl:call-template name="localLCID">
  3147.         <xsl:with-param name="LCID" select="$LCID"/>
  3148.       </xsl:call-template>
  3149.     </xsl:variable>
  3150.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:MainAuthors/b:FML"/>
  3151.   </xsl:template>
  3152.  
  3153.   
  3154.   <xsl:template name="templ_prop_SIST_MainAuthors_FM" >
  3155.     <xsl:param name="LCID" />
  3156.     <xsl:variable name="_LCID">
  3157.       <xsl:call-template name="localLCID">
  3158.         <xsl:with-param name="LCID" select="$LCID"/>
  3159.       </xsl:call-template>
  3160.     </xsl:variable>
  3161.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:MainAuthors/b:FM"/>
  3162.   </xsl:template>
  3163.  
  3164.   
  3165.   <xsl:template name="templ_prop_SIST_MainAuthors_ML" >
  3166.     <xsl:param name="LCID" />
  3167.     <xsl:variable name="_LCID">
  3168.       <xsl:call-template name="localLCID">
  3169.         <xsl:with-param name="LCID" select="$LCID"/>
  3170.       </xsl:call-template>
  3171.     </xsl:variable>
  3172.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:MainAuthors/b:ML"/>
  3173.   </xsl:template>
  3174.  
  3175.   
  3176.   <xsl:template name="templ_prop_SIST_MainAuthors_FL" >
  3177.     <xsl:param name="LCID" />
  3178.     <xsl:variable name="_LCID">
  3179.       <xsl:call-template name="localLCID">
  3180.         <xsl:with-param name="LCID" select="$LCID"/>
  3181.       </xsl:call-template>
  3182.     </xsl:variable>
  3183.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:MainAuthors/b:FL"/>
  3184.   </xsl:template>
  3185.  
  3186.   
  3187.   <xsl:template name="templ_prop_SIST_SecondaryAuthors_FML" >
  3188.     <xsl:param name="LCID" />
  3189.     <xsl:variable name="_LCID">
  3190.       <xsl:call-template name="localLCID">
  3191.         <xsl:with-param name="LCID" select="$LCID"/>
  3192.       </xsl:call-template>
  3193.     </xsl:variable>
  3194.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:SecondaryAuthors/b:FML"/>
  3195.   </xsl:template>
  3196.  
  3197.   
  3198.   <xsl:template name="templ_prop_SIST_SecondaryAuthors_FM" >
  3199.     <xsl:param name="LCID" />
  3200.     <xsl:variable name="_LCID">
  3201.       <xsl:call-template name="localLCID">
  3202.         <xsl:with-param name="LCID" select="$LCID"/>
  3203.       </xsl:call-template>
  3204.     </xsl:variable>
  3205.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:SecondaryAuthors/b:FM"/>
  3206.   </xsl:template>
  3207.  
  3208.   
  3209.   <xsl:template name="templ_prop_SIST_SecondaryAuthors_ML" >
  3210.     <xsl:param name="LCID" />
  3211.     <xsl:variable name="_LCID">
  3212.       <xsl:call-template name="localLCID">
  3213.         <xsl:with-param name="LCID" select="$LCID"/>
  3214.       </xsl:call-template>
  3215.     </xsl:variable>
  3216.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:SecondaryAuthors/b:ML"/>
  3217.   </xsl:template>
  3218.  
  3219.   
  3220.   <xsl:template name="templ_prop_SIST_SecondaryAuthors_FL" >
  3221.     <xsl:param name="LCID" />
  3222.     <xsl:variable name="_LCID">
  3223.       <xsl:call-template name="localLCID">
  3224.         <xsl:with-param name="LCID" select="$LCID"/>
  3225.       </xsl:call-template>
  3226.     </xsl:variable>
  3227.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:SecondaryAuthors/b:FL"/>
  3228.   </xsl:template>
  3229.  
  3230.   
  3231.   <xsl:template name="templ_prop_SIST_SameAuthor" >
  3232.     <xsl:param name="LCID" />
  3233.     <xsl:variable name="_LCID">
  3234.       <xsl:call-template name="localLCID">
  3235.         <xsl:with-param name="LCID" select="$LCID"/>
  3236.       </xsl:call-template>
  3237.     </xsl:variable>
  3238.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:SameAuthor"/>
  3239.   </xsl:template>
  3240.  
  3241.   
  3242.   <xsl:template name="templ_prop_SIST_GeneralOpen" >
  3243.     <xsl:param name="LCID" />
  3244.     <xsl:variable name="_LCID">
  3245.       <xsl:call-template name="localLCID">
  3246.         <xsl:with-param name="LCID" select="$LCID"/>
  3247.       </xsl:call-template>
  3248.     </xsl:variable>
  3249.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:GeneralOpen"/>
  3250.   </xsl:template>
  3251.  
  3252.   
  3253.   <xsl:template name="templ_prop_SIST_GeneralClose" >
  3254.     <xsl:param name="LCID" />
  3255.     <xsl:variable name="_LCID">
  3256.       <xsl:call-template name="localLCID">
  3257.         <xsl:with-param name="LCID" select="$LCID"/>
  3258.       </xsl:call-template>
  3259.     </xsl:variable>
  3260.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:GeneralClose"/>
  3261.   </xsl:template>
  3262.  
  3263.   
  3264.   <xsl:template name="templ_prop_SIST_Date_DMY" >
  3265.     <xsl:param name="LCID" />
  3266.     <xsl:variable name="_LCID">
  3267.       <xsl:call-template name="localLCID">
  3268.         <xsl:with-param name="LCID" select="$LCID"/>
  3269.       </xsl:call-template>
  3270.     </xsl:variable>
  3271.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:Date/b:DMY"/>
  3272.   </xsl:template>
  3273.  
  3274.   
  3275.   <xsl:template name="templ_prop_SIST_Date_DM" >
  3276.     <xsl:param name="LCID" />
  3277.     <xsl:variable name="_LCID">
  3278.       <xsl:call-template name="localLCID">
  3279.         <xsl:with-param name="LCID" select="$LCID"/>
  3280.       </xsl:call-template>
  3281.     </xsl:variable>
  3282.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:Date/b:DM"/>
  3283.   </xsl:template>
  3284.  
  3285.   
  3286.   <xsl:template name="templ_prop_SIST_Date_MY" >
  3287.     <xsl:param name="LCID" />
  3288.     <xsl:variable name="_LCID">
  3289.       <xsl:call-template name="localLCID">
  3290.         <xsl:with-param name="LCID" select="$LCID"/>
  3291.       </xsl:call-template>
  3292.     </xsl:variable>
  3293.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:Date/b:MY"/>
  3294.   </xsl:template>
  3295.  
  3296.   
  3297.   <xsl:template name="templ_prop_SIST_Date_DY" >
  3298.     <xsl:param name="LCID" />
  3299.     <xsl:variable name="_LCID">
  3300.       <xsl:call-template name="localLCID">
  3301.         <xsl:with-param name="LCID" select="$LCID"/>
  3302.       </xsl:call-template>
  3303.     </xsl:variable>
  3304.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:Date/b:DY"/>
  3305.   </xsl:template>
  3306.  
  3307.   
  3308.   <xsl:template name="templ_prop_SIST_DateAccessed_DMY" >
  3309.     <xsl:param name="LCID" />
  3310.     <xsl:variable name="_LCID">
  3311.       <xsl:call-template name="localLCID">
  3312.         <xsl:with-param name="LCID" select="$LCID"/>
  3313.       </xsl:call-template>
  3314.     </xsl:variable>
  3315.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:DateAccessed/b:DMY"/>
  3316.   </xsl:template>
  3317.  
  3318.   
  3319.   <xsl:template name="templ_prop_SIST_DateAccessed_DM" >
  3320.     <xsl:param name="LCID" />
  3321.     <xsl:variable name="_LCID">
  3322.       <xsl:call-template name="localLCID">
  3323.         <xsl:with-param name="LCID" select="$LCID"/>
  3324.       </xsl:call-template>
  3325.     </xsl:variable>
  3326.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:DateAccessed/b:DM"/>
  3327.   </xsl:template>
  3328.  
  3329.   
  3330.   <xsl:template name="templ_prop_SIST_DateAccessed_MY" >
  3331.     <xsl:param name="LCID" />
  3332.     <xsl:variable name="_LCID">
  3333.       <xsl:call-template name="localLCID">
  3334.         <xsl:with-param name="LCID" select="$LCID"/>
  3335.       </xsl:call-template>
  3336.     </xsl:variable>
  3337.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:DateAccessed/b:MY"/>
  3338.   </xsl:template>
  3339.  
  3340.   
  3341.   <xsl:template name="templ_prop_SIST_DateAccessed_DY" >
  3342.     <xsl:param name="LCID" />
  3343.     <xsl:variable name="_LCID">
  3344.       <xsl:call-template name="localLCID">
  3345.         <xsl:with-param name="LCID" select="$LCID"/>
  3346.       </xsl:call-template>
  3347.     </xsl:variable>
  3348.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:DateAccessed/b:DY"/>
  3349.   </xsl:template>
  3350.  
  3351.   
  3352.   <xsl:template name="templ_prop_NoCommaBeforeAnd" >
  3353.     <xsl:param name="LCID" />
  3354.     <xsl:variable name="_LCID">
  3355.       <xsl:call-template name="localLCID">
  3356.         <xsl:with-param name="LCID" select="$LCID"/>
  3357.       </xsl:call-template>
  3358.     </xsl:variable>
  3359.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:NoCommaBeforeAnd"/>
  3360.   </xsl:template>
  3361.  
  3362.   
  3363.   <xsl:variable name="constGost_CitationOpen">
  3364.     <xsl:call-template name="templ_prop_OpenBracket" />
  3365.      
  3366. </xsl:variable>
  3367. <xsl:variable name="constGost_CitationClose">
  3368.     <xsl:call-template name="templ_prop_CloseBracket" />
  3369.      
  3370. </xsl:variable>
  3371. <xsl:variable name="constGost_CitationNamePartsSeparator">
  3372.     <xsl:call-template name="templ_prop_Space" />
  3373.      
  3374. </xsl:variable>
  3375. <xsl:variable name="constGost_CitationNameAndOther">
  3376.     <xsl:call-template name="templ_prop_Space" />
  3377.     <xsl:call-template name="templ_str_AndOthersUnCap"/>
  3378.      
  3379. </xsl:variable>
  3380. <xsl:variable name="constGost_CitationAuthorYearSeparator">
  3381.     <xsl:call-template name="templ_prop_ListSeparator" />
  3382.      
  3383. </xsl:variable>
  3384. <xsl:variable name="constGost_CitationAuthorOrYearVolumeSeparator">
  3385.     <xsl:call-template name="templ_prop_Space" />
  3386.      
  3387. </xsl:variable>
  3388. <xsl:variable name="constGost_CitationVolumeFooter">
  3389.     <xsl:call-template name="templ_prop_Enum" />
  3390.      
  3391. </xsl:variable>
  3392. <xsl:variable name="constGost_CitationPageHeader">
  3393.     <xsl:call-template name="templ_prop_Space" />
  3394.     <xsl:call-template name="templ_str_PageShort"/>
  3395.     <xsl:call-template name="templ_prop_Space" />
  3396.      
  3397. </xsl:variable>
  3398. <xsl:variable name="constGost_CitationVolumeHeader">
  3399.     <xsl:call-template name="templ_prop_ListSeparator" />
  3400.      
  3401. </xsl:variable>
  3402. <xsl:variable name="constGost_CitationVolumeStringVolumeSeparator">
  3403.     <xsl:call-template name="templ_prop_Space" />
  3404.      
  3405. </xsl:variable>
  3406. <xsl:variable name="constGost_CitationAuthorSeparator">
  3407.     <xsl:call-template name="templ_prop_GroupSeparator" />
  3408.      
  3409. </xsl:variable>
  3410. <xsl:variable name="constGost_SourceTypeOpen">
  3411.     <xsl:call-template name="templ_prop_Space" />
  3412.     <xsl:call-template name="templ_prop_Gost_GeneralOpen" />
  3413.      
  3414. </xsl:variable>
  3415. <xsl:variable name="constGost_SourceTypeClose">
  3416.     <xsl:call-template name="templ_prop_Gost_GeneralClose" />
  3417.      
  3418. </xsl:variable>
  3419. <xsl:variable name="constGost_PrimaryResponsibilitiesOpen">
  3420.     <xsl:call-template name="templ_prop_Gost_GeneralOpen" />
  3421.      
  3422. </xsl:variable>
  3423. <xsl:variable name="constGost_PrimaryResponsibilitiesClose">
  3424.     <xsl:call-template name="templ_prop_Gost_GeneralClose" />
  3425.      
  3426. </xsl:variable>
  3427. <xsl:variable name="constGost_TitleHeader">
  3428.     <xsl:call-template name="templ_prop_Space" />
  3429.      
  3430. </xsl:variable>
  3431. <xsl:variable name="constGost_TitlePrefixTitleSeparator">
  3432.     <xsl:call-template name="templ_prop_Space" />
  3433.      
  3434. </xsl:variable>
  3435. <xsl:variable name="constGost_NamePartsSeparator">
  3436.     <xsl:call-template name="templ_prop_Space" />
  3437.      
  3438. </xsl:variable>
  3439. <xsl:variable name="constGost_PersonSeparator">
  3440.     <xsl:call-template name="templ_prop_ListSeparator" />
  3441.      
  3442. </xsl:variable>
  3443. <xsl:variable name="constGost_PersonAndOther">
  3444.     <xsl:call-template name="templ_prop_Space" />
  3445.     <xsl:call-template name="templ_prop_Gost_GeneralOpen" />
  3446.     <xsl:call-template name="templ_str_AndOthersUnCap"/>
  3447.     <xsl:call-template name="templ_prop_Gost_GeneralClose" />
  3448.      
  3449. </xsl:variable>
  3450. <xsl:variable name="constGost_SemiColonSeparatedItemsSeparator">
  3451.     <xsl:call-template name="templ_prop_NonBreakingSpace" />
  3452.     <xsl:call-template name="templ_prop_GroupSeparator" />
  3453.      
  3454. </xsl:variable>
  3455. <xsl:variable name="constGost_PrimaryResponsibilitiesSeparator">
  3456.     <xsl:call-template name="templ_prop_NonBreakingSpace" />
  3457.     <xsl:call-template name="templ_prop_GroupSeparator" />
  3458.      
  3459. </xsl:variable>
  3460. <xsl:variable name="constGost_PrimaryResponsibilitiesHeader">
  3461.     <xsl:call-template name="templ_prop_NonBreakingSpace" />
  3462.     <xsl:call-template name="templ_prop_Gost_OneSlash" />
  3463.     <xsl:call-template name="templ_prop_Space" />
  3464.      
  3465. </xsl:variable>
  3466. <xsl:variable name="constGost_CollectionNameHeader">
  3467.     <xsl:call-template name="templ_prop_NonBreakingSpace" />
  3468.     <xsl:call-template name="templ_prop_Gost_TwoSlash" />
  3469.     <xsl:call-template name="templ_prop_Space" />
  3470.      
  3471. </xsl:variable>
  3472. <xsl:variable name="constGost_SecondaryResponsibilitiesHeader">
  3473.     <xsl:call-template name="templ_prop_NonBreakingSpace" />
  3474.     <xsl:call-template name="templ_prop_Gost_OneSlash" />
  3475.     <xsl:call-template name="templ_prop_Space" />
  3476.      
  3477. </xsl:variable>
  3478. <xsl:variable name="constGost_SecondaryResponsibilitiesSeparator">
  3479.     <xsl:call-template name="templ_prop_NonBreakingSpace" />
  3480.     <xsl:call-template name="templ_prop_Gost_OneSlash" />
  3481.     <xsl:call-template name="templ_prop_Space" />
  3482.      
  3483. </xsl:variable>
  3484. <xsl:variable name="constGost_SineLoco">
  3485.     <xsl:call-template name="templ_prop_Gost_GeneralOpen" />
  3486.     <xsl:call-template name="templ_str_SineLocoShort"/>
  3487.     <xsl:call-template name="templ_prop_Gost_GeneralClose" />
  3488.      
  3489. </xsl:variable>
  3490. <xsl:variable name="constGost_SineNomine">
  3491.     <xsl:call-template name="templ_prop_Gost_GeneralOpen" />
  3492.     <xsl:call-template name="templ_str_SineNomineShort"/>
  3493.     <xsl:call-template name="templ_prop_Gost_GeneralClose" />
  3494.      
  3495. </xsl:variable>
  3496. <xsl:variable name="constGost_HyphenSectionHeader">
  3497.     <xsl:call-template name="templ_prop_Dot" />
  3498.     <xsl:call-template name="templ_prop_NonBreakingSpace" />
  3499.     <xsl:call-template name="templ_prop_FromToDash" />
  3500.     <xsl:call-template name="templ_prop_Space" />
  3501.      
  3502. </xsl:variable>
  3503. <xsl:variable name="constGost_HyphenSectionSeparator">
  3504.     <xsl:call-template name="templ_prop_ListSeparator" />
  3505.      
  3506. </xsl:variable>
  3507. <xsl:variable name="constGost_ColonElementSeparator">
  3508.     <xsl:call-template name="templ_prop_NonBreakingSpace" />
  3509.     <xsl:call-template name="templ_prop_EnumSeparator" />
  3510.      
  3511. </xsl:variable>
  3512.  
  3513. <xsl:variable name="constGost_ShortTitleHeader">
  3514.     <xsl:call-template name="templ_prop_NonBreakingSpace" />
  3515.     <xsl:call-template name="templ_prop_Equal" />
  3516.     <xsl:call-template name="templ_prop_Space" />
  3517.      
  3518. </xsl:variable>
  3519. <xsl:variable name="constGost_SoundRecordingMediumHeader">
  3520.     <xsl:call-template name="templ_prop_NonBreakingSpace" />
  3521.     <xsl:call-template name="templ_prop_EnumSeparator" />
  3522.      
  3523. </xsl:variable>
  3524. <xsl:variable name="constGost_ElectronicSourceMediumHeader">
  3525.     <xsl:call-template name="templ_prop_NonBreakingSpace" />
  3526.     <xsl:call-template name="templ_prop_EnumSeparator" />
  3527.      
  3528. </xsl:variable>
  3529. <xsl:variable name="constGost_PatentNumberHeader">
  3530.     <xsl:call-template name="templ_prop_NonBreakingSpace" />
  3531.     <xsl:call-template name="templ_prop_EnumSeparator" />
  3532.      
  3533. </xsl:variable>
  3534. <xsl:variable name="constGost_PatentTypeHeader">
  3535.     <xsl:call-template name="templ_prop_NonBreakingSpace" />
  3536.     <xsl:call-template name="templ_prop_EnumSeparator" />
  3537.      
  3538. </xsl:variable>
  3539. <xsl:variable name="constGost_CaseNumberHeader">
  3540.     <xsl:call-template name="templ_prop_NonBreakingSpace" />
  3541.     <xsl:call-template name="templ_prop_EnumSeparator" />
  3542.      
  3543. </xsl:variable>
  3544. <xsl:variable name="constGost_AbbreviatedCaseNumberHeader">
  3545.     <xsl:call-template name="templ_prop_NonBreakingSpace" />
  3546.     <xsl:call-template name="templ_prop_EnumSeparator" />
  3547.      
  3548. </xsl:variable>
  3549. <xsl:variable name="constGost_ReportTypeHeader">
  3550.     <xsl:call-template name="templ_prop_NonBreakingSpace" />
  3551.     <xsl:call-template name="templ_prop_EnumSeparator" />
  3552.      
  3553. </xsl:variable>
  3554. <xsl:variable name="constGost_PublisherProductionCompanySeparator">
  3555.     <xsl:call-template name="templ_prop_NonBreakingSpace" />
  3556.     <xsl:call-template name="templ_prop_GroupSeparator" />
  3557.      
  3558. </xsl:variable>
  3559. <xsl:variable name="constGost_TheaterCitySeparator">
  3560.     <xsl:call-template name="templ_prop_NonBreakingSpace" />
  3561.     <xsl:call-template name="templ_prop_GroupSeparator" />
  3562.      
  3563. </xsl:variable>
  3564.  
  3565.  
  3566. <xsl:variable name="constGost_AuthorHeader">
  3567.     <xsl:call-template name="templ_str_AuthorShortUnCap"/>
  3568.     <xsl:call-template name="templ_prop_Space" />
  3569.      
  3570. </xsl:variable>
  3571. <xsl:variable name="constGost_TranslatorHeader">
  3572.     <xsl:call-template name="templ_str_TranslatorShortUnCap"/>
  3573.     <xsl:call-template name="templ_prop_Space" />
  3574.      
  3575. </xsl:variable>
  3576. <xsl:variable name="constGost_CompilerHeader">
  3577.     <xsl:call-template name="templ_str_CompilerShortUnCap"/>
  3578.     <xsl:call-template name="templ_prop_Space" />
  3579.      
  3580. </xsl:variable>
  3581. <xsl:variable name="constGost_ComposerHeader">
  3582.     <xsl:call-template name="templ_str_ComposerShortUnCapIso"/>
  3583.     <xsl:call-template name="templ_prop_Space" />
  3584.      
  3585. </xsl:variable>
  3586. <xsl:variable name="constGost_ArtistHeader">
  3587.     <xsl:call-template name="templ_str_ArtistShortUnCap"/>
  3588.     <xsl:call-template name="templ_prop_Space" />
  3589.      
  3590. </xsl:variable>
  3591. <xsl:variable name="constGost_ConductorHeader">
  3592.     <xsl:call-template name="templ_str_ConductorShortUnCap"/>
  3593.     <xsl:call-template name="templ_prop_Space" />
  3594.      
  3595. </xsl:variable>
  3596. <xsl:variable name="constGost_PerformerHeader">
  3597.     <xsl:call-template name="templ_str_PerformerShortUnCap"/>
  3598.     <xsl:call-template name="templ_prop_Space" />
  3599.      
  3600. </xsl:variable>
  3601. <xsl:variable name="constGost_WriterHeader">
  3602.     <xsl:call-template name="templ_str_WriterShortUnCap"/>
  3603.     <xsl:call-template name="templ_prop_Space" />
  3604.      
  3605. </xsl:variable>
  3606. <xsl:variable name="constGost_DirectorHeader">
  3607.     <xsl:call-template name="templ_str_DirectorShortUnCap"/>
  3608.     <xsl:call-template name="templ_prop_Space" />
  3609.      
  3610. </xsl:variable>
  3611. <xsl:variable name="constGost_ProducerNameHeader">
  3612.     <xsl:call-template name="templ_str_ProducerShortUnCap"/>
  3613.     <xsl:call-template name="templ_prop_Space" />
  3614.      
  3615. </xsl:variable>
  3616. <xsl:variable name="constGost_CounselHeader">
  3617.     <xsl:call-template name="templ_str_CounselShortUnCap"/>
  3618.     <xsl:call-template name="templ_prop_Space" />
  3619.      
  3620. </xsl:variable>
  3621. <xsl:variable name="constGost_BookAuthorHeader">
  3622.     <xsl:call-template name="templ_str_BookAuthorShortUnCap"/>
  3623.     <xsl:call-template name="templ_prop_Space" />
  3624.      
  3625. </xsl:variable>
  3626. <xsl:variable name="constGost_IntervieweeHeader">
  3627.     <xsl:call-template name="templ_str_IntervieweeShortUnCap"/>
  3628.     <xsl:call-template name="templ_prop_Space" />
  3629.      
  3630. </xsl:variable>
  3631.  
  3632.     
  3633.  
  3634.  
  3635.  
  3636.  
  3637.     
  3638.     <xsl:template match="/">
  3639.  
  3640.  
  3641.  
  3642.         <xsl:choose>
  3643.  
  3644.             
  3645.             
  3646.             <xsl:when test="b:Version">
  3647.                 <xsl:text>2006.5.07</xsl:text>
  3648.             </xsl:when>
  3649.             <xsl:when test="b:OfficeStyleKey">
  3650.                 <xsl:text>GOSTNS</xsl:text>
  3651.             </xsl:when>
  3652.  
  3653.                 
  3654.  
  3655.             
  3656.             <xsl:when test="b:GetImportantFields">
  3657.                 <b:ImportantFields>
  3658.                     <xsl:choose>
  3659.                         <xsl:when test="b:GetImportantFields/b:SourceType='Book'">
  3660.                             <b:ImportantField><xsl:text>b:Author/b:Author/b:NameList</xsl:text></b:ImportantField>
  3661.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3662.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3663.                             <b:ImportantField><xsl:text>b:City</xsl:text></b:ImportantField>
  3664.                             <b:ImportantField><xsl:text>b:Publisher</xsl:text></b:ImportantField>
  3665.                             <b:ImportantField><xsl:text>b:Volume</xsl:text></b:ImportantField>
  3666.                         </xsl:when>
  3667.  
  3668.                         <xsl:when test="b:GetImportantFields/b:SourceType='BookSection'">
  3669.                             <b:ImportantField><xsl:text>b:Author/b:Author/b:NameList</xsl:text></b:ImportantField>
  3670.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3671.                             <b:ImportantField><xsl:text>b:Author/b:BookAuthor/b:NameList</xsl:text></b:ImportantField>
  3672.                             <b:ImportantField><xsl:text>b:BookTitle</xsl:text></b:ImportantField>
  3673.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3674.                             <b:ImportantField><xsl:text>b:City</xsl:text></b:ImportantField>
  3675.                             <b:ImportantField><xsl:text>b:Publisher</xsl:text></b:ImportantField>
  3676.                             <b:ImportantField><xsl:text>b:Volume</xsl:text></b:ImportantField>
  3677.                         </xsl:when>
  3678.  
  3679.                         <xsl:when test="b:GetImportantFields/b:SourceType='JournalArticle'">
  3680.                             <b:ImportantField><xsl:text>b:Author/b:Author/b:NameList</xsl:text></b:ImportantField>
  3681.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3682.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3683.                             <b:ImportantField><xsl:text>b:City</xsl:text></b:ImportantField>
  3684.                             <b:ImportantField><xsl:text>b:Publisher</xsl:text></b:ImportantField>
  3685.                             <b:ImportantField><xsl:text>b:Volume</xsl:text></b:ImportantField>
  3686.                             <b:ImportantField><xsl:text>b:Issue</xsl:text></b:ImportantField>
  3687.                         </xsl:when>
  3688.  
  3689.                         <xsl:when test="b:GetImportantFields/b:SourceType='ArticleInAPeriodical'">
  3690.                             <b:ImportantField><xsl:text>b:Author/b:Author/b:NameList</xsl:text></b:ImportantField>
  3691.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3692.                             <b:ImportantField><xsl:text>b:PeriodicalTitle</xsl:text></b:ImportantField>
  3693.                             <b:ImportantField><xsl:text>b:City</xsl:text></b:ImportantField>
  3694.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3695.                             <b:ImportantField><xsl:text>b:Edition</xsl:text></b:ImportantField>
  3696.                             <b:ImportantField><xsl:text>b:Volume</xsl:text></b:ImportantField>
  3697.                             <b:ImportantField><xsl:text>b:Issue</xsl:text></b:ImportantField>
  3698.                             <b:ImportantField><xsl:text>b:Publisher</xsl:text></b:ImportantField>
  3699.                         </xsl:when>
  3700.  
  3701.                         <xsl:when test="b:GetImportantFields/b:SourceType='ConferenceProceedings'">
  3702.                             <b:ImportantField><xsl:text>b:Author/b:Author/b:NameList</xsl:text></b:ImportantField>
  3703.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3704.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3705.                             <b:ImportantField><xsl:text>b:ConferenceName</xsl:text></b:ImportantField>
  3706.                             <b:ImportantField><xsl:text>b:City</xsl:text></b:ImportantField>
  3707.                             <b:ImportantField><xsl:text>b:Publisher</xsl:text></b:ImportantField>
  3708.                             <b:ImportantField><xsl:text>b:Volume</xsl:text></b:ImportantField>
  3709.                         </xsl:when>
  3710.  
  3711.                         <xsl:when test="b:GetImportantFields/b:SourceType='Report'">
  3712.                             <b:ImportantField><xsl:text>b:Author/b:Author/b:NameList</xsl:text></b:ImportantField>
  3713.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3714.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3715.                             <b:ImportantField><xsl:text>b:City</xsl:text></b:ImportantField>
  3716.                             <b:ImportantField><xsl:text>b:Publisher</xsl:text></b:ImportantField>
  3717.                         </xsl:when>
  3718.  
  3719.                         <xsl:when test="b:GetImportantFields/b:SourceType='SoundRecording'">
  3720.                             <b:ImportantField><xsl:text>b:Author/b:Artist/b:NameList</xsl:text></b:ImportantField>
  3721.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3722.                             <b:ImportantField><xsl:text>b:AlbumTitle</xsl:text></b:ImportantField>
  3723.                             <b:ImportantField><xsl:text>b:ProductionCompany</xsl:text></b:ImportantField>
  3724.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3725.                             <b:ImportantField><xsl:text>b:Medium</xsl:text></b:ImportantField>
  3726.                             <b:ImportantField><xsl:text>b:City</xsl:text></b:ImportantField>
  3727.                         </xsl:when>
  3728.  
  3729.                         <xsl:when test="b:GetImportantFields/b:SourceType='Performance'">
  3730.                             <b:ImportantField><xsl:text>b:Author/b:Writer/b:NameList</xsl:text></b:ImportantField>
  3731.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3732.                             <b:ImportantField><xsl:text>b:ProductionCompany</xsl:text></b:ImportantField>
  3733.                             <b:ImportantField><xsl:text>b:Theater</xsl:text></b:ImportantField>
  3734.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3735.                             <b:ImportantField><xsl:text>b:City</xsl:text></b:ImportantField>
  3736.                         </xsl:when>
  3737.  
  3738.                         <xsl:when test="b:GetImportantFields/b:SourceType='Art'">
  3739.                             <b:ImportantField><xsl:text>b:Author/b:Artist/b:NameList</xsl:text></b:ImportantField>
  3740.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3741.                             <b:ImportantField><xsl:text>b:Institution</xsl:text></b:ImportantField>
  3742.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3743.                             <b:ImportantField><xsl:text>b:City</xsl:text></b:ImportantField>
  3744.                         </xsl:when>
  3745.  
  3746.                         <xsl:when test="b:GetImportantFields/b:SourceType='DocumentFromInternetSite'">
  3747.                             <b:ImportantField><xsl:text>b:Author/b:Author/b:NameList</xsl:text></b:ImportantField>
  3748.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3749.                             <b:ImportantField><xsl:text>b:InternetSiteTitle</xsl:text></b:ImportantField>
  3750.                             <b:ImportantField><xsl:text>b:ProductionCompany</xsl:text></b:ImportantField>
  3751.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3752.                             <b:ImportantField><xsl:text>b:Month</xsl:text></b:ImportantField>
  3753.                             <b:ImportantField><xsl:text>b:Day</xsl:text></b:ImportantField>
  3754.                             <b:ImportantField><xsl:text>b:YearAccessed</xsl:text></b:ImportantField>
  3755.                             <b:ImportantField><xsl:text>b:MonthAccessed</xsl:text></b:ImportantField>
  3756.                             <b:ImportantField><xsl:text>b:DayAccessed</xsl:text></b:ImportantField>
  3757.                             <b:ImportantField><xsl:text>b:URL</xsl:text></b:ImportantField>
  3758.                             <b:ImportantField><xsl:text>b:Version</xsl:text></b:ImportantField>
  3759.                         </xsl:when>
  3760.  
  3761.                         <xsl:when test="b:GetImportantFields/b:SourceType='InternetSite'">
  3762.                             <b:ImportantField><xsl:text>b:Author/b:Author/b:NameList</xsl:text></b:ImportantField>
  3763.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3764.                             <b:ImportantField><xsl:text>b:InternetSiteTitle</xsl:text></b:ImportantField>
  3765.                             <b:ImportantField><xsl:text>b:ProductionCompany</xsl:text></b:ImportantField>
  3766.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3767.                             <b:ImportantField><xsl:text>b:Month</xsl:text></b:ImportantField>
  3768.                             <b:ImportantField><xsl:text>b:Day</xsl:text></b:ImportantField>
  3769.                             <b:ImportantField><xsl:text>b:YearAccessed</xsl:text></b:ImportantField>
  3770.                             <b:ImportantField><xsl:text>b:MonthAccessed</xsl:text></b:ImportantField>
  3771.                             <b:ImportantField><xsl:text>b:DayAccessed</xsl:text></b:ImportantField>
  3772.                             <b:ImportantField><xsl:text>b:URL</xsl:text></b:ImportantField>
  3773.                             <b:ImportantField><xsl:text>b:Version</xsl:text></b:ImportantField>
  3774.                         </xsl:when>
  3775.  
  3776.                         <xsl:when test="b:GetImportantFields/b:SourceType='Film'">
  3777.                             <b:ImportantField><xsl:text>b:Author/b:Director/b:NameList</xsl:text></b:ImportantField>
  3778.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3779.                             <b:ImportantField><xsl:text>b:ProductionCompany</xsl:text></b:ImportantField>
  3780.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3781.                         </xsl:when>
  3782.  
  3783.                         <xsl:when test="b:GetImportantFields/b:SourceType='Interview'">
  3784.                             <b:ImportantField><xsl:text>b:Author/b:Interviewee/b:NameList</xsl:text></b:ImportantField>
  3785.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3786.                             <b:ImportantField><xsl:text>b:BroadcastTitle</xsl:text></b:ImportantField>
  3787.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3788.                             <b:ImportantField><xsl:text>b:Month</xsl:text></b:ImportantField>
  3789.                             <b:ImportantField><xsl:text>b:Day</xsl:text></b:ImportantField>
  3790.                             <b:ImportantField><xsl:text>b:Broadcaster</xsl:text></b:ImportantField>
  3791.                             <b:ImportantField><xsl:text>b:Station</xsl:text></b:ImportantField>
  3792.                             <b:ImportantField><xsl:text>b:City</xsl:text></b:ImportantField>
  3793.                         </xsl:when>
  3794.  
  3795.                         <xsl:when test="b:GetImportantFields/b:SourceType='Patent'">
  3796.                             <b:ImportantField><xsl:text>b:Author/b:Inventor/b:NameList</xsl:text></b:ImportantField>
  3797.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3798.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3799.                             <b:ImportantField><xsl:text>b:Month</xsl:text></b:ImportantField>
  3800.                             <b:ImportantField><xsl:text>b:Day</xsl:text></b:ImportantField>
  3801.                             <b:ImportantField><xsl:text>b:CountryRegion</xsl:text></b:ImportantField>
  3802.                         </xsl:when>
  3803.  
  3804.                         <xsl:when test="b:GetImportantFields/b:SourceType='ElectronicSource'">
  3805.                             <b:ImportantField><xsl:text>b:Author/b:Author/b:NameList</xsl:text></b:ImportantField>
  3806.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3807.                             <b:ImportantField><xsl:text>b:City</xsl:text></b:ImportantField>
  3808.                             <b:ImportantField><xsl:text>b:ProductionCompany</xsl:text></b:ImportantField>
  3809.                             <b:ImportantField><xsl:text>b:Medium</xsl:text></b:ImportantField>
  3810.                             <b:ImportantField><xsl:text>b:Volume</xsl:text></b:ImportantField>
  3811.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3812.                         </xsl:when>
  3813.  
  3814.                         <xsl:when test="b:GetImportantFields/b:SourceType='Case'">
  3815.                             <b:ImportantField><xsl:text>b:Author/b:Author/b:NameList</xsl:text></b:ImportantField>
  3816.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3817.                             <b:ImportantField><xsl:text>b:City</xsl:text></b:ImportantField>
  3818.                             <b:ImportantField><xsl:text>b:Court</xsl:text></b:ImportantField>
  3819.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3820.                         </xsl:when>
  3821.  
  3822.                         <xsl:when test="b:GetImportantFields/b:SourceType='Misc'">
  3823.                             <b:ImportantField><xsl:text>b:Author/b:Author/b:NameList</xsl:text></b:ImportantField>
  3824.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3825.                             <b:ImportantField><xsl:text>b:PublicationTitle</xsl:text></b:ImportantField>
  3826.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3827.                             <b:ImportantField><xsl:text>b:City</xsl:text></b:ImportantField>
  3828.                             <b:ImportantField><xsl:text>b:Publisher</xsl:text></b:ImportantField>
  3829.                             <b:ImportantField><xsl:text>b:Volume</xsl:text></b:ImportantField>
  3830.                             <b:ImportantField><xsl:text>b:Issue</xsl:text></b:ImportantField>
  3831.                         </xsl:when>
  3832.  
  3833.                     </xsl:choose>
  3834.                 </b:ImportantFields>
  3835.             </xsl:when>
  3836.             
  3837.             
  3838.             <xsl:when test="b:Citation">
  3839.  
  3840.                 <xsl:variable name="ListPopulatedWithMain">
  3841.                         <xsl:call-template name="populateMain">
  3842.                             <xsl:with-param name="Type">b:Citation</xsl:with-param>
  3843.                         </xsl:call-template>
  3844.                 </xsl:variable>
  3845.  
  3846.             
  3847.             
  3848.                 <html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
  3849.                     <head>
  3850.                     </head>
  3851.                     <body>
  3852.                         <xsl:variable name="LCID">
  3853.                           <xsl:choose>
  3854.                             <xsl:when test="b:LCID='0' or b:LCID='' or not(b:LCID)">
  3855.                               <xsl:value-of select="/*/b:Locals/b:DefaultLCID"/>
  3856.                             </xsl:when>
  3857.                             <xsl:otherwise>
  3858.                               <xsl:value-of select="b:LCID"/>
  3859.                             </xsl:otherwise>
  3860.                           </xsl:choose>
  3861.                         </xsl:variable>
  3862.  
  3863.                         <xsl:element name="p">
  3864.  
  3865.                         <xsl:attribute name="lang">
  3866.                             <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$LCID]/@Culture"/>
  3867.                         </xsl:attribute>
  3868.  
  3869.                         <xsl:attribute name="dir">
  3870.                             <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$LCID]/b:Properties/b:Direction"/>
  3871.                         </xsl:attribute>
  3872.  
  3873.                         <xsl:variable name="type">
  3874.                             <xsl:value-of select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:SourceType"/>
  3875.                         </xsl:variable>
  3876.  
  3877.                         <xsl:variable name="title0">
  3878.                             <xsl:choose>
  3879.                                 <xsl:when test="string-length(msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:ShortTitle)>0">
  3880.                                     <xsl:value-of select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:ShortTitle" />
  3881.                                 </xsl:when>
  3882.  
  3883.                                 <xsl:otherwise>
  3884.                                     <xsl:value-of select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:Title" />
  3885.                                 </xsl:otherwise>
  3886.                             </xsl:choose>
  3887.                         </xsl:variable>
  3888.  
  3889.                         <xsl:variable name="year0">
  3890.                             <xsl:value-of select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:Year" />
  3891.                         </xsl:variable>                        
  3892.  
  3893.                         <xsl:variable name="authorMain">
  3894.                             <xsl:copy-of select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:Author/b:Main"/>
  3895.                         </xsl:variable>
  3896.  
  3897.                         <xsl:variable name="author0">
  3898.                             <xsl:choose>
  3899.                                 <xsl:when test="string-length(msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:Author/b:Main/b:Corporate) > 0">
  3900.                                     <xsl:value-of select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:Author/b:Main/b:Corporate" />
  3901.                                 </xsl:when>
  3902.                                 <xsl:otherwise>
  3903.                                     <xsl:variable name="cAuthors">
  3904.                                         <xsl:value-of select="count(msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:Author/b:Main/b:NameList/b:Person)" />
  3905.                                     </xsl:variable>
  3906.                                     <xsl:for-each select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:Author/b:Main/b:NameList/b:Person">
  3907.                                         <xsl:choose>
  3908.                                             <xsl:when test="position() >= 2">
  3909.                                             </xsl:when>
  3910.                                             <xsl:when test="position() = 1">
  3911.                                                 <xsl:call-template name="formatNameCore">
  3912.                                                     <xsl:with-param name="FML">
  3913.                                                         <xsl:call-template name="templ_prop_Gost_CitationShort_FML"/>
  3914.                                                     </xsl:with-param>
  3915.                                                     <xsl:with-param name="FM">
  3916.                                                         <xsl:call-template name="templ_prop_Gost_CitationShort_FM"/>
  3917.                                                     </xsl:with-param>
  3918.                                                     <xsl:with-param name="ML">
  3919.                                                         <xsl:call-template name="templ_prop_Gost_CitationShort_ML"/>
  3920.                                                     </xsl:with-param>
  3921.                                                     <xsl:with-param name="FL">
  3922.                                                         <xsl:call-template name="templ_prop_Gost_CitationShort_FL"/>
  3923.                                                     </xsl:with-param>
  3924.                                                     <xsl:with-param name="upperLast">no</xsl:with-param>
  3925.                                                     <xsl:with-param name="withDot">no</xsl:with-param>
  3926.                                                 </xsl:call-template>
  3927.                                             </xsl:when>
  3928.                                         </xsl:choose>
  3929.                                     </xsl:for-each>
  3930.                                     <xsl:if test = "$cAuthors > 1">
  3931.                     <xsl:variable name="noCommaBeforeAnd">
  3932.                       <xsl:call-template name="templ_prop_NoCommaBeforeAnd" />
  3933.                     </xsl:variable>
  3934.                     <xsl:choose>
  3935.                       <xsl:when test="$noCommaBeforeAnd != 'yes'">
  3936.                         <xsl:call-template name="templ_prop_AuthorsSeparator"/>
  3937.                       </xsl:when>
  3938.                       <xsl:otherwise>
  3939.                         <xsl:call-template name="templ_prop_Space"/>
  3940.                       </xsl:otherwise>
  3941.                     </xsl:choose>
  3942.                     <xsl:call-template name="templ_str_AndOthersUnCap"/>
  3943.                                     </xsl:if>
  3944.                                 </xsl:otherwise>
  3945.                             </xsl:choose>
  3946.                         </xsl:variable>
  3947.                         
  3948.                         <xsl:variable name="title">
  3949.                             <xsl:choose>
  3950.                                 <xsl:when test="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:NoTitle">
  3951.                                 </xsl:when>
  3952.                                 
  3953.                                 <xsl:otherwise>
  3954.                                     <xsl:value-of select="$title0" />
  3955.                                 </xsl:otherwise>
  3956.                             </xsl:choose>
  3957.                         </xsl:variable>
  3958.  
  3959.                         <xsl:variable name="year">
  3960.                             <xsl:choose>
  3961.                                 <xsl:when test="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:NoYear">
  3962.                                 </xsl:when>
  3963.                                 
  3964.                                 <xsl:otherwise>
  3965.                                     <xsl:value-of select="$year0" />
  3966.                                 </xsl:otherwise>
  3967.                             </xsl:choose>
  3968.                         </xsl:variable>                        
  3969.  
  3970.                         <xsl:variable name="author">
  3971.                             <xsl:choose>
  3972.                                 <xsl:when test="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:NoAuthor">
  3973.                                 </xsl:when>
  3974.                                 <xsl:otherwise>
  3975.                                     <xsl:value-of select="$author0" />
  3976.                                 </xsl:otherwise>
  3977.                             </xsl:choose>
  3978.                         </xsl:variable>
  3979.  
  3980.                         <xsl:variable name="prop_APA_Hyphens">
  3981.                           <xsl:call-template name="templ_prop_Hyphens"/>
  3982.                         </xsl:variable>
  3983.  
  3984.                         <xsl:variable name="volume" select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Volume"/>
  3985.  
  3986.                         <xsl:variable name="volVolume">
  3987.                             <xsl:if test="string-length($volume) > 0">
  3988.                                 <xsl:call-template name="StringFormat">
  3989.                                     <xsl:with-param name="format">
  3990.                                       <xsl:choose>
  3991.                                         <xsl:when test="not(string-length($volume)=string-length(translate($volume, ',', '')))">
  3992.                                           <xsl:call-template name="templ_str_VolumesShortUnCap"/>
  3993.                                         </xsl:when>
  3994.                                         <xsl:when test="string-length($volume)=string-length(translate($volume, $prop_APA_Hyphens, ''))">
  3995.                                           <xsl:call-template name="templ_str_VolumeShortUnCap"/>
  3996.                                         </xsl:when>
  3997.                                         <xsl:otherwise>
  3998.                                           <xsl:call-template name="templ_str_VolumesShortUnCap"/>
  3999.                                         </xsl:otherwise>
  4000.                                       </xsl:choose>
  4001.                                     </xsl:with-param>
  4002.                                     <xsl:with-param name="parameters">
  4003.                                         <t:params>
  4004.                                             <t:param>
  4005.                                                 <xsl:value-of select="$volume"/>
  4006.                                             </t:param>
  4007.                                         </t:params>
  4008.                                     </xsl:with-param>
  4009.                                 </xsl:call-template>
  4010.                             </xsl:if>
  4011.                         </xsl:variable>
  4012.  
  4013.  
  4014.                         <xsl:variable name="pages" select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Pages"/>
  4015.  
  4016.                         <xsl:variable name="ppPages">
  4017.                           <xsl:if test="string-length($pages)>0">
  4018.                             <xsl:choose>
  4019.                               <xsl:when test="not(string-length($pages)=string-length(translate($pages, ',', '')))">
  4020.                                 <xsl:call-template name="templ_str_PagesCountinousShort"/>
  4021.                               </xsl:when>
  4022.                               <xsl:when test="string-length($pages)=string-length(translate($pages, $prop_APA_Hyphens, ''))">
  4023.                                 <xsl:call-template name="templ_str_PageShort"/>
  4024.                               </xsl:when>
  4025.                               <xsl:otherwise>
  4026.                                 <xsl:call-template name="templ_str_PagesCountinousShort"/>
  4027.                               </xsl:otherwise>
  4028.                             </xsl:choose>
  4029.                             <xsl:call-template name="templ_prop_Space"/>
  4030.                             <xsl:value-of select="$pages"/>
  4031.                           </xsl:if>
  4032.                         </xsl:variable>
  4033.  
  4034.                         <xsl:variable name="displayAuthor">
  4035.                             <xsl:value-of select="$author" />
  4036.                         </xsl:variable>
  4037.  
  4038.                         <xsl:variable name="displayTitle">
  4039.                         </xsl:variable>
  4040.  
  4041.                         
  4042.                         <xsl:if test="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:FirstAuthor">
  4043.                             <xsl:call-template name="templ_prop_OpenBracket"/>
  4044.                         </xsl:if>
  4045.                     
  4046.                         <xsl:if test="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:PagePrefix">
  4047.                             <xsl:value-of select="/b:Citation/b:PagePrefix"/>
  4048.                         </xsl:if>
  4049.  
  4050.                         <xsl:value-of select="$displayAuthor" />
  4051.  
  4052.                         <xsl:if test="string-length($displayTitle) > 0">
  4053.                             <xsl:if test="string-length($displayAuthor) > 0">
  4054.                                 <xsl:call-template name="templ_prop_ListSeparator"/>
  4055.                             </xsl:if>
  4056.                             <xsl:value-of select="$displayTitle"/>
  4057.                         </xsl:if>
  4058.  
  4059.                         <xsl:if test="string-length($year) > 0">
  4060.                             <xsl:if test="string-length($displayAuthor) > 0 or string-length($displayTitle) > 0">
  4061.                                 <xsl:call-template name="templ_prop_ListSeparator"/>
  4062.                             </xsl:if>    
  4063.                             <xsl:value-of select="$year"/>
  4064.                         </xsl:if>
  4065.  
  4066.                         <xsl:if test="string-length($author0) = 0 and string-length($year0) = 0">
  4067.                             <xsl:value-of select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:Tag"/>
  4068.                         </xsl:if>
  4069.  
  4070.                         <xsl:if test="string-length($volume) > 0 or string-length($pages) > 0">
  4071.                             <xsl:if test="string-length($displayAuthor) > 0 or string-length($displayTitle) > 0 or string-length($year) > 0">
  4072.                                 <xsl:call-template name="templ_prop_Space"/>
  4073.                             </xsl:if>            
  4074.  
  4075.                             <xsl:choose>
  4076.                                 <xsl:when test="string-length($volume) > 0 and string-length($pages) > 0">
  4077.                                     <xsl:value-of select="$volume"/>
  4078.                                     <xsl:call-template name="templ_prop_Enum"/>
  4079.                                     <xsl:value-of select="$pages"/>
  4080.                                 </xsl:when>
  4081.                                 <xsl:when test="string-length($volVolume) > 0">
  4082.                                     <xsl:value-of select="$volVolume"/>
  4083.                                 </xsl:when>
  4084.                                 <xsl:when test="string-length($ppPages) > 0">
  4085.                                     <xsl:value-of select="$ppPages"/>
  4086.                                 </xsl:when>
  4087.                             </xsl:choose>
  4088.                         </xsl:if>
  4089.  
  4090.                         <xsl:if test="/b:Citation/b:PageSuffix">
  4091.                             <xsl:value-of select="/b:Citation/b:PageSuffix"/>
  4092.                         </xsl:if>
  4093.                         
  4094.                         <xsl:if test="/b:Citation/b:LastAuthor">
  4095.                             <xsl:call-template name="templ_prop_CloseBracket"/>
  4096.                         </xsl:if>
  4097.                         <xsl:if test="not(/b:Citation/b:LastAuthor)">
  4098.                             <xsl:call-template name="templ_prop_GroupSeparator"/>
  4099.                         </xsl:if>
  4100.                     
  4101.  
  4102.                         </xsl:element>
  4103.                     </body>
  4104.                 </html>
  4105.             </xsl:when>
  4106.  
  4107.             <xsl:when test="b:Bibliography">
  4108.                 <html xmlns:o="urn:schemas-microsoft-com:office:office"
  4109.                         xmlns:w="urn:schemas-microsoft-com:office:word"
  4110.                         xmlns="http://www.w3.org/TR/REC-html40">
  4111.                     <head>
  4112.                         
  4113.                         <style>
  4114.                             p.MsoBibliography, li.MsoBibliography, div.MsoBibliography
  4115.                         </style>
  4116.                     </head>
  4117.  
  4118.                     <body>
  4119.  
  4120.                         
  4121.                         
  4122.                         <xsl:variable name="ListPopulatedWithMain">
  4123.                             <xsl:call-template name="populateMain">
  4124.                                 <xsl:with-param name="Type">b:Bibliography</xsl:with-param>
  4125.                             </xsl:call-template>
  4126.                         </xsl:variable>
  4127.  
  4128.                         
  4129.                         
  4130.                         <xsl:variable name="SortedList">
  4131.                             <xsl:call-template name="sortedList">
  4132.                                 <xsl:with-param name="sourceRoot">
  4133.                                     <xsl:copy-of select="$ListPopulatedWithMain"/>
  4134.                                 </xsl:with-param>
  4135.                                 
  4136.                             </xsl:call-template>
  4137.                         </xsl:variable>
  4138.  
  4139.                         
  4140.                         <xsl:for-each select="msxsl:node-set($SortedList)/b:Bibliography/b:Source">
  4141.                             <xsl:element name="p">
  4142.                                 <xsl:variable name="LCID">
  4143.                                   <xsl:choose>
  4144.                                     <xsl:when test="b:LCID='0' or b:LCID='' or not(b:LCID)">
  4145.                                       <xsl:value-of select="/*/b:Locals/b:DefaultLCID"/>
  4146.                                     </xsl:when>
  4147.                                     <xsl:otherwise>
  4148.                                       <xsl:value-of select="b:LCID"/>
  4149.                                     </xsl:otherwise>
  4150.                                   </xsl:choose>
  4151.                                 </xsl:variable>
  4152.                                 <xsl:attribute name="lang">
  4153.                                     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$LCID]/@Culture"/>
  4154.                                 </xsl:attribute>
  4155.                                 <xsl:attribute name="dir">
  4156.                                     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$LCID]/b:Properties/b:Direction"/>
  4157.                                 </xsl:attribute>
  4158.                                 <xsl:attribute name="class">
  4159.                                     <xsl:value-of select="'MsoBibliography'"/>
  4160.                                 </xsl:attribute>
  4161.                                 
  4162.                             
  4163.  
  4164.                                 
  4165.                                 <xsl:variable name="prevBook">
  4166.                                     <xsl:value-of select="position()-1"/>
  4167.                                 </xsl:variable>
  4168.  
  4169.                                 <xsl:variable name="cMaxAllow">
  4170.                                     <xsl:call-template name="maxAuthor"/>
  4171.                                 </xsl:variable>
  4172.  
  4173.  
  4174.                                 
  4175.                                 <xsl:variable name ="NonEmptySectionsCount">
  4176.                                     <xsl:call-template name ="getNonEmptySectionsCount"/>
  4177.                                 </xsl:variable>
  4178.  
  4179.                                 
  4180.                                 <xsl:variable name ="SectionsCount">
  4181.                                     <xsl:call-template name="getSectionsCount"/>
  4182.                                 </xsl:variable>
  4183.  
  4184.                                 
  4185.                                 <xsl:variable name ="AllPersonsCount">
  4186.                                     <xsl:call-template name="getAllPersonsCount"/>
  4187.                                 </xsl:variable>
  4188.  
  4189.                                 
  4190.                                 <xsl:variable name ="EtAlSectionsCount">
  4191.                                     <xsl:call-template name="getEtAlSectionsCount"/>
  4192.                                 </xsl:variable>
  4193.  
  4194.                                 
  4195.                                 <xsl:variable name="MainAuthors">
  4196.                                     <xsl:call-template name="formatMainAuthor"/>
  4197.                                 </xsl:variable>
  4198.  
  4199.                                 
  4200.                                 <xsl:variable name="Authors">
  4201.                                     <xsl:if test="b:Author/b:Main != b:Author/b:Author ">
  4202.                                         <xsl:call-template name="formatAuthor"/>
  4203.                                     </xsl:if>
  4204.                                 </xsl:variable>
  4205.  
  4206.                                 
  4207.                                 <xsl:variable name="Editors">
  4208.                                     <xsl:if test="b:Author/b:Main != b:Author/b:Editor">
  4209.                                         <xsl:call-template name="formatEditor"/>
  4210.                                     </xsl:if>
  4211.                                 </xsl:variable>
  4212.  
  4213.                                 
  4214.                                 <xsl:variable name="Translators">
  4215.                                     <xsl:if test="b:Author/b:Main != b:Author/b:Translator">
  4216.                                         <xsl:call-template name="formatTranslator"/>
  4217.                                     </xsl:if>
  4218.                                 </xsl:variable>
  4219.  
  4220.                                 <xsl:variable name = "Artists">
  4221.                                     <xsl:if test="b:Author/b:Main != b:Author/b:Artist">
  4222.                                         <xsl:call-template name="formatArtist"/>
  4223.                                     </xsl:if>
  4224.                                 </xsl:variable>
  4225.  
  4226.                                 <xsl:variable name = "Composers">
  4227.                                     <xsl:if test="b:Author/b:Main != b:Author/b:Composer">
  4228.                                         <xsl:call-template name="formatComposer"/>
  4229.                                     </xsl:if>
  4230.                                 </xsl:variable>
  4231.  
  4232.                                 <xsl:variable name ="Conductors">
  4233.                                     <xsl:if test="b:Author/b:Main != b:Author/b:Conductor">
  4234.                                         <xsl:call-template name="formatConductor"/>
  4235.                                     </xsl:if>
  4236.                                 </xsl:variable>
  4237.  
  4238.                                 <xsl:variable name="Performers">
  4239.                                     <xsl:if test="b:Author/b:Main != b:Author/b:Performer">
  4240.                                         <xsl:call-template name="formatPerformer"/>
  4241.                                     </xsl:if>
  4242.                                 </xsl:variable>
  4243.  
  4244.                                 <xsl:variable name="Writers">
  4245.                                     <xsl:if test="b:Author/b:Main != b:Author/b:Writer">
  4246.                                         <xsl:call-template name="formatWriter"/>
  4247.                                     </xsl:if>
  4248.                                 </xsl:variable>
  4249.  
  4250.                                 <xsl:variable name ="Directors">
  4251.                                     <xsl:if test="b:Author/b:Main != b:Author/b:Director">
  4252.                                         <xsl:call-template name="formatDirector"/>
  4253.                                     </xsl:if>
  4254.                                 </xsl:variable>
  4255.  
  4256.                                 <xsl:variable name ="ProducerNames">
  4257.                                     <xsl:if test="b:Author/b:Main != b:Author/b:ProducerName">
  4258.                                         <xsl:call-template name ="formatProducerName"/>
  4259.                                     </xsl:if>
  4260.                                 </xsl:variable>
  4261.  
  4262.                                 <xsl:variable name ="Interviewees">
  4263.                                     <xsl:if test="b:Author/b:Main != b:Author/b:Interviewee">
  4264.                                         <xsl:call-template name="formatInterviewee"/>
  4265.                                     </xsl:if>
  4266.                                 </xsl:variable>
  4267.  
  4268.                                 <xsl:variable name ="Compilers">
  4269.                                     <xsl:if test="b:Author/b:Main != b:Author/b:Compiler">
  4270.                                         <xsl:call-template name ="formatCompiler"/>
  4271.                                     </xsl:if>
  4272.                                 </xsl:variable>
  4273.  
  4274.                                 <xsl:variable name ="Inventors">
  4275.                                     <xsl:if test="b:Author/b:Main != b:Author/b:Inventor">
  4276.                                         <xsl:call-template name="formatInventor"/>
  4277.                                     </xsl:if>
  4278.                                 </xsl:variable>
  4279.  
  4280.                                 <xsl:variable name="Reporters">
  4281.                                     <xsl:if test="string-length(b:Reporter)">
  4282.                                         <xsl:value-of select ="b:Reporter"/>
  4283.                                     </xsl:if>
  4284.                                 </xsl:variable>
  4285.  
  4286.                                 <xsl:variable name="Counsels">
  4287.                                     <xsl:if test="b:Author/b:Main != b:Author/b:Counsel">
  4288.                                         <xsl:call-template name="formatCounsel"/>
  4289.                                     </xsl:if>
  4290.                                 </xsl:variable>
  4291.  
  4292.                                 <xsl:variable name ="BookMainAuthors">
  4293.                                     <xsl:if test="b:Author/b:Main != b:Author/b:BookAuthor">
  4294.                                         <xsl:if test="string-length(b:Author/b:BookAuthor/b:NameList/b:Person/b:Last)>0">
  4295.                                             
  4296.                                             
  4297.                                             <xsl:call-template name="templ_str_BookAuthorShortUnCap"/>
  4298.                                             <xsl:call-template name="templ_prop_Space" />
  4299.                                             <xsl:for-each select="b:Author/b:BookAuthor">
  4300.                                                 <xsl:call-template name="formatPersons"/>
  4301.                                             </xsl:for-each>
  4302.                                         </xsl:if>
  4303.                                     </xsl:if>
  4304.                                 </xsl:variable>
  4305.  
  4306.                                 <xsl:variable name="prop_APA_Hyphens2">
  4307.                                   <xsl:call-template name="templ_prop_Hyphens"/>
  4308.                                 </xsl:variable>
  4309.  
  4310.                                 <xsl:variable name="volume" select="b:Volume"/>
  4311.  
  4312.                                 <xsl:variable name="volVolume">
  4313.                                     <xsl:if test="string-length($volume) > 0">
  4314.                                         <xsl:call-template name="StringFormat">
  4315.                                             <xsl:with-param name="format">
  4316.                                               <xsl:choose>
  4317.                                                 <xsl:when test="not(string-length($volume)=string-length(translate($volume, ',', '')))">
  4318.                                                   <xsl:call-template name="templ_str_VolumesShortCap"/>
  4319.                                                 </xsl:when>
  4320.                                                 <xsl:when test="string-length($volume)=string-length(translate($volume, $prop_APA_Hyphens2, ''))">
  4321.                                                   <xsl:call-template name="templ_str_VolumeShortCap"/>
  4322.                                                 </xsl:when>
  4323.                                                 <xsl:otherwise>
  4324.                                                   <xsl:call-template name="templ_str_VolumesShortCap"/>
  4325.                                                 </xsl:otherwise>
  4326.                                               </xsl:choose>
  4327.                                             </xsl:with-param>
  4328.                                             <xsl:with-param name="parameters">
  4329.                                                 <t:params>
  4330.                                                     <t:param>
  4331.                                                         <xsl:value-of select="$volume"/>
  4332.                                                     </t:param>
  4333.                                                 </t:params>
  4334.                                             </xsl:with-param>
  4335.                                         </xsl:call-template>
  4336.                                     </xsl:if>
  4337.                                 </xsl:variable>
  4338.  
  4339.                                 <xsl:variable name ="CityPublisherYearHyphenSection">
  4340.                                     <xsl:call-template name ="formatHyphenSection">
  4341.                                         <xsl:with-param name ="FirstElement">
  4342.                                             <xsl:call-template name ="formatLocationElement">
  4343.                                                 <xsl:with-param name ="Location" select="b:City"/>
  4344.                                                 <xsl:with-param name ="Publisher" select="b:Publisher"/>
  4345.                                             </xsl:call-template>
  4346.                                         </xsl:with-param>
  4347.                                         <xsl:with-param name ="SecondElement" select ="b:Year"/>
  4348.                                     </xsl:call-template>
  4349.                                 </xsl:variable>
  4350.  
  4351.                                 <xsl:variable name ="VolumeNumberVolumesHyphenSection">
  4352.                                     <xsl:call-template name ="formatHyphenSection">
  4353.                                         <xsl:with-param name ="FirstElement">
  4354.                                             <xsl:call-template name ="formatColonElement">
  4355.                                                 <xsl:with-param name ="FirstParam" select ="b:Edition"/>
  4356.                                                 <xsl:with-param name ="SecondParam" select ="$volVolume"/>
  4357.                                                 <xsl:with-param name ="ThirdParam" select ="b:NumberVolumes"/>
  4358.                                             </xsl:call-template>
  4359.                                         </xsl:with-param>
  4360.                                     </xsl:call-template>
  4361.                                 </xsl:variable>
  4362.  
  4363.                                 <xsl:variable name="pages" select="b:Pages"/>
  4364.  
  4365.                                 <xsl:variable name="prop_APA_Hyphens">
  4366.                                   <xsl:call-template name="templ_prop_Hyphens"/>
  4367.                                 </xsl:variable>
  4368.  
  4369.                                 <xsl:variable name ="Pages">
  4370.                                   <xsl:if test="string-length($pages)>0">
  4371.                                     <xsl:choose>
  4372.                                       <xsl:when test="not(string-length($pages)=string-length(translate($pages, ',', '')))">
  4373.                                         <xsl:call-template name="templ_str_PagesCountinousShort"/>
  4374.                                       </xsl:when>
  4375.                                       <xsl:when test="string-length($pages)=string-length(translate($pages, $prop_APA_Hyphens, ''))">
  4376.                                         <xsl:call-template name="templ_str_PageShort"/>
  4377.                                       </xsl:when>
  4378.                                       <xsl:otherwise>
  4379.                                         <xsl:call-template name="templ_str_PagesCountinousShort"/>
  4380.                                       </xsl:otherwise>
  4381.                                     </xsl:choose>
  4382.                                     <xsl:call-template name="templ_prop_Space"/>
  4383.                                     <xsl:value-of select="$pages"/>
  4384.                                   </xsl:if>
  4385.                                 </xsl:variable>
  4386.                                 
  4387.                                 <xsl:variable name ="EditionVolumeNumberVolumesPagesHyphenSection">
  4388.                                     <xsl:call-template name ="formatHyphenSection">
  4389.                                         <xsl:with-param name ="FirstElement">
  4390.                                             <xsl:call-template name ="formatColonElement">
  4391.                                                 <xsl:with-param name ="FirstParam" select ="b:Edition"/>
  4392.                                                 <xsl:with-param name ="SecondParam" select ="$volVolume"/>
  4393.                                                 <xsl:with-param name ="ThirdParam" select ="b:NumberVolumes"/>
  4394.                                                 <xsl:with-param name ="FourthParam" select ="$Pages"/>
  4395.                                             </xsl:call-template>
  4396.                                         </xsl:with-param>
  4397.                                     </xsl:call-template>
  4398.                                 </xsl:variable>
  4399.  
  4400.                                 <xsl:variable name ="CityPublisherDateMonthYearHyphenSection">
  4401.                                     <xsl:call-template name ="formatHyphenSection">
  4402.                                         <xsl:with-param name ="FirstElement">
  4403.                                             <xsl:call-template name ="formatLocationElement">
  4404.                                                 <xsl:with-param name ="Location" select="b:City"/>
  4405.                                                 <xsl:with-param name ="Publisher" select="b:Publisher"/>
  4406.                                             </xsl:call-template>
  4407.                                         </xsl:with-param>
  4408.                                         <xsl:with-param name ="SecondElement">
  4409.                                             <xsl:call-template name ="formatDateMonthYear"/>
  4410.                                         </xsl:with-param>
  4411.                                     </xsl:call-template>
  4412.                                 </xsl:variable>
  4413.  
  4414.                                 <xsl:variable name ="CityBroadcasterStationPublisherDateMonthYearHyphenSection">
  4415.                                     <xsl:call-template name ="formatHyphenSection">
  4416.                                         <xsl:with-param name ="FirstElement">
  4417.                                             <xsl:call-template name ="formatLocationElement">
  4418.                                                 <xsl:with-param name ="Location" select="b:City"/>
  4419.                                                 <xsl:with-param name ="Publisher">
  4420.                                                     <xsl:value-of select="b:Broadcaster"/>
  4421.                                                     <xsl:if test="string-length(b:Broadcaster)>0 and (string-length(b:Station)>0 or string-length(b:Publisher)>0)">
  4422.                             <xsl:call-template name="templ_prop_NonBreakingSpace"/>
  4423.                             <xsl:call-template name="templ_prop_GroupSeparator"/>                                                    
  4424.                                                     </xsl:if>
  4425.                                                     <xsl:value-of select="b:Station"/>
  4426.                                                     <xsl:if test="string-length(b:Station)>0 and string-length(b:Publisher)>0">
  4427.                             <xsl:call-template name="templ_prop_NonBreakingSpace"/>
  4428.                             <xsl:call-template name="templ_prop_GroupSeparator"/>                                                    
  4429.                                                     </xsl:if>
  4430.                                                     <xsl:value-of select="b:Publisher"/>
  4431.                                                 </xsl:with-param>
  4432.                                             </xsl:call-template>
  4433.                                         </xsl:with-param>
  4434.                                         <xsl:with-param name ="SecondElement">
  4435.                                             <xsl:call-template name ="formatDateMonthYear"/>
  4436.                                         </xsl:with-param>
  4437.                                     </xsl:call-template>
  4438.                                 </xsl:variable>
  4439.  
  4440.                                 <xsl:variable name ="IssueVolumeHyphenSection">
  4441.                                     <xsl:call-template name ="formatHyphenSection">
  4442.                                         <xsl:with-param name ="FirstElement">
  4443.                                             <xsl:call-template name ="formatColonElement">
  4444.                                                 <xsl:with-param name ="FirstParam" select ="b:Issue"/>
  4445.                                                 <xsl:with-param name ="SecondParam" select ="$volVolume"/>
  4446.                                             </xsl:call-template>
  4447.                                         </xsl:with-param>
  4448.                                     </xsl:call-template>
  4449.                                 </xsl:variable>
  4450.  
  4451.                                 <xsl:variable name ="PagesHyphenSection">
  4452.                                     <xsl:call-template name ="formatHyphenSection">
  4453.                                         <xsl:with-param name ="FirstElement" select ="$Pages"/>
  4454.                                     </xsl:call-template>
  4455.                                 </xsl:variable>
  4456.  
  4457.                                 <xsl:variable name ="InstitutionHyphenSection">
  4458.                                     <xsl:call-template name ="formatHyphenSection">
  4459.                                         <xsl:with-param name ="FirstElement" select ="b:Institution"/>
  4460.                                     </xsl:call-template>
  4461.                                 </xsl:variable>
  4462.  
  4463.                                 <xsl:variable name ="EditionHyphenSection">
  4464.                                     <xsl:call-template name ="formatHyphenSection">
  4465.                                         <xsl:with-param name ="FirstElement" select ="b:Edition"/>
  4466.                                     </xsl:call-template>
  4467.                                 </xsl:variable>
  4468.  
  4469.                                 <xsl:variable name ="VolumeHyphenSection">
  4470.                                     <xsl:call-template name ="formatHyphenSection">
  4471.                                         <xsl:with-param name ="FirstElement" select ="$volVolume"/>
  4472.                                     </xsl:call-template>
  4473.                                 </xsl:variable>
  4474.  
  4475.                                 <xsl:variable name ="CityInstitutionHyphenSection">
  4476.                                     <xsl:call-template name ="formatHyphenSection">
  4477.                                         <xsl:with-param name ="FirstElement">
  4478.                                             <xsl:call-template name ="formatLocationElement">
  4479.                                                 <xsl:with-param name ="Location" select="b:City"/>
  4480.                                                 <xsl:with-param name ="Publisher" select="b:Institution"/>
  4481.                                             </xsl:call-template>
  4482.                                         </xsl:with-param>
  4483.                                     </xsl:call-template>
  4484.                                 </xsl:variable>
  4485.  
  4486.                                 <xsl:variable name ="CityPublisherHyphenSection">
  4487.                                     <xsl:call-template name ="formatHyphenSection">
  4488.                                         <xsl:with-param name ="FirstElement">
  4489.                                             <xsl:call-template name ="formatLocationElement">
  4490.                                                 <xsl:with-param name ="Location" select="b:City"/>
  4491.                                                 <xsl:with-param name ="Publisher" select="b:Publisher"/>
  4492.                                             </xsl:call-template>
  4493.                                         </xsl:with-param>
  4494.                                     </xsl:call-template>
  4495.                                 </xsl:variable>
  4496.  
  4497.                                 <xsl:variable name ="CityProductionCompanyYearHyphenSection">
  4498.                                     <xsl:call-template name ="formatHyphenSection">
  4499.                                         <xsl:with-param name ="FirstElement">
  4500.                                             <xsl:call-template name ="formatLocationElement">
  4501.                                                 <xsl:with-param name ="Location" select="b:City"/>
  4502.                                                 <xsl:with-param name ="Publisher" select="b:ProductionCompany"/>
  4503.                                             </xsl:call-template>
  4504.                                         </xsl:with-param>
  4505.                                         <xsl:with-param name ="SecondElement" select ="b:Year"/>
  4506.                                     </xsl:call-template>
  4507.                                 </xsl:variable>
  4508.  
  4509.                                 <xsl:variable name ="TheaterCityProductionCompanyDateMonthYearHyphenSection">
  4510.                                     
  4511.                                     <xsl:variable name ='TheaterCity'>
  4512.                                         <xsl:value-of select ='b:Theater'/>
  4513.                                         <xsl:if test ='string-length(b:Theater)>0 and string-length(b:City)>0'>
  4514.                                             
  4515.                                             
  4516.                                             
  4517.                                             
  4518.                                             
  4519.                                             <xsl:value-of select="$constGost_TheaterCitySeparator"/>
  4520.                                         </xsl:if>
  4521.                                         <xsl:value-of select ='b:City'/>
  4522.                                     </xsl:variable>
  4523.  
  4524.                                     <xsl:call-template name ="formatHyphenSection">
  4525.                                         <xsl:with-param name ="FirstElement">
  4526.                                             <xsl:call-template name ="formatLocationElement">
  4527.                                                 <xsl:with-param name ="Location" select="$TheaterCity"/>
  4528.                                                 <xsl:with-param name ="Publisher" select="b:ProductionCompany"/>
  4529.                                             </xsl:call-template>
  4530.                                         </xsl:with-param>
  4531.                                         <xsl:with-param name ="SecondElement">
  4532.                                             <xsl:call-template name ="formatDateMonthYear"/>
  4533.                                         </xsl:with-param>
  4534.                                     </xsl:call-template>
  4535.                                 </xsl:variable>
  4536.  
  4537.                                 <xsl:variable name ="ProductionCompanyDateMonthYearHyphenSection">
  4538.                                     <xsl:call-template name ="formatHyphenSection">
  4539.                                         <xsl:with-param name ="FirstElement" select ="b:ProductionCompany"/>
  4540.                                         <xsl:with-param name ="SecondElement">
  4541.                                             <xsl:call-template name ="formatDateMonthYear"/>
  4542.                                         </xsl:with-param>
  4543.                                     </xsl:call-template>
  4544.                                 </xsl:variable>
  4545.  
  4546.                                 <xsl:variable name ="URLHyphenSection">
  4547.                                     <xsl:call-template name ="formatHyphenSection">
  4548.                                         <xsl:with-param name ="FirstElement" select ="b:URL"/>
  4549.                                     </xsl:call-template>
  4550.                                 </xsl:variable>
  4551.  
  4552.                                 <xsl:variable name ="VersionHyphenSection">
  4553.                                     <xsl:call-template name ="formatHyphenSection">
  4554.                                         <xsl:with-param name ="FirstElement" select ="b:Version"/>
  4555.                                     </xsl:call-template>
  4556.                                 </xsl:variable>
  4557.  
  4558.                                 <xsl:variable name ="DateMonthYearHyphenSection">
  4559.                                     <xsl:call-template name ="formatHyphenSection">
  4560.                                         <xsl:with-param name ="FirstElement">
  4561.                                             <xsl:call-template name ="formatDateMonthYear"/>
  4562.                                         </xsl:with-param>
  4563.                                     </xsl:call-template>
  4564.                                 </xsl:variable>
  4565.  
  4566.                                 <xsl:variable name ="SLProductionCompanyDistributorYearHyphenSection">
  4567.                                     <xsl:call-template name ="formatHyphenSection">
  4568.                                         <xsl:with-param name ="FirstElement">
  4569.                                             <xsl:call-template name ="formatLocationElement">
  4570.                                                 <xsl:with-param name ="Location">
  4571.                                                     
  4572.                                                     
  4573.                                                 </xsl:with-param>
  4574.                                                 
  4575.                                                 <xsl:with-param name ="Publisher" select ="b:ProductionCompany"/>
  4576.                                                 <xsl:with-param name ="Distributor" select="b:Distributor"/>
  4577.                                                 <xsl:with-param name ="noSL">yes</xsl:with-param>
  4578.                                             </xsl:call-template>
  4579.                                         </xsl:with-param>
  4580.                                         <xsl:with-param name ="SecondElement" select ="b:Year"/>
  4581.                                     </xsl:call-template>
  4582.                                 </xsl:variable>
  4583.  
  4584.                                 <xsl:variable name ="CountryRegionDateMonthYearHyphenSection">
  4585.                                     <xsl:call-template name ="formatHyphenSection">
  4586.                                         <xsl:with-param name ="FirstElement" select ="b:CountryRegion"/>
  4587.                                         <xsl:with-param name ="SecondElement">
  4588.                                             <xsl:call-template name ="formatDateMonthYear"></xsl:call-template>
  4589.                                         </xsl:with-param>
  4590.                                     </xsl:call-template>
  4591.                                 </xsl:variable>
  4592.  
  4593.                                 <xsl:variable name ="CityPublisherProductionCompanyDateMonthYearHyphenSection">
  4594.                                     
  4595.                                     <xsl:variable name ='PublisherProductionCompany'>
  4596.                                         <xsl:value-of select ='b:Publisher'/>
  4597.                                         <xsl:if test ='string-length(b:Publisher)>0 and string-length(b:ProductionCompany)>0'>
  4598.                                             
  4599.                                             
  4600.                                             
  4601.                                             
  4602.                                             
  4603.                                             <xsl:value-of select="$constGost_PublisherProductionCompanySeparator"/>
  4604.                                         </xsl:if>
  4605.                                         <xsl:value-of select ='b:ProductionCompany'/>
  4606.                                     </xsl:variable>
  4607.  
  4608.                                     <xsl:call-template name ="formatHyphenSection">
  4609.                                         <xsl:with-param name ="FirstElement">
  4610.                                             <xsl:call-template name ="formatLocationElement">
  4611.                                                 <xsl:with-param name ="Location" select ="b:City"/>
  4612.                                                 <xsl:with-param name ="Publisher" select ="$PublisherProductionCompany"/>
  4613.                                             </xsl:call-template>
  4614.                                         </xsl:with-param>
  4615.                                         <xsl:with-param name ="SecondElement">
  4616.                                             <xsl:call-template name ="formatDateMonthYear"></xsl:call-template>
  4617.                                         </xsl:with-param>
  4618.                                     </xsl:call-template>
  4619.                                 </xsl:variable>
  4620.  
  4621.  
  4622.                                 <xsl:variable name ="CityCourtDateMonthYearHyphenSection">
  4623.                                     <xsl:call-template name ="formatHyphenSection">
  4624.                                         <xsl:with-param name ="FirstElement">
  4625.                                             <xsl:call-template name ="formatLocationElement">
  4626.                                                 <xsl:with-param name ="Location" select ="b:City"/>
  4627.                                                 <xsl:with-param name ="Publisher" select ="b:Court"/>
  4628.                                             </xsl:call-template>
  4629.                                         </xsl:with-param>
  4630.                                         <xsl:with-param name ="SecondElement">
  4631.                                             <xsl:call-template name ="formatDateMonthYear"></xsl:call-template>
  4632.                                         </xsl:with-param>
  4633.                                     </xsl:call-template>
  4634.                                 </xsl:variable>
  4635.  
  4636.                                 <xsl:variable name ="DateMonthYearAccessedHyphenSection">
  4637.                                     <xsl:call-template name ="formatHyphenSection">
  4638.                                         <xsl:with-param name ="FirstElement">
  4639.                                             <xsl:call-template name ="formatDateMonthYearAccessed" />
  4640.                                         </xsl:with-param>
  4641.                                     </xsl:call-template>
  4642.                                 </xsl:variable>
  4643.  
  4644.                                 <xsl:variable name ="MainSectionsCount">
  4645.                                     <xsl:choose>
  4646.                                         <xsl:when test ="count(b:Author/b:Main/b:NameList/b:Person) >0 or string-length(b:Author/b:Main/b:Corporate)>0">
  4647.                                             <xsl:value-of select="1"/>
  4648.                                         </xsl:when>
  4649.                                         <xsl:otherwise>
  4650.                                             <xsl:value-of select="0"/>
  4651.                                         </xsl:otherwise>
  4652.                                     </xsl:choose>
  4653.                                 </xsl:variable>
  4654.                                 
  4655.  
  4656.                                 <xsl:variable name = "srcText">
  4657.  
  4658.  
  4659.  
  4660.                                 <b>
  4661.                                     <xsl:value-of select="$MainAuthors"/>
  4662.                                     
  4663.                                 </b>
  4664.  
  4665.                                 
  4666.                                 <xsl:call-template name="templ_prop_Space" />
  4667.                                 
  4668.                                 
  4669.  
  4670.                                 <xsl:if test="string-length(b:TitlePrefix) > 0">
  4671.                                     <xsl:value-of select="b:TitlePrefix"/>
  4672.                                     
  4673.                                     
  4674.                                 </xsl:if>
  4675.                                 <xsl:value-of select="b:Title"/>
  4676.  
  4677.                                 
  4678.                                 
  4679.                                 <xsl:variable name ="SourceType">
  4680.                                     <xsl:value-of select="b:SourceType"/>
  4681.                                 </xsl:variable>
  4682.  
  4683.                                 <xsl:choose>
  4684.                                     <xsl:when test="string-length($SourceType)=0">
  4685.                                     </xsl:when>
  4686.                                     <xsl:when test="b:SourceType='InternetSite' or b:SourceType='DocumentFromInternetSite'">
  4687.                                         <xsl:value-of select="$constGost_SourceTypeOpen"/>
  4688.                                         <xsl:call-template name="templ_str_OnlineCap"/>
  4689.                                         <xsl:value-of select="$constGost_SourceTypeClose"/>
  4690.                                     </xsl:when>
  4691.                                     <xsl:when test="b:SourceType='Misc' or b:SourceType='ElectronicSource' or b:SourceType='Film'">
  4692.                                         <xsl:if test="string-length(b:Medium) > 0">
  4693.                                             <xsl:value-of select="$constGost_SourceTypeOpen"/>
  4694.                                             <xsl:value-of select="b:Medium"/>
  4695.                                             <xsl:value-of select="$constGost_SourceTypeClose"/>
  4696.                                         </xsl:if>
  4697.                                     </xsl:when>
  4698.                                     <xsl:otherwise>
  4699.                                         <xsl:value-of select="$constGost_SourceTypeOpen"/>
  4700.                                         <xsl:value-of select="/b:Bibliography/b:Locals/b:Local[@LCID=$LCID]/b:SourceNames/*[local-name()=$SourceType]"/>
  4701.                                         <xsl:value-of select="$constGost_SourceTypeClose"/>
  4702.                                     </xsl:otherwise>
  4703.                                 </xsl:choose>
  4704.                                 
  4705.                                 
  4706.                                 
  4707.  
  4708.                 <xsl:if test = "b:SourceType='ElectronicSource' and string-length(b:PublicationTitle) >0">
  4709.                   
  4710.                   
  4711.                   
  4712.                   <xsl:value-of select="$constGost_ShortTitleHeader"/>
  4713.                   <xsl:value-of select="b:PublicationTitle" />
  4714.                 </xsl:if>
  4715.  
  4716.                                 <xsl:if test = "b:SourceType='Case' and string-length(b:Reporter) >0">
  4717.                                     <xsl:value-of select="$constGost_ShortTitleHeader"/>
  4718.                                     <xsl:value-of select="b:Reporter" />
  4719.                                 </xsl:if>
  4720.  
  4721.                 
  4722.                                 <xsl:if test = "string-length(b:ShortTitle) >0">
  4723.                                     
  4724.                                     
  4725.                                     
  4726.                                     <xsl:value-of select="$constGost_ShortTitleHeader"/>
  4727.                                     <xsl:value-of select="b:ShortTitle" />
  4728.                                 </xsl:if>
  4729.  
  4730.                                 
  4731.                                 <xsl:if test ="b:SourceType='Book'">
  4732.                                      <xsl:call-template name ="formatPrimaryResponsibilities">
  4733.                                         <xsl:with-param name ="NonEmptyPrimSectionsCount">
  4734.                                             <xsl:call-template name ="getNonEmpty_Book_PrimSectionsCount"/>
  4735.                                         </xsl:with-param>
  4736.                                         <xsl:with-param name ="MainSectionsCount" select ="$MainSectionsCount"/>
  4737.                                     </xsl:call-template>
  4738.                                     <xsl:call-template name ="formatSecondaryResponsibilities">
  4739.                                         <xsl:with-param name ="FirstElement" select ="$Editors"/>
  4740.                                         <xsl:with-param name ='SecondElement' select ='$Translators'/>
  4741.                                     </xsl:call-template>
  4742.  
  4743.                                     <xsl:value-of select ="$CityPublisherYearHyphenSection"/>
  4744.                                     <xsl:value-of select ="$EditionVolumeNumberVolumesPagesHyphenSection"/>
  4745.                                 </xsl:if>
  4746.                                 
  4747.  
  4748.                                 
  4749.                                 <xsl:if test ="b:SourceType='BookSection'">
  4750.                                     <xsl:call-template name ="formatPrimaryResponsibilities">
  4751.                                         <xsl:with-param name ="NonEmptyPrimSectionsCount">
  4752.                                             <xsl:call-template name ="getNonEmpty_BookSection_PrimSectionsCount"/>
  4753.                                         </xsl:with-param>
  4754.                                         <xsl:with-param name ="MainSectionsCount" select ="$MainSectionsCount"/>
  4755.                                     </xsl:call-template>
  4756.  
  4757.                                     <xsl:call-template name ="formatSecondaryResponsibilities">
  4758.                                         <xsl:with-param name ="CollectionName" select ="b:BookTitle"/>
  4759.                                         <xsl:with-param name ="FirstElement" select ="$BookMainAuthors"/>
  4760.                                         <xsl:with-param name ='SecondElement' select ='$Editors'/>
  4761.                                         <xsl:with-param name ='ThirdElement' select ='$Translators'/>
  4762.                                     </xsl:call-template>
  4763.  
  4764.                                     <xsl:value-of select ="$CityPublisherYearHyphenSection"/>
  4765.                                     <xsl:value-of select ="$VolumeNumberVolumesHyphenSection"/>
  4766.                                 </xsl:if>
  4767.  
  4768.                                 <xsl:if test ="b:SourceType='JournalArticle'">
  4769.  
  4770.                                     <xsl:call-template name ="formatPrimaryResponsibilities">
  4771.                                         <xsl:with-param name ="NonEmptyPrimSectionsCount">
  4772.                                             <xsl:call-template name ="getNonEmpty_JournalArticle_PrimSectionsCount"/>
  4773.                                         </xsl:with-param>
  4774.                                         <xsl:with-param name ="MainSectionsCount" select ="$MainSectionsCount"/>
  4775.                                     </xsl:call-template>
  4776.  
  4777.                                     <xsl:call-template name ="formatSecondaryResponsibilities">
  4778.                                         <xsl:with-param name ="CollectionName" select ="b:JournalName"/>
  4779.                                         <xsl:with-param name ="FirstElement" select ="$Editors"/>
  4780.                                     </xsl:call-template>
  4781.  
  4782.                                     <xsl:value-of select ="$CityPublisherDateMonthYearHyphenSection"/>
  4783.                                     <xsl:value-of select ="$IssueVolumeHyphenSection"/>
  4784.                                     <xsl:value-of select ="$PagesHyphenSection"/>
  4785.                                 </xsl:if>
  4786.  
  4787.  
  4788.                                 <xsl:if test ="b:SourceType='ArticleInAPeriodical'">
  4789.  
  4790.                                     <xsl:call-template name ="formatPrimaryResponsibilities">
  4791.                                         <xsl:with-param name ="NonEmptyPrimSectionsCount">
  4792.                                             <xsl:call-template name ="getNonEmpty_ArticleInAPeriodical_PrimSectionsCount"/>
  4793.                                         </xsl:with-param>
  4794.                                         <xsl:with-param name ="MainSectionsCount" select ="$MainSectionsCount"/>
  4795.                                     </xsl:call-template>
  4796.  
  4797.                                     <xsl:call-template name ="formatSecondaryResponsibilities">
  4798.                                         <xsl:with-param name ="CollectionName" select ="b:PeriodicalTitle"/>
  4799.                                         <xsl:with-param name ="FirstElement" select ="$Editors"/>
  4800.                                     </xsl:call-template>
  4801.  
  4802.                                     <xsl:value-of select ="$CityPublisherDateMonthYearHyphenSection"/>
  4803.                                     <xsl:value-of select ="$EditionHyphenSection"/>
  4804.                                     <xsl:value-of select ="$IssueVolumeHyphenSection"/>
  4805.                                     <xsl:value-of select ="$PagesHyphenSection"/>
  4806.                                 </xsl:if>
  4807.  
  4808.  
  4809.                                 <xsl:if test="b:SourceType='ConferenceProceedings'">
  4810.  
  4811.                                     <xsl:call-template name ="formatPrimaryResponsibilities">
  4812.                                         <xsl:with-param name ="NonEmptyPrimSectionsCount">
  4813.                                             <xsl:call-template name ="getNonEmpty_ConferenceProceedings_PrimSectionsCount"/>
  4814.                                         </xsl:with-param>
  4815.                                         <xsl:with-param name ="MainSectionsCount" select ="$MainSectionsCount"/>
  4816.                                     </xsl:call-template>
  4817.  
  4818.                                     <xsl:call-template name ="formatSecondaryResponsibilities">
  4819.                                         <xsl:with-param name ="CollectionName" select ="b:ConferenceName"/>
  4820.                                         <xsl:with-param name ="FirstElement" select ="$Editors"/>
  4821.                                     </xsl:call-template>
  4822.  
  4823.                                     <xsl:value-of select ="$CityPublisherYearHyphenSection"/>
  4824.                                     <xsl:value-of select ="$VolumeHyphenSection"/>
  4825.                                     <xsl:value-of select ="$PagesHyphenSection"/>
  4826.                                 </xsl:if>
  4827.  
  4828.  
  4829.                                 <xsl:if test="b:SourceType='Report'">
  4830.  
  4831.                                     <xsl:if test="string-length(b:ThesisType)>0">
  4832.                                         
  4833.                                         
  4834.                                         
  4835.                                         
  4836.                                         
  4837.                                         <xsl:value-of select="$constGost_ReportTypeHeader"/>
  4838.                                         <xsl:value-of select="b:ThesisType"/>
  4839.                                     </xsl:if>
  4840.  
  4841.                                     <xsl:call-template name ="formatPrimaryResponsibilities">
  4842.                                         <xsl:with-param name ="NonEmptyPrimSectionsCount">
  4843.                                             <xsl:call-template name ="getNonEmpty_Report_PrimSectionsCount"/>
  4844.                                         </xsl:with-param>
  4845.                                         <xsl:with-param name ="MainSectionsCount" select ="$MainSectionsCount"/>
  4846.                                     </xsl:call-template>
  4847.  
  4848.                                     <xsl:variable name = "DepartmentAndInstitution">
  4849.                                         <xsl:call-template name ="format_SemiColonSeparated_Items">
  4850.                                             <xsl:with-param name ="Item1" select ="b:Department"/>
  4851.                                             <xsl:with-param name ="Item2" select ="b:Institution"/>
  4852.                                         </xsl:call-template>
  4853.                                     </xsl:variable>
  4854.  
  4855.                                     <xsl:call-template name ="formatSecondaryResponsibilities">
  4856.                                         <xsl:with-param name ="FirstElement" select ="$DepartmentAndInstitution"/>
  4857.                                     </xsl:call-template>
  4858.  
  4859.                                     <xsl:value-of select ="$CityPublisherYearHyphenSection"/>
  4860.                                     <xsl:value-of select ="$PagesHyphenSection"/>
  4861.                                 </xsl:if>
  4862.  
  4863.  
  4864.                                 <xsl:if test="b:SourceType='SoundRecording'">
  4865.  
  4866.                                     <xsl:if test="string-length(b:Medium)>0">
  4867.                                         
  4868.                                         
  4869.                                         
  4870.                                         
  4871.                                         
  4872.                                         <xsl:value-of select="$constGost_SoundRecordingMediumHeader"/>
  4873.                                         <xsl:value-of select="b:Medium"/>
  4874.                                     </xsl:if>
  4875.  
  4876.                                     <xsl:call-template name ="formatPrimaryResponsibilities">
  4877.                                         <xsl:with-param name ="FirstElement" select ="$Artists"/>
  4878.                                         <xsl:with-param name ="SecondElement" select ="$Composers"/>
  4879.                                         <xsl:with-param name ="NonEmptyPrimSectionsCount">
  4880.                                             <xsl:call-template name ="getNonEmpty_SoundRecording_PrimSectionsCount"/>
  4881.                                         </xsl:with-param>
  4882.                                         <xsl:with-param name ="MainSectionsCount" select ="$MainSectionsCount"/>
  4883.                                     </xsl:call-template>
  4884.  
  4885.                                     <xsl:call-template name ="formatSecondaryResponsibilities">
  4886.                                         <xsl:with-param name ="CollectionName" select ="b:AlbumTitle"/>
  4887.                                         <xsl:with-param name ="FirstElement" select ="$Conductors"/>
  4888.                                         <xsl:with-param name ='SecondElement' select ='$Performers'/>
  4889.                                         <xsl:with-param name ='ThirdElement' select ='$ProducerNames'/>
  4890.                                     </xsl:call-template>
  4891.  
  4892.                                     <xsl:value-of select ="$CityProductionCompanyYearHyphenSection"/>
  4893.                                 </xsl:if>
  4894.  
  4895.  
  4896.                                 <xsl:if test ="b:SourceType='Performance'">
  4897.  
  4898.                                     <xsl:call-template name ="formatPrimaryResponsibilities">
  4899.                                         <xsl:with-param name ="FirstElement" select ="$Writers"/>
  4900.                                         <xsl:with-param name ="SecondElement" select ="$Performers"/>
  4901.                                         <xsl:with-param name ="ThirdElement" select ="$Directors"/>
  4902.                                         <xsl:with-param name ="NonEmptyPrimSectionsCount">
  4903.                                             <xsl:call-template name ="getNonEmpty_Performance_PrimSectionsCount"/>
  4904.                                         </xsl:with-param>
  4905.                                         <xsl:with-param name ="MainSectionsCount" select ="$MainSectionsCount"/>
  4906.                                     </xsl:call-template>
  4907.  
  4908.                                     <xsl:call-template name ="formatSecondaryResponsibilities">
  4909.                                         <xsl:with-param name ="FirstElement" select ="$ProducerNames"/>
  4910.                                     </xsl:call-template>
  4911.  
  4912.                                     <xsl:value-of select ="$TheaterCityProductionCompanyDateMonthYearHyphenSection"/>
  4913.                                 </xsl:if>
  4914.  
  4915.                                 <xsl:if test="b:SourceType='Art'">
  4916.  
  4917.                                     <xsl:call-template name ="formatPrimaryResponsibilities">
  4918.                                         <xsl:with-param name ="FirstElement" select ="$Artists"/>
  4919.                                         <xsl:with-param name ="NonEmptyPrimSectionsCount">
  4920.                                             <xsl:call-template name ="getNonEmpty_Art_PrimSectionsCount"/>
  4921.                                         </xsl:with-param>
  4922.                                         <xsl:with-param name ="MainSectionsCount" select ="$MainSectionsCount"/>
  4923.                                     </xsl:call-template>
  4924.  
  4925.                                     <xsl:value-of select ="$CityInstitutionHyphenSection"/>
  4926.                                 </xsl:if>
  4927.  
  4928.                                 <xsl:if test="b:SourceType='DocumentFromInternetSite'">
  4929.  
  4930.                                     <xsl:call-template name ="formatPrimaryResponsibilities">
  4931.                                         <xsl:with-param name ="NonEmptyPrimSectionsCount">
  4932.                                             <xsl:call-template name ="getNonEmpty_DocumentFromInternetSite_PrimSectionsCount"/>
  4933.                                         </xsl:with-param>
  4934.                                         <xsl:with-param name ="MainSectionsCount" select ="$MainSectionsCount"/>
  4935.                                     </xsl:call-template>
  4936.  
  4937.                                     <xsl:call-template name ='formatSecondaryResponsibilities'>
  4938.                                         <xsl:with-param name ='CollectionName' select ='b:InternetSiteTitle'/>
  4939.                                         <xsl:with-param name ='FirstElement' select ='$Editors'/>
  4940.                                         <xsl:with-param name ='SecondElement' select ='$ProducerNames'/>
  4941.                                     </xsl:call-template>
  4942.                                     <xsl:value-of select ="$ProductionCompanyDateMonthYearHyphenSection"/>
  4943.                                     <xsl:value-of select ="$VersionHyphenSection"/>
  4944.                                     <xsl:value-of select ="$DateMonthYearAccessedHyphenSection"/>
  4945.                                     <xsl:value-of select ="$URLHyphenSection"/>
  4946.                                 </xsl:if>
  4947.  
  4948.                                 <xsl:if test ="b:SourceType = 'InternetSite'">
  4949.  
  4950.                                     <xsl:call-template name ="formatPrimaryResponsibilities">
  4951.                                         <xsl:with-param name ="NonEmptyPrimSectionsCount">
  4952.                                             <xsl:call-template name ="getNonEmpty_InternetSite_PrimSectionsCount"/>
  4953.                                         </xsl:with-param>
  4954.                                         <xsl:with-param name ="MainSectionsCount" select ="$MainSectionsCount"/>
  4955.                                     </xsl:call-template>
  4956.  
  4957.                                     <xsl:call-template name ='formatSecondaryResponsibilities'>
  4958.                                         <xsl:with-param name ='CollectionName' select ='b:InternetSiteTitle'/>
  4959.                                         <xsl:with-param name ="FirstElement" select ="$Editors"/>
  4960.                                         <xsl:with-param name ='SecondElement' select ='$ProducerNames'/>
  4961.                                     </xsl:call-template>
  4962.  
  4963.                                     <xsl:value-of select ="$ProductionCompanyDateMonthYearHyphenSection"/>
  4964.                                     <xsl:value-of select ="$DateMonthYearAccessedHyphenSection"/>
  4965.                                     <xsl:value-of select ="$URLHyphenSection"/>
  4966.                                 </xsl:if>
  4967.  
  4968.  
  4969.  
  4970.  
  4971.                                 <xsl:if test ="b:SourceType='Film'">
  4972.  
  4973.                                     <xsl:call-template name ="formatPrimaryResponsibilities">
  4974.                                         <xsl:with-param name ="FirstElement" select ="$Writers"/>
  4975.                                         <xsl:with-param name ="SecondElement" select ="$Performers"/>
  4976.                                         <xsl:with-param name ="ThirdElement" select ="$Directors"></xsl:with-param>
  4977.                                         <xsl:with-param name ="NonEmptyPrimSectionsCount">
  4978.                                             <xsl:call-template name ="getNonEmpty_Film_PrimSectionsCount"/>
  4979.                                         </xsl:with-param>
  4980.                                         <xsl:with-param name ="MainSectionsCount" select ="$MainSectionsCount"/>
  4981.                                     </xsl:call-template>
  4982.  
  4983.                                     <xsl:call-template name ="formatSecondaryResponsibilities">
  4984.                                         <xsl:with-param name ="FirstElement" select ="$ProducerNames"/>
  4985.                                     </xsl:call-template>
  4986.  
  4987.                                     <xsl:value-of select ="$SLProductionCompanyDistributorYearHyphenSection"/>
  4988.                                 </xsl:if>
  4989.  
  4990.  
  4991.  
  4992.  
  4993.                                 
  4994.                                 <xsl:if test ="b:SourceType='Interview'">
  4995.                   <xsl:call-template name ="formatSecondaryResponsibilities">
  4996.                     <xsl:with-param name ="FirstElement" select ="$Interviewees"/>
  4997.                     <xsl:with-param name ="SecondElement" select ="$Compilers"/>
  4998.                                         <xsl:with-param name ="ThirdElement" select ="$Editors"/>
  4999.                                         <xsl:with-param name ="FourthElement" select ="$Translators"/>
  5000.                                     </xsl:call-template>
  5001.  
  5002.                                     <xsl:value-of select="$CityBroadcasterStationPublisherDateMonthYearHyphenSection"/>
  5003.                                     <xsl:value-of select ="$PagesHyphenSection"/>
  5004.                                 </xsl:if>
  5005.  
  5006.                                 <xsl:if test ="b:SourceType='Patent'">
  5007.                                     <xsl:if test ="string-length(b:PatentNumber) >0">
  5008.                                         
  5009.                                         
  5010.                                         
  5011.                                         
  5012.                                         
  5013.                                         <xsl:value-of select="$constGost_PatentNumberHeader"/>
  5014.                                         <xsl:value-of select ="b:PatentNumber"/>
  5015.                                     </xsl:if>
  5016.                                     <xsl:if test ="string-length(b:Type) >0">
  5017.                                         
  5018.                                         
  5019.                                         
  5020.                                         
  5021.                                         
  5022.                                         <xsl:value-of select="$constGost_PatentTypeHeader"/>
  5023.                                         <xsl:value-of select ="b:Type"/>
  5024.                                     </xsl:if>
  5025.  
  5026.                                     <xsl:call-template name ="formatPrimaryResponsibilities">
  5027.                                         <xsl:with-param name ='FirstElement' select ='$Inventors'/>
  5028.                                         <xsl:with-param name ="NonEmptyPrimSectionsCount">
  5029.                                             <xsl:call-template name ="getNonEmpty_Patent_PrimSectionsCount"/>
  5030.                                         </xsl:with-param>
  5031.                                         <xsl:with-param name ="MainSectionsCount" select ="$MainSectionsCount"/>
  5032.                                     </xsl:call-template>
  5033.                                     
  5034.                                     <xsl:call-template name ="formatSecondaryResponsibilities">
  5035.                                         <xsl:with-param name ="FirstElement" select ="$Editors"/>
  5036.                                         <xsl:with-param name ="SecondElement" select ="$Translators"/>
  5037.                                     </xsl:call-template>
  5038.  
  5039.                                     <xsl:value-of select ="$CountryRegionDateMonthYearHyphenSection"/>
  5040.                                 </xsl:if>
  5041.  
  5042.                                 <xsl:if test ="b:SourceType='ElectronicSource'">
  5043.                                     <xsl:call-template name ='formatPrimaryResponsibilities'>
  5044.                                         <xsl:with-param name ='FirstElement' select ='$Authors'/>
  5045.                                         <xsl:with-param name ="NonEmptyPrimSectionsCount">
  5046.                                             <xsl:call-template name ="getNonEmpty_ElectronicSource_PrimSectionsCount"/>
  5047.                                         </xsl:with-param>
  5048.                                         <xsl:with-param name ="MainSectionsCount" select ="$MainSectionsCount"/>
  5049.                                     </xsl:call-template>
  5050.  
  5051.                                     <xsl:call-template name ='formatSecondaryResponsibilities'>
  5052.                     <xsl:with-param name ='FirstElement' select ='$Editors'/>
  5053.                     <xsl:with-param name ='SecondElement' select ='$ProducerNames'/>
  5054.                     <xsl:with-param name ='ThirdElement' select ='$Translators'/>
  5055.                   </xsl:call-template>
  5056.  
  5057.                                     <xsl:value-of select="$CityPublisherProductionCompanyDateMonthYearHyphenSection"/>
  5058.                                     <xsl:value-of select ="$EditionHyphenSection"/>
  5059.                                     <xsl:value-of select ="$VolumeHyphenSection"/>
  5060.                                 </xsl:if>
  5061.  
  5062.                                 <xsl:if test="b:SourceType='Case'">
  5063.                                     <xsl:if test ="string-length(b:CaseNumber) >0">
  5064.                                         
  5065.                                         
  5066.                                         
  5067.                                         
  5068.                                         
  5069.                                         <xsl:value-of select="$constGost_CaseNumberHeader"/>
  5070.                                         <xsl:value-of select ="b:CaseNumber"/>
  5071.                                     </xsl:if>
  5072.  
  5073.                                     <xsl:if test ="string-length(b:AbbreviatedCaseNumber) >0">
  5074.                                         
  5075.                                         
  5076.                                         
  5077.                                         
  5078.                                         
  5079.                                         <xsl:value-of select="$constGost_AbbreviatedCaseNumberHeader"/>
  5080.                                         <xsl:value-of select ="b:AbbreviatedCaseNumber"/>
  5081.                                     </xsl:if>
  5082.  
  5083.                                     <xsl:call-template name ='formatPrimaryResponsibilities'>
  5084.                                         <xsl:with-param name ='FirstElement' select ='$Authors'/>
  5085.                                         <xsl:with-param name ="NonEmptyPrimSectionsCount">
  5086.                                             <xsl:call-template name ="getNonEmpty_Case_PrimSectionsCount"/>
  5087.                                         </xsl:with-param>
  5088.                                         <xsl:with-param name ="MainSectionsCount" select ="$MainSectionsCount"/>
  5089.                                     </xsl:call-template>
  5090.  
  5091.                                     <xsl:call-template name ='formatSecondaryResponsibilities'>
  5092.                                         <xsl:with-param name ='FirstElement' select ='$Counsels'/>
  5093.                                     </xsl:call-template>
  5094.  
  5095.                                     <xsl:value-of select ="$CityCourtDateMonthYearHyphenSection"/>
  5096.                                 </xsl:if>
  5097.  
  5098.  
  5099.                                 <xsl:if test="b:SourceType='Misc'">
  5100.  
  5101.                                     <xsl:call-template name ='formatPrimaryResponsibilities'>
  5102.                                         <xsl:with-param name ='FirstElement' select ='$Authors'/>
  5103.                                         <xsl:with-param name ="NonEmptyPrimSectionsCount">
  5104.                                             <xsl:call-template name ="getNonEmpty_Misc_PrimSectionsCount"/>
  5105.                                         </xsl:with-param>
  5106.                                         <xsl:with-param name ="MainSectionsCount" select ="$MainSectionsCount"/>
  5107.                                     </xsl:call-template>
  5108.  
  5109.                                     <xsl:call-template name ='formatSecondaryResponsibilities'>
  5110.                                         <xsl:with-param name ='CollectionName' select ='b:PublicationTitle'/>
  5111.                                         <xsl:with-param name ='FirstElement' select ='$Compilers'/>
  5112.                                         <xsl:with-param name ="SecondElement" select ="$Editors"/>
  5113.                                         <xsl:with-param name ='ThirdElement' select ='$Translators'/>
  5114.                                     </xsl:call-template>
  5115.  
  5116.                                     <xsl:value-of select ="$CityPublisherDateMonthYearHyphenSection"/>
  5117.                                     <xsl:value-of select ="$EditionHyphenSection"/>
  5118.                                     <xsl:value-of select ="$VolumeHyphenSection"/>
  5119.                                     <xsl:value-of select ="$PagesHyphenSection"/>
  5120.                                 </xsl:if>
  5121.  
  5122.  
  5123.                                 
  5124.                                 <xsl:call-template name ="formatHyphenSection">
  5125.                                     <xsl:with-param name ="FirstElement" select ="b:Comments"/>
  5126.                                 </xsl:call-template>
  5127.  
  5128.                                 <xsl:call-template name ="formatHyphenSection">
  5129.                                     <xsl:with-param name ="FirstElement" select ="b:StandardNumber"/>
  5130.                                 </xsl:call-template>
  5131.  
  5132.                                 </xsl:variable>
  5133.  
  5134.                                 <xsl:if test = "string-length(normalize-space($srcText)) > 0">
  5135.                                     <xsl:copy-of select = "$srcText" />
  5136.                                     <xsl:call-template name="templ_prop_Dot"/>
  5137.                                 </xsl:if>
  5138.  
  5139.                             </xsl:element>
  5140.                         </xsl:for-each>
  5141.                     </body>
  5142.                 </html>
  5143.             </xsl:when>
  5144.         </xsl:choose>
  5145.     </xsl:template>
  5146.  
  5147.  
  5148.     
  5149.     
  5150.     
  5151.     
  5152.     <xsl:template name="MainContributors">
  5153.         <xsl:param name="SourceRoot"/>
  5154.         <xsl:choose>
  5155.             <xsl:when test="./b:SourceType='Book'">
  5156.                 <xsl:choose>
  5157.                     <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  5158.                     <xsl:when test="string-length(./b:Author/b:Editor)>0">Editor</xsl:when>
  5159.                     <xsl:when test="string-length(./b:Author/b:Translator)>0">Translator</xsl:when>
  5160.                 </xsl:choose>
  5161.             </xsl:when>
  5162.  
  5163.             <xsl:when test="./b:SourceType='BookSection'">
  5164.                 <xsl:choose>
  5165.                     <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  5166.                 </xsl:choose>
  5167.             </xsl:when>
  5168.  
  5169.             <xsl:when test="./b:SourceType='JournalArticle'">
  5170.                 <xsl:choose>
  5171.                     <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  5172.                     <xsl:when test="string-length(./b:Author/b:Editor)>0">Editor</xsl:when>
  5173.                 </xsl:choose>
  5174.             </xsl:when>
  5175.  
  5176.             <xsl:when test="./b:SourceType='ArticleInAPeriodical'">
  5177.                 <xsl:choose>
  5178.                     <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  5179.                 </xsl:choose>
  5180.             </xsl:when>
  5181.  
  5182.             <xsl:when test="./b:SourceType='ConferenceProceedings'">
  5183.                 <xsl:choose>
  5184.                     <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  5185.                 </xsl:choose>
  5186.             </xsl:when>
  5187.  
  5188.             <xsl:when test="./b:SourceType='Report'">
  5189.                 <xsl:choose>
  5190.                     <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  5191.                 </xsl:choose>
  5192.             </xsl:when>
  5193.  
  5194.             <xsl:when test="./b:SourceType='SoundRecording'">
  5195.                 <xsl:choose>
  5196.                     <xsl:when test="string-length(./b:Author/b:Artist)>0">Artist</xsl:when>
  5197.                     <xsl:when test="string-length(./b:Author/b:Performer)>0">Performer</xsl:when>
  5198.                     <xsl:when test="string-length(./b:Author/b:Composer)>0">Composer</xsl:when>
  5199.                     <xsl:when test="string-length(./b:Author/b:Conductor)>0">Conductor</xsl:when>
  5200.                     <xsl:when test="string-length(./b:Author/b:ProducerName)>0">ProducerName</xsl:when>
  5201.                 </xsl:choose>
  5202.             </xsl:when>
  5203.  
  5204.             <xsl:when test="./b:SourceType='Performance'">
  5205.                 <xsl:choose>
  5206.                     <xsl:when test="string-length(./b:Author/b:Writer)>0">Writer</xsl:when>
  5207.                     <xsl:when test="string-length(./b:Author/b:Director)>0">Director</xsl:when>
  5208.                     <xsl:when test="string-length(./b:Author/b:Performer)>0">Performer</xsl:when>
  5209.                     <xsl:when test="string-length(./b:Author/b:ProducerName)>0">ProducerName</xsl:when>
  5210.                 </xsl:choose>
  5211.             </xsl:when>
  5212.  
  5213.             <xsl:when test="./b:SourceType='Art'">
  5214.                 <xsl:choose>
  5215.                     <xsl:when test="string-length(./b:Author/b:Artist)>0">Artist</xsl:when>
  5216.                 </xsl:choose>
  5217.             </xsl:when>
  5218.  
  5219.             <xsl:when test="./b:SourceType='DocumentFromInternetSite'">
  5220.                 <xsl:choose>
  5221.                     <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  5222.                 </xsl:choose>
  5223.             </xsl:when>
  5224.  
  5225.             <xsl:when test="./b:SourceType='InternetSite'">
  5226.                 <xsl:choose>
  5227.                     <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  5228.                 </xsl:choose>
  5229.             </xsl:when>
  5230.  
  5231.             <xsl:when test="./b:SourceType='Film'">
  5232.                 <xsl:choose>
  5233.                     <xsl:when test="string-length(./b:Author/b:Director)>0">Director</xsl:when>
  5234.                     <xsl:when test="string-length(./b:Author/b:Writer)>0">Writer</xsl:when>
  5235.                     <xsl:when test="string-length(./b:Author/b:Performer)>0">Performer</xsl:when>
  5236.                     <xsl:when test="string-length(./b:Author/b:ProducerName)>0">ProducerName</xsl:when>
  5237.                 </xsl:choose>
  5238.             </xsl:when>
  5239.  
  5240.             <xsl:when test="./b:SourceType='Interview'">
  5241.                 <xsl:choose>
  5242.                     <xsl:when test="string-length(./b:Author/b:Interviewee)>0">Interviewee</xsl:when>
  5243.                 </xsl:choose>
  5244.             </xsl:when>
  5245.  
  5246.             <xsl:when test="./b:SourceType='Patent'">
  5247.                 <xsl:choose>
  5248.                     <xsl:when test="string-length(./b:Author/b:Inventor)>0">Inventor</xsl:when>
  5249.                 </xsl:choose>
  5250.             </xsl:when>
  5251.  
  5252.             <xsl:when test="./b:SourceType='ElectronicSource'">
  5253.                 <xsl:choose>
  5254.                     <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  5255.                     <xsl:when test="string-length(./b:Author/b:Editor)>0">Editor</xsl:when>
  5256.                     <xsl:when test="string-length(./b:Author/b:ProducerName)>0">ProducerName</xsl:when>
  5257.                     <xsl:when test="string-length(./b:Author/b:Translator)>0">Translator</xsl:when>
  5258.                 </xsl:choose>
  5259.             </xsl:when>
  5260.  
  5261.             <xsl:when test="./b:SourceType='Case'">
  5262.                 <xsl:choose>
  5263.                     <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  5264.                     <xsl:when test="string-length(./b:Author/b:Counsel)>0">Counsel</xsl:when>
  5265.                 </xsl:choose>
  5266.             </xsl:when>
  5267.  
  5268.             <xsl:when test="./b:SourceType='Misc'">
  5269.                 <xsl:choose>
  5270.                     <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  5271.                     <xsl:when test="string-length(./b:Author/b:Editor)>0">Editor</xsl:when>
  5272.                     <xsl:when test="string-length(./b:Author/b:Compiler)>0">Compiler</xsl:when>
  5273.                     <xsl:when test="string-length(./b:Author/b:Translator)>0">Translator</xsl:when>
  5274.                 </xsl:choose>
  5275.             </xsl:when>
  5276.         </xsl:choose>
  5277.     </xsl:template>
  5278.  
  5279.     
  5280.     <xsl:template name="sortedList">
  5281.         <xsl:param name="sourceRoot"/>
  5282.         
  5283.         <xsl:apply-templates select="msxsl:node-set($sourceRoot)/*">
  5284.             <xsl:sort select="b:SortingString" />
  5285.         </xsl:apply-templates>
  5286.         
  5287.     </xsl:template>
  5288.  
  5289.     
  5290.     <xsl:template match="*">
  5291.         <xsl:element name="{name()}" namespace="{namespace-uri()}">
  5292.             
  5293.             <xsl:for-each select="@*">
  5294.                 <xsl:attribute name="{name()}" namespace="{namespace-uri()}">
  5295.                     
  5296.                     <xsl:value-of select="." />
  5297.                 </xsl:attribute>
  5298.             </xsl:for-each>
  5299.             <xsl:apply-templates>
  5300.                 <xsl:sort select="b:SortingString" />
  5301.             </xsl:apply-templates>
  5302.         </xsl:element>
  5303.     </xsl:template>
  5304.  
  5305.     
  5306.     <xsl:template match="text()">
  5307.         <xsl:value-of select="." />
  5308.     </xsl:template>
  5309.  
  5310.     <xsl:template name="maxAuthor">
  5311.         <xsl:choose>
  5312.             <xsl:when test="count(b:NameList/b:Person) > _MaxAuthor">
  5313.                 <xsl:value-of select="_MaxAuthor"/>
  5314.             </xsl:when>
  5315.             <xsl:otherwise>
  5316.                 <xsl:value-of select="count(b:NameList/b:Person)"/>
  5317.             </xsl:otherwise>
  5318.         </xsl:choose>
  5319.     </xsl:template>
  5320.  
  5321.     
  5322.     <xsl:template name="formatLastFirst">
  5323.         <xsl:call-template name="formatNameCore">
  5324.             <xsl:with-param name="FML"><xsl:call-template name="templ_prop_Gost_Authors_FML"/></xsl:with-param>
  5325.             <xsl:with-param name="FM"><xsl:call-template name="templ_prop_Gost_Authors_FM"/></xsl:with-param>
  5326.             <xsl:with-param name="ML"><xsl:call-template name="templ_prop_Gost_Authors_ML"/></xsl:with-param>
  5327.             <xsl:with-param name="FL"><xsl:call-template name="templ_prop_Gost_Authors_FL"/></xsl:with-param>
  5328.             <xsl:with-param name="upperLast">no</xsl:with-param>
  5329.             <xsl:with-param name="withDot">no</xsl:with-param>
  5330.         </xsl:call-template>
  5331.     </xsl:template>
  5332.  
  5333.     
  5334.     
  5335.     
  5336.     <xsl:template name="formatPersonSeparator">
  5337.         <xsl:variable name="cMaxAuthor">
  5338.             <xsl:value-of select="count(../b:Person)"/>
  5339.         </xsl:variable>
  5340.  
  5341. <xsl:variable name="constGost_PersonSeparator">
  5342.     <xsl:call-template name="templ_prop_ListSeparator" />
  5343.     
  5344. </xsl:variable>
  5345. <xsl:variable name="constGost_PersonAndOther">
  5346.     <xsl:call-template name="templ_prop_Space" />
  5347.     <xsl:call-template name="templ_prop_Gost_GeneralOpen" />
  5348.     <xsl:call-template name="templ_str_AndOthersUnCap"/>
  5349.     <xsl:call-template name="templ_prop_Gost_GeneralClose" />
  5350.     
  5351. </xsl:variable>
  5352.  
  5353.  
  5354.         <xsl:variable name="cMaxAllow">
  5355.             
  5356.             <xsl:choose>
  5357.                 <xsl:when test="$cMaxAuthor > ../b:_MaxAuthor and ../b:_MaxAuthor > 0">
  5358.                     <xsl:value-of select="../b:_MaxAuthor"/>
  5359.                 </xsl:when>
  5360.                 <xsl:otherwise>
  5361.                     <xsl:value-of select="$cMaxAuthor"/>
  5362.                 </xsl:otherwise>
  5363.             </xsl:choose>
  5364.         </xsl:variable>
  5365.  
  5366.         <xsl:choose>
  5367.             <xsl:when test="$cMaxAuthor > 3">
  5368.                 
  5369.                 
  5370.                 <xsl:value-of select="$constGost_PersonAndOther"/>
  5371.             </xsl:when>
  5372.             <xsl:when test="$cMaxAllow - 1 > position()">
  5373.                 
  5374.                 
  5375.                 <xsl:value-of select="$constGost_PersonSeparator"/>
  5376.             </xsl:when>
  5377.             <xsl:when test="position() = $cMaxAuthor - 1">
  5378.                 <xsl:variable name="noAndBeforeLastAuthor">
  5379.                     <xsl:call-template name="templ_prop_NoAndBeforeLastAuthor"/>
  5380.                 </xsl:variable>
  5381.  
  5382.                 <xsl:if test="$noAndBeforeLastAuthor != 'yes'">
  5383.                     <xsl:call-template name="templ_prop_Space"/>
  5384.                     <xsl:call-template name="templ_str_AndUnCap"/>
  5385.                     <xsl:call-template name="templ_prop_Space"/>
  5386.                 </xsl:if>
  5387.                 <xsl:if test="$noAndBeforeLastAuthor = 'yes'">
  5388.                     <xsl:call-template name="templ_prop_AuthorsSeparator"/>
  5389.                 </xsl:if>
  5390.                 
  5391.                 
  5392.             </xsl:when>
  5393.         </xsl:choose>
  5394.     </xsl:template>
  5395.  
  5396.  
  5397.     <xsl:template name="formatPersons">
  5398.         <xsl:variable name="cMaxAllow">
  5399.             <xsl:call-template name="maxAuthor"/>
  5400.         </xsl:variable>
  5401.  
  5402.         <xsl:variable name ="cIsEtAl">
  5403.             
  5404.             <xsl:choose>
  5405.                 <xsl:when test ="count(b:NameList/b:Person[4]) >0">
  5406.                     <xsl:value-of select="1"/>
  5407.                 </xsl:when>
  5408.                 <xsl:otherwise>
  5409.                     <xsl:value-of select = "0"/>
  5410.                 </xsl:otherwise>
  5411.             </xsl:choose>
  5412.         </xsl:variable>
  5413.  
  5414.         <xsl:variable name="cEtAlPosition">
  5415.             
  5416.             <xsl:value-of select ="1"/>
  5417.         </xsl:variable>
  5418.  
  5419.         <xsl:if test="string-length(b:Corporate)=0">
  5420.             <xsl:for-each select="b:NameList/b:Person">
  5421.                 <xsl:variable name="cMaxAuthor">
  5422.                     <xsl:value-of select="count(../b:NameList/b:Person)"/>
  5423.                 </xsl:variable>
  5424.  
  5425.                 
  5426.                 
  5427.                 <xsl:if test="($cIsEtAl = '0' and $cMaxAllow >= position()) or ($cIsEtAl = '1' and not (position()>$cEtAlPosition)) ">
  5428.                     <xsl:call-template name="formatLastFirst"/>
  5429.                     <xsl:call-template name="formatPersonSeparator"/>
  5430.                 </xsl:if>
  5431.             </xsl:for-each>
  5432.         </xsl:if>
  5433.         <xsl:if test="string-length(b:Corporate)>0">
  5434.               <xsl:value-of select="b:Corporate"/>
  5435.         </xsl:if>
  5436.     </xsl:template>
  5437.  
  5438.     
  5439.     <xsl:template name="formatMainAuthor">
  5440.         <xsl:if test="string-length(b:Author/b:Main/b:Corporate)=0">
  5441.             <xsl:if test ="count(b:Author/b:Main/b:NameList/b:Person) >0">
  5442.                 <xsl:for-each select="b:Author/b:Main">
  5443.                     <xsl:call-template name="formatPersons"/>
  5444.                 </xsl:for-each>
  5445.             </xsl:if>
  5446.         </xsl:if>
  5447.         <xsl:if test="string-length(b:Author/b:Main/b:Corporate)>0">
  5448.               <xsl:value-of select="b:Author/b:Main/b:Corporate"/>
  5449.         </xsl:if>
  5450.     </xsl:template>
  5451.  
  5452.     
  5453.     <xsl:template name="formatAuthor">
  5454.         <xsl:if test="string-length(b:Author/b:Main/b:Corporate)=0">
  5455.             <xsl:if test ="count(b:Author/b:Author/b:NameList/b:Person) >0">
  5456.                 <xsl:call-template name="templ_str_AuthorShortUnCap"/><xsl:call-template name="templ_prop_Space"/>
  5457.                 <xsl:for-each select="b:Author/b:Author">
  5458.                     <xsl:call-template name="formatPersons"/>
  5459.                 </xsl:for-each>
  5460.             </xsl:if>
  5461.         </xsl:if>
  5462.         <xsl:if test="string-length(b:Author/b:Main/b:Corporate)>0">
  5463.               <xsl:call-template name="templ_str_AuthorShortUnCap"/><xsl:call-template name="templ_prop_Space"/>
  5464.               <xsl:value-of select="b:Author/b:Main/b:Corporate"/>
  5465.         </xsl:if>
  5466.     </xsl:template>
  5467.  
  5468.     
  5469.     <xsl:template name="formatEditor">
  5470.         <xsl:if test="string-length(b:Author/b:Editor/b:NameList/b:Person/b:Last) > 0">
  5471.             <xsl:call-template name="templ_str_EditorShortUnCap"/><xsl:call-template name="templ_prop_Space"/>
  5472.             <xsl:for-each select="b:Author/b:Editor">
  5473.                 <xsl:call-template name="formatPersons"/>
  5474.             </xsl:for-each>
  5475.         </xsl:if>
  5476.     </xsl:template>
  5477.  
  5478.     
  5479.     <xsl:template name="formatTranslator">
  5480.         <xsl:if test="string-length(b:Author/b:Translator/b:NameList/b:Person/b:Last) > 0">
  5481.             <xsl:call-template name="templ_str_TranslatorShortUnCap"/><xsl:call-template name="templ_prop_Space"/>
  5482.             <xsl:for-each select="b:Author/b:Translator">
  5483.                 <xsl:call-template name="formatPersons"/>
  5484.             </xsl:for-each>
  5485.         </xsl:if>
  5486.     </xsl:template>
  5487.  
  5488.     
  5489.     <xsl:template name="formatArtist">
  5490.         <xsl:if test="string-length(b:Author/b:Artist/b:NameList/b:Person/b:Last) > 0">
  5491.             <xsl:call-template name="templ_str_ArtistShortUnCap"/><xsl:call-template name="templ_prop_Space"/>
  5492.             <xsl:for-each select="b:Author/b:Artist">
  5493.                 <xsl:call-template name="formatPersons"/>
  5494.             </xsl:for-each>
  5495.         </xsl:if>
  5496.     </xsl:template>
  5497.  
  5498.     <xsl:template name="formatWriter">
  5499.         <xsl:if test="string-length(b:Author/b:Writer/b:NameList/b:Person/b:Last) > 0">
  5500.             <xsl:call-template name="templ_str_WriterShortUnCap"/><xsl:call-template name="templ_prop_Space"/>
  5501.             <xsl:for-each select="b:Author/b:Writer">
  5502.                 <xsl:call-template name="formatPersons"/>
  5503.             </xsl:for-each>
  5504.         </xsl:if>
  5505.     </xsl:template>
  5506.  
  5507.     <xsl:template name="formatPerformer">
  5508.         <xsl:if test="string-length(b:Author/b:Performer/b:Corporate)=0">
  5509.             <xsl:if test="string-length(b:Author/b:Performer/b:NameList/b:Person/b:Last) > 0">
  5510.                 <xsl:call-template name="templ_str_PerformerShortUnCap"/><xsl:call-template name="templ_prop_Space"/>
  5511.                 <xsl:for-each select="b:Author/b:Performer">
  5512.                     <xsl:call-template name="formatPersons"/>
  5513.                 </xsl:for-each>
  5514.             </xsl:if>
  5515.         </xsl:if>
  5516.         <xsl:if test="string-length(b:Author/b:Performer/b:Corporate)>0">
  5517.             <xsl:call-template name="templ_str_PerformerShortUnCap"/><xsl:call-template name="templ_prop_Space"/>
  5518.             <xsl:value-of select="b:Author/b:Performer/b:Corporate"/>
  5519.         </xsl:if>        
  5520.     </xsl:template>
  5521.  
  5522.  
  5523.     <xsl:template name="formatDirector">
  5524.         <xsl:if test="string-length(b:Author/b:Director/b:NameList/b:Person/b:Last) > 0">
  5525.             <xsl:call-template name="templ_str_DirectorShortUnCap"/><xsl:call-template name="templ_prop_Space"/>
  5526.             <xsl:for-each select="b:Author/b:Director">
  5527.                 <xsl:call-template name="formatPersons"/>
  5528.             </xsl:for-each>
  5529.         </xsl:if>
  5530.     </xsl:template>
  5531.  
  5532.  
  5533.  
  5534.     <xsl:template name="formatInterviewee">
  5535.         <xsl:if test="string-length(b:Author/b:Interviewee/b:NameList/b:Person/b:Last) > 0">
  5536.             <xsl:call-template name="templ_str_IntervieweeShortUnCap"/><xsl:call-template name="templ_prop_Space"/>
  5537.             <xsl:for-each select="b:Author/b:Interviewee">
  5538.                 <xsl:call-template name="formatPersons"/>
  5539.             </xsl:for-each>
  5540.         </xsl:if>
  5541.     </xsl:template>
  5542.  
  5543.     <xsl:template name="formatProducerName">
  5544.     
  5545.         <xsl:variable name="constGost_ProducerNameHeader">
  5546.             <xsl:call-template name="templ_str_ProducerShortUnCap"/><xsl:call-template name="templ_prop_Space"/>            
  5547.         </xsl:variable>
  5548.     
  5549.         <xsl:if test="string-length(b:Author/b:ProducerName/b:NameList/b:Person/b:Last) > 0">
  5550.             <xsl:call-template name="templ_str_ProducerShortUnCap"/><xsl:call-template name="templ_prop_Space"/>
  5551.             <xsl:for-each select="b:Author/b:ProducerName">
  5552.                 <xsl:call-template name="formatPersons"/>
  5553.             </xsl:for-each>
  5554.         </xsl:if>
  5555.     </xsl:template>
  5556.  
  5557.  
  5558.     <xsl:template name="formatConductor">
  5559.         <xsl:if test="string-length(b:Author/b:Conductor/b:NameList/b:Person/b:Last) > 0">
  5560.             <xsl:call-template name="templ_str_ConductorShortUnCap"/><xsl:call-template name="templ_prop_Space"/>
  5561.             <xsl:for-each select="b:Author/b:Conductor">
  5562.                 <xsl:call-template name="formatPersons"/>
  5563.             </xsl:for-each>
  5564.         </xsl:if>
  5565.     </xsl:template>
  5566.  
  5567.     <xsl:template name="formatComposer">
  5568.         <xsl:if test="string-length(b:Author/b:Composer/b:NameList/b:Person/b:Last) > 0">
  5569.             <xsl:call-template name="templ_str_ComposerShortUnCapIso"/><xsl:call-template name="templ_prop_Space"/>
  5570.             <xsl:for-each select="b:Author/b:Composer">
  5571.                 <xsl:call-template name="formatPersons"/>
  5572.             </xsl:for-each>
  5573.         </xsl:if>
  5574.     </xsl:template>
  5575.  
  5576.  
  5577.  
  5578.     <xsl:template name="formatCompiler">
  5579.         <xsl:if test="string-length(b:Author/b:Compiler/b:NameList/b:Person/b:Last) > 0">
  5580.             <xsl:call-template name="templ_str_CompilerShortUnCapIso"/><xsl:call-template name="templ_prop_Space"/>
  5581.             <xsl:for-each select="b:Author/b:Compiler">
  5582.                 <xsl:call-template name="formatPersons"/>
  5583.             </xsl:for-each>
  5584.         </xsl:if>
  5585.     </xsl:template>
  5586.  
  5587.     <xsl:template name ="formatCounsel">
  5588.         <xsl:if test="string-length(b:Author/b:Counsel/b:NameList/b:Person/b:Last)>0">
  5589.             <xsl:call-template name="templ_str_CounselShortUnCap"/><xsl:call-template name="templ_prop_Space"/>
  5590.             <xsl:for-each select="b:Author/b:Counsel">
  5591.                 <xsl:call-template name="formatPersons"/>
  5592.             </xsl:for-each>
  5593.         </xsl:if>
  5594.     </xsl:template>
  5595.  
  5596.     <xsl:template name ="formatInventor">
  5597.         <xsl:if test="string-length(b:Author/b:Inventor/b:NameList/b:Person/b:Last)>0">
  5598.             <xsl:call-template name="templ_str_InventorShortUnCap"/><xsl:call-template name="templ_prop_Space"/>
  5599.             <xsl:for-each select="b:Author/b:Inventor">
  5600.                 <xsl:call-template name="formatPersons"/>
  5601.             </xsl:for-each>
  5602.         </xsl:if>
  5603.     </xsl:template>
  5604.  
  5605.     <xsl:template name ="getEtAlSectionsCount">
  5606.         <xsl:value-of select="count(b:Author/*/b:NameList/b:Person[4])"/>
  5607.         
  5608.     </xsl:template>
  5609.  
  5610.     <xsl:template name ="getAllPersonsCount">
  5611.         <xsl:value-of select="count(b:Author/*/b:NameList/b:Person)"/>
  5612.         
  5613.     </xsl:template>
  5614.  
  5615.     <xsl:template name ="getSectionsCount">
  5616.         <xsl:value-of select="count(b:Author/*)"/>
  5617.         
  5618.     </xsl:template>
  5619.  
  5620.     <xsl:template name ="getNonEmptySectionsCount">
  5621.         <xsl:value-of select="count(b:Author/*/b:NameList/b:Person[1])"/>
  5622.         
  5623.     </xsl:template>
  5624.  
  5625.     <xsl:template name ="getNonEmpty_Book_PrimSectionsCount">
  5626.         <xsl:value-of select="count(b:Author/b:Author/b:NameList/b:Person[1] | b:Author/b:Author/b:Corporate )"/>
  5627.         
  5628.     </xsl:template>
  5629.  
  5630.     <xsl:template name ="getNonEmpty_BookSection_PrimSectionsCount">
  5631.         <xsl:value-of select ="count(b:Author/b:Author/b:NameList/b:Person[1] )"/>
  5632.     </xsl:template>
  5633.  
  5634.     <xsl:template name ="getNonEmpty_JournalArticle_PrimSectionsCount">
  5635.         <xsl:value-of select ="count(b:Author/b:Author/b:NameList/b:Person[1] | b:Author/b:Author/b:Corporate )"/>
  5636.     </xsl:template>
  5637.  
  5638.     <xsl:template name ="getNonEmpty_ArticleInAPeriodical_PrimSectionsCount">
  5639.         <xsl:value-of select ="count(b:Author/b:Author/b:NameList/b:Person[1] | b:Author/b:Author/b:Corporate)"/>
  5640.     </xsl:template>
  5641.  
  5642.     <xsl:template name ="getNonEmpty_ConferenceProceedings_PrimSectionsCount">
  5643.         <xsl:value-of select ="count(b:Author/b:Author/b:NameList/b:Person[1] | b:Author/b:Author/b:Corporate )"/>
  5644.     </xsl:template>
  5645.  
  5646.     <xsl:template name ="getNonEmpty_Report_PrimSectionsCount">
  5647.         <xsl:value-of select ="count(b:Author/b:Author/b:NameList/b:Person[1] | b:Author/b:Author/b:Corporate )"/>
  5648.     </xsl:template>
  5649.  
  5650.     <xsl:template name ="getNonEmpty_SoundRecording_PrimSectionsCount">
  5651.         <xsl:value-of select ="count(b:Author/b:Composer/b:NameList/b:Person[1] | b:Author/b:Artist/b:NameList/b:Person[1] )"/>
  5652.     </xsl:template>
  5653.  
  5654.     <xsl:template name ="getNonEmpty_Performance_PrimSectionsCount">
  5655.         <xsl:value-of select ="count(b:Author/b:Writer/b:NameList/b:Person[1] | b:Author/b:Performer/b:NameList/b:Person[1] | b:Author/b:Performer/b:Corporate | b:Author/b:Director/b:NameList/b:Person[1] )"/>
  5656.     </xsl:template>
  5657.  
  5658.     <xsl:template name ="getNonEmpty_Art_PrimSectionsCount">
  5659.         <xsl:value-of select ="count(b:Author/b:Artist/b:NameList/b:Person[1] )"/>
  5660.     </xsl:template>
  5661.  
  5662.     <xsl:template name ="getNonEmpty_DocumentFromInternetSite_PrimSectionsCount">
  5663.         <xsl:value-of select ="count(b:Author/b:Author/b:NameList/b:Person[1] | b:Author/b:Author/b:Corporate )"/>
  5664.     </xsl:template>
  5665.  
  5666.     <xsl:template name ="getNonEmpty_InternetSite_PrimSectionsCount">
  5667.         <xsl:value-of select ="count(b:Author/b:Author/b:NameList/b:Person[1] | b:Author/b:Author/b:Corporate )"/>
  5668.     </xsl:template>
  5669.  
  5670.     <xsl:template name ="getNonEmpty_Film_PrimSectionsCount">
  5671.         <xsl:value-of select ="count(b:Author/b:Writer/b:NameList/b:Person[1] | b:Author/b:Performer/b:NameList/b:Person[1] | b:Author/b:Performer/b:Corporate | b:Author/b:Director/b:NameList/b:Person[1] )"/>
  5672.     </xsl:template>
  5673.  
  5674.     <xsl:template name ="getNonEmpty_Interview_PrimSectionsCount">
  5675.         <xsl:value-of select ="count(b:Author/b:Interviewee/b:NameList/b:Person[1])"/>
  5676.     </xsl:template>
  5677.  
  5678.     <xsl:template name ="getNonEmpty_Patent_PrimSectionsCount">
  5679.         <xsl:value-of select ="count(b:Author/b:Inventor/b:NameList/b:Person[1])"/>
  5680.     </xsl:template>
  5681.  
  5682.     <xsl:template name ="getNonEmpty_ElectronicSource_PrimSectionsCount">
  5683.         <xsl:value-of select ="count(b:Author/b:Author/b:NameList/b:Person[1] | b:Author/b:Author/b:Corporate)"/>
  5684.     </xsl:template>
  5685.  
  5686.     <xsl:template name ="getNonEmpty_Case_PrimSectionsCount">
  5687.         <xsl:value-of select ="count(b:Author/b:Author/b:NameList/b:Person[1] | b:Author/b:Author/b:Corporate)"/>
  5688.     </xsl:template>
  5689.  
  5690.     <xsl:template name ="getNonEmpty_Misc_PrimSectionsCount">
  5691.         <xsl:value-of select ="count(b:Author/b:Author/b:NameList/b:Person[1] | b:Author/b:Author/b:Corporate)"/>
  5692.     </xsl:template>
  5693.  
  5694.     
  5695.     <xsl:template name="populateMain">
  5696.         <xsl:param name="Type"/>
  5697.         
  5698.         <xsl:element name="{$Type}">
  5699.             
  5700.             <xsl:for-each select="/*[$Type]/b:Source">
  5701.                 
  5702.                 <xsl:variable name="MostImportantAuthorLocalName">
  5703.                     
  5704.                     <xsl:call-template name="MainContributors"/>
  5705.                 </xsl:variable>
  5706.                 <xsl:element name="{'b:Source'}">
  5707.                     
  5708.             <b:SortingString>
  5709.  
  5710.                   <xsl:variable name = "author0">
  5711.                   <xsl:for-each select="./b:Author/*[local-name()=$MostImportantAuthorLocalName]">
  5712.                     <xsl:call-template name="formatPersons"/>
  5713.                   </xsl:for-each>
  5714.                 </xsl:variable>
  5715.  
  5716.                   <xsl:variable name = "author">
  5717.                     <xsl:choose>
  5718.                         <xsl:when test="string-length(./b:Author/*[local-name()=$MostImportantAuthorLocalName]/b:Corporate) > 0">
  5719.                             <xsl:value-of select="./b:Author/*[local-name()=$MostImportantAuthorLocalName]/b:Corporate"/>
  5720.                         </xsl:when>
  5721.                         <xsl:when test="string-length($author0) > 0">
  5722.                             <xsl:value-of select="$author0"/>
  5723.                         </xsl:when>
  5724.                     </xsl:choose>
  5725.                 </xsl:variable>
  5726.  
  5727.                 <xsl:if test="string-length($author) > 0">
  5728.                     <xsl:text> </xsl:text>
  5729.                     <xsl:value-of select="$author"/>
  5730.                 </xsl:if>
  5731.             
  5732.                 <xsl:if test="string-length(b:Title) > 0">
  5733.                     <xsl:text> </xsl:text>
  5734.                     <xsl:value-of select="b:Title"/>
  5735.                 </xsl:if>
  5736.             </b:SortingString>
  5737.             
  5738.           <xsl:if test="$Type='b:Citation'">
  5739.             
  5740.             <b:Title>
  5741.               
  5742.               <xsl:if test="string-length(b:Title)>0">
  5743.                 <xsl:value-of select="b:Title"/>
  5744.               </xsl:if>
  5745.               
  5746.               <xsl:if test="string-length(b:Title)=0">
  5747.                 <xsl:choose>
  5748.                   <xsl:when test="b:SourceType='Book' or
  5749.                                   b:SourceType='JournalArticle' or
  5750.                                   b:SourceType='ConferenceProceedings' or
  5751.                                   b:SourceType='Report' or
  5752.                                   b:SourceType='Performance' or
  5753.                                   b:SourceType='Film' or
  5754.                                   b:SourceType='Patent' or
  5755.                                   b:SourceType='Case'">
  5756.  
  5757.                     <xsl:value-of select="b:ShortTitle"/>
  5758.                   </xsl:when>
  5759.  
  5760.                   <xsl:when test="b:SourceType='BookSection'">
  5761.                     <xsl:variable name="shortTitle" select="b:ShortTitle"/>
  5762.                     <xsl:variable name="bookTitle" select="b:BookTitle"/>
  5763.  
  5764.                     <xsl:choose>
  5765.                       <xsl:when test="string-length($shortTitle)>0">
  5766.                         <xsl:value-of select="$shortTitle"/>
  5767.                       </xsl:when>
  5768.                       <xsl:when test="string-length($bookTitle)>0">
  5769.                         <xsl:value-of select="$bookTitle"/>
  5770.                       </xsl:when>
  5771.                     </xsl:choose>
  5772.  
  5773.                   </xsl:when>
  5774.  
  5775.                   <xsl:when test="b:SourceType='ArticleInAPeriodical'">
  5776.                     <xsl:variable name="shortTitle" select="b:ShortTitle"/>
  5777.                     <xsl:variable name="periodicalTitle" select="b:PeriodicalTitle"/>
  5778.  
  5779.                     <xsl:choose>
  5780.                       <xsl:when test="string-length($shortTitle)>0">
  5781.                         <xsl:value-of select="$shortTitle"/>
  5782.                       </xsl:when>
  5783.                       <xsl:when test="string-length($periodicalTitle)>0">
  5784.                         <xsl:value-of select="$periodicalTitle"/>
  5785.                       </xsl:when>
  5786.                     </xsl:choose>
  5787.                   </xsl:when>
  5788.  
  5789.                   <xsl:when test="b:SourceType='InternetSite' or
  5790.                                   b:SourceType='DocumentFromInternetSite'">
  5791.                     <xsl:variable name="shortTitle" select="b:ShortTitle"/>
  5792.                     <xsl:variable name="internetSiteTitle" select="b:InternetSiteTitle"/>
  5793.  
  5794.                     <xsl:choose>
  5795.                       <xsl:when test="string-length($shortTitle)>0">
  5796.                         <xsl:value-of select="$shortTitle"/>
  5797.                       </xsl:when>
  5798.                       <xsl:when test="string-length($internetSiteTitle)>0">
  5799.                         <xsl:value-of select="$internetSiteTitle"/>
  5800.                       </xsl:when>
  5801.                     </xsl:choose>
  5802.                   </xsl:when>
  5803.  
  5804.                   <xsl:when test="b:SourceType='ElectronicSource' or
  5805.                                   b:SourceType='Art' or
  5806.                                   b:SourceType='Misc'">
  5807.                     <xsl:variable name="shortTitle" select="b:ShortTitle"/>
  5808.                     <xsl:variable name="publicationTitle" select="b:PublicationTitle"/>
  5809.  
  5810.                     <xsl:choose>
  5811.                       <xsl:when test="string-length($shortTitle)>0">
  5812.                         <xsl:value-of select="$shortTitle"/>
  5813.                       </xsl:when>
  5814.                       <xsl:when test="string-length($publicationTitle)>0">
  5815.                         <xsl:value-of select="$publicationTitle"/>
  5816.                       </xsl:when>
  5817.                     </xsl:choose>
  5818.                   </xsl:when>
  5819.  
  5820.                   <xsl:when test="b:SourceType='SoundRecording'">
  5821.                     <xsl:variable name="shortTitle" select="b:ShortTitle"/>
  5822.                     <xsl:variable name="albumTitle" select="b:AlbumTitle"/>
  5823.  
  5824.                     <xsl:choose>
  5825.                       <xsl:when test="string-length($shortTitle)>0">
  5826.                         <xsl:value-of select="$shortTitle"/>
  5827.                       </xsl:when>
  5828.                       <xsl:when test="string-length($albumTitle)>0">
  5829.                         <xsl:value-of select="$albumTitle"/>
  5830.                       </xsl:when>
  5831.                     </xsl:choose>
  5832.                   </xsl:when>
  5833.  
  5834.                   <xsl:when test="b:SourceType='Interview'">
  5835.                     <xsl:variable name="shortTitle" select="b:ShortTitle"/>
  5836.                     
  5837.                     <xsl:variable name="broadcastTitle" select="b:BroadcastTitle"/>
  5838.                     
  5839.  
  5840.                     <xsl:choose>
  5841.                       <xsl:when test="string-length($shortTitle)>0">
  5842.                         <xsl:value-of select="$shortTitle"/>
  5843.                       </xsl:when>
  5844.                       
  5845.                       <xsl:when test="string-length($broadcastTitle)>0">
  5846.                         <xsl:value-of select="$broadcastTitle"/>
  5847.                       </xsl:when>
  5848.                       
  5849.                     </xsl:choose>
  5850.                   </xsl:when>
  5851.  
  5852.                 </xsl:choose>
  5853.               </xsl:if>
  5854.             </b:Title>
  5855.           </xsl:if>
  5856.           <b:Author>
  5857.                         
  5858.                         <b:Main>
  5859.                             <xsl:if test="string-length(./b:Author/*[local-name()=$MostImportantAuthorLocalName]/b:Corporate)=0">
  5860.                                 <b:NameList>
  5861.                                     <xsl:for-each select="./b:Author/*[local-name()=$MostImportantAuthorLocalName]/b:NameList/b:Person">
  5862.                                         <b:Person>
  5863.                                             
  5864.                                             <b:Last>
  5865.                                                 <xsl:value-of select="./b:Last"/>
  5866.                                             </b:Last>
  5867.                                             <b:First>
  5868.                                                 <xsl:value-of select="./b:First"/>
  5869.                                             </b:First>
  5870.                                             <b:Middle>
  5871.                                                 <xsl:value-of select="./b:Middle"/>
  5872.                                             </b:Middle>
  5873.                                         </b:Person>
  5874.                                     </xsl:for-each>
  5875.                                 </b:NameList>
  5876.                             </xsl:if>
  5877.                             <xsl:if test="string-length(./b:Author/*[local-name()=$MostImportantAuthorLocalName]/b:Corporate)>0">
  5878.                                 <b:Corporate>
  5879.                                   <xsl:value-of select="./b:Author/*[local-name()=$MostImportantAuthorLocalName]/b:Corporate"/>
  5880.                                 </b:Corporate>
  5881.                             </xsl:if>
  5882.                         </b:Main>
  5883.                         <xsl:for-each select="./b:Author/*">
  5884.                             
  5885.                             <xsl:if test="name()!='b:Main'">
  5886.                                 <xsl:element name="{name()}" namespace="{namespace-uri()}">
  5887.                                     <xsl:call-template name="copyNameNodes"/>
  5888.                                     
  5889.                                 </xsl:element>
  5890.                             </xsl:if>
  5891.                         </xsl:for-each>
  5892.                     </b:Author>
  5893.                     <xsl:for-each select="*">
  5894.                         
  5895.             <xsl:if test="name()!='b:Author' and not(name()='b:Title' and $Type='b:Citation')">
  5896.               <xsl:element name="{name()}" namespace="{namespace-uri()}">
  5897.                                 <xsl:call-template name="copyNodes"/>
  5898.                                 
  5899.                             </xsl:element>
  5900.                         </xsl:if>
  5901.                     </xsl:for-each>
  5902.                 </xsl:element>
  5903.             </xsl:for-each>
  5904.             <xsl:for-each select="/*[$Type]/*">
  5905.                 
  5906.                 <xsl:if test="local-name()!='Source'">
  5907.                     <xsl:call-template name="copyTrees"/>
  5908.                 </xsl:if>
  5909.             </xsl:for-each>
  5910.         </xsl:element>
  5911.     </xsl:template>
  5912.  
  5913.     
  5914.     <xsl:template name="copyNameNodes">
  5915.         <xsl:if test="string-length(b:Corporate)=0">
  5916.             <b:NameList>
  5917.                 <xsl:for-each select="b:NameList/b:Person">
  5918.                     
  5919.                     <b:Person>
  5920.                         
  5921.                         <xsl:if test="string-length(./b:Last)>0">
  5922.                             
  5923.                             <b:Last>
  5924.                                 <xsl:value-of select="./b:Last"/>
  5925.                             </b:Last>
  5926.                         </xsl:if>
  5927.                         <xsl:if test="string-length(./b:First)>0">
  5928.                             <b:First>
  5929.                                 <xsl:value-of select="./b:First"/>
  5930.                             </b:First>
  5931.                         </xsl:if>
  5932.                         <xsl:if test="string-length(./b:Middle)>0">
  5933.                             <b:Middle>
  5934.                                 <xsl:value-of select="./b:Middle"/>
  5935.                             </b:Middle>
  5936.                         </xsl:if>
  5937.                     </b:Person>
  5938.                 </xsl:for-each>
  5939.             </b:NameList>
  5940.         </xsl:if>
  5941.         <xsl:if test="string-length(b:Corporate)>0">
  5942.             <b:Corporate>
  5943.               <xsl:value-of select="b:Corporate"/>
  5944.             </b:Corporate>
  5945.         </xsl:if>
  5946.     </xsl:template>
  5947.  
  5948.     
  5949.     <xsl:template name="copyNodes">
  5950.         <xsl:value-of select="."/>
  5951.     </xsl:template>
  5952.  
  5953.     
  5954.     <xsl:template name="copyTrees">
  5955.         <xsl:copy-of select ='.'/>
  5956.     </xsl:template>
  5957.  
  5958.     <xsl:template name ="formatColonElement">
  5959.         <xsl:param name ="FirstParam"></xsl:param>
  5960.         <xsl:param name ="SecondParam"></xsl:param>
  5961.         <xsl:param name ="ThirdParam"></xsl:param>
  5962.         <xsl:param name ="FourthParam"></xsl:param>
  5963.  
  5964.         <xsl:variable name="constGost_ColonElementSeparator">
  5965.             <xsl:call-template name="templ_prop_NonBreakingSpace" />
  5966.             <xsl:call-template name="templ_prop_EnumSeparator" />
  5967.             
  5968.         </xsl:variable>
  5969.  
  5970.         <xsl:value-of select ="$FirstParam"/>
  5971.         <xsl:if test ="string-length($FirstParam)>0 and (string-length($SecondParam)>0 or string-length($ThirdParam)>0 or string-length($FourthParam)>0)">
  5972.             <xsl:value-of select="$constGost_ColonElementSeparator"/>
  5973.         </xsl:if>
  5974.         <xsl:value-of select ="$SecondParam"/>
  5975.         <xsl:if test ="string-length($SecondParam)>0 and (string-length($ThirdParam)>0 or string-length($FourthParam)>0)">
  5976.             <xsl:value-of select="$constGost_ColonElementSeparator"/>
  5977.         </xsl:if>
  5978.         <xsl:value-of select ="$ThirdParam"/>
  5979.         <xsl:if test ="string-length($ThirdParam)>0 and string-length($FourthParam)>0">
  5980.             <xsl:value-of select="$constGost_ColonElementSeparator"/>
  5981.         </xsl:if>
  5982.         <xsl:value-of select ="$FourthParam"/>
  5983.     </xsl:template>
  5984.  
  5985.     <xsl:template name ="formatLocationElement">
  5986.         
  5987.         <xsl:param name="noSL"/>
  5988.         <xsl:param name="Location"/>
  5989.         <xsl:param name ="Publisher"/>
  5990.         <xsl:param name ="Distributor"/>
  5991.         
  5992. <xsl:variable name="constGost_SineNomine">
  5993.     <xsl:call-template name="templ_prop_Gost_GeneralOpen" />
  5994.     <xsl:call-template name="templ_str_SineNomineShort"/>
  5995.     <xsl:call-template name="templ_prop_Gost_GeneralClose" />
  5996.     
  5997. </xsl:variable>
  5998. <xsl:variable name="constGost_SineLoco">
  5999.     <xsl:call-template name="templ_prop_Gost_GeneralOpen" />
  6000.     <xsl:call-template name="templ_str_SineLocoShort"/>
  6001.     <xsl:call-template name="templ_prop_Gost_GeneralClose" />
  6002.     
  6003. </xsl:variable>
  6004.         
  6005.         
  6006.         <xsl:choose>
  6007.             <xsl:when test ="string-length($Location)=0 and string-length($Publisher)=0">
  6008.                 
  6009.                 <xsl:variable name ="LocationColonElement">
  6010.                     <xsl:call-template name ="formatColonElement">
  6011.                         <xsl:with-param name ="FirstParam"/>
  6012.                         <xsl:with-param name ="SecondParam"/>
  6013.                         <xsl:with-param name ="ThirdParam" select ="b:Distributor"/>
  6014.                     </xsl:call-template>
  6015.                 </xsl:variable>
  6016.  
  6017.                 <xsl:value-of select ="$LocationColonElement"/>
  6018.             </xsl:when>
  6019.             <xsl:when test ="string-length($Location)>0 or string-length($Publisher)>0">
  6020.  
  6021.                 <xsl:variable name ="ColonElementFirstParam">
  6022.                     <xsl:choose>
  6023.                         <xsl:when test ="$noSL='yes'"></xsl:when>
  6024.                         
  6025.                         <xsl:when test ="string-length($Location)=0">
  6026.                             
  6027.                             
  6028.                             
  6029.                             
  6030.                             
  6031.                             
  6032.                             
  6033.                             <xsl:value-of select="$constGost_SineLoco"/>
  6034.                         </xsl:when>
  6035.                         <xsl:otherwise>
  6036.                             <xsl:value-of select ="$Location"/>
  6037.                         </xsl:otherwise>
  6038.                     </xsl:choose>
  6039.                 </xsl:variable>
  6040.  
  6041.                 <xsl:variable name ="ColonElementSecondParam">
  6042.                     <xsl:choose>
  6043.                         
  6044.                         <xsl:when test ="string-length($Publisher)=0">
  6045.                             
  6046.                             
  6047.                             
  6048.                             
  6049.                             
  6050.                             
  6051.                             
  6052.                             <xsl:value-of select="$constGost_SineNomine"/>
  6053.                         </xsl:when>
  6054.                         <xsl:otherwise>
  6055.                             <xsl:value-of select ="$Publisher"/>
  6056.                         </xsl:otherwise>
  6057.                     </xsl:choose>
  6058.                 </xsl:variable>
  6059.  
  6060.                 <xsl:variable name ="ColonElementThirdParam">
  6061.                     <xsl:value-of select ="$Distributor"/>
  6062.                 </xsl:variable>
  6063.  
  6064.                 <xsl:variable name ="LocationColonElement">
  6065.                     <xsl:call-template name ="formatColonElement">
  6066.                         <xsl:with-param name ="FirstParam" select ="$ColonElementFirstParam"/>
  6067.                         <xsl:with-param name ="SecondParam" select ="$ColonElementSecondParam"/>
  6068.                         <xsl:with-param name ="ThirdParam" select ="$ColonElementThirdParam"/>
  6069.                     </xsl:call-template>
  6070.                 </xsl:variable>
  6071.  
  6072.                 <xsl:value-of select ="$LocationColonElement"/>
  6073.             </xsl:when>
  6074.         </xsl:choose>
  6075.     </xsl:template>
  6076.  
  6077.     <xsl:template name ="formatHyphenSection">
  6078.         <xsl:param name="FirstElement"/>
  6079.         <xsl:param name="SecondElement"/>
  6080.         
  6081. <xsl:variable name="constGost_HyphenSectionHeader">
  6082.     <xsl:call-template name="templ_prop_Dot" />
  6083.     <xsl:call-template name="templ_prop_NonBreakingSpace" />
  6084.     <xsl:call-template name="templ_prop_FromToDash" />
  6085.     <xsl:call-template name="templ_prop_Space" />
  6086.     
  6087. </xsl:variable>
  6088. <xsl:variable name="constGost_HyphenSectionSeparator">
  6089.     <xsl:call-template name="templ_prop_ListSeparator" />
  6090.     
  6091. </xsl:variable>
  6092. <xsl:variable name="constGost_HyphenSectionPartsSeparator">
  6093.     <xsl:call-template name="templ_prop_ListSeparator" />
  6094.     
  6095. </xsl:variable>
  6096.         
  6097.         
  6098.         <xsl:if test="not (string-length($FirstElement)=0 and string-length($SecondElement)=0)">
  6099.             
  6100.             
  6101.             
  6102.             
  6103.             
  6104.             <xsl:value-of select="$constGost_HyphenSectionHeader"/>
  6105.             <xsl:if test="string-length($FirstElement)>0">
  6106.                 <xsl:value-of select ="$FirstElement"/>
  6107.             </xsl:if>
  6108.             <xsl:if test="string-length($SecondElement)>0">
  6109.                 <xsl:if test ="string-length($FirstElement)>0">
  6110.                     
  6111.                     
  6112.                     
  6113.                     <xsl:value-of select="$constGost_HyphenSectionPartsSeparator"/>
  6114.                 </xsl:if>
  6115.                 <xsl:value-of select ="$SecondElement"/>
  6116.             </xsl:if>
  6117.         </xsl:if>
  6118.     </xsl:template>
  6119.  
  6120.     <xsl:template name="formatDateMonthYear">
  6121.         <xsl:param name="appendSpace"/>
  6122.         <xsl:call-template name="formatDateCore">
  6123.             <xsl:with-param name="day">
  6124.                 <xsl:call-template name="handleSpaces">
  6125.                     <xsl:with-param name="field" select="b:Day"/>
  6126.                 </xsl:call-template>
  6127.             </xsl:with-param>
  6128.             <xsl:with-param name="month">
  6129.                 <xsl:call-template name="handleSpaces">
  6130.                     <xsl:with-param name="field" select="b:Month"/>
  6131.                 </xsl:call-template>
  6132.             </xsl:with-param>
  6133.             <xsl:with-param name="year">
  6134.                 <xsl:call-template name="handleSpaces">
  6135.                     <xsl:with-param name="field" select="b:Year"/>
  6136.                 </xsl:call-template>
  6137.             </xsl:with-param>
  6138.             
  6139.             <xsl:with-param name="DMY"><xsl:call-template name="templ_prop_Gost_Date_DMY"/></xsl:with-param>
  6140.             <xsl:with-param name="DM"><xsl:call-template name="templ_prop_Gost_Date_DM"/></xsl:with-param>
  6141.             <xsl:with-param name="MY"><xsl:call-template name="templ_prop_Gost_Date_MY"/></xsl:with-param>
  6142.             <xsl:with-param name="DY"><xsl:call-template name="templ_prop_Gost_Date_DY"/></xsl:with-param>
  6143.         </xsl:call-template>
  6144.     </xsl:template>
  6145.  
  6146.  
  6147.     <xsl:template name="formatDateMonthYearAccessed">
  6148.         <xsl:param name="appendSpace"/>
  6149.         <xsl:call-template name="formatDateCore">
  6150.             <xsl:with-param name="day">
  6151.                 <xsl:call-template name="handleSpaces">
  6152.                     <xsl:with-param name="field" select="b:DayAccessed"/>
  6153.                 </xsl:call-template>
  6154.             </xsl:with-param>
  6155.             <xsl:with-param name="month">
  6156.                 <xsl:call-template name="handleSpaces">
  6157.                     <xsl:with-param name="field" select="b:MonthAccessed"/>
  6158.                 </xsl:call-template>
  6159.             </xsl:with-param>
  6160.             <xsl:with-param name="year">
  6161.                 <xsl:call-template name="handleSpaces">
  6162.                     <xsl:with-param name="field" select="b:YearAccessed"/>
  6163.                 </xsl:call-template>
  6164.             </xsl:with-param>
  6165.             
  6166.             <xsl:with-param name="DMY"><xsl:call-template name="templ_prop_Gost_Date_DMY"/></xsl:with-param>
  6167.             <xsl:with-param name="DM"><xsl:call-template name="templ_prop_Gost_Date_DM"/></xsl:with-param>
  6168.             <xsl:with-param name="MY"><xsl:call-template name="templ_prop_Gost_Date_MY"/></xsl:with-param>
  6169.             <xsl:with-param name="DY"><xsl:call-template name="templ_prop_Gost_Date_DY"/></xsl:with-param>
  6170.         </xsl:call-template>
  6171.     </xsl:template>
  6172.  
  6173.  
  6174.     <xsl:template name ="formatPrimaryResponsibilities">
  6175.         <xsl:param name ="FirstElement"></xsl:param>
  6176.         <xsl:param name ="SecondElement"></xsl:param>
  6177.         <xsl:param name ="ThirdElement"></xsl:param>
  6178.         <xsl:param name ="NonEmptyPrimSectionsCount">2</xsl:param>
  6179.         <xsl:param name ="MainSectionsCount">0</xsl:param>
  6180.  
  6181. <xsl:variable name="constGost_PrimaryResponsibilitiesOpen">
  6182.     <xsl:call-template name="templ_prop_Gost_GeneralOpen" />
  6183.     
  6184. </xsl:variable>
  6185. <xsl:variable name="constGost_PrimaryResponsibilitiesClose">
  6186.     <xsl:call-template name="templ_prop_Gost_GeneralClose" />
  6187.     
  6188. </xsl:variable>
  6189. <xsl:variable name="constGost_PrimaryResponsibilitiesSeparator">
  6190.     <xsl:call-template name="templ_prop_NonBreakingSpace" />
  6191.     <xsl:call-template name="templ_prop_GroupSeparator" />
  6192.     
  6193. </xsl:variable>
  6194. <xsl:variable name="constGost_PrimaryResponsibilitiesHeader">
  6195.     <xsl:call-template name="templ_prop_NonBreakingSpace" />
  6196.     <xsl:call-template name="templ_prop_Gost_OneSlash" />
  6197.     <xsl:call-template name="templ_prop_Space" />
  6198.     
  6199. </xsl:variable>
  6200.  
  6201.  
  6202.         <xsl:if test ="$NonEmptyPrimSectionsCount - $MainSectionsCount>0">
  6203.             
  6204.             
  6205.             
  6206.             
  6207.             
  6208.             
  6209.             <xsl:value-of select="$constGost_PrimaryResponsibilitiesHeader"/>
  6210.         </xsl:if>
  6211.  
  6212.         
  6213.         <xsl:if test ="$NonEmptyPrimSectionsCount - $MainSectionsCount >2">
  6214.             
  6215.             
  6216.             <xsl:value-of select="$constGost_PrimaryResponsibilitiesOpen"/>
  6217.         </xsl:if>
  6218.  
  6219.         
  6220.         <xsl:if test ='string-length($FirstElement)>0'>
  6221.             <xsl:value-of select = "$FirstElement"/>
  6222.         </xsl:if>
  6223.  
  6224.  
  6225.         
  6226.         <xsl:if test ="not ($FirstElement ='') and $NonEmptyPrimSectionsCount  - $MainSectionsCount > 1">
  6227.             
  6228.             
  6229.             
  6230.             
  6231.             
  6232.             <xsl:value-of select="$constGost_PrimaryResponsibilitiesSeparator"/>
  6233.         </xsl:if>
  6234.  
  6235.         
  6236.         <xsl:if test ='string-length($SecondElement)>0'>
  6237.             <xsl:value-of select = "$SecondElement"/>
  6238.         </xsl:if>
  6239.  
  6240.         
  6241.         <xsl:if test ="($FirstElement ='' and $NonEmptyPrimSectionsCount - $MainSectionsCount >1) or ($NonEmptyPrimSectionsCount - $MainSectionsCount  > 2)">
  6242.             
  6243.             
  6244.             
  6245.             
  6246.             
  6247.             <xsl:value-of select="$constGost_PrimaryResponsibilitiesSeparator"/>
  6248.         </xsl:if>
  6249.  
  6250.         
  6251.         <xsl:if test ='string-length($ThirdElement)>0'>
  6252.             <xsl:value-of select = "$ThirdElement"/>
  6253.         </xsl:if>
  6254.  
  6255.         
  6256.         <xsl:if test ="$NonEmptyPrimSectionsCount - $MainSectionsCount >2">
  6257.             
  6258.             
  6259.             <xsl:value-of select="$constGost_PrimaryResponsibilitiesClose"/>
  6260.         </xsl:if>
  6261.     </xsl:template>
  6262.  
  6263.     <xsl:template name ="format_SemiColonSeparated_Items">
  6264.         <xsl:param name="Item1"></xsl:param>
  6265.         <xsl:param name="Item2"></xsl:param>
  6266.         <xsl:param name="Item3"></xsl:param>
  6267.  
  6268. <xsl:variable name="constGost_SemiColonSeparatedItemsSeparator">
  6269.     <xsl:call-template name="templ_prop_NonBreakingSpace" />
  6270.     <xsl:call-template name="templ_prop_GroupSeparator" />
  6271.     
  6272. </xsl:variable>
  6273.  
  6274.  
  6275.         <xsl:value-of select ="$Item1"/>
  6276.         <xsl:if test ="string-length($Item1)>0 and (string-length($Item2)>0 or string-length($Item3) >0)">
  6277.             
  6278.             
  6279.             
  6280.             <xsl:value-of select="$constGost_SemiColonSeparatedItemsSeparator"/>
  6281.         </xsl:if>
  6282.         <xsl:value-of select ="$Item2"/>
  6283.         <xsl:if test ="string-length($Item2)>0 and string-length($Item3) >0">
  6284.             
  6285.             
  6286.             
  6287.             <xsl:value-of select="$constGost_SemiColonSeparatedItemsSeparator"/>
  6288.         </xsl:if>
  6289.         <xsl:value-of select ="$Item3"/>
  6290.     </xsl:template>
  6291.  
  6292.     <xsl:template name ="formatSecondaryResponsibilities">
  6293.         <xsl:param name ="CollectionName"></xsl:param>
  6294.         <xsl:param name ="FirstElement"></xsl:param>
  6295.         <xsl:param name ="SecondElement"></xsl:param>
  6296.         <xsl:param name ="ThirdElement"></xsl:param>
  6297.     <xsl:param name ="FourthElement"></xsl:param>
  6298.  
  6299.     <xsl:if test ="string-length($CollectionName)>0 or string-length($FirstElement)>0 or string-length($SecondElement)>0 or string-length($ThirdElement)>0 or string-length($FourthElement)>0">
  6300.             <xsl:choose>
  6301.                 <xsl:when test ="string-length($CollectionName)>0">
  6302.                     
  6303.                     
  6304.                     
  6305.                     
  6306.                     
  6307.                     <xsl:value-of select="$constGost_CollectionNameHeader"/>
  6308.                     <xsl:value-of select ="$CollectionName"/>
  6309.                 </xsl:when>
  6310.                 <xsl:otherwise>
  6311.                     
  6312.                     
  6313.                     
  6314.                     
  6315.                     
  6316.                     <xsl:value-of select="$constGost_SecondaryResponsibilitiesHeader"/>
  6317.                 </xsl:otherwise>
  6318.             </xsl:choose>
  6319.  
  6320.             <xsl:if test ="string-length($CollectionName)>0 and string-length($FirstElement)>0">
  6321.                 
  6322.                 
  6323.                 
  6324.                 <xsl:value-of select="$constGost_SecondaryResponsibilitiesSeparator"/>
  6325.             </xsl:if>
  6326.             <xsl:value-of select ="$FirstElement"/>
  6327.             <xsl:if test ="(string-length($CollectionName)>0 or string-length($FirstElement)>0) and string-length($SecondElement)>0 ">
  6328.                 
  6329.                 
  6330.                 
  6331.                 <xsl:value-of select="$constGost_SecondaryResponsibilitiesSeparator"/>
  6332.             </xsl:if>
  6333.             <xsl:value-of select ="$SecondElement"/>
  6334.             <xsl:if test ="(string-length($CollectionName)>0 or string-length($FirstElement)>0 or string-length($SecondElement)>0) and string-length($ThirdElement)>0 ">
  6335.                 
  6336.                 
  6337.                 
  6338.                 <xsl:value-of select="$constGost_SecondaryResponsibilitiesSeparator"/>
  6339.             </xsl:if>
  6340.             <xsl:value-of select ="$ThirdElement"/>
  6341.       <xsl:if test ="(string-length($CollectionName)>0 or string-length($FirstElement)>0 or string-length($SecondElement)>0 or string-length($ThirdElement)>0) and string-length($FourthElement)>0 ">
  6342.         
  6343.         
  6344.         
  6345.         <xsl:value-of select="$constGost_SecondaryResponsibilitiesSeparator"/>
  6346.       </xsl:if>
  6347.       <xsl:value-of select ="$FourthElement"/>
  6348.     </xsl:if>
  6349.  
  6350.  
  6351.  
  6352.     </xsl:template>
  6353.  
  6354.     <xsl:template name="handleSpaces">
  6355.         <xsl:param name="field"/>
  6356.  
  6357.     <xsl:variable name="prop_NormalizeSpace">
  6358.       <xsl:call-template name="templ_prop_NormalizeSpace"/>
  6359.     </xsl:variable>
  6360.  
  6361.     <xsl:choose>
  6362.             <xsl:when test="$prop_NormalizeSpace='yes'">
  6363.                 <xsl:value-of select="normalize-space($field)"/>
  6364.             </xsl:when>
  6365.             <xsl:otherwise>
  6366.                 <xsl:value-of select="$field"/>
  6367.             </xsl:otherwise>
  6368.         </xsl:choose>
  6369.     </xsl:template>
  6370.     
  6371.     <xsl:template name="need_Dot">
  6372.         <xsl:param name="field"/>
  6373.         
  6374.         <xsl:variable name="temp">
  6375.             <xsl:call-template name="handleSpaces">
  6376.                 <xsl:with-param name="field" select="$field"/>
  6377.             </xsl:call-template>
  6378.         </xsl:variable>
  6379.  
  6380.         <xsl:variable name="lastChar">
  6381.             <xsl:value-of select="substring($temp, string-length($temp))"/>
  6382.         </xsl:variable>
  6383.  
  6384.     <xsl:variable name="prop_EndChars">
  6385.       <xsl:call-template name="templ_prop_EndChars"/>
  6386.     </xsl:variable>
  6387.  
  6388.  
  6389.     <xsl:choose>
  6390.             <xsl:when test="string-length($temp) = 0">
  6391.             </xsl:when>
  6392.             <xsl:when test="contains($prop_EndChars, $lastChar)">
  6393.             </xsl:when>
  6394.             <xsl:otherwise>
  6395.                 <xsl:call-template name="templ_prop_Dot"/>
  6396.             </xsl:otherwise>
  6397.         </xsl:choose>
  6398.     </xsl:template>
  6399.     
  6400.     
  6401.  
  6402.  
  6403.     <xsl:template name="formatNameCore">
  6404.         <xsl:param name="FML"/>
  6405.         <xsl:param name="FM"/>
  6406.         <xsl:param name="ML"/>
  6407.         <xsl:param name="FL"/>
  6408.         <xsl:param name="upperLast"/>
  6409.         <xsl:param name="withDot"/>
  6410.  
  6411.         <xsl:variable name="first">
  6412.             <xsl:call-template name="handleSpaces">
  6413.                 <xsl:with-param name="field" select="b:First"/>
  6414.             </xsl:call-template>
  6415.         </xsl:variable>
  6416.  
  6417.         <xsl:variable name="middle">
  6418.             <xsl:call-template name="handleSpaces">
  6419.                 <xsl:with-param name="field" select="b:Middle"/>
  6420.             </xsl:call-template>
  6421.         </xsl:variable>
  6422.  
  6423.         <xsl:variable name="last">
  6424.             <xsl:call-template name="handleSpaces">
  6425.                 <xsl:with-param name="field" select="b:Last"/>
  6426.             </xsl:call-template>
  6427.         </xsl:variable>
  6428.         
  6429.         <xsl:variable name="format">
  6430.             <xsl:choose>
  6431.                 <xsl:when test="string-length($first) = 0 and string-length($middle) = 0 and string-length($last) = 0 ">
  6432.                 </xsl:when>
  6433.                 <xsl:when test="string-length($first) = 0 and string-length($middle) = 0 and string-length($last) != 0 ">
  6434.                     <xsl:call-template name="templ_prop_SimpleAuthor_L" />
  6435.                 </xsl:when>
  6436.                 <xsl:when test="string-length($first) = 0 and string-length($middle) != 0 and string-length($last) = 0 ">
  6437.           <xsl:call-template name="templ_prop_SimpleAuthor_M" />
  6438.                 </xsl:when>
  6439.                 <xsl:when test="string-length($first) = 0 and string-length($middle) != 0 and string-length($last) != 0 ">
  6440.                     <xsl:value-of select="$ML"/>
  6441.                 </xsl:when>
  6442.                 <xsl:when test="string-length($first) != 0 and string-length($middle) = 0 and string-length($last) = 0 ">
  6443.                     <xsl:call-template name="templ_prop_SimpleAuthor_F" />
  6444.                 </xsl:when>
  6445.                 <xsl:when test="string-length($first) != 0 and string-length($middle) = 0 and string-length($last) != 0 ">
  6446.                     <xsl:value-of select="$FL"/>
  6447.                 </xsl:when>
  6448.                 <xsl:when test="string-length($first) != 0 and string-length($middle) != 0 and string-length($last) = 0 ">
  6449.                     <xsl:value-of select="$FM"/>
  6450.                 </xsl:when>
  6451.                 <xsl:when test="string-length($first) != 0 and string-length($middle) != 0 and string-length($last) != 0 ">
  6452.                     <xsl:value-of select="$FML"/>
  6453.                 </xsl:when>
  6454.             </xsl:choose>
  6455.         </xsl:variable>
  6456.         
  6457.         <xsl:call-template name="StringFormatName">
  6458.             <xsl:with-param name="format" select="$format"/>
  6459.             <xsl:with-param name="upperLast" select="$upperLast"/>
  6460.             <xsl:with-param name="withDot" select="$withDot"/>
  6461.         </xsl:call-template>
  6462.         
  6463.     </xsl:template>
  6464.  
  6465.     <xsl:template name="formatDateCorePrivate">
  6466.         <xsl:param name="DMY"/>
  6467.         <xsl:param name="DM"/>
  6468.         <xsl:param name="MY"/>
  6469.         <xsl:param name="DY"/>
  6470.  
  6471.         <xsl:param name="day"/>
  6472.         <xsl:param name="month"/>
  6473.         <xsl:param name="year"/>
  6474.         
  6475.         <xsl:param name="withDot"/>
  6476.         
  6477.         <xsl:variable name="format">
  6478.             <xsl:choose>
  6479.                 <xsl:when test="string-length($day) = 0 and string-length($month) = 0 and string-length($year) = 0 ">
  6480.                 </xsl:when>
  6481.                 <xsl:when test="string-length($day) = 0 and string-length($month) = 0 and string-length($year) != 0 ">
  6482.                     <xsl:call-template name="templ_prop_SimpleDate_Y" />
  6483.                 </xsl:when>
  6484.                 <xsl:when test="string-length($day) = 0 and string-length($month) != 0 and string-length($year) = 0 ">
  6485.                 </xsl:when>
  6486.                 <xsl:when test="string-length($day) = 0 and string-length($month) != 0 and string-length($year) != 0 ">
  6487.                     <xsl:value-of select="$MY"/>
  6488.                 </xsl:when>
  6489.                 <xsl:when test="string-length($day) != 0 and string-length($month) = 0 and string-length($year) = 0 ">
  6490.                     <xsl:call-template name="templ_prop_SimpleDate_Y" />
  6491.                 </xsl:when>
  6492.                 <xsl:when test="string-length($day) != 0 and string-length($month) = 0 and string-length($year) != 0 ">
  6493.                     <xsl:call-template name="templ_prop_SimpleDate_Y" />
  6494.                 </xsl:when>
  6495.                 <xsl:when test="string-length($day) != 0 and string-length($month) != 0 and string-length($year) = 0 ">
  6496.                 </xsl:when>
  6497.                 <xsl:when test="string-length($day) != 0 and string-length($month) != 0 and string-length($year) != 0 ">
  6498.                     <xsl:value-of select="$DMY"/>
  6499.                 </xsl:when>
  6500.             </xsl:choose>
  6501.         </xsl:variable>
  6502.         
  6503.         <xsl:call-template name="StringFormatDate">
  6504.             <xsl:with-param name="format" select="$format"/>
  6505.  
  6506.             <xsl:with-param name="day" select="$day"/>
  6507.             <xsl:with-param name="month" select="$month"/>
  6508.             <xsl:with-param name="year" select="$year"/>
  6509.  
  6510.             <xsl:with-param name="withDot" select="$withDot"/>
  6511.         </xsl:call-template>
  6512.         
  6513.     </xsl:template>
  6514.  
  6515.     <xsl:template name="StringFormatName">
  6516.         <xsl:param name="format" />
  6517.         <xsl:param name="withDot" />
  6518.         <xsl:param name="upperLast"/>
  6519.  
  6520.     <xsl:variable name="prop_EndChars">
  6521.       <xsl:call-template name="templ_prop_EndChars"/>
  6522.     </xsl:variable>
  6523.  
  6524.     <xsl:choose>
  6525.             <xsl:when test="$format = ''"></xsl:when>
  6526.             <xsl:when test="substring($format, 1, 2) = '%%'">
  6527.                 <xsl:text>%</xsl:text>
  6528.                 <xsl:call-template name="StringFormatName">
  6529.                     <xsl:with-param name="format" select="substring($format, 3)" />
  6530.                     <xsl:with-param name="withDot" select="$withDot" />
  6531.                     <xsl:with-param name="upperLast" select="$upperLast" />
  6532.                 </xsl:call-template>
  6533.                 <xsl:if test="string-length($format)=2 and withDot = 'yes' and not(contains($prop_EndChars, '%'))">
  6534.                     <xsl:call-template name="templ_prop_Dot"/>
  6535.                 </xsl:if>
  6536.             </xsl:when>
  6537.             <xsl:when test="substring($format, 1, 1) = '%'">
  6538.                 <xsl:variable name="what" select="substring($format, 2, 1)" />
  6539.                 
  6540.                 <xsl:choose>
  6541.                     <xsl:when test="(what = 'l' or what = 'L') and upperLast = 'yes'">
  6542.                         <span style='text-transform: uppercase;'>
  6543.                             <xsl:call-template name="formatNameOneItem">
  6544.                                 <xsl:with-param name="format" select="$what"/>
  6545.                             </xsl:call-template>
  6546.                         </span>
  6547.                     </xsl:when>
  6548.                     <xsl:otherwise>
  6549.                         <xsl:call-template name="formatNameOneItem">
  6550.                             <xsl:with-param name="format" select="$what"/>
  6551.                         </xsl:call-template>
  6552.                     </xsl:otherwise>
  6553.                 </xsl:choose>
  6554.                 <xsl:call-template name="StringFormatName">
  6555.                     <xsl:with-param name="format" select="substring($format, 3)" />
  6556.                     <xsl:with-param name="withDot" select="$withDot" />
  6557.                     <xsl:with-param name="upperLast" select="$upperLast" />
  6558.                 </xsl:call-template>
  6559.                 <xsl:if test="string-length($format)=2 and withDot='yes'">
  6560.                     <xsl:variable name="temp2">
  6561.                         <xsl:call-template name="handleSpaces">
  6562.                             <xsl:with-param name="field">
  6563.                                 <xsl:call-template name="formatNameOneItem">
  6564.                                     <xsl:with-param name="format" select="$what"/>
  6565.                                 </xsl:call-template>
  6566.                             </xsl:with-param>
  6567.                         </xsl:call-template>
  6568.                     </xsl:variable>                
  6569.                     <xsl:variable name="lastChar">
  6570.                         <xsl:value-of select="substring($temp2, string-length($temp2))"/>
  6571.                     </xsl:variable>
  6572.                     <xsl:if test="not(contains($prop_EndChars, $lastChar))">
  6573.                         <xsl:call-template name="templ_prop_Dot"/>
  6574.                     </xsl:if>
  6575.                 </xsl:if>
  6576.             </xsl:when>
  6577.             <xsl:otherwise>
  6578.                 <xsl:value-of select="substring($format, 1, 1)" />
  6579.                 <xsl:call-template name="StringFormatName">
  6580.                     <xsl:with-param name="format" select="substring($format, 2)" />
  6581.                     <xsl:with-param name="withDot" select="$withDot" />
  6582.                     <xsl:with-param name="upperLast" select="$upperLast" />
  6583.                 </xsl:call-template>
  6584.                 <xsl:if test="string-length($format)=1">
  6585.                     <xsl:if test="withDot = 'yes' and not(contains($prop_EndChars, $format))">
  6586.                         <xsl:call-template name="templ_prop_Dot"/>
  6587.                     </xsl:if>
  6588.                 </xsl:if>
  6589.             </xsl:otherwise>
  6590.         </xsl:choose>
  6591.     </xsl:template>    
  6592.  
  6593.     <xsl:template name="StringFormatDate">
  6594.         <xsl:param name="format" />
  6595.         
  6596.         <xsl:param name="day"/>
  6597.         <xsl:param name="month"/>
  6598.         <xsl:param name="year"/>        
  6599.         
  6600.         <xsl:param name="withDot" />
  6601.  
  6602.     <xsl:variable name="prop_EndChars">
  6603.       <xsl:call-template name="templ_prop_EndChars"/>
  6604.     </xsl:variable>
  6605.  
  6606.     <xsl:choose>
  6607.             <xsl:when test="$format = ''"></xsl:when>
  6608.             <xsl:when test="substring($format, 1, 2) = '%%'">
  6609.                 <xsl:text>%</xsl:text>
  6610.                 <xsl:call-template name="StringFormatDate">
  6611.                     <xsl:with-param name="format" select="substring($format, 3)" />
  6612.                     <xsl:with-param name="day" select="$day"/>
  6613.                     <xsl:with-param name="month" select="$month"/>
  6614.                     <xsl:with-param name="year" select="$year"/>
  6615.                     <xsl:with-param name="withDot" select="$withDot" />
  6616.                 </xsl:call-template>
  6617.                 <xsl:if test="string-length($format)=2 and withDot = 'yes' and not(contains($prop_EndChars, '%'))">
  6618.                     <xsl:call-template name="templ_prop_Dot"/>
  6619.                 </xsl:if>
  6620.             </xsl:when>
  6621.             <xsl:when test="substring($format, 1, 1) = '%'">
  6622.                 <xsl:variable name="what" select="substring($format, 2, 1)" />
  6623.                 <xsl:choose>
  6624.                     <xsl:when test="$what = 'D'">
  6625.                         <xsl:value-of select="$day"/>
  6626.                     </xsl:when>
  6627.                     <xsl:when test="$what = 'M'">
  6628.                         <xsl:value-of select="$month"/>
  6629.                     </xsl:when>
  6630.                     <xsl:when test="$what = 'Y'">
  6631.                         <xsl:value-of select="$year"/>
  6632.                     </xsl:when>
  6633.                 </xsl:choose>
  6634.                 <xsl:call-template name="StringFormatDate">
  6635.                     <xsl:with-param name="format" select="substring($format, 3)" />
  6636.                     <xsl:with-param name="day" select="$day"/>
  6637.                     <xsl:with-param name="month" select="$month"/>
  6638.                     <xsl:with-param name="year" select="$year"/>
  6639.                     <xsl:with-param name="withDot" select="$withDot" />
  6640.                 </xsl:call-template>
  6641.                 <xsl:if test="string-length($format)=2 and withDot='yes'">
  6642.                     <xsl:variable name="temp2">
  6643.                         <xsl:call-template name="handleSpaces">
  6644.                             <xsl:with-param name="field">
  6645.                                 <xsl:call-template name="formatNameOneItem">
  6646.                                     <xsl:with-param name="format" select="$what"/>
  6647.                                 </xsl:call-template>
  6648.                             </xsl:with-param>
  6649.                         </xsl:call-template>
  6650.                     </xsl:variable>                
  6651.                     <xsl:variable name="lastChar">
  6652.                         <xsl:value-of select="substring($temp2, string-length($temp2))"/>
  6653.                     </xsl:variable>
  6654.                     <xsl:if test="not(contains($prop_EndChars, $lastChar))">
  6655.                         <xsl:call-template name="templ_prop_Dot"/>
  6656.                     </xsl:if>
  6657.                 </xsl:if>
  6658.             </xsl:when>
  6659.             <xsl:otherwise>
  6660.                 <xsl:value-of select="substring($format, 1, 1)" />
  6661.                 <xsl:call-template name="StringFormatDate">
  6662.                     <xsl:with-param name="format" select="substring($format, 2)" />
  6663.                     <xsl:with-param name="day" select="$day"/>
  6664.                     <xsl:with-param name="month" select="$month"/>
  6665.                     <xsl:with-param name="year" select="$year"/>
  6666.                     <xsl:with-param name="withDot" select="$withDot" />
  6667.                 </xsl:call-template>
  6668.                 <xsl:if test="string-length($format)=1">
  6669.                     <xsl:if test="withDot = 'yes' and not(contains($prop_EndChars, $format))">
  6670.                         <xsl:call-template name="templ_prop_Dot"/>
  6671.                     </xsl:if>
  6672.                 </xsl:if>
  6673.             </xsl:otherwise>
  6674.         </xsl:choose>
  6675.     </xsl:template>    
  6676.     <xsl:template name="formatDateCore">
  6677.         <xsl:param name="day"/>
  6678.         <xsl:param name="month"/>
  6679.         <xsl:param name="year"/>
  6680.         <xsl:param name="displayND"/>
  6681.         
  6682.         <xsl:param name="DMY"/>
  6683.         <xsl:param name="DM"/>
  6684.         <xsl:param name="MY"/>
  6685.         <xsl:param name="DY"/>
  6686.     
  6687.         <xsl:choose>
  6688.             <xsl:when test="string-length($year)=0">
  6689.                 <xsl:if test="$displayND = 'yes'">
  6690.                     <xsl:call-template name="templ_str_NoDateShortUnCap"/>
  6691.                 </xsl:if>
  6692.             </xsl:when>
  6693.             <xsl:otherwise>
  6694.                 <xsl:call-template name="formatDateCorePrivate">
  6695.                     <xsl:with-param name="day" select="$day"/>
  6696.                     <xsl:with-param name="month" select="$month"/>
  6697.                     <xsl:with-param name="year" select="$year"/>
  6698.                     
  6699.                     <xsl:with-param name="DMY" select="$DMY"/>
  6700.                     <xsl:with-param name="DM" select="$DM"/>
  6701.                     <xsl:with-param name="MY" select="$MY"/>
  6702.                     <xsl:with-param name="DY" select="$DY"/>
  6703.                 </xsl:call-template>
  6704.             </xsl:otherwise>
  6705.         </xsl:choose>
  6706.     
  6707.     </xsl:template>
  6708.  
  6709.     <xsl:template name="formatNameOneItem">
  6710.         <xsl:param name="format"/>
  6711.  
  6712.         <xsl:choose>
  6713.             <xsl:when test="$format = 'F'">
  6714.                 <xsl:value-of select="b:First"/>
  6715.             </xsl:when>
  6716.             <xsl:when test="$format = 'L'">
  6717.                 <xsl:value-of select="b:Last"/>
  6718.             </xsl:when>
  6719.             <xsl:when test="$format = 'M'">
  6720.                 <xsl:value-of select="b:Middle"/>
  6721.             </xsl:when>
  6722.             <xsl:when test="$format = 'f'">
  6723.                 <xsl:call-template name="formatNameInitial">
  6724.                     <xsl:with-param name="name" select="b:First"/>
  6725.                 </xsl:call-template>
  6726.             </xsl:when>
  6727.             <xsl:when test="$format = 'm'">
  6728.                 <xsl:call-template name="formatNameInitial">
  6729.                     <xsl:with-param name="name" select="b:Middle"/>
  6730.                 </xsl:call-template>
  6731.             </xsl:when>
  6732.             <xsl:when test="$format = 'l'">
  6733.                 <xsl:call-template name="formatNameInitial">
  6734.                     <xsl:with-param name="name" select="b:Last"/>
  6735.                 </xsl:call-template>
  6736.             </xsl:when>
  6737.         </xsl:choose>
  6738.  
  6739.     </xsl:template>
  6740.  
  6741.     <xsl:template name="formatNameInitial">
  6742.         <xsl:param name="name"/>
  6743.         <xsl:variable name="temp">
  6744.             <xsl:call-template name="handleSpaces">
  6745.                 <xsl:with-param name="field" select="$name"/>
  6746.             </xsl:call-template>
  6747.         </xsl:variable>
  6748.  
  6749.     <xsl:variable name="prop_APA_Hyphens">
  6750.       <xsl:call-template name="templ_prop_Hyphens"/>
  6751.     </xsl:variable>
  6752.  
  6753.     <xsl:if test="string-length($temp)>0">
  6754.  
  6755.             <xsl:variable name="tempWithoutSpaces">
  6756.                 <xsl:value-of select="translate($temp, '  ', '')"/>
  6757.             </xsl:variable>
  6758.  
  6759.             <xsl:if test="not(contains($prop_APA_Hyphens, substring($tempWithoutSpaces, 1, 1)))">
  6760.                 <xsl:value-of select="substring($tempWithoutSpaces, 1, 1)"/>
  6761.                 <xsl:call-template name="templ_prop_DotInitial"/>
  6762.             </xsl:if>
  6763.  
  6764.             <xsl:call-template name="handleHyphens">
  6765.                 <xsl:with-param name="name" select="$tempWithoutSpaces"/>
  6766.             </xsl:call-template>
  6767.         </xsl:if>
  6768.     </xsl:template>
  6769.  
  6770.     <xsl:template name="handleHyphens">
  6771.         <xsl:param name="name"/>
  6772.  
  6773.     <xsl:variable name="prop_APA_Hyphens">
  6774.       <xsl:call-template name="templ_prop_Hyphens"/>
  6775.     </xsl:variable>
  6776.  
  6777.     <xsl:if test="string-length($name)>=2">
  6778.             <xsl:choose>
  6779.                 <xsl:when test="contains($prop_APA_Hyphens, substring($name, 1, 1))">
  6780.                     <xsl:value-of select="substring($name, 1, 2)"/>
  6781.                     <xsl:call-template name="templ_prop_DotInitial"/>
  6782.                     
  6783.                     <xsl:call-template name="handleHyphens">
  6784.                         <xsl:with-param name="name" select="substring($name, 3)"/>
  6785.                     </xsl:call-template>
  6786.                 </xsl:when>
  6787.                 
  6788.                 <xsl:otherwise>
  6789.                     <xsl:call-template name="handleHyphens">
  6790.                         <xsl:with-param name="name" select="substring($name, 2)"/>
  6791.                     </xsl:call-template>
  6792.                 </xsl:otherwise>
  6793.             </xsl:choose>
  6794.             
  6795.         </xsl:if>
  6796.  
  6797.     </xsl:template>
  6798.  
  6799.     
  6800. </xsl:stylesheet>
  6801.  
  6802.