home *** CD-ROM | disk | FTP | other *** search
/ ftp.tcs3.com / ftp.tcs3.com.tar / ftp.tcs3.com / DRIVERS / Audio / Office2010 / ProPlus.WW / ProPsWW.cab / ISO690NMERICAL.XSL < prev    next >
Extensible Markup Language  |  2008-10-17  |  258KB  |  7,114 lines

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