home *** CD-ROM | disk | FTP | other *** search
/ ftp.tcs3.com / ftp.tcs3.com.tar / ftp.tcs3.com / DRIVERS / Audio / Office2010 / ProPlus.WW / ProPsWW2.cab / MLA.XSL < prev    next >
Extensible Markup Language  |  2009-11-03  |  299KB  |  8,218 lines

  1. <?xml version="1.0" ?>
  2.  
  3.  
  4. <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">
  5.     <xsl:output method="html" encoding="us-ascii"/>
  6.     
  7.     
  8.     
  9.     
  10.     <xsl:template match="*" mode="outputHtml2">
  11.             <xsl:apply-templates mode="outputHtml"/>        
  12.     </xsl:template>
  13.  
  14.     <xsl:template name="StringFormatDot">
  15.         <xsl:param name="format" />
  16.         <xsl:param name="parameters" />
  17.  
  18.     <xsl:variable name="prop_EndChars">
  19.       <xsl:call-template name="templ_prop_EndChars"/>
  20.     </xsl:variable>
  21.  
  22.     <xsl:choose>
  23.             <xsl:when test="$format = ''"></xsl:when>
  24.             <xsl:when test="substring($format, 1, 2) = '%%'">
  25.                 <xsl:text>%</xsl:text>
  26.                 <xsl:call-template name="StringFormatDot">
  27.                     <xsl:with-param name="format" select="substring($format, 3)" />
  28.                     <xsl:with-param name="parameters" select="$parameters" />
  29.                 </xsl:call-template>
  30.                 <xsl:if test="string-length($format)=2">
  31.                     <xsl:call-template name="templ_prop_Dot"/>
  32.                 </xsl:if>
  33.             </xsl:when>
  34.             <xsl:when test="substring($format, 1, 1) = '%'">
  35.                 <xsl:variable name="pos" select="substring($format, 2, 1)" />
  36.                 <xsl:apply-templates select="msxsl:node-set($parameters)/t:params/t:param[position() = $pos]" mode="outputHtml2"/>
  37.                 <xsl:call-template name="StringFormatDot">
  38.                     <xsl:with-param name="format" select="substring($format, 3)" />
  39.                     <xsl:with-param name="parameters" select="$parameters" />
  40.                 </xsl:call-template>
  41.                 <xsl:if test="string-length($format)=2">
  42.                     <xsl:variable name="temp2">
  43.                         <xsl:call-template name="handleSpaces">
  44.                             <xsl:with-param name="field" select="msxsl:node-set($parameters)/t:params/t:param[position() = $pos]"/>
  45.                         </xsl:call-template>
  46.                     </xsl:variable>                
  47.                     <xsl:variable name="lastChar">
  48.                         <xsl:value-of select="substring($temp2, string-length($temp2))"/>
  49.                     </xsl:variable>
  50.                     <xsl:if test="not(contains($prop_EndChars, $lastChar))">
  51.                         <xsl:call-template name="templ_prop_Dot"/>
  52.                     </xsl:if>
  53.                 </xsl:if>
  54.             </xsl:when>
  55.             <xsl:otherwise>
  56.                 <xsl:value-of select="substring($format, 1, 1)" />
  57.                 <xsl:call-template name="StringFormatDot">
  58.                     <xsl:with-param name="format" select="substring($format, 2)" />
  59.                     <xsl:with-param name="parameters" select="$parameters" />
  60.                 </xsl:call-template>
  61.                 <xsl:if test="string-length($format)=1">
  62.                     <xsl:if test="not(contains($prop_EndChars, $format))">
  63.                         <xsl:call-template name="templ_prop_Dot"/>
  64.                     </xsl:if>
  65.                 </xsl:if>
  66.             </xsl:otherwise>
  67.         </xsl:choose>
  68.     </xsl:template>    
  69.  
  70.     <xsl:template name="StringFormat">
  71.         <xsl:param name="format" />
  72.         <xsl:param name="parameters" />
  73.         <xsl:choose>
  74.             <xsl:when test="$format = ''"></xsl:when>
  75.             <xsl:when test="substring($format, 1, 2) = '%%'">
  76.                 <xsl:text>%</xsl:text>
  77.                 <xsl:call-template name="StringFormat">
  78.                     <xsl:with-param name="format" select="substring($format, 3)" />
  79.                     <xsl:with-param name="parameters" select="$parameters" />
  80.                 </xsl:call-template>
  81.             </xsl:when>
  82.             <xsl:when test="substring($format, 1, 1) = '%'">
  83.                 <xsl:variable name="pos" select="substring($format, 2, 1)" />
  84.                 <xsl:apply-templates select="msxsl:node-set($parameters)/t:params/t:param[position() = $pos]" mode="outputHtml2"/>
  85.                 <xsl:call-template name="StringFormat">
  86.                     <xsl:with-param name="format" select="substring($format, 3)" />
  87.                     <xsl:with-param name="parameters" select="$parameters" />
  88.                 </xsl:call-template>
  89.             </xsl:when>
  90.             <xsl:otherwise>
  91.                 <xsl:value-of select="substring($format, 1, 1)" />
  92.                 <xsl:call-template name="StringFormat">
  93.                     <xsl:with-param name="format" select="substring($format, 2)" />
  94.                     <xsl:with-param name="parameters" select="$parameters" />
  95.                 </xsl:call-template>
  96.             </xsl:otherwise>
  97.         </xsl:choose>
  98.     </xsl:template>
  99.     
  100.  
  101.  
  102.   
  103.   <xsl:template name="templ_prop_MLA_CitationLong_FML" >
  104.     <xsl:param name="LCID" />
  105.     <xsl:variable name="_LCID">
  106.       <xsl:call-template name="localLCID">
  107.         <xsl:with-param name="LCID" select="$LCID"/>
  108.       </xsl:call-template>
  109.     </xsl:variable>
  110.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:CitationLong/b:FML"/>
  111.   </xsl:template>
  112.  
  113.   
  114.   <xsl:template name="templ_prop_MLA_CitationLong_FM" >
  115.     <xsl:param name="LCID" />
  116.     <xsl:variable name="_LCID">
  117.       <xsl:call-template name="localLCID">
  118.         <xsl:with-param name="LCID" select="$LCID"/>
  119.       </xsl:call-template>
  120.     </xsl:variable>
  121.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:CitationLong/b:FM"/>
  122.   </xsl:template>
  123.  
  124.   
  125.   <xsl:template name="templ_prop_MLA_CitationLong_ML" >
  126.     <xsl:param name="LCID" />
  127.     <xsl:variable name="_LCID">
  128.       <xsl:call-template name="localLCID">
  129.         <xsl:with-param name="LCID" select="$LCID"/>
  130.       </xsl:call-template>
  131.     </xsl:variable>
  132.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:CitationLong/b:ML"/>
  133.   </xsl:template>
  134.  
  135.   
  136.   <xsl:template name="templ_prop_MLA_CitationLong_FL" >
  137.     <xsl:param name="LCID" />
  138.     <xsl:variable name="_LCID">
  139.       <xsl:call-template name="localLCID">
  140.         <xsl:with-param name="LCID" select="$LCID"/>
  141.       </xsl:call-template>
  142.     </xsl:variable>
  143.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:CitationLong/b:FL"/>
  144.   </xsl:template>
  145.  
  146.   
  147.   <xsl:template name="templ_prop_MLA_CitationShort_FML" >
  148.     <xsl:param name="LCID" />
  149.     <xsl:variable name="_LCID">
  150.       <xsl:call-template name="localLCID">
  151.         <xsl:with-param name="LCID" select="$LCID"/>
  152.       </xsl:call-template>
  153.     </xsl:variable>
  154.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:CitationShort/b:FML"/>
  155.   </xsl:template>
  156.  
  157.   
  158.   <xsl:template name="templ_prop_MLA_CitationShort_FM" >
  159.     <xsl:param name="LCID" />
  160.     <xsl:variable name="_LCID">
  161.       <xsl:call-template name="localLCID">
  162.         <xsl:with-param name="LCID" select="$LCID"/>
  163.       </xsl:call-template>
  164.     </xsl:variable>
  165.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:CitationShort/b:FM"/>
  166.   </xsl:template>
  167.  
  168.   
  169.   <xsl:template name="templ_prop_MLA_CitationShort_ML" >
  170.     <xsl:param name="LCID" />
  171.     <xsl:variable name="_LCID">
  172.       <xsl:call-template name="localLCID">
  173.         <xsl:with-param name="LCID" select="$LCID"/>
  174.       </xsl:call-template>
  175.     </xsl:variable>
  176.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:CitationShort/b:ML"/>
  177.   </xsl:template>
  178.  
  179.   
  180.   <xsl:template name="templ_prop_MLA_CitationShort_FL" >
  181.     <xsl:param name="LCID" />
  182.     <xsl:variable name="_LCID">
  183.       <xsl:call-template name="localLCID">
  184.         <xsl:with-param name="LCID" select="$LCID"/>
  185.       </xsl:call-template>
  186.     </xsl:variable>
  187.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:CitationShort/b:FL"/>
  188.   </xsl:template>
  189.  
  190.   
  191.   <xsl:template name="templ_prop_APA_CitationLong_FML" >
  192.     <xsl:param name="LCID" />
  193.     <xsl:variable name="_LCID">
  194.       <xsl:call-template name="localLCID">
  195.         <xsl:with-param name="LCID" select="$LCID"/>
  196.       </xsl:call-template>
  197.     </xsl:variable>
  198.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:CitationLong/b:FML"/>
  199.   </xsl:template>
  200.  
  201.   
  202.   <xsl:template name="templ_prop_APA_CitationLong_FM" >
  203.     <xsl:param name="LCID" />
  204.     <xsl:variable name="_LCID">
  205.       <xsl:call-template name="localLCID">
  206.         <xsl:with-param name="LCID" select="$LCID"/>
  207.       </xsl:call-template>
  208.     </xsl:variable>
  209.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:CitationLong/b:FM"/>
  210.   </xsl:template>
  211.  
  212.   
  213.   <xsl:template name="templ_prop_APA_CitationLong_ML" >
  214.     <xsl:param name="LCID" />
  215.     <xsl:variable name="_LCID">
  216.       <xsl:call-template name="localLCID">
  217.         <xsl:with-param name="LCID" select="$LCID"/>
  218.       </xsl:call-template>
  219.     </xsl:variable>
  220.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:CitationLong/b:ML"/>
  221.   </xsl:template>
  222.  
  223.   
  224.   <xsl:template name="templ_prop_APA_CitationLong_FL" >
  225.     <xsl:param name="LCID" />
  226.     <xsl:variable name="_LCID">
  227.       <xsl:call-template name="localLCID">
  228.         <xsl:with-param name="LCID" select="$LCID"/>
  229.       </xsl:call-template>
  230.     </xsl:variable>
  231.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:CitationLong/b:FL"/>
  232.   </xsl:template>
  233.  
  234.   
  235.   <xsl:template name="templ_prop_APA_CitationShort_FML" >
  236.     <xsl:param name="LCID" />
  237.     <xsl:variable name="_LCID">
  238.       <xsl:call-template name="localLCID">
  239.         <xsl:with-param name="LCID" select="$LCID"/>
  240.       </xsl:call-template>
  241.     </xsl:variable>
  242.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:CitationShort/b:FML"/>
  243.   </xsl:template>
  244.  
  245.   
  246.   <xsl:template name="templ_prop_APA_CitationShort_FM" >
  247.     <xsl:param name="LCID" />
  248.     <xsl:variable name="_LCID">
  249.       <xsl:call-template name="localLCID">
  250.         <xsl:with-param name="LCID" select="$LCID"/>
  251.       </xsl:call-template>
  252.     </xsl:variable>
  253.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:CitationShort/b:FM"/>
  254.   </xsl:template>
  255.  
  256.   
  257.   <xsl:template name="templ_prop_APA_CitationShort_ML" >
  258.     <xsl:param name="LCID" />
  259.     <xsl:variable name="_LCID">
  260.       <xsl:call-template name="localLCID">
  261.         <xsl:with-param name="LCID" select="$LCID"/>
  262.       </xsl:call-template>
  263.     </xsl:variable>
  264.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:CitationShort/b:ML"/>
  265.   </xsl:template>
  266.  
  267.   
  268.   <xsl:template name="templ_prop_APA_CitationShort_FL" >
  269.     <xsl:param name="LCID" />
  270.     <xsl:variable name="_LCID">
  271.       <xsl:call-template name="localLCID">
  272.         <xsl:with-param name="LCID" select="$LCID"/>
  273.       </xsl:call-template>
  274.     </xsl:variable>
  275.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:CitationShort/b:FL"/>
  276.   </xsl:template>
  277.  
  278.   
  279.   <xsl:template name="templ_prop_Chicago_CitationLong_FML" >
  280.     <xsl:param name="LCID" />
  281.     <xsl:variable name="_LCID">
  282.       <xsl:call-template name="localLCID">
  283.         <xsl:with-param name="LCID" select="$LCID"/>
  284.       </xsl:call-template>
  285.     </xsl:variable>
  286.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:CitationLong/b:FML"/>
  287.   </xsl:template>
  288.  
  289.   
  290.   <xsl:template name="templ_prop_Chicago_CitationLong_FM" >
  291.     <xsl:param name="LCID" />
  292.     <xsl:variable name="_LCID">
  293.       <xsl:call-template name="localLCID">
  294.         <xsl:with-param name="LCID" select="$LCID"/>
  295.       </xsl:call-template>
  296.     </xsl:variable>
  297.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:CitationLong/b:FM"/>
  298.   </xsl:template>
  299.  
  300.   
  301.   <xsl:template name="templ_prop_Chicago_CitationLong_ML" >
  302.     <xsl:param name="LCID" />
  303.     <xsl:variable name="_LCID">
  304.       <xsl:call-template name="localLCID">
  305.         <xsl:with-param name="LCID" select="$LCID"/>
  306.       </xsl:call-template>
  307.     </xsl:variable>
  308.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:CitationLong/b:ML"/>
  309.   </xsl:template>
  310.  
  311.   
  312.   <xsl:template name="templ_prop_Chicago_CitationLong_FL" >
  313.     <xsl:param name="LCID" />
  314.     <xsl:variable name="_LCID">
  315.       <xsl:call-template name="localLCID">
  316.         <xsl:with-param name="LCID" select="$LCID"/>
  317.       </xsl:call-template>
  318.     </xsl:variable>
  319.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:CitationLong/b:FL"/>
  320.   </xsl:template>
  321.  
  322.   
  323.   <xsl:template name="templ_prop_Chicago_CitationShort_FML" >
  324.     <xsl:param name="LCID" />
  325.     <xsl:variable name="_LCID">
  326.       <xsl:call-template name="localLCID">
  327.         <xsl:with-param name="LCID" select="$LCID"/>
  328.       </xsl:call-template>
  329.     </xsl:variable>
  330.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:CitationShort/b:FML"/>
  331.   </xsl:template>
  332.  
  333.   
  334.   <xsl:template name="templ_prop_Chicago_CitationShort_FM" >
  335.     <xsl:param name="LCID" />
  336.     <xsl:variable name="_LCID">
  337.       <xsl:call-template name="localLCID">
  338.         <xsl:with-param name="LCID" select="$LCID"/>
  339.       </xsl:call-template>
  340.     </xsl:variable>
  341.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:CitationShort/b:FM"/>
  342.   </xsl:template>
  343.  
  344.   
  345.   <xsl:template name="templ_prop_Chicago_CitationShort_ML" >
  346.     <xsl:param name="LCID" />
  347.     <xsl:variable name="_LCID">
  348.       <xsl:call-template name="localLCID">
  349.         <xsl:with-param name="LCID" select="$LCID"/>
  350.       </xsl:call-template>
  351.     </xsl:variable>
  352.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:CitationShort/b:ML"/>
  353.   </xsl:template>
  354.  
  355.   
  356.   <xsl:template name="templ_prop_Chicago_CitationShort_FL" >
  357.     <xsl:param name="LCID" />
  358.     <xsl:variable name="_LCID">
  359.       <xsl:call-template name="localLCID">
  360.         <xsl:with-param name="LCID" select="$LCID"/>
  361.       </xsl:call-template>
  362.     </xsl:variable>
  363.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:CitationShort/b:FL"/>
  364.   </xsl:template>
  365.  
  366.   
  367.   <xsl:template name="templ_prop_Gost_CitationLong_FML" >
  368.     <xsl:param name="LCID" />
  369.     <xsl:variable name="_LCID">
  370.       <xsl:call-template name="localLCID">
  371.         <xsl:with-param name="LCID" select="$LCID"/>
  372.       </xsl:call-template>
  373.     </xsl:variable>
  374.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:CitationLong/b:FML"/>
  375.   </xsl:template>
  376.  
  377.   
  378.   <xsl:template name="templ_prop_Gost_CitationLong_FM" >
  379.     <xsl:param name="LCID" />
  380.     <xsl:variable name="_LCID">
  381.       <xsl:call-template name="localLCID">
  382.         <xsl:with-param name="LCID" select="$LCID"/>
  383.       </xsl:call-template>
  384.     </xsl:variable>
  385.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:CitationLong/b:FM"/>
  386.   </xsl:template>
  387.  
  388.   
  389.   <xsl:template name="templ_prop_Gost_CitationLong_ML" >
  390.     <xsl:param name="LCID" />
  391.     <xsl:variable name="_LCID">
  392.       <xsl:call-template name="localLCID">
  393.         <xsl:with-param name="LCID" select="$LCID"/>
  394.       </xsl:call-template>
  395.     </xsl:variable>
  396.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:CitationLong/b:ML"/>
  397.   </xsl:template>
  398.  
  399.   
  400.   <xsl:template name="templ_prop_Gost_CitationLong_FL" >
  401.     <xsl:param name="LCID" />
  402.     <xsl:variable name="_LCID">
  403.       <xsl:call-template name="localLCID">
  404.         <xsl:with-param name="LCID" select="$LCID"/>
  405.       </xsl:call-template>
  406.     </xsl:variable>
  407.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:CitationLong/b:FL"/>
  408.   </xsl:template>
  409.  
  410.   
  411.   <xsl:template name="templ_prop_Gost_CitationShort_FML" >
  412.     <xsl:param name="LCID" />
  413.     <xsl:variable name="_LCID">
  414.       <xsl:call-template name="localLCID">
  415.         <xsl:with-param name="LCID" select="$LCID"/>
  416.       </xsl:call-template>
  417.     </xsl:variable>
  418.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:CitationShort/b:FML"/>
  419.   </xsl:template>
  420.  
  421.   
  422.   <xsl:template name="templ_prop_Gost_CitationShort_FM" >
  423.     <xsl:param name="LCID" />
  424.     <xsl:variable name="_LCID">
  425.       <xsl:call-template name="localLCID">
  426.         <xsl:with-param name="LCID" select="$LCID"/>
  427.       </xsl:call-template>
  428.     </xsl:variable>
  429.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:CitationShort/b:FM"/>
  430.   </xsl:template>
  431.  
  432.   
  433.   <xsl:template name="templ_prop_Gost_CitationShort_ML" >
  434.     <xsl:param name="LCID" />
  435.     <xsl:variable name="_LCID">
  436.       <xsl:call-template name="localLCID">
  437.         <xsl:with-param name="LCID" select="$LCID"/>
  438.       </xsl:call-template>
  439.     </xsl:variable>
  440.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:CitationShort/b:ML"/>
  441.   </xsl:template>
  442.  
  443.   
  444.   <xsl:template name="templ_prop_Gost_CitationShort_FL" >
  445.     <xsl:param name="LCID" />
  446.     <xsl:variable name="_LCID">
  447.       <xsl:call-template name="localLCID">
  448.         <xsl:with-param name="LCID" select="$LCID"/>
  449.       </xsl:call-template>
  450.     </xsl:variable>
  451.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:CitationShort/b:FL"/>
  452.   </xsl:template>
  453.  
  454.   
  455.   <xsl:template name="templ_prop_ISO690_CitationLong_FML" >
  456.     <xsl:param name="LCID" />
  457.     <xsl:variable name="_LCID">
  458.       <xsl:call-template name="localLCID">
  459.         <xsl:with-param name="LCID" select="$LCID"/>
  460.       </xsl:call-template>
  461.     </xsl:variable>
  462.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:CitationLong/b:FML"/>
  463.   </xsl:template>
  464.  
  465.   
  466.   <xsl:template name="templ_prop_ISO690_CitationLong_FM" >
  467.     <xsl:param name="LCID" />
  468.     <xsl:variable name="_LCID">
  469.       <xsl:call-template name="localLCID">
  470.         <xsl:with-param name="LCID" select="$LCID"/>
  471.       </xsl:call-template>
  472.     </xsl:variable>
  473.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:CitationLong/b:FM"/>
  474.   </xsl:template>
  475.  
  476.   
  477.   <xsl:template name="templ_prop_ISO690_CitationLong_ML" >
  478.     <xsl:param name="LCID" />
  479.     <xsl:variable name="_LCID">
  480.       <xsl:call-template name="localLCID">
  481.         <xsl:with-param name="LCID" select="$LCID"/>
  482.       </xsl:call-template>
  483.     </xsl:variable>
  484.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:CitationLong/b:ML"/>
  485.   </xsl:template>
  486.  
  487.   
  488.   <xsl:template name="templ_prop_ISO690_CitationLong_FL" >
  489.     <xsl:param name="LCID" />
  490.     <xsl:variable name="_LCID">
  491.       <xsl:call-template name="localLCID">
  492.         <xsl:with-param name="LCID" select="$LCID"/>
  493.       </xsl:call-template>
  494.     </xsl:variable>
  495.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:CitationLong/b:FL"/>
  496.   </xsl:template>
  497.  
  498.   
  499.   <xsl:template name="templ_prop_ISO690_CitationShort_FML" >
  500.     <xsl:param name="LCID" />
  501.     <xsl:variable name="_LCID">
  502.       <xsl:call-template name="localLCID">
  503.         <xsl:with-param name="LCID" select="$LCID"/>
  504.       </xsl:call-template>
  505.     </xsl:variable>
  506.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:CitationShort/b:FML"/>
  507.   </xsl:template>
  508.  
  509.   
  510.   <xsl:template name="templ_prop_ISO690_CitationShort_FM" >
  511.     <xsl:param name="LCID" />
  512.     <xsl:variable name="_LCID">
  513.       <xsl:call-template name="localLCID">
  514.         <xsl:with-param name="LCID" select="$LCID"/>
  515.       </xsl:call-template>
  516.     </xsl:variable>
  517.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:CitationShort/b:FM"/>
  518.   </xsl:template>
  519.  
  520.   
  521.   <xsl:template name="templ_prop_ISO690_CitationShort_ML" >
  522.     <xsl:param name="LCID" />
  523.     <xsl:variable name="_LCID">
  524.       <xsl:call-template name="localLCID">
  525.         <xsl:with-param name="LCID" select="$LCID"/>
  526.       </xsl:call-template>
  527.     </xsl:variable>
  528.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:CitationShort/b:ML"/>
  529.   </xsl:template>
  530.  
  531.   
  532.   <xsl:template name="templ_prop_ISO690_CitationShort_FL" >
  533.     <xsl:param name="LCID" />
  534.     <xsl:variable name="_LCID">
  535.       <xsl:call-template name="localLCID">
  536.         <xsl:with-param name="LCID" select="$LCID"/>
  537.       </xsl:call-template>
  538.     </xsl:variable>
  539.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:CitationShort/b:FL"/>
  540.   </xsl:template>
  541.  
  542.  
  543.   <xsl:template name="localLCID">
  544.     <xsl:param name="LCID"/>
  545.  
  546.     <xsl:variable name="_LCID1">
  547.       <xsl:choose>
  548.         <xsl:when test="$LCID!='0' and $LCID!=''">
  549.           <xsl:value-of select="$LCID"/>
  550.         </xsl:when>
  551.         <xsl:when test="/b:Citation">
  552.           <xsl:value-of select="/*/b:Locals/b:DefaultLCID"/>
  553.         </xsl:when>
  554.         <xsl:when test="b:LCID">
  555.           <xsl:value-of select="b:LCID"/>
  556.         </xsl:when>
  557.         <xsl:when test="../b:LCID">
  558.           <xsl:value-of select="../b:LCID"/>
  559.         </xsl:when>
  560.         <xsl:when test="../../b:LCID">
  561.           <xsl:value-of select="../../b:LCID"/>
  562.         </xsl:when>
  563.         <xsl:when test="../../../b:LCID">
  564.           <xsl:value-of select="../../../b:LCID"/>
  565.         </xsl:when>
  566.         <xsl:when test="../../../../b:LCID">
  567.           <xsl:value-of select="../../../../b:LCID"/>
  568.         </xsl:when>
  569.         <xsl:when test="../../../../b:LCID">
  570.           <xsl:value-of select="../../../../b:LCID"/>
  571.         </xsl:when>
  572.         <xsl:when test="../../../../../b:LCID">
  573.           <xsl:value-of select="../../../../../b:LCID"/>
  574.         </xsl:when>
  575.         <xsl:otherwise>
  576.           <xsl:value-of select="/*/b:Locals/b:DefaultLCID"/>
  577.         </xsl:otherwise>
  578.       </xsl:choose>
  579.     </xsl:variable>
  580.  
  581.     <xsl:choose>
  582.       <xsl:when test="$_LCID1!='0' and string-length($_LCID1)>0">
  583.         <xsl:value-of select="$_LCID1"/>
  584.       </xsl:when>
  585.       <xsl:otherwise>
  586.         <xsl:value-of select="/*/b:Locals/b:DefaultLCID"/>
  587.       </xsl:otherwise>
  588.     </xsl:choose>
  589.  
  590.   </xsl:template>
  591.  
  592.   
  593.   <xsl:template name="templ_str_ChapterInUnCap" >
  594.     <xsl:param name="LCID" />
  595.     <xsl:variable name="_LCID">
  596.       <xsl:call-template name="localLCID">
  597.         <xsl:with-param name="LCID" select="$LCID"/>
  598.       </xsl:call-template>
  599.     </xsl:variable>
  600.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ChapterInUnCap"/>
  601.   </xsl:template>
  602.  
  603.   
  604.   <xsl:template name="templ_str_ChapterUnCap" >
  605.     <xsl:param name="LCID" />
  606.     <xsl:variable name="_LCID">
  607.       <xsl:call-template name="localLCID">
  608.         <xsl:with-param name="LCID" select="$LCID"/>
  609.       </xsl:call-template>
  610.     </xsl:variable>
  611.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ChapterUnCap"/>
  612.   </xsl:template>
  613.  
  614.   
  615.   <xsl:template name="templ_str_InterviewByUnCap" >
  616.     <xsl:param name="LCID" />
  617.     <xsl:variable name="_LCID">
  618.       <xsl:call-template name="localLCID">
  619.         <xsl:with-param name="LCID" select="$LCID"/>
  620.       </xsl:call-template>
  621.     </xsl:variable>
  622.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:InterviewByUnCap"/>
  623.   </xsl:template>
  624.  
  625.   
  626.   <xsl:template name="templ_str_ByUnCap" >
  627.     <xsl:param name="LCID" />
  628.     <xsl:variable name="_LCID">
  629.       <xsl:call-template name="localLCID">
  630.         <xsl:with-param name="LCID" select="$LCID"/>
  631.       </xsl:call-template>
  632.     </xsl:variable>
  633.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ByUnCap"/>
  634.   </xsl:template>
  635.  
  636.   
  637.   <xsl:template name="templ_str_InNameUnCap" >
  638.     <xsl:param name="LCID" />
  639.     <xsl:variable name="_LCID">
  640.       <xsl:call-template name="localLCID">
  641.         <xsl:with-param name="LCID" select="$LCID"/>
  642.       </xsl:call-template>
  643.     </xsl:variable>
  644.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:InNameUnCap"/>
  645.   </xsl:template>
  646.  
  647.   
  648.   <xsl:template name="templ_str_AccessedCap" >
  649.     <xsl:param name="LCID" />
  650.     <xsl:variable name="_LCID">
  651.       <xsl:call-template name="localLCID">
  652.         <xsl:with-param name="LCID" select="$LCID"/>
  653.       </xsl:call-template>
  654.     </xsl:variable>
  655.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:AccessedCap"/>
  656.   </xsl:template>
  657.  
  658.   
  659.   <xsl:template name="templ_str_AccessedUnCap" >
  660.     <xsl:param name="LCID" />
  661.     <xsl:variable name="_LCID">
  662.       <xsl:call-template name="localLCID">
  663.         <xsl:with-param name="LCID" select="$LCID"/>
  664.       </xsl:call-template>
  665.     </xsl:variable>
  666.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:AccessedUnCap"/>
  667.   </xsl:template>
  668.  
  669.   
  670.   <xsl:template name="templ_str_VolumesAfterShortUnCap" >
  671.     <xsl:param name="LCID" />
  672.     <xsl:variable name="_LCID">
  673.       <xsl:call-template name="localLCID">
  674.         <xsl:with-param name="LCID" select="$LCID"/>
  675.       </xsl:call-template>
  676.     </xsl:variable>
  677.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:VolumesAfterShortUnCap"/>
  678.   </xsl:template>
  679.  
  680.   
  681.   <xsl:template name="templ_str_OnlineCap" >
  682.     <xsl:param name="LCID" />
  683.     <xsl:variable name="_LCID">
  684.       <xsl:call-template name="localLCID">
  685.         <xsl:with-param name="LCID" select="$LCID"/>
  686.       </xsl:call-template>
  687.     </xsl:variable>
  688.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:OnlineCap"/>
  689.   </xsl:template>
  690.  
  691.   
  692.   <xsl:template name="templ_str_OnlineUnCap" >
  693.     <xsl:param name="LCID" />
  694.     <xsl:variable name="_LCID">
  695.       <xsl:call-template name="localLCID">
  696.         <xsl:with-param name="LCID" select="$LCID"/>
  697.       </xsl:call-template>
  698.     </xsl:variable>
  699.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:OnlineUnCap"/>
  700.   </xsl:template>
  701.  
  702.   
  703.   <xsl:template name="templ_str_InCap" >
  704.     <xsl:param name="LCID" />
  705.     <xsl:variable name="_LCID">
  706.       <xsl:call-template name="localLCID">
  707.         <xsl:with-param name="LCID" select="$LCID"/>
  708.       </xsl:call-template>
  709.     </xsl:variable>
  710.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:InCap"/>
  711.   </xsl:template>
  712.  
  713.   
  714.   <xsl:template name="templ_str_InNameCap" >
  715.     <xsl:param name="LCID" />
  716.     <xsl:variable name="_LCID">
  717.       <xsl:call-template name="localLCID">
  718.         <xsl:with-param name="LCID" select="$LCID"/>
  719.       </xsl:call-template>
  720.     </xsl:variable>
  721.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:InNameCap"/>
  722.   </xsl:template>
  723.  
  724.   
  725.   <xsl:template name="templ_str_WithUnCap" >
  726.     <xsl:param name="LCID" />
  727.     <xsl:variable name="_LCID">
  728.       <xsl:call-template name="localLCID">
  729.         <xsl:with-param name="LCID" select="$LCID"/>
  730.       </xsl:call-template>
  731.     </xsl:variable>
  732.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:WithUnCap"/>
  733.   </xsl:template>
  734.  
  735.   
  736.   <xsl:template name="templ_str_VersionShortCap" >
  737.     <xsl:param name="LCID" />
  738.     <xsl:variable name="_LCID">
  739.       <xsl:call-template name="localLCID">
  740.         <xsl:with-param name="LCID" select="$LCID"/>
  741.       </xsl:call-template>
  742.     </xsl:variable>
  743.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:VersionShortCap"/>
  744.   </xsl:template>
  745.  
  746.   
  747.   <xsl:template name="templ_str_InterviewCap" >
  748.     <xsl:param name="LCID" />
  749.     <xsl:variable name="_LCID">
  750.       <xsl:call-template name="localLCID">
  751.         <xsl:with-param name="LCID" select="$LCID"/>
  752.       </xsl:call-template>
  753.     </xsl:variable>
  754.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:InterviewCap"/>
  755.   </xsl:template>
  756.  
  757.   
  758.   <xsl:template name="templ_str_InterviewWithCap" >
  759.     <xsl:param name="LCID" />
  760.     <xsl:variable name="_LCID">
  761.       <xsl:call-template name="localLCID">
  762.         <xsl:with-param name="LCID" select="$LCID"/>
  763.       </xsl:call-template>
  764.     </xsl:variable>
  765.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:InterviewWithCap"/>
  766.   </xsl:template>
  767.  
  768.   
  769.   <xsl:template name="templ_str_InterviewByCap" >
  770.     <xsl:param name="LCID" />
  771.     <xsl:variable name="_LCID">
  772.       <xsl:call-template name="localLCID">
  773.         <xsl:with-param name="LCID" select="$LCID"/>
  774.       </xsl:call-template>
  775.     </xsl:variable>
  776.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:InterviewByCap"/>
  777.   </xsl:template>
  778.  
  779.   
  780.   <xsl:template name="templ_str_ByCap" >
  781.     <xsl:param name="LCID" />
  782.     <xsl:variable name="_LCID">
  783.       <xsl:call-template name="localLCID">
  784.         <xsl:with-param name="LCID" select="$LCID"/>
  785.       </xsl:call-template>
  786.     </xsl:variable>
  787.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ByCap"/>
  788.   </xsl:template>
  789.  
  790.   
  791.   <xsl:template name="templ_str_AndUnCap" >
  792.     <xsl:param name="LCID" />
  793.     <xsl:variable name="_LCID">
  794.       <xsl:call-template name="localLCID">
  795.         <xsl:with-param name="LCID" select="$LCID"/>
  796.       </xsl:call-template>
  797.     </xsl:variable>
  798.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:AndUnCap"/>
  799.   </xsl:template>
  800.  
  801.   
  802.   <xsl:template name="templ_str_AndOthersUnCap" >
  803.     <xsl:param name="LCID" />
  804.     <xsl:variable name="_LCID">
  805.       <xsl:call-template name="localLCID">
  806.         <xsl:with-param name="LCID" select="$LCID"/>
  807.       </xsl:call-template>
  808.     </xsl:variable>
  809.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:AndOthersUnCap"/>
  810.   </xsl:template>
  811.  
  812.   
  813.   <xsl:template name="templ_str_MotionPictureCap" >
  814.     <xsl:param name="LCID" />
  815.     <xsl:variable name="_LCID">
  816.       <xsl:call-template name="localLCID">
  817.         <xsl:with-param name="LCID" select="$LCID"/>
  818.       </xsl:call-template>
  819.     </xsl:variable>
  820.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:MotionPictureCap"/>
  821.   </xsl:template>
  822.  
  823.   
  824.   <xsl:template name="templ_str_PatentCap" >
  825.     <xsl:param name="LCID" />
  826.     <xsl:variable name="_LCID">
  827.       <xsl:call-template name="localLCID">
  828.         <xsl:with-param name="LCID" select="$LCID"/>
  829.       </xsl:call-template>
  830.     </xsl:variable>
  831.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PatentCap"/>
  832.   </xsl:template>
  833.  
  834.   
  835.   <xsl:template name="templ_str_EditionShortUnCap" >
  836.     <xsl:param name="LCID" />
  837.     <xsl:variable name="_LCID">
  838.       <xsl:call-template name="localLCID">
  839.         <xsl:with-param name="LCID" select="$LCID"/>
  840.       </xsl:call-template>
  841.     </xsl:variable>
  842.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:EditionShortUnCap"/>
  843.   </xsl:template>
  844.  
  845.   
  846.   <xsl:template name="templ_str_RetrievedFromCap" >
  847.     <xsl:param name="LCID" />
  848.     <xsl:variable name="_LCID">
  849.       <xsl:call-template name="localLCID">
  850.         <xsl:with-param name="LCID" select="$LCID"/>
  851.       </xsl:call-template>
  852.     </xsl:variable>
  853.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:RetrievedFromCap"/>
  854.   </xsl:template>
  855.  
  856.   
  857.   <xsl:template name="templ_str_RetrievedCap" >
  858.     <xsl:param name="LCID" />
  859.     <xsl:variable name="_LCID">
  860.       <xsl:call-template name="localLCID">
  861.         <xsl:with-param name="LCID" select="$LCID"/>
  862.       </xsl:call-template>
  863.     </xsl:variable>
  864.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:RetrievedCap"/>
  865.   </xsl:template>
  866.  
  867.   
  868.   <xsl:template name="templ_str_FromCap" >
  869.     <xsl:param name="LCID" />
  870.     <xsl:variable name="_LCID">
  871.       <xsl:call-template name="localLCID">
  872.         <xsl:with-param name="LCID" select="$LCID"/>
  873.       </xsl:call-template>
  874.     </xsl:variable>
  875.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:FromCap"/>
  876.   </xsl:template>
  877.  
  878.   
  879.   <xsl:template name="templ_str_FromUnCap" >
  880.     <xsl:param name="LCID" />
  881.     <xsl:variable name="_LCID">
  882.       <xsl:call-template name="localLCID">
  883.         <xsl:with-param name="LCID" select="$LCID"/>
  884.       </xsl:call-template>
  885.     </xsl:variable>
  886.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:FromUnCap"/>
  887.   </xsl:template>
  888.  
  889.   
  890.   <xsl:template name="templ_str_NoDateShortUnCap" >
  891.     <xsl:param name="LCID" />
  892.     <xsl:variable name="_LCID">
  893.       <xsl:call-template name="localLCID">
  894.         <xsl:with-param name="LCID" select="$LCID"/>
  895.       </xsl:call-template>
  896.     </xsl:variable>
  897.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:NoDateShortUnCap"/>
  898.   </xsl:template>
  899.  
  900.   
  901.   <xsl:template name="templ_str_NumberShortCap" >
  902.     <xsl:param name="LCID" />
  903.     <xsl:variable name="_LCID">
  904.       <xsl:call-template name="localLCID">
  905.         <xsl:with-param name="LCID" select="$LCID"/>
  906.       </xsl:call-template>
  907.     </xsl:variable>
  908.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:NumberShortCap"/>
  909.   </xsl:template>
  910.  
  911.   
  912.   <xsl:template name="templ_str_NumberShortUnCap" >
  913.     <xsl:param name="LCID" />
  914.     <xsl:variable name="_LCID">
  915.       <xsl:call-template name="localLCID">
  916.         <xsl:with-param name="LCID" select="$LCID"/>
  917.       </xsl:call-template>
  918.     </xsl:variable>
  919.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:NumberShortUnCap"/>
  920.   </xsl:template>
  921.  
  922.   
  923.   <xsl:template name="templ_str_PatentNumberShortCap" >
  924.     <xsl:param name="LCID" />
  925.     <xsl:variable name="_LCID">
  926.       <xsl:call-template name="localLCID">
  927.         <xsl:with-param name="LCID" select="$LCID"/>
  928.       </xsl:call-template>
  929.     </xsl:variable>
  930.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PatentNumberShortCap"/>
  931.   </xsl:template>
  932.  
  933.   
  934.   <xsl:template name="templ_str_PagesCountinousShort" >
  935.     <xsl:param name="LCID" />
  936.     <xsl:variable name="_LCID">
  937.       <xsl:call-template name="localLCID">
  938.         <xsl:with-param name="LCID" select="$LCID"/>
  939.       </xsl:call-template>
  940.     </xsl:variable>
  941.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PagesCountinousShort"/>
  942.   </xsl:template>
  943.  
  944.   
  945.   <xsl:template name="templ_str_PageShort" >
  946.     <xsl:param name="LCID" />
  947.     <xsl:variable name="_LCID">
  948.       <xsl:call-template name="localLCID">
  949.         <xsl:with-param name="LCID" select="$LCID"/>
  950.       </xsl:call-template>
  951.     </xsl:variable>
  952.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PageShort"/>
  953.   </xsl:template>
  954.  
  955.   
  956.   <xsl:template name="templ_str_SineNomineShort" >
  957.     <xsl:param name="LCID" />
  958.     <xsl:variable name="_LCID">
  959.       <xsl:call-template name="localLCID">
  960.         <xsl:with-param name="LCID" select="$LCID"/>
  961.       </xsl:call-template>
  962.     </xsl:variable>
  963.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:SineNomineShort"/>
  964.   </xsl:template>
  965.  
  966.   
  967.   <xsl:template name="templ_str_SineLocoShort" >
  968.     <xsl:param name="LCID" />
  969.     <xsl:variable name="_LCID">
  970.       <xsl:call-template name="localLCID">
  971.         <xsl:with-param name="LCID" select="$LCID"/>
  972.       </xsl:call-template>
  973.     </xsl:variable>
  974.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:SineLocoShort"/>
  975.   </xsl:template>
  976.  
  977.   
  978.   <xsl:template name="templ_str_SineLocoSineNomineShort" >
  979.     <xsl:param name="LCID" />
  980.     <xsl:variable name="_LCID">
  981.       <xsl:call-template name="localLCID">
  982.         <xsl:with-param name="LCID" select="$LCID"/>
  983.       </xsl:call-template>
  984.     </xsl:variable>
  985.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:SineLocoSineNomineShort"/>
  986.   </xsl:template>
  987.  
  988.   
  989.   <xsl:template name="templ_str_VolumeOfShortCap" >
  990.     <xsl:param name="LCID" />
  991.     <xsl:variable name="_LCID">
  992.       <xsl:call-template name="localLCID">
  993.         <xsl:with-param name="LCID" select="$LCID"/>
  994.       </xsl:call-template>
  995.     </xsl:variable>
  996.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:VolumeOfShortCap"/>
  997.   </xsl:template>
  998.  
  999.   
  1000.   <xsl:template name="templ_str_VolumesOfShortCap" >
  1001.     <xsl:param name="LCID" />
  1002.     <xsl:variable name="_LCID">
  1003.       <xsl:call-template name="localLCID">
  1004.         <xsl:with-param name="LCID" select="$LCID"/>
  1005.       </xsl:call-template>
  1006.     </xsl:variable>
  1007.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:VolumesOfShortCap"/>
  1008.   </xsl:template>
  1009.  
  1010.   
  1011.   <xsl:template name="templ_str_VolumeShortCap" >
  1012.     <xsl:param name="LCID" />
  1013.     <xsl:variable name="_LCID">
  1014.       <xsl:call-template name="localLCID">
  1015.         <xsl:with-param name="LCID" select="$LCID"/>
  1016.       </xsl:call-template>
  1017.     </xsl:variable>
  1018.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:VolumeShortCap"/>
  1019.   </xsl:template>
  1020.  
  1021.   
  1022.   <xsl:template name="templ_str_VolumeShortUnCap" >
  1023.     <xsl:param name="LCID" />
  1024.     <xsl:variable name="_LCID">
  1025.       <xsl:call-template name="localLCID">
  1026.         <xsl:with-param name="LCID" select="$LCID"/>
  1027.       </xsl:call-template>
  1028.     </xsl:variable>
  1029.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:VolumeShortUnCap"/>
  1030.   </xsl:template>
  1031.  
  1032.   
  1033.   <xsl:template name="templ_str_VolumesShortUnCap" >
  1034.     <xsl:param name="LCID" />
  1035.     <xsl:variable name="_LCID">
  1036.       <xsl:call-template name="localLCID">
  1037.         <xsl:with-param name="LCID" select="$LCID"/>
  1038.       </xsl:call-template>
  1039.     </xsl:variable>
  1040.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:VolumesShortUnCap"/>
  1041.   </xsl:template>
  1042.  
  1043.   
  1044.   <xsl:template name="templ_str_VolumesShortCap" >
  1045.     <xsl:param name="LCID" />
  1046.     <xsl:variable name="_LCID">
  1047.       <xsl:call-template name="localLCID">
  1048.         <xsl:with-param name="LCID" select="$LCID"/>
  1049.       </xsl:call-template>
  1050.     </xsl:variable>
  1051.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:VolumesShortCap"/>
  1052.   </xsl:template>
  1053.  
  1054.   
  1055.   <xsl:template name="templ_str_AuthorShortUnCap" >
  1056.     <xsl:param name="LCID" />
  1057.     <xsl:variable name="_LCID">
  1058.       <xsl:call-template name="localLCID">
  1059.         <xsl:with-param name="LCID" select="$LCID"/>
  1060.       </xsl:call-template>
  1061.     </xsl:variable>
  1062.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:AuthorShortUnCap"/>
  1063.   </xsl:template>
  1064.  
  1065.   
  1066.   <xsl:template name="templ_str_BookAuthorShortUnCap" >
  1067.     <xsl:param name="LCID" />
  1068.     <xsl:variable name="_LCID">
  1069.       <xsl:call-template name="localLCID">
  1070.         <xsl:with-param name="LCID" select="$LCID"/>
  1071.       </xsl:call-template>
  1072.     </xsl:variable>
  1073.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:BookAuthorShortUnCap"/>
  1074.   </xsl:template>
  1075.  
  1076.   
  1077.   <xsl:template name="templ_str_ArtistShortUnCap" >
  1078.     <xsl:param name="LCID" />
  1079.     <xsl:variable name="_LCID">
  1080.       <xsl:call-template name="localLCID">
  1081.         <xsl:with-param name="LCID" select="$LCID"/>
  1082.       </xsl:call-template>
  1083.     </xsl:variable>
  1084.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ArtistShortUnCap"/>
  1085.   </xsl:template>
  1086.  
  1087.   
  1088.   <xsl:template name="templ_str_WriterCap" >
  1089.     <xsl:param name="LCID" />
  1090.     <xsl:variable name="_LCID">
  1091.       <xsl:call-template name="localLCID">
  1092.         <xsl:with-param name="LCID" select="$LCID"/>
  1093.       </xsl:call-template>
  1094.     </xsl:variable>
  1095.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:WriterCap"/>
  1096.   </xsl:template>
  1097.  
  1098.   
  1099.   <xsl:template name="templ_str_WritersCap" >
  1100.     <xsl:param name="LCID" />
  1101.     <xsl:variable name="_LCID">
  1102.       <xsl:call-template name="localLCID">
  1103.         <xsl:with-param name="LCID" select="$LCID"/>
  1104.       </xsl:call-template>
  1105.     </xsl:variable>
  1106.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:WritersCap"/>
  1107.   </xsl:template>
  1108.  
  1109.   
  1110.   <xsl:template name="templ_str_WriterShortUnCap" >
  1111.     <xsl:param name="LCID" />
  1112.     <xsl:variable name="_LCID">
  1113.       <xsl:call-template name="localLCID">
  1114.         <xsl:with-param name="LCID" select="$LCID"/>
  1115.       </xsl:call-template>
  1116.     </xsl:variable>
  1117.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:WriterShortUnCap"/>
  1118.   </xsl:template>
  1119.  
  1120.   
  1121.   <xsl:template name="templ_str_ConductedByCap" >
  1122.     <xsl:param name="LCID" />
  1123.     <xsl:variable name="_LCID">
  1124.       <xsl:call-template name="localLCID">
  1125.         <xsl:with-param name="LCID" select="$LCID"/>
  1126.       </xsl:call-template>
  1127.     </xsl:variable>
  1128.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ConductedByCap"/>
  1129.   </xsl:template>
  1130.  
  1131.   
  1132.   <xsl:template name="templ_str_ConductedByUnCap" >
  1133.     <xsl:param name="LCID" />
  1134.     <xsl:variable name="_LCID">
  1135.       <xsl:call-template name="localLCID">
  1136.         <xsl:with-param name="LCID" select="$LCID"/>
  1137.       </xsl:call-template>
  1138.     </xsl:variable>
  1139.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ConductedByUnCap"/>
  1140.   </xsl:template>
  1141.  
  1142.   
  1143.   <xsl:template name="templ_str_ConductorCap" >
  1144.     <xsl:param name="LCID" />
  1145.     <xsl:variable name="_LCID">
  1146.       <xsl:call-template name="localLCID">
  1147.         <xsl:with-param name="LCID" select="$LCID"/>
  1148.       </xsl:call-template>
  1149.     </xsl:variable>
  1150.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ConductorCap"/>
  1151.   </xsl:template>
  1152.  
  1153.   
  1154.   <xsl:template name="templ_str_ConductorsCap" >
  1155.     <xsl:param name="LCID" />
  1156.     <xsl:variable name="_LCID">
  1157.       <xsl:call-template name="localLCID">
  1158.         <xsl:with-param name="LCID" select="$LCID"/>
  1159.       </xsl:call-template>
  1160.     </xsl:variable>
  1161.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ConductorsCap"/>
  1162.   </xsl:template>
  1163.  
  1164.   
  1165.   <xsl:template name="templ_str_ConductorShortCap" >
  1166.     <xsl:param name="LCID" />
  1167.     <xsl:variable name="_LCID">
  1168.       <xsl:call-template name="localLCID">
  1169.         <xsl:with-param name="LCID" select="$LCID"/>
  1170.       </xsl:call-template>
  1171.     </xsl:variable>
  1172.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ConductorShortCap"/>
  1173.   </xsl:template>
  1174.  
  1175.   
  1176.   <xsl:template name="templ_str_ConductorShortUnCap" >
  1177.     <xsl:param name="LCID" />
  1178.     <xsl:variable name="_LCID">
  1179.       <xsl:call-template name="localLCID">
  1180.         <xsl:with-param name="LCID" select="$LCID"/>
  1181.       </xsl:call-template>
  1182.     </xsl:variable>
  1183.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ConductorShortUnCap"/>
  1184.   </xsl:template>
  1185.  
  1186.   
  1187.   <xsl:template name="templ_str_ConductorsShortCap" >
  1188.     <xsl:param name="LCID" />
  1189.     <xsl:variable name="_LCID">
  1190.       <xsl:call-template name="localLCID">
  1191.         <xsl:with-param name="LCID" select="$LCID"/>
  1192.       </xsl:call-template>
  1193.     </xsl:variable>
  1194.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ConductorsShortCap"/>
  1195.   </xsl:template>
  1196.  
  1197.   
  1198.   <xsl:template name="templ_str_ConductorsShortUnCap" >
  1199.     <xsl:param name="LCID" />
  1200.     <xsl:variable name="_LCID">
  1201.       <xsl:call-template name="localLCID">
  1202.         <xsl:with-param name="LCID" select="$LCID"/>
  1203.       </xsl:call-template>
  1204.     </xsl:variable>
  1205.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ConductorsShortUnCap"/>
  1206.   </xsl:template>
  1207.  
  1208.   
  1209.   <xsl:template name="templ_str_CounselShortUnCapIso" >
  1210.     <xsl:param name="LCID" />
  1211.     <xsl:variable name="_LCID">
  1212.       <xsl:call-template name="localLCID">
  1213.         <xsl:with-param name="LCID" select="$LCID"/>
  1214.       </xsl:call-template>
  1215.     </xsl:variable>
  1216.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CounselShortUnCapIso"/>
  1217.   </xsl:template>
  1218.  
  1219.   
  1220.   <xsl:template name="templ_str_CounselShortUnCap" >
  1221.     <xsl:param name="LCID" />
  1222.     <xsl:variable name="_LCID">
  1223.       <xsl:call-template name="localLCID">
  1224.         <xsl:with-param name="LCID" select="$LCID"/>
  1225.       </xsl:call-template>
  1226.     </xsl:variable>
  1227.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CounselShortUnCap"/>
  1228.   </xsl:template>
  1229.  
  1230.   
  1231.   <xsl:template name="templ_str_DirectedByCap" >
  1232.     <xsl:param name="LCID" />
  1233.     <xsl:variable name="_LCID">
  1234.       <xsl:call-template name="localLCID">
  1235.         <xsl:with-param name="LCID" select="$LCID"/>
  1236.       </xsl:call-template>
  1237.     </xsl:variable>
  1238.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:DirectedByCap"/>
  1239.   </xsl:template>
  1240.  
  1241.   
  1242.   <xsl:template name="templ_str_DirectedByUnCap" >
  1243.     <xsl:param name="LCID" />
  1244.     <xsl:variable name="_LCID">
  1245.       <xsl:call-template name="localLCID">
  1246.         <xsl:with-param name="LCID" select="$LCID"/>
  1247.       </xsl:call-template>
  1248.     </xsl:variable>
  1249.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:DirectedByUnCap"/>
  1250.   </xsl:template>
  1251.  
  1252.   
  1253.   <xsl:template name="templ_str_DirectorCap" >
  1254.     <xsl:param name="LCID" />
  1255.     <xsl:variable name="_LCID">
  1256.       <xsl:call-template name="localLCID">
  1257.         <xsl:with-param name="LCID" select="$LCID"/>
  1258.       </xsl:call-template>
  1259.     </xsl:variable>
  1260.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:DirectorCap"/>
  1261.   </xsl:template>
  1262.  
  1263.   
  1264.   <xsl:template name="templ_str_DirectorsCap" >
  1265.     <xsl:param name="LCID" />
  1266.     <xsl:variable name="_LCID">
  1267.       <xsl:call-template name="localLCID">
  1268.         <xsl:with-param name="LCID" select="$LCID"/>
  1269.       </xsl:call-template>
  1270.     </xsl:variable>
  1271.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:DirectorsCap"/>
  1272.   </xsl:template>
  1273.  
  1274.   
  1275.   <xsl:template name="templ_str_DirectorShortCap" >
  1276.     <xsl:param name="LCID" />
  1277.     <xsl:variable name="_LCID">
  1278.       <xsl:call-template name="localLCID">
  1279.         <xsl:with-param name="LCID" select="$LCID"/>
  1280.       </xsl:call-template>
  1281.     </xsl:variable>
  1282.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:DirectorShortCap"/>
  1283.   </xsl:template>
  1284.  
  1285.   
  1286.   <xsl:template name="templ_str_DirectorShortUnCap" >
  1287.     <xsl:param name="LCID" />
  1288.     <xsl:variable name="_LCID">
  1289.       <xsl:call-template name="localLCID">
  1290.         <xsl:with-param name="LCID" select="$LCID"/>
  1291.       </xsl:call-template>
  1292.     </xsl:variable>
  1293.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:DirectorShortUnCap"/>
  1294.   </xsl:template>
  1295.  
  1296.   
  1297.   <xsl:template name="templ_str_DirectorsShortCap" >
  1298.     <xsl:param name="LCID" />
  1299.     <xsl:variable name="_LCID">
  1300.       <xsl:call-template name="localLCID">
  1301.         <xsl:with-param name="LCID" select="$LCID"/>
  1302.       </xsl:call-template>
  1303.     </xsl:variable>
  1304.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:DirectorsShortCap"/>
  1305.   </xsl:template>
  1306.  
  1307.   
  1308.   <xsl:template name="templ_str_DirectorsShortUnCap" >
  1309.     <xsl:param name="LCID" />
  1310.     <xsl:variable name="_LCID">
  1311.       <xsl:call-template name="localLCID">
  1312.         <xsl:with-param name="LCID" select="$LCID"/>
  1313.       </xsl:call-template>
  1314.     </xsl:variable>
  1315.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:DirectorsShortUnCap"/>
  1316.   </xsl:template>
  1317.  
  1318.   
  1319.   <xsl:template name="templ_str_EditedByCap" >
  1320.     <xsl:param name="LCID" />
  1321.     <xsl:variable name="_LCID">
  1322.       <xsl:call-template name="localLCID">
  1323.         <xsl:with-param name="LCID" select="$LCID"/>
  1324.       </xsl:call-template>
  1325.     </xsl:variable>
  1326.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:EditedByCap"/>
  1327.   </xsl:template>
  1328.  
  1329.   
  1330.   <xsl:template name="templ_str_EditedByUnCap" >
  1331.     <xsl:param name="LCID" />
  1332.     <xsl:variable name="_LCID">
  1333.       <xsl:call-template name="localLCID">
  1334.         <xsl:with-param name="LCID" select="$LCID"/>
  1335.       </xsl:call-template>
  1336.     </xsl:variable>
  1337.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:EditedByUnCap"/>
  1338.   </xsl:template>
  1339.  
  1340.   
  1341.   <xsl:template name="templ_str_EditorCap" >
  1342.     <xsl:param name="LCID" />
  1343.     <xsl:variable name="_LCID">
  1344.       <xsl:call-template name="localLCID">
  1345.         <xsl:with-param name="LCID" select="$LCID"/>
  1346.       </xsl:call-template>
  1347.     </xsl:variable>
  1348.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:EditorCap"/>
  1349.   </xsl:template>
  1350.  
  1351.   
  1352.   <xsl:template name="templ_str_EditorsCap" >
  1353.     <xsl:param name="LCID" />
  1354.     <xsl:variable name="_LCID">
  1355.       <xsl:call-template name="localLCID">
  1356.         <xsl:with-param name="LCID" select="$LCID"/>
  1357.       </xsl:call-template>
  1358.     </xsl:variable>
  1359.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:EditorsCap"/>
  1360.   </xsl:template>
  1361.  
  1362.   
  1363.   <xsl:template name="templ_str_EditorShortCap" >
  1364.     <xsl:param name="LCID" />
  1365.     <xsl:variable name="_LCID">
  1366.       <xsl:call-template name="localLCID">
  1367.         <xsl:with-param name="LCID" select="$LCID"/>
  1368.       </xsl:call-template>
  1369.     </xsl:variable>
  1370.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:EditorShortCap"/>
  1371.   </xsl:template>
  1372.  
  1373.   
  1374.   <xsl:template name="templ_str_EditorShortUnCap" >
  1375.     <xsl:param name="LCID" />
  1376.     <xsl:variable name="_LCID">
  1377.       <xsl:call-template name="localLCID">
  1378.         <xsl:with-param name="LCID" select="$LCID"/>
  1379.       </xsl:call-template>
  1380.     </xsl:variable>
  1381.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:EditorShortUnCap"/>
  1382.   </xsl:template>
  1383.  
  1384.   
  1385.   <xsl:template name="templ_str_EditorsShortCap" >
  1386.     <xsl:param name="LCID" />
  1387.     <xsl:variable name="_LCID">
  1388.       <xsl:call-template name="localLCID">
  1389.         <xsl:with-param name="LCID" select="$LCID"/>
  1390.       </xsl:call-template>
  1391.     </xsl:variable>
  1392.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:EditorsShortCap"/>
  1393.   </xsl:template>
  1394.  
  1395.   
  1396.   <xsl:template name="templ_str_EditorsShortUnCap" >
  1397.     <xsl:param name="LCID" />
  1398.     <xsl:variable name="_LCID">
  1399.       <xsl:call-template name="localLCID">
  1400.         <xsl:with-param name="LCID" select="$LCID"/>
  1401.       </xsl:call-template>
  1402.     </xsl:variable>
  1403.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:EditorsShortUnCap"/>
  1404.   </xsl:template>
  1405.  
  1406.   
  1407.   <xsl:template name="templ_str_IntervieweeShortUnCap" >
  1408.     <xsl:param name="LCID" />
  1409.     <xsl:variable name="_LCID">
  1410.       <xsl:call-template name="localLCID">
  1411.         <xsl:with-param name="LCID" select="$LCID"/>
  1412.       </xsl:call-template>
  1413.     </xsl:variable>
  1414.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:IntervieweeShortUnCap"/>
  1415.   </xsl:template>
  1416.  
  1417.   
  1418.   <xsl:template name="templ_str_InterviewerCap" >
  1419.     <xsl:param name="LCID" />
  1420.     <xsl:variable name="_LCID">
  1421.       <xsl:call-template name="localLCID">
  1422.         <xsl:with-param name="LCID" select="$LCID"/>
  1423.       </xsl:call-template>
  1424.     </xsl:variable>
  1425.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:InterviewerCap"/>
  1426.   </xsl:template>
  1427.  
  1428.   
  1429.   <xsl:template name="templ_str_InterviewersCap" >
  1430.     <xsl:param name="LCID" />
  1431.     <xsl:variable name="_LCID">
  1432.       <xsl:call-template name="localLCID">
  1433.         <xsl:with-param name="LCID" select="$LCID"/>
  1434.       </xsl:call-template>
  1435.     </xsl:variable>
  1436.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:InterviewersCap"/>
  1437.   </xsl:template>
  1438.  
  1439.   
  1440.   <xsl:template name="templ_str_InventorShortUnCap" >
  1441.     <xsl:param name="LCID" />
  1442.     <xsl:variable name="_LCID">
  1443.       <xsl:call-template name="localLCID">
  1444.         <xsl:with-param name="LCID" select="$LCID"/>
  1445.       </xsl:call-template>
  1446.     </xsl:variable>
  1447.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:InventorShortUnCap"/>
  1448.   </xsl:template>
  1449.  
  1450.   
  1451.   <xsl:template name="templ_str_PerformedByCap" >
  1452.     <xsl:param name="LCID" />
  1453.     <xsl:variable name="_LCID">
  1454.       <xsl:call-template name="localLCID">
  1455.         <xsl:with-param name="LCID" select="$LCID"/>
  1456.       </xsl:call-template>
  1457.     </xsl:variable>
  1458.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PerformedByCap"/>
  1459.   </xsl:template>
  1460.  
  1461.   
  1462.   <xsl:template name="templ_str_PerformedByUnCap" >
  1463.     <xsl:param name="LCID" />
  1464.     <xsl:variable name="_LCID">
  1465.       <xsl:call-template name="localLCID">
  1466.         <xsl:with-param name="LCID" select="$LCID"/>
  1467.       </xsl:call-template>
  1468.     </xsl:variable>
  1469.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PerformedByUnCap"/>
  1470.   </xsl:template>
  1471.  
  1472.   
  1473.   <xsl:template name="templ_str_PerformerCap" >
  1474.     <xsl:param name="LCID" />
  1475.     <xsl:variable name="_LCID">
  1476.       <xsl:call-template name="localLCID">
  1477.         <xsl:with-param name="LCID" select="$LCID"/>
  1478.       </xsl:call-template>
  1479.     </xsl:variable>
  1480.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PerformerCap"/>
  1481.   </xsl:template>
  1482.  
  1483.   
  1484.   <xsl:template name="templ_str_PerformersCap" >
  1485.     <xsl:param name="LCID" />
  1486.     <xsl:variable name="_LCID">
  1487.       <xsl:call-template name="localLCID">
  1488.         <xsl:with-param name="LCID" select="$LCID"/>
  1489.       </xsl:call-template>
  1490.     </xsl:variable>
  1491.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PerformersCap"/>
  1492.   </xsl:template>
  1493.  
  1494.   
  1495.   <xsl:template name="templ_str_PerformerShortCap" >
  1496.     <xsl:param name="LCID" />
  1497.     <xsl:variable name="_LCID">
  1498.       <xsl:call-template name="localLCID">
  1499.         <xsl:with-param name="LCID" select="$LCID"/>
  1500.       </xsl:call-template>
  1501.     </xsl:variable>
  1502.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PerformerShortCap"/>
  1503.   </xsl:template>
  1504.  
  1505.   
  1506.   <xsl:template name="templ_str_PerformerShortUnCap" >
  1507.     <xsl:param name="LCID" />
  1508.     <xsl:variable name="_LCID">
  1509.       <xsl:call-template name="localLCID">
  1510.         <xsl:with-param name="LCID" select="$LCID"/>
  1511.       </xsl:call-template>
  1512.     </xsl:variable>
  1513.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PerformerShortUnCap"/>
  1514.   </xsl:template>
  1515.  
  1516.   
  1517.   <xsl:template name="templ_str_PerformersShortCap" >
  1518.     <xsl:param name="LCID" />
  1519.     <xsl:variable name="_LCID">
  1520.       <xsl:call-template name="localLCID">
  1521.         <xsl:with-param name="LCID" select="$LCID"/>
  1522.       </xsl:call-template>
  1523.     </xsl:variable>
  1524.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PerformersShortCap"/>
  1525.   </xsl:template>
  1526.  
  1527.   
  1528.   <xsl:template name="templ_str_PerformersShortUnCap" >
  1529.     <xsl:param name="LCID" />
  1530.     <xsl:variable name="_LCID">
  1531.       <xsl:call-template name="localLCID">
  1532.         <xsl:with-param name="LCID" select="$LCID"/>
  1533.       </xsl:call-template>
  1534.     </xsl:variable>
  1535.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PerformersShortUnCap"/>
  1536.   </xsl:template>
  1537.  
  1538.   
  1539.   <xsl:template name="templ_str_ProducedByCap" >
  1540.     <xsl:param name="LCID" />
  1541.     <xsl:variable name="_LCID">
  1542.       <xsl:call-template name="localLCID">
  1543.         <xsl:with-param name="LCID" select="$LCID"/>
  1544.       </xsl:call-template>
  1545.     </xsl:variable>
  1546.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ProducedByCap"/>
  1547.   </xsl:template>
  1548.  
  1549.   
  1550.   <xsl:template name="templ_str_ProducedByUnCap" >
  1551.     <xsl:param name="LCID" />
  1552.     <xsl:variable name="_LCID">
  1553.       <xsl:call-template name="localLCID">
  1554.         <xsl:with-param name="LCID" select="$LCID"/>
  1555.       </xsl:call-template>
  1556.     </xsl:variable>
  1557.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ProducedByUnCap"/>
  1558.   </xsl:template>
  1559.  
  1560.   
  1561.   <xsl:template name="templ_str_ProducerCap" >
  1562.     <xsl:param name="LCID" />
  1563.     <xsl:variable name="_LCID">
  1564.       <xsl:call-template name="localLCID">
  1565.         <xsl:with-param name="LCID" select="$LCID"/>
  1566.       </xsl:call-template>
  1567.     </xsl:variable>
  1568.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ProducerCap"/>
  1569.   </xsl:template>
  1570.  
  1571.   
  1572.   <xsl:template name="templ_str_ProducersCap" >
  1573.     <xsl:param name="LCID" />
  1574.     <xsl:variable name="_LCID">
  1575.       <xsl:call-template name="localLCID">
  1576.         <xsl:with-param name="LCID" select="$LCID"/>
  1577.       </xsl:call-template>
  1578.     </xsl:variable>
  1579.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ProducersCap"/>
  1580.   </xsl:template>
  1581.  
  1582.   
  1583.   <xsl:template name="templ_str_ProductionCompanyShortCap" >
  1584.     <xsl:param name="LCID" />
  1585.     <xsl:variable name="_LCID">
  1586.       <xsl:call-template name="localLCID">
  1587.         <xsl:with-param name="LCID" select="$LCID"/>
  1588.       </xsl:call-template>
  1589.     </xsl:variable>
  1590.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ProductionCompanyShortCap"/>
  1591.   </xsl:template>
  1592.  
  1593.   
  1594.   <xsl:template name="templ_str_ProducerShortCap" >
  1595.     <xsl:param name="LCID" />
  1596.     <xsl:variable name="_LCID">
  1597.       <xsl:call-template name="localLCID">
  1598.         <xsl:with-param name="LCID" select="$LCID"/>
  1599.       </xsl:call-template>
  1600.     </xsl:variable>
  1601.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ProducerShortCap"/>
  1602.   </xsl:template>
  1603.  
  1604.   
  1605.   <xsl:template name="templ_str_ProducersShortCap" >
  1606.     <xsl:param name="LCID" />
  1607.     <xsl:variable name="_LCID">
  1608.       <xsl:call-template name="localLCID">
  1609.         <xsl:with-param name="LCID" select="$LCID"/>
  1610.       </xsl:call-template>
  1611.     </xsl:variable>
  1612.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ProducersShortCap"/>
  1613.   </xsl:template>
  1614.  
  1615.   
  1616.   <xsl:template name="templ_str_ProducerShortUnCap" >
  1617.     <xsl:param name="LCID" />
  1618.     <xsl:variable name="_LCID">
  1619.       <xsl:call-template name="localLCID">
  1620.         <xsl:with-param name="LCID" select="$LCID"/>
  1621.       </xsl:call-template>
  1622.     </xsl:variable>
  1623.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ProducerShortUnCap"/>
  1624.   </xsl:template>
  1625.  
  1626.   
  1627.   <xsl:template name="templ_str_TranslatedByCap" >
  1628.     <xsl:param name="LCID" />
  1629.     <xsl:variable name="_LCID">
  1630.       <xsl:call-template name="localLCID">
  1631.         <xsl:with-param name="LCID" select="$LCID"/>
  1632.       </xsl:call-template>
  1633.     </xsl:variable>
  1634.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:TranslatedByCap"/>
  1635.   </xsl:template>
  1636.  
  1637.   
  1638.   <xsl:template name="templ_str_TranslatedByUnCap" >
  1639.     <xsl:param name="LCID" />
  1640.     <xsl:variable name="_LCID">
  1641.       <xsl:call-template name="localLCID">
  1642.         <xsl:with-param name="LCID" select="$LCID"/>
  1643.       </xsl:call-template>
  1644.     </xsl:variable>
  1645.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:TranslatedByUnCap"/>
  1646.   </xsl:template>
  1647.  
  1648.   
  1649.   <xsl:template name="templ_str_TranslatorCap" >
  1650.     <xsl:param name="LCID" />
  1651.     <xsl:variable name="_LCID">
  1652.       <xsl:call-template name="localLCID">
  1653.         <xsl:with-param name="LCID" select="$LCID"/>
  1654.       </xsl:call-template>
  1655.     </xsl:variable>
  1656.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:TranslatorCap"/>
  1657.   </xsl:template>
  1658.  
  1659.   
  1660.   <xsl:template name="templ_str_TranslatorsCap" >
  1661.     <xsl:param name="LCID" />
  1662.     <xsl:variable name="_LCID">
  1663.       <xsl:call-template name="localLCID">
  1664.         <xsl:with-param name="LCID" select="$LCID"/>
  1665.       </xsl:call-template>
  1666.     </xsl:variable>
  1667.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:TranslatorsCap"/>
  1668.   </xsl:template>
  1669.  
  1670.   
  1671.   <xsl:template name="templ_str_TranslatorShortCap" >
  1672.     <xsl:param name="LCID" />
  1673.     <xsl:variable name="_LCID">
  1674.       <xsl:call-template name="localLCID">
  1675.         <xsl:with-param name="LCID" select="$LCID"/>
  1676.       </xsl:call-template>
  1677.     </xsl:variable>
  1678.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:TranslatorShortCap"/>
  1679.   </xsl:template>
  1680.  
  1681.   
  1682.   <xsl:template name="templ_str_TranslatorShortUnCap" >
  1683.     <xsl:param name="LCID" />
  1684.     <xsl:variable name="_LCID">
  1685.       <xsl:call-template name="localLCID">
  1686.         <xsl:with-param name="LCID" select="$LCID"/>
  1687.       </xsl:call-template>
  1688.     </xsl:variable>
  1689.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:TranslatorShortUnCap"/>
  1690.   </xsl:template>
  1691.  
  1692.   
  1693.   <xsl:template name="templ_str_TranslatorsShortCap" >
  1694.     <xsl:param name="LCID" />
  1695.     <xsl:variable name="_LCID">
  1696.       <xsl:call-template name="localLCID">
  1697.         <xsl:with-param name="LCID" select="$LCID"/>
  1698.       </xsl:call-template>
  1699.     </xsl:variable>
  1700.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:TranslatorsShortCap"/>
  1701.   </xsl:template>
  1702.  
  1703.   
  1704.   <xsl:template name="templ_str_TranslatorsShortUnCap" >
  1705.     <xsl:param name="LCID" />
  1706.     <xsl:variable name="_LCID">
  1707.       <xsl:call-template name="localLCID">
  1708.         <xsl:with-param name="LCID" select="$LCID"/>
  1709.       </xsl:call-template>
  1710.     </xsl:variable>
  1711.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:TranslatorsShortUnCap"/>
  1712.   </xsl:template>
  1713.  
  1714.   
  1715.   <xsl:template name="templ_str_ComposerCap" >
  1716.     <xsl:param name="LCID" />
  1717.     <xsl:variable name="_LCID">
  1718.       <xsl:call-template name="localLCID">
  1719.         <xsl:with-param name="LCID" select="$LCID"/>
  1720.       </xsl:call-template>
  1721.     </xsl:variable>
  1722.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ComposerCap"/>
  1723.   </xsl:template>
  1724.  
  1725.   
  1726.   <xsl:template name="templ_str_ComposersCap" >
  1727.     <xsl:param name="LCID" />
  1728.     <xsl:variable name="_LCID">
  1729.       <xsl:call-template name="localLCID">
  1730.         <xsl:with-param name="LCID" select="$LCID"/>
  1731.       </xsl:call-template>
  1732.     </xsl:variable>
  1733.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ComposersCap"/>
  1734.   </xsl:template>
  1735.  
  1736.   
  1737.   <xsl:template name="templ_str_ComposerShortCap" >
  1738.     <xsl:param name="LCID" />
  1739.     <xsl:variable name="_LCID">
  1740.       <xsl:call-template name="localLCID">
  1741.         <xsl:with-param name="LCID" select="$LCID"/>
  1742.       </xsl:call-template>
  1743.     </xsl:variable>
  1744.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ComposerShortCap"/>
  1745.   </xsl:template>
  1746.  
  1747.   
  1748.   <xsl:template name="templ_str_ComposersShortCap" >
  1749.     <xsl:param name="LCID" />
  1750.     <xsl:variable name="_LCID">
  1751.       <xsl:call-template name="localLCID">
  1752.         <xsl:with-param name="LCID" select="$LCID"/>
  1753.       </xsl:call-template>
  1754.     </xsl:variable>
  1755.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ComposersShortCap"/>
  1756.   </xsl:template>
  1757.  
  1758.   
  1759.   <xsl:template name="templ_str_ComposerShortUnCapIso" >
  1760.     <xsl:param name="LCID" />
  1761.     <xsl:variable name="_LCID">
  1762.       <xsl:call-template name="localLCID">
  1763.         <xsl:with-param name="LCID" select="$LCID"/>
  1764.       </xsl:call-template>
  1765.     </xsl:variable>
  1766.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ComposerShortUnCapIso"/>
  1767.   </xsl:template>
  1768.  
  1769.   
  1770.   <xsl:template name="templ_str_CompiledByCap" >
  1771.     <xsl:param name="LCID" />
  1772.     <xsl:variable name="_LCID">
  1773.       <xsl:call-template name="localLCID">
  1774.         <xsl:with-param name="LCID" select="$LCID"/>
  1775.       </xsl:call-template>
  1776.     </xsl:variable>
  1777.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CompiledByCap"/>
  1778.   </xsl:template>
  1779.  
  1780.   
  1781.   <xsl:template name="templ_str_CompiledByUnCap" >
  1782.     <xsl:param name="LCID" />
  1783.     <xsl:variable name="_LCID">
  1784.       <xsl:call-template name="localLCID">
  1785.         <xsl:with-param name="LCID" select="$LCID"/>
  1786.       </xsl:call-template>
  1787.     </xsl:variable>
  1788.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CompiledByUnCap"/>
  1789.   </xsl:template>
  1790.  
  1791.   
  1792.   <xsl:template name="templ_str_CompilerCap" >
  1793.     <xsl:param name="LCID" />
  1794.     <xsl:variable name="_LCID">
  1795.       <xsl:call-template name="localLCID">
  1796.         <xsl:with-param name="LCID" select="$LCID"/>
  1797.       </xsl:call-template>
  1798.     </xsl:variable>
  1799.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CompilerCap"/>
  1800.   </xsl:template>
  1801.  
  1802.   
  1803.   <xsl:template name="templ_str_CompilersCap" >
  1804.     <xsl:param name="LCID" />
  1805.     <xsl:variable name="_LCID">
  1806.       <xsl:call-template name="localLCID">
  1807.         <xsl:with-param name="LCID" select="$LCID"/>
  1808.       </xsl:call-template>
  1809.     </xsl:variable>
  1810.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CompilersCap"/>
  1811.   </xsl:template>
  1812.  
  1813.   
  1814.   <xsl:template name="templ_str_CompilerShortCap" >
  1815.     <xsl:param name="LCID" />
  1816.     <xsl:variable name="_LCID">
  1817.       <xsl:call-template name="localLCID">
  1818.         <xsl:with-param name="LCID" select="$LCID"/>
  1819.       </xsl:call-template>
  1820.     </xsl:variable>
  1821.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CompilerShortCap"/>
  1822.   </xsl:template>
  1823.  
  1824.   
  1825.   <xsl:template name="templ_str_CompilerShortUnCap" >
  1826.     <xsl:param name="LCID" />
  1827.     <xsl:variable name="_LCID">
  1828.       <xsl:call-template name="localLCID">
  1829.         <xsl:with-param name="LCID" select="$LCID"/>
  1830.       </xsl:call-template>
  1831.     </xsl:variable>
  1832.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CompilerShortUnCap"/>
  1833.   </xsl:template>
  1834.  
  1835.   
  1836.   <xsl:template name="templ_str_CompilersShortCap" >
  1837.     <xsl:param name="LCID" />
  1838.     <xsl:variable name="_LCID">
  1839.       <xsl:call-template name="localLCID">
  1840.         <xsl:with-param name="LCID" select="$LCID"/>
  1841.       </xsl:call-template>
  1842.     </xsl:variable>
  1843.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CompilersShortCap"/>
  1844.   </xsl:template>
  1845.  
  1846.   
  1847.   <xsl:template name="templ_str_CompilersShortUnCap" >
  1848.     <xsl:param name="LCID" />
  1849.     <xsl:variable name="_LCID">
  1850.       <xsl:call-template name="localLCID">
  1851.         <xsl:with-param name="LCID" select="$LCID"/>
  1852.       </xsl:call-template>
  1853.     </xsl:variable>
  1854.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CompilersShortUnCap"/>
  1855.   </xsl:template>
  1856.  
  1857.   
  1858.   <xsl:template name="templ_str_CompilerShortUnCapIso" >
  1859.     <xsl:param name="LCID" />
  1860.     <xsl:variable name="_LCID">
  1861.       <xsl:call-template name="localLCID">
  1862.         <xsl:with-param name="LCID" select="$LCID"/>
  1863.       </xsl:call-template>
  1864.     </xsl:variable>
  1865.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CompilerShortUnCapIso"/>
  1866.   </xsl:template>
  1867.  
  1868.  
  1869.   
  1870.  
  1871.   
  1872.   <xsl:template name="templ_prop_Culture" >
  1873.     <xsl:param name="LCID" />
  1874.     <xsl:variable name="_LCID">
  1875.       <xsl:call-template name="localLCID">
  1876.         <xsl:with-param name="LCID" select="$LCID"/>
  1877.       </xsl:call-template>
  1878.     </xsl:variable>
  1879.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/@Culture"/>
  1880.   </xsl:template>
  1881.  
  1882.   
  1883.   <xsl:template name="templ_prop_Direction" >
  1884.     <xsl:param name="LCID" />
  1885.     <xsl:variable name="_LCID">
  1886.       <xsl:call-template name="localLCID">
  1887.         <xsl:with-param name="LCID" select="$LCID"/>
  1888.       </xsl:call-template>
  1889.     </xsl:variable>
  1890.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Properties/b:Direction"/>
  1891.   </xsl:template>
  1892.  
  1893.  
  1894.   
  1895.  
  1896.   
  1897.   <xsl:template name="templ_prop_EndChars" >
  1898.     <xsl:param name="LCID" />
  1899.     <xsl:variable name="_LCID">
  1900.       <xsl:call-template name="localLCID">
  1901.         <xsl:with-param name="LCID" select="$LCID"/>
  1902.       </xsl:call-template>
  1903.     </xsl:variable>
  1904.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:EndChars"/>
  1905.   </xsl:template>
  1906.  
  1907.   
  1908.   <xsl:template name="templ_prop_NormalizeSpace" >
  1909.     <xsl:param name="LCID" />
  1910.     <xsl:variable name="_LCID">
  1911.       <xsl:call-template name="localLCID">
  1912.         <xsl:with-param name="LCID" select="$LCID"/>
  1913.       </xsl:call-template>
  1914.     </xsl:variable>
  1915.     <xsl:text>no</xsl:text>
  1916.     
  1917.   </xsl:template>
  1918.  
  1919.   
  1920.   <xsl:template name="templ_prop_Space" >
  1921.     <xsl:param name="LCID" />
  1922.     <xsl:variable name="_LCID">
  1923.       <xsl:call-template name="localLCID">
  1924.         <xsl:with-param name="LCID" select="$LCID"/>
  1925.       </xsl:call-template>
  1926.     </xsl:variable>
  1927.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:Space"/>
  1928.   </xsl:template>
  1929.  
  1930.   
  1931.   <xsl:template name="templ_prop_NonBreakingSpace" >
  1932.     <xsl:param name="LCID" />
  1933.     <xsl:variable name="_LCID">
  1934.       <xsl:call-template name="localLCID">
  1935.         <xsl:with-param name="LCID" select="$LCID"/>
  1936.       </xsl:call-template>
  1937.     </xsl:variable>
  1938.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:NonBreakingSpace"/>
  1939.   </xsl:template>
  1940.  
  1941.   
  1942.   <xsl:template name="templ_prop_ListSeparator" >
  1943.     <xsl:param name="LCID" />
  1944.     <xsl:variable name="_LCID">
  1945.       <xsl:call-template name="localLCID">
  1946.         <xsl:with-param name="LCID" select="$LCID"/>
  1947.       </xsl:call-template>
  1948.     </xsl:variable>
  1949.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:ListSeparator"/>
  1950.   </xsl:template>
  1951.  
  1952.   
  1953.   <xsl:template name="templ_prop_Dot" >
  1954.     <xsl:param name="LCID" />
  1955.     <xsl:variable name="_LCID">
  1956.       <xsl:call-template name="localLCID">
  1957.         <xsl:with-param name="LCID" select="$LCID"/>
  1958.       </xsl:call-template>
  1959.     </xsl:variable>
  1960.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:Dot"/>
  1961.   </xsl:template>
  1962.  
  1963.   
  1964.   <xsl:template name="templ_prop_DotInitial" >
  1965.     <xsl:param name="LCID" />
  1966.     <xsl:variable name="_LCID">
  1967.       <xsl:call-template name="localLCID">
  1968.         <xsl:with-param name="LCID" select="$LCID"/>
  1969.       </xsl:call-template>
  1970.     </xsl:variable>
  1971.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:DotInitial"/>
  1972.   </xsl:template>
  1973.  
  1974.   
  1975.   <xsl:template name="templ_prop_GroupSeparator" >
  1976.     <xsl:param name="LCID" />
  1977.     <xsl:variable name="_LCID">
  1978.       <xsl:call-template name="localLCID">
  1979.         <xsl:with-param name="LCID" select="$LCID"/>
  1980.       </xsl:call-template>
  1981.     </xsl:variable>
  1982.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:GroupSeparator"/>
  1983.   </xsl:template>
  1984.  
  1985.   
  1986.   <xsl:template name="templ_prop_EnumSeparator" >
  1987.     <xsl:param name="LCID" />
  1988.     <xsl:variable name="_LCID">
  1989.       <xsl:call-template name="localLCID">
  1990.         <xsl:with-param name="LCID" select="$LCID"/>
  1991.       </xsl:call-template>
  1992.     </xsl:variable>
  1993.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:EnumSeparator"/>
  1994.   </xsl:template>
  1995.  
  1996.   
  1997.   <xsl:template name="templ_prop_Equal" >
  1998.     <xsl:param name="LCID" />
  1999.     <xsl:variable name="_LCID">
  2000.       <xsl:call-template name="localLCID">
  2001.         <xsl:with-param name="LCID" select="$LCID"/>
  2002.       </xsl:call-template>
  2003.     </xsl:variable>
  2004.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:Equal"/>
  2005.   </xsl:template>
  2006.  
  2007.   
  2008.   <xsl:template name="templ_prop_Enum" >
  2009.     <xsl:param name="LCID" />
  2010.     <xsl:variable name="_LCID">
  2011.       <xsl:call-template name="localLCID">
  2012.         <xsl:with-param name="LCID" select="$LCID"/>
  2013.       </xsl:call-template>
  2014.     </xsl:variable>
  2015.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:Enum"/>
  2016.   </xsl:template>
  2017.  
  2018.   
  2019.   <xsl:template name="templ_prop_OpenQuote" >
  2020.     <xsl:param name="LCID" />
  2021.     <xsl:variable name="_LCID">
  2022.       <xsl:call-template name="localLCID">
  2023.         <xsl:with-param name="LCID" select="$LCID"/>
  2024.       </xsl:call-template>
  2025.     </xsl:variable>
  2026.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:OpenQuote"/>
  2027.   </xsl:template>
  2028.  
  2029.   
  2030.   <xsl:template name="templ_prop_CloseQuote" >
  2031.     <xsl:param name="LCID" />
  2032.     <xsl:variable name="_LCID">
  2033.       <xsl:call-template name="localLCID">
  2034.         <xsl:with-param name="LCID" select="$LCID"/>
  2035.       </xsl:call-template>
  2036.     </xsl:variable>
  2037.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:CloseQuote"/>
  2038.   </xsl:template>
  2039.  
  2040.   
  2041.   <xsl:template name="templ_prop_OpenBracket" >
  2042.     <xsl:param name="LCID" />
  2043.     <xsl:variable name="_LCID">
  2044.       <xsl:call-template name="localLCID">
  2045.         <xsl:with-param name="LCID" select="$LCID"/>
  2046.       </xsl:call-template>
  2047.     </xsl:variable>
  2048.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:OpenBracket"/>
  2049.   </xsl:template>
  2050.  
  2051.   
  2052.   <xsl:template name="templ_prop_CloseBracket" >
  2053.     <xsl:param name="LCID" />
  2054.     <xsl:variable name="_LCID">
  2055.       <xsl:call-template name="localLCID">
  2056.         <xsl:with-param name="LCID" select="$LCID"/>
  2057.       </xsl:call-template>
  2058.     </xsl:variable>
  2059.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:CloseBracket"/>
  2060.   </xsl:template>
  2061.  
  2062.   
  2063.   <xsl:template name="templ_prop_FromToDash" >
  2064.     <xsl:param name="LCID" />
  2065.     <xsl:variable name="_LCID">
  2066.       <xsl:call-template name="localLCID">
  2067.         <xsl:with-param name="LCID" select="$LCID"/>
  2068.       </xsl:call-template>
  2069.     </xsl:variable>
  2070.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:FromToDash"/>
  2071.   </xsl:template>
  2072.  
  2073.   
  2074.   <xsl:template name="templ_prop_OpenLink" >
  2075.     <xsl:param name="LCID" />
  2076.     <xsl:variable name="_LCID">
  2077.       <xsl:call-template name="localLCID">
  2078.         <xsl:with-param name="LCID" select="$LCID"/>
  2079.       </xsl:call-template>
  2080.     </xsl:variable>
  2081.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:OpenLink"/>
  2082.   </xsl:template>
  2083.  
  2084.   
  2085.   <xsl:template name="templ_prop_CloseLink" >
  2086.     <xsl:param name="LCID" />
  2087.     <xsl:variable name="_LCID">
  2088.       <xsl:call-template name="localLCID">
  2089.         <xsl:with-param name="LCID" select="$LCID"/>
  2090.       </xsl:call-template>
  2091.     </xsl:variable>
  2092.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:CloseLink"/>
  2093.   </xsl:template>
  2094.  
  2095.   
  2096.   <xsl:template name="templ_prop_AuthorsSeparator" >
  2097.     <xsl:param name="LCID" />
  2098.     <xsl:variable name="_LCID">
  2099.       <xsl:call-template name="localLCID">
  2100.         <xsl:with-param name="LCID" select="$LCID"/>
  2101.       </xsl:call-template>
  2102.     </xsl:variable>
  2103.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:AuthorsSeparator"/>
  2104.   </xsl:template>
  2105.  
  2106.   
  2107.   <xsl:template name="templ_prop_NoAndBeforeLastAuthor" >
  2108.     <xsl:param name="LCID" />
  2109.     <xsl:variable name="_LCID">
  2110.       <xsl:call-template name="localLCID">
  2111.         <xsl:with-param name="LCID" select="$LCID"/>
  2112.       </xsl:call-template>
  2113.     </xsl:variable>
  2114.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:NoAndBeforeLastAuthor"/>
  2115.   </xsl:template>
  2116.  
  2117.   
  2118.   <xsl:template name="templ_prop_SimpleAuthor_F" >
  2119.   <xsl:text>%F</xsl:text>
  2120.   
  2121.   </xsl:template>
  2122.  
  2123.   
  2124.   <xsl:template name="templ_prop_SimpleAuthor_M" >
  2125.   <xsl:text>%M</xsl:text>
  2126.   
  2127.   </xsl:template>
  2128.  
  2129.   
  2130.   <xsl:template name="templ_prop_SimpleAuthor_L" >
  2131.   <xsl:text>%L</xsl:text>
  2132.   
  2133.   </xsl:template>
  2134.  
  2135.   
  2136.   <xsl:template name="templ_prop_SimpleDate_D" >
  2137.   <xsl:text>%D</xsl:text>
  2138.   
  2139.   </xsl:template>
  2140.  
  2141.   
  2142.   <xsl:template name="templ_prop_SimpleDate_M" >
  2143.   <xsl:text>%M</xsl:text>
  2144.   
  2145.   </xsl:template>
  2146.  
  2147.   
  2148.   <xsl:template name="templ_prop_SimpleDate_Y" >
  2149.   <xsl:text>%Y</xsl:text>
  2150.   
  2151.   </xsl:template>
  2152.  
  2153.   
  2154.   <xsl:template name="templ_prop_MLA_SameAuthor" >
  2155.     <xsl:param name="LCID" />
  2156.     <xsl:variable name="_LCID">
  2157.       <xsl:call-template name="localLCID">
  2158.         <xsl:with-param name="LCID" select="$LCID"/>
  2159.       </xsl:call-template>
  2160.     </xsl:variable>
  2161.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:SameAuthor"/>
  2162.   </xsl:template>
  2163.  
  2164.   
  2165.   <xsl:template name="templ_prop_MLA_MainAuthor_FML" >
  2166.     <xsl:param name="LCID" />
  2167.     <xsl:variable name="_LCID">
  2168.       <xsl:call-template name="localLCID">
  2169.         <xsl:with-param name="LCID" select="$LCID"/>
  2170.       </xsl:call-template>
  2171.     </xsl:variable>
  2172.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:MainAuthor/b:FML"/>
  2173.   </xsl:template>
  2174.  
  2175.   
  2176.   <xsl:template name="templ_prop_MLA_MainAuthor_FM" >
  2177.     <xsl:param name="LCID" />
  2178.     <xsl:variable name="_LCID">
  2179.       <xsl:call-template name="localLCID">
  2180.         <xsl:with-param name="LCID" select="$LCID"/>
  2181.       </xsl:call-template>
  2182.     </xsl:variable>
  2183.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:MainAuthor/b:FM"/>
  2184.   </xsl:template>
  2185.  
  2186.   
  2187.   <xsl:template name="templ_prop_MLA_MainAuthor_ML" >
  2188.     <xsl:param name="LCID" />
  2189.     <xsl:variable name="_LCID">
  2190.       <xsl:call-template name="localLCID">
  2191.         <xsl:with-param name="LCID" select="$LCID"/>
  2192.       </xsl:call-template>
  2193.     </xsl:variable>
  2194.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:MainAuthor/b:ML"/>
  2195.   </xsl:template>
  2196.  
  2197.   
  2198.   <xsl:template name="templ_prop_MLA_MainAuthor_FL" >
  2199.     <xsl:param name="LCID" />
  2200.     <xsl:variable name="_LCID">
  2201.       <xsl:call-template name="localLCID">
  2202.         <xsl:with-param name="LCID" select="$LCID"/>
  2203.       </xsl:call-template>
  2204.     </xsl:variable>
  2205.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:MainAuthor/b:FL"/>
  2206.   </xsl:template>
  2207.  
  2208.   
  2209.   <xsl:template name="templ_prop_MLA_OtherAuthors_FML" >
  2210.     <xsl:param name="LCID" />
  2211.     <xsl:variable name="_LCID">
  2212.       <xsl:call-template name="localLCID">
  2213.         <xsl:with-param name="LCID" select="$LCID"/>
  2214.       </xsl:call-template>
  2215.     </xsl:variable>
  2216.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:OtherAuthors/b:FML"/>
  2217.   </xsl:template>
  2218.  
  2219.   
  2220.   <xsl:template name="templ_prop_MLA_OtherAuthors_FM" >
  2221.     <xsl:param name="LCID" />
  2222.     <xsl:variable name="_LCID">
  2223.       <xsl:call-template name="localLCID">
  2224.         <xsl:with-param name="LCID" select="$LCID"/>
  2225.       </xsl:call-template>
  2226.     </xsl:variable>
  2227.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:OtherAuthors/b:FM"/>
  2228.   </xsl:template>
  2229.  
  2230.   
  2231.   <xsl:template name="templ_prop_MLA_OtherAuthors_ML" >
  2232.     <xsl:param name="LCID" />
  2233.     <xsl:variable name="_LCID">
  2234.       <xsl:call-template name="localLCID">
  2235.         <xsl:with-param name="LCID" select="$LCID"/>
  2236.       </xsl:call-template>
  2237.     </xsl:variable>
  2238.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:OtherAuthors/b:ML"/>
  2239.   </xsl:template>
  2240.  
  2241.   
  2242.   <xsl:template name="templ_prop_MLA_OtherAuthors_FL" >
  2243.     <xsl:param name="LCID" />
  2244.     <xsl:variable name="_LCID">
  2245.       <xsl:call-template name="localLCID">
  2246.         <xsl:with-param name="LCID" select="$LCID"/>
  2247.       </xsl:call-template>
  2248.     </xsl:variable>
  2249.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:OtherAuthors/b:FL"/>
  2250.   </xsl:template>
  2251.  
  2252.   
  2253.   <xsl:template name="templ_prop_MLA_SecondaryAuthors_FML" >
  2254.     <xsl:param name="LCID" />
  2255.     <xsl:variable name="_LCID">
  2256.       <xsl:call-template name="localLCID">
  2257.         <xsl:with-param name="LCID" select="$LCID"/>
  2258.       </xsl:call-template>
  2259.     </xsl:variable>
  2260.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:SecondaryAuthors/b:FML"/>
  2261.   </xsl:template>
  2262.  
  2263.   
  2264.   <xsl:template name="templ_prop_MLA_SecondaryAuthors_FM" >
  2265.     <xsl:param name="LCID" />
  2266.     <xsl:variable name="_LCID">
  2267.       <xsl:call-template name="localLCID">
  2268.         <xsl:with-param name="LCID" select="$LCID"/>
  2269.       </xsl:call-template>
  2270.     </xsl:variable>
  2271.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:SecondaryAuthors/b:FM"/>
  2272.   </xsl:template>
  2273.  
  2274.   
  2275.   <xsl:template name="templ_prop_MLA_SecondaryAuthors_ML" >
  2276.     <xsl:param name="LCID" />
  2277.     <xsl:variable name="_LCID">
  2278.       <xsl:call-template name="localLCID">
  2279.         <xsl:with-param name="LCID" select="$LCID"/>
  2280.       </xsl:call-template>
  2281.     </xsl:variable>
  2282.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:SecondaryAuthors/b:ML"/>
  2283.   </xsl:template>
  2284.  
  2285.   
  2286.   <xsl:template name="templ_prop_MLA_SecondaryAuthors_FL" >
  2287.     <xsl:param name="LCID" />
  2288.     <xsl:variable name="_LCID">
  2289.       <xsl:call-template name="localLCID">
  2290.         <xsl:with-param name="LCID" select="$LCID"/>
  2291.       </xsl:call-template>
  2292.     </xsl:variable>
  2293.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:SecondaryAuthors/b:FL"/>
  2294.   </xsl:template>
  2295.  
  2296.   
  2297.   <xsl:template name="templ_prop_MLA_Date_DMY" >
  2298.     <xsl:param name="LCID" />
  2299.     <xsl:variable name="_LCID">
  2300.       <xsl:call-template name="localLCID">
  2301.         <xsl:with-param name="LCID" select="$LCID"/>
  2302.       </xsl:call-template>
  2303.     </xsl:variable>
  2304.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:Date/b:DMY"/>
  2305.   </xsl:template>
  2306.  
  2307.   
  2308.   <xsl:template name="templ_prop_MLA_Date_DM" >
  2309.     <xsl:param name="LCID" />
  2310.     <xsl:variable name="_LCID">
  2311.       <xsl:call-template name="localLCID">
  2312.         <xsl:with-param name="LCID" select="$LCID"/>
  2313.       </xsl:call-template>
  2314.     </xsl:variable>
  2315.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:Date/b:DM"/>
  2316.   </xsl:template>
  2317.  
  2318.   
  2319.   <xsl:template name="templ_prop_MLA_Date_MY" >
  2320.     <xsl:param name="LCID" />
  2321.     <xsl:variable name="_LCID">
  2322.       <xsl:call-template name="localLCID">
  2323.         <xsl:with-param name="LCID" select="$LCID"/>
  2324.       </xsl:call-template>
  2325.     </xsl:variable>
  2326.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:Date/b:MY"/>
  2327.   </xsl:template>
  2328.  
  2329.   
  2330.   <xsl:template name="templ_prop_MLA_Date_DY" >
  2331.     <xsl:param name="LCID" />
  2332.     <xsl:variable name="_LCID">
  2333.       <xsl:call-template name="localLCID">
  2334.         <xsl:with-param name="LCID" select="$LCID"/>
  2335.       </xsl:call-template>
  2336.     </xsl:variable>
  2337.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:Date/b:DY"/>
  2338.   </xsl:template>
  2339.  
  2340.   
  2341.   <xsl:template name="templ_prop_APA_MainAuthors_FML" >
  2342.     <xsl:param name="LCID" />
  2343.     <xsl:variable name="_LCID">
  2344.       <xsl:call-template name="localLCID">
  2345.         <xsl:with-param name="LCID" select="$LCID"/>
  2346.       </xsl:call-template>
  2347.     </xsl:variable>
  2348.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:MainAuthors/b:FML"/>
  2349.   </xsl:template>
  2350.  
  2351.   
  2352.   <xsl:template name="templ_prop_APA_MainAuthors_FM" >
  2353.     <xsl:param name="LCID" />
  2354.     <xsl:variable name="_LCID">
  2355.       <xsl:call-template name="localLCID">
  2356.         <xsl:with-param name="LCID" select="$LCID"/>
  2357.       </xsl:call-template>
  2358.     </xsl:variable>
  2359.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:MainAuthors/b:FM"/>
  2360.   </xsl:template>
  2361.  
  2362.   
  2363.   <xsl:template name="templ_prop_APA_MainAuthors_ML" >
  2364.     <xsl:param name="LCID" />
  2365.     <xsl:variable name="_LCID">
  2366.       <xsl:call-template name="localLCID">
  2367.         <xsl:with-param name="LCID" select="$LCID"/>
  2368.       </xsl:call-template>
  2369.     </xsl:variable>
  2370.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:MainAuthors/b:ML"/>
  2371.   </xsl:template>
  2372.  
  2373.   
  2374.   <xsl:template name="templ_prop_APA_MainAuthors_FL" >
  2375.     <xsl:param name="LCID" />
  2376.     <xsl:variable name="_LCID">
  2377.       <xsl:call-template name="localLCID">
  2378.         <xsl:with-param name="LCID" select="$LCID"/>
  2379.       </xsl:call-template>
  2380.     </xsl:variable>
  2381.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:MainAuthors/b:FL"/>
  2382.   </xsl:template>
  2383.  
  2384.   
  2385.   <xsl:template name="templ_prop_APA_SecondaryAuthors_FML" >
  2386.     <xsl:param name="LCID" />
  2387.     <xsl:variable name="_LCID">
  2388.       <xsl:call-template name="localLCID">
  2389.         <xsl:with-param name="LCID" select="$LCID"/>
  2390.       </xsl:call-template>
  2391.     </xsl:variable>
  2392.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:SecondaryAuthors/b:FML"/>
  2393.   </xsl:template>
  2394.  
  2395.   
  2396.   <xsl:template name="templ_prop_APA_SecondaryAuthors_FM" >
  2397.     <xsl:param name="LCID" />
  2398.     <xsl:variable name="_LCID">
  2399.       <xsl:call-template name="localLCID">
  2400.         <xsl:with-param name="LCID" select="$LCID"/>
  2401.       </xsl:call-template>
  2402.     </xsl:variable>
  2403.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:SecondaryAuthors/b:FM"/>
  2404.   </xsl:template>
  2405.  
  2406.   
  2407.   <xsl:template name="templ_prop_APA_SecondaryAuthors_ML" >
  2408.     <xsl:param name="LCID" />
  2409.     <xsl:variable name="_LCID">
  2410.       <xsl:call-template name="localLCID">
  2411.         <xsl:with-param name="LCID" select="$LCID"/>
  2412.       </xsl:call-template>
  2413.     </xsl:variable>
  2414.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:SecondaryAuthors/b:ML"/>
  2415.   </xsl:template>
  2416.  
  2417.   
  2418.   <xsl:template name="templ_prop_APA_SecondaryAuthors_FL" >
  2419.     <xsl:param name="LCID" />
  2420.     <xsl:variable name="_LCID">
  2421.       <xsl:call-template name="localLCID">
  2422.         <xsl:with-param name="LCID" select="$LCID"/>
  2423.       </xsl:call-template>
  2424.     </xsl:variable>
  2425.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:SecondaryAuthors/b:FL"/>
  2426.   </xsl:template>
  2427.  
  2428.   
  2429.   <xsl:template name="templ_prop_APA_BeforeLastAuthor" >
  2430.     <xsl:param name="LCID" />
  2431.     <xsl:variable name="_LCID">
  2432.       <xsl:call-template name="localLCID">
  2433.         <xsl:with-param name="LCID" select="$LCID"/>
  2434.       </xsl:call-template>
  2435.     </xsl:variable>
  2436.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:BeforeLastAuthor"/>
  2437.   </xsl:template>
  2438.  
  2439.   
  2440.   <xsl:template name="templ_prop_APA_GeneralOpen" >
  2441.     <xsl:param name="LCID" />
  2442.     <xsl:variable name="_LCID">
  2443.       <xsl:call-template name="localLCID">
  2444.         <xsl:with-param name="LCID" select="$LCID"/>
  2445.       </xsl:call-template>
  2446.     </xsl:variable>
  2447.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:GeneralOpen"/>
  2448.   </xsl:template>
  2449.  
  2450.   
  2451.   <xsl:template name="templ_prop_APA_GeneralClose" >
  2452.     <xsl:param name="LCID" />
  2453.     <xsl:variable name="_LCID">
  2454.       <xsl:call-template name="localLCID">
  2455.         <xsl:with-param name="LCID" select="$LCID"/>
  2456.       </xsl:call-template>
  2457.     </xsl:variable>
  2458.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:GeneralClose"/>
  2459.   </xsl:template>
  2460.  
  2461.   
  2462.   <xsl:template name="templ_prop_APA_SecondaryOpen" >
  2463.     <xsl:param name="LCID" />
  2464.     <xsl:variable name="_LCID">
  2465.       <xsl:call-template name="localLCID">
  2466.         <xsl:with-param name="LCID" select="$LCID"/>
  2467.       </xsl:call-template>
  2468.     </xsl:variable>
  2469.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:SecondaryOpen"/>
  2470.   </xsl:template>
  2471.  
  2472.   
  2473.   <xsl:template name="templ_prop_APA_SecondaryClose" >
  2474.     <xsl:param name="LCID" />
  2475.     <xsl:variable name="_LCID">
  2476.       <xsl:call-template name="localLCID">
  2477.         <xsl:with-param name="LCID" select="$LCID"/>
  2478.       </xsl:call-template>
  2479.     </xsl:variable>
  2480.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:SecondaryClose"/>
  2481.   </xsl:template>
  2482.  
  2483.   
  2484.   <xsl:template name="templ_prop_Hyphens" >
  2485.     <xsl:param name="LCID" />
  2486.     <xsl:variable name="_LCID">
  2487.       <xsl:call-template name="localLCID">
  2488.         <xsl:with-param name="LCID" select="$LCID"/>
  2489.       </xsl:call-template>
  2490.     </xsl:variable>
  2491.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:Hyphens"/>
  2492.   </xsl:template>
  2493.  
  2494.   
  2495.   <xsl:template name="templ_prop_APA_Date_DMY" >
  2496.     <xsl:param name="LCID" />
  2497.     <xsl:variable name="_LCID">
  2498.       <xsl:call-template name="localLCID">
  2499.         <xsl:with-param name="LCID" select="$LCID"/>
  2500.       </xsl:call-template>
  2501.     </xsl:variable>
  2502.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:Date/b:DMY"/>
  2503.   </xsl:template>
  2504.  
  2505.   
  2506.   <xsl:template name="templ_prop_APA_Date_DM" >
  2507.     <xsl:param name="LCID" />
  2508.     <xsl:variable name="_LCID">
  2509.       <xsl:call-template name="localLCID">
  2510.         <xsl:with-param name="LCID" select="$LCID"/>
  2511.       </xsl:call-template>
  2512.     </xsl:variable>
  2513.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:Date/b:DM"/>
  2514.   </xsl:template>
  2515.  
  2516.   
  2517.   <xsl:template name="templ_prop_APA_Date_MY" >
  2518.     <xsl:param name="LCID" />
  2519.     <xsl:variable name="_LCID">
  2520.       <xsl:call-template name="localLCID">
  2521.         <xsl:with-param name="LCID" select="$LCID"/>
  2522.       </xsl:call-template>
  2523.     </xsl:variable>
  2524.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:Date/b:MY"/>
  2525.   </xsl:template>
  2526.  
  2527.   
  2528.   <xsl:template name="templ_prop_APA_Date_DY" >
  2529.     <xsl:param name="LCID" />
  2530.     <xsl:variable name="_LCID">
  2531.       <xsl:call-template name="localLCID">
  2532.         <xsl:with-param name="LCID" select="$LCID"/>
  2533.       </xsl:call-template>
  2534.     </xsl:variable>
  2535.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:Date/b:DY"/>
  2536.   </xsl:template>
  2537.  
  2538.   
  2539.   <xsl:template name="templ_prop_APA_DateAccessed_DMY" >
  2540.     <xsl:param name="LCID" />
  2541.     <xsl:variable name="_LCID">
  2542.       <xsl:call-template name="localLCID">
  2543.         <xsl:with-param name="LCID" select="$LCID"/>
  2544.       </xsl:call-template>
  2545.     </xsl:variable>
  2546.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:DateAccessed/b:DMY"/>
  2547.   </xsl:template>
  2548.  
  2549.   
  2550.   <xsl:template name="templ_prop_APA_DateAccessed_DM" >
  2551.     <xsl:param name="LCID" />
  2552.     <xsl:variable name="_LCID">
  2553.       <xsl:call-template name="localLCID">
  2554.         <xsl:with-param name="LCID" select="$LCID"/>
  2555.       </xsl:call-template>
  2556.     </xsl:variable>
  2557.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:DateAccessed/b:DM"/>
  2558.   </xsl:template>
  2559.  
  2560.   
  2561.   <xsl:template name="templ_prop_APA_DateAccessed_MY" >
  2562.     <xsl:param name="LCID" />
  2563.     <xsl:variable name="_LCID">
  2564.       <xsl:call-template name="localLCID">
  2565.         <xsl:with-param name="LCID" select="$LCID"/>
  2566.       </xsl:call-template>
  2567.     </xsl:variable>
  2568.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:DateAccessed/b:MY"/>
  2569.   </xsl:template>
  2570.  
  2571.   
  2572.   <xsl:template name="templ_prop_APA_DateAccessed_DY" >
  2573.     <xsl:param name="LCID" />
  2574.     <xsl:variable name="_LCID">
  2575.       <xsl:call-template name="localLCID">
  2576.         <xsl:with-param name="LCID" select="$LCID"/>
  2577.       </xsl:call-template>
  2578.     </xsl:variable>
  2579.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:DateAccessed/b:DY"/>
  2580.   </xsl:template>
  2581.  
  2582.   
  2583.   <xsl:template name="templ_prop_APA_DateCourt_DMY" >
  2584.     <xsl:param name="LCID" />
  2585.     <xsl:variable name="_LCID">
  2586.       <xsl:call-template name="localLCID">
  2587.         <xsl:with-param name="LCID" select="$LCID"/>
  2588.       </xsl:call-template>
  2589.     </xsl:variable>
  2590.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:DateCourt/b:DMY"/>
  2591.   </xsl:template>
  2592.  
  2593.   
  2594.   <xsl:template name="templ_prop_APA_DateCourt_DM" >
  2595.     <xsl:param name="LCID" />
  2596.     <xsl:variable name="_LCID">
  2597.       <xsl:call-template name="localLCID">
  2598.         <xsl:with-param name="LCID" select="$LCID"/>
  2599.       </xsl:call-template>
  2600.     </xsl:variable>
  2601.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:DateCourt/b:DM"/>
  2602.   </xsl:template>
  2603.  
  2604.   
  2605.   <xsl:template name="templ_prop_APA_DateCourt_MY" >
  2606.     <xsl:param name="LCID" />
  2607.     <xsl:variable name="_LCID">
  2608.       <xsl:call-template name="localLCID">
  2609.         <xsl:with-param name="LCID" select="$LCID"/>
  2610.       </xsl:call-template>
  2611.     </xsl:variable>
  2612.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:DateCourt/b:MY"/>
  2613.   </xsl:template>
  2614.  
  2615.   
  2616.   <xsl:template name="templ_prop_APA_DateCourt_DY" >
  2617.     <xsl:param name="LCID" />
  2618.     <xsl:variable name="_LCID">
  2619.       <xsl:call-template name="localLCID">
  2620.         <xsl:with-param name="LCID" select="$LCID"/>
  2621.       </xsl:call-template>
  2622.     </xsl:variable>
  2623.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:DateCourt/b:DY"/>
  2624.   </xsl:template>
  2625.  
  2626.   
  2627.   <xsl:template name="templ_prop_Chicago_SameAuthor" >
  2628.     <xsl:param name="LCID" />
  2629.     <xsl:variable name="_LCID">
  2630.       <xsl:call-template name="localLCID">
  2631.         <xsl:with-param name="LCID" select="$LCID"/>
  2632.       </xsl:call-template>
  2633.     </xsl:variable>
  2634.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:SameAuthor"/>
  2635.   </xsl:template>
  2636.  
  2637.   
  2638.   <xsl:template name="templ_prop_Chicago_MainAuthor_FML" >
  2639.     <xsl:param name="LCID" />
  2640.     <xsl:variable name="_LCID">
  2641.       <xsl:call-template name="localLCID">
  2642.         <xsl:with-param name="LCID" select="$LCID"/>
  2643.       </xsl:call-template>
  2644.     </xsl:variable>
  2645.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:MainAuthor/b:FML"/>
  2646.   </xsl:template>
  2647.  
  2648.   
  2649.   <xsl:template name="templ_prop_Chicago_MainAuthor_FM" >
  2650.     <xsl:param name="LCID" />
  2651.     <xsl:variable name="_LCID">
  2652.       <xsl:call-template name="localLCID">
  2653.         <xsl:with-param name="LCID" select="$LCID"/>
  2654.       </xsl:call-template>
  2655.     </xsl:variable>
  2656.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:MainAuthor/b:FM"/>
  2657.   </xsl:template>
  2658.  
  2659.   
  2660.   <xsl:template name="templ_prop_Chicago_MainAuthor_ML" >
  2661.     <xsl:param name="LCID" />
  2662.     <xsl:variable name="_LCID">
  2663.       <xsl:call-template name="localLCID">
  2664.         <xsl:with-param name="LCID" select="$LCID"/>
  2665.       </xsl:call-template>
  2666.     </xsl:variable>
  2667.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:MainAuthor/b:ML"/>
  2668.   </xsl:template>
  2669.  
  2670.   
  2671.   <xsl:template name="templ_prop_Chicago_MainAuthor_FL" >
  2672.     <xsl:param name="LCID" />
  2673.     <xsl:variable name="_LCID">
  2674.       <xsl:call-template name="localLCID">
  2675.         <xsl:with-param name="LCID" select="$LCID"/>
  2676.       </xsl:call-template>
  2677.     </xsl:variable>
  2678.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:MainAuthor/b:FL"/>
  2679.   </xsl:template>
  2680.  
  2681.   
  2682.   <xsl:template name="templ_prop_Chicago_OtherAuthors_FML" >
  2683.     <xsl:param name="LCID" />
  2684.     <xsl:variable name="_LCID">
  2685.       <xsl:call-template name="localLCID">
  2686.         <xsl:with-param name="LCID" select="$LCID"/>
  2687.       </xsl:call-template>
  2688.     </xsl:variable>
  2689.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:OtherAuthors/b:FML"/>
  2690.   </xsl:template>
  2691.  
  2692.   
  2693.   <xsl:template name="templ_prop_Chicago_OtherAuthors_FM" >
  2694.     <xsl:param name="LCID" />
  2695.     <xsl:variable name="_LCID">
  2696.       <xsl:call-template name="localLCID">
  2697.         <xsl:with-param name="LCID" select="$LCID"/>
  2698.       </xsl:call-template>
  2699.     </xsl:variable>
  2700.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:OtherAuthors/b:FM"/>
  2701.   </xsl:template>
  2702.  
  2703.   
  2704.   <xsl:template name="templ_prop_Chicago_OtherAuthors_ML" >
  2705.     <xsl:param name="LCID" />
  2706.     <xsl:variable name="_LCID">
  2707.       <xsl:call-template name="localLCID">
  2708.         <xsl:with-param name="LCID" select="$LCID"/>
  2709.       </xsl:call-template>
  2710.     </xsl:variable>
  2711.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:OtherAuthors/b:ML"/>
  2712.   </xsl:template>
  2713.  
  2714.   
  2715.   <xsl:template name="templ_prop_Chicago_OtherAuthors_FL" >
  2716.     <xsl:param name="LCID" />
  2717.     <xsl:variable name="_LCID">
  2718.       <xsl:call-template name="localLCID">
  2719.         <xsl:with-param name="LCID" select="$LCID"/>
  2720.       </xsl:call-template>
  2721.     </xsl:variable>
  2722.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:OtherAuthors/b:FL"/>
  2723.   </xsl:template>
  2724.  
  2725.   
  2726.   <xsl:template name="templ_prop_Chicago_SecondaryAuthors_FML" >
  2727.     <xsl:param name="LCID" />
  2728.     <xsl:variable name="_LCID">
  2729.       <xsl:call-template name="localLCID">
  2730.         <xsl:with-param name="LCID" select="$LCID"/>
  2731.       </xsl:call-template>
  2732.     </xsl:variable>
  2733.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:SecondaryAuthors/b:FML"/>
  2734.   </xsl:template>
  2735.  
  2736.   
  2737.   <xsl:template name="templ_prop_Chicago_SecondaryAuthors_FM" >
  2738.     <xsl:param name="LCID" />
  2739.     <xsl:variable name="_LCID">
  2740.       <xsl:call-template name="localLCID">
  2741.         <xsl:with-param name="LCID" select="$LCID"/>
  2742.       </xsl:call-template>
  2743.     </xsl:variable>
  2744.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:SecondaryAuthors/b:FM"/>
  2745.   </xsl:template>
  2746.  
  2747.   
  2748.   <xsl:template name="templ_prop_Chicago_SecondaryAuthors_ML" >
  2749.     <xsl:param name="LCID" />
  2750.     <xsl:variable name="_LCID">
  2751.       <xsl:call-template name="localLCID">
  2752.         <xsl:with-param name="LCID" select="$LCID"/>
  2753.       </xsl:call-template>
  2754.     </xsl:variable>
  2755.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:SecondaryAuthors/b:ML"/>
  2756.   </xsl:template>
  2757.  
  2758.   
  2759.   <xsl:template name="templ_prop_Chicago_SecondaryAuthors_FL" >
  2760.     <xsl:param name="LCID" />
  2761.     <xsl:variable name="_LCID">
  2762.       <xsl:call-template name="localLCID">
  2763.         <xsl:with-param name="LCID" select="$LCID"/>
  2764.       </xsl:call-template>
  2765.     </xsl:variable>
  2766.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:SecondaryAuthors/b:FL"/>
  2767.   </xsl:template>
  2768.  
  2769.   
  2770.   <xsl:template name="templ_prop_Chicago_Date_DMY" >
  2771.     <xsl:param name="LCID" />
  2772.     <xsl:variable name="_LCID">
  2773.       <xsl:call-template name="localLCID">
  2774.         <xsl:with-param name="LCID" select="$LCID"/>
  2775.       </xsl:call-template>
  2776.     </xsl:variable>
  2777.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:Date/b:DMY"/>
  2778.   </xsl:template>
  2779.  
  2780.   
  2781.   <xsl:template name="templ_prop_Chicago_Date_DM" >
  2782.     <xsl:param name="LCID" />
  2783.     <xsl:variable name="_LCID">
  2784.       <xsl:call-template name="localLCID">
  2785.         <xsl:with-param name="LCID" select="$LCID"/>
  2786.       </xsl:call-template>
  2787.     </xsl:variable>
  2788.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:Date/b:DM"/>
  2789.   </xsl:template>
  2790.  
  2791.   
  2792.   <xsl:template name="templ_prop_Chicago_Date_MY" >
  2793.     <xsl:param name="LCID" />
  2794.     <xsl:variable name="_LCID">
  2795.       <xsl:call-template name="localLCID">
  2796.         <xsl:with-param name="LCID" select="$LCID"/>
  2797.       </xsl:call-template>
  2798.     </xsl:variable>
  2799.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:Date/b:MY"/>
  2800.   </xsl:template>
  2801.  
  2802.   
  2803.   <xsl:template name="templ_prop_Chicago_Date_DY" >
  2804.     <xsl:param name="LCID" />
  2805.     <xsl:variable name="_LCID">
  2806.       <xsl:call-template name="localLCID">
  2807.         <xsl:with-param name="LCID" select="$LCID"/>
  2808.       </xsl:call-template>
  2809.     </xsl:variable>
  2810.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:Date/b:DY"/>
  2811.   </xsl:template>
  2812.  
  2813.   
  2814.   <xsl:template name="templ_prop_ISO690_MainAuthors_FML" >
  2815.     <xsl:param name="LCID" />
  2816.     <xsl:variable name="_LCID">
  2817.       <xsl:call-template name="localLCID">
  2818.         <xsl:with-param name="LCID" select="$LCID"/>
  2819.       </xsl:call-template>
  2820.     </xsl:variable>
  2821.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:MainAuthors/b:FML"/>
  2822.   </xsl:template>
  2823.  
  2824.   
  2825.   <xsl:template name="templ_prop_ISO690_MainAuthors_FM" >
  2826.     <xsl:param name="LCID" />
  2827.     <xsl:variable name="_LCID">
  2828.       <xsl:call-template name="localLCID">
  2829.         <xsl:with-param name="LCID" select="$LCID"/>
  2830.       </xsl:call-template>
  2831.     </xsl:variable>
  2832.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:MainAuthors/b:FM"/>
  2833.   </xsl:template>
  2834.  
  2835.   
  2836.   <xsl:template name="templ_prop_ISO690_MainAuthors_ML" >
  2837.     <xsl:param name="LCID" />
  2838.     <xsl:variable name="_LCID">
  2839.       <xsl:call-template name="localLCID">
  2840.         <xsl:with-param name="LCID" select="$LCID"/>
  2841.       </xsl:call-template>
  2842.     </xsl:variable>
  2843.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:MainAuthors/b:ML"/>
  2844.   </xsl:template>
  2845.  
  2846.   
  2847.   <xsl:template name="templ_prop_ISO690_MainAuthors_FL" >
  2848.     <xsl:param name="LCID" />
  2849.     <xsl:variable name="_LCID">
  2850.       <xsl:call-template name="localLCID">
  2851.         <xsl:with-param name="LCID" select="$LCID"/>
  2852.       </xsl:call-template>
  2853.     </xsl:variable>
  2854.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:MainAuthors/b:FL"/>
  2855.   </xsl:template>
  2856.  
  2857.   
  2858.   <xsl:template name="templ_prop_ISO690_SecondaryAuthors_FML" >
  2859.     <xsl:param name="LCID" />
  2860.     <xsl:variable name="_LCID">
  2861.       <xsl:call-template name="localLCID">
  2862.         <xsl:with-param name="LCID" select="$LCID"/>
  2863.       </xsl:call-template>
  2864.     </xsl:variable>
  2865.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:SecondaryAuthors/b:FML"/>
  2866.   </xsl:template>
  2867.  
  2868.   
  2869.   <xsl:template name="templ_prop_ISO690_SecondaryAuthors_FM" >
  2870.     <xsl:param name="LCID" />
  2871.     <xsl:variable name="_LCID">
  2872.       <xsl:call-template name="localLCID">
  2873.         <xsl:with-param name="LCID" select="$LCID"/>
  2874.       </xsl:call-template>
  2875.     </xsl:variable>
  2876.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:SecondaryAuthors/b:FM"/>
  2877.   </xsl:template>
  2878.  
  2879.   
  2880.   <xsl:template name="templ_prop_ISO690_SecondaryAuthors_ML" >
  2881.     <xsl:param name="LCID" />
  2882.     <xsl:variable name="_LCID">
  2883.       <xsl:call-template name="localLCID">
  2884.         <xsl:with-param name="LCID" select="$LCID"/>
  2885.       </xsl:call-template>
  2886.     </xsl:variable>
  2887.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:SecondaryAuthors/b:ML"/>
  2888.   </xsl:template>
  2889.  
  2890.   
  2891.   <xsl:template name="templ_prop_ISO690_SecondaryAuthors_FL" >
  2892.     <xsl:param name="LCID" />
  2893.     <xsl:variable name="_LCID">
  2894.       <xsl:call-template name="localLCID">
  2895.         <xsl:with-param name="LCID" select="$LCID"/>
  2896.       </xsl:call-template>
  2897.     </xsl:variable>
  2898.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:SecondaryAuthors/b:FL"/>
  2899.   </xsl:template>
  2900.  
  2901.   
  2902.   <xsl:template name="templ_prop_ISO690_SameAuthor" >
  2903.     <xsl:param name="LCID" />
  2904.     <xsl:variable name="_LCID">
  2905.       <xsl:call-template name="localLCID">
  2906.         <xsl:with-param name="LCID" select="$LCID"/>
  2907.       </xsl:call-template>
  2908.     </xsl:variable>
  2909.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:SameAuthor"/>
  2910.   </xsl:template>
  2911.  
  2912.   
  2913.   <xsl:template name="templ_prop_ISO690_GeneralOpen" >
  2914.     <xsl:param name="LCID" />
  2915.     <xsl:variable name="_LCID">
  2916.       <xsl:call-template name="localLCID">
  2917.         <xsl:with-param name="LCID" select="$LCID"/>
  2918.       </xsl:call-template>
  2919.     </xsl:variable>
  2920.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:GeneralOpen"/>
  2921.   </xsl:template>
  2922.  
  2923.   
  2924.   <xsl:template name="templ_prop_ISO690_GeneralClose" >
  2925.     <xsl:param name="LCID" />
  2926.     <xsl:variable name="_LCID">
  2927.       <xsl:call-template name="localLCID">
  2928.         <xsl:with-param name="LCID" select="$LCID"/>
  2929.       </xsl:call-template>
  2930.     </xsl:variable>
  2931.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:GeneralClose"/>
  2932.   </xsl:template>
  2933.  
  2934.   
  2935.   <xsl:template name="templ_prop_ISO690_Date_DMY" >
  2936.     <xsl:param name="LCID" />
  2937.     <xsl:variable name="_LCID">
  2938.       <xsl:call-template name="localLCID">
  2939.         <xsl:with-param name="LCID" select="$LCID"/>
  2940.       </xsl:call-template>
  2941.     </xsl:variable>
  2942.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:Date/b:DMY"/>
  2943.   </xsl:template>
  2944.  
  2945.   
  2946.   <xsl:template name="templ_prop_ISO690_Date_DM" >
  2947.     <xsl:param name="LCID" />
  2948.     <xsl:variable name="_LCID">
  2949.       <xsl:call-template name="localLCID">
  2950.         <xsl:with-param name="LCID" select="$LCID"/>
  2951.       </xsl:call-template>
  2952.     </xsl:variable>
  2953.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:Date/b:DM"/>
  2954.   </xsl:template>
  2955.  
  2956.   
  2957.   <xsl:template name="templ_prop_ISO690_Date_MY" >
  2958.     <xsl:param name="LCID" />
  2959.     <xsl:variable name="_LCID">
  2960.       <xsl:call-template name="localLCID">
  2961.         <xsl:with-param name="LCID" select="$LCID"/>
  2962.       </xsl:call-template>
  2963.     </xsl:variable>
  2964.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:Date/b:MY"/>
  2965.   </xsl:template>
  2966.  
  2967.   
  2968.   <xsl:template name="templ_prop_ISO690_Date_DY" >
  2969.     <xsl:param name="LCID" />
  2970.     <xsl:variable name="_LCID">
  2971.       <xsl:call-template name="localLCID">
  2972.         <xsl:with-param name="LCID" select="$LCID"/>
  2973.       </xsl:call-template>
  2974.     </xsl:variable>
  2975.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:Date/b:DY"/>
  2976.   </xsl:template>
  2977.  
  2978.   
  2979.   <xsl:template name="templ_prop_ISO690_DateAccessed_DMY" >
  2980.     <xsl:param name="LCID" />
  2981.     <xsl:variable name="_LCID">
  2982.       <xsl:call-template name="localLCID">
  2983.         <xsl:with-param name="LCID" select="$LCID"/>
  2984.       </xsl:call-template>
  2985.     </xsl:variable>
  2986.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:DateAccessed/b:DMY"/>
  2987.   </xsl:template>
  2988.  
  2989.   
  2990.   <xsl:template name="templ_prop_ISO690_DateAccessed_DM" >
  2991.     <xsl:param name="LCID" />
  2992.     <xsl:variable name="_LCID">
  2993.       <xsl:call-template name="localLCID">
  2994.         <xsl:with-param name="LCID" select="$LCID"/>
  2995.       </xsl:call-template>
  2996.     </xsl:variable>
  2997.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:DateAccessed/b:DM"/>
  2998.   </xsl:template>
  2999.  
  3000.   
  3001.   <xsl:template name="templ_prop_ISO690_DateAccessed_MY" >
  3002.     <xsl:param name="LCID" />
  3003.     <xsl:variable name="_LCID">
  3004.       <xsl:call-template name="localLCID">
  3005.         <xsl:with-param name="LCID" select="$LCID"/>
  3006.       </xsl:call-template>
  3007.     </xsl:variable>
  3008.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:DateAccessed/b:MY"/>
  3009.   </xsl:template>
  3010.  
  3011.   
  3012.   <xsl:template name="templ_prop_ISO690_DateAccessed_DY" >
  3013.     <xsl:param name="LCID" />
  3014.     <xsl:variable name="_LCID">
  3015.       <xsl:call-template name="localLCID">
  3016.         <xsl:with-param name="LCID" select="$LCID"/>
  3017.       </xsl:call-template>
  3018.     </xsl:variable>
  3019.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:DateAccessed/b:DY"/>
  3020.   </xsl:template>
  3021.  
  3022.   
  3023.   <xsl:template name="templ_prop_Gost_Authors_FML" >
  3024.     <xsl:param name="LCID" />
  3025.     <xsl:variable name="_LCID">
  3026.       <xsl:call-template name="localLCID">
  3027.         <xsl:with-param name="LCID" select="$LCID"/>
  3028.       </xsl:call-template>
  3029.     </xsl:variable>
  3030.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:Authors/b:FML"/>
  3031.   </xsl:template>
  3032.  
  3033.   
  3034.   <xsl:template name="templ_prop_Gost_Authors_FM" >
  3035.     <xsl:param name="LCID" />
  3036.     <xsl:variable name="_LCID">
  3037.       <xsl:call-template name="localLCID">
  3038.         <xsl:with-param name="LCID" select="$LCID"/>
  3039.       </xsl:call-template>
  3040.     </xsl:variable>
  3041.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:Authors/b:FM"/>
  3042.   </xsl:template>
  3043.  
  3044.   
  3045.   <xsl:template name="templ_prop_Gost_Authors_ML" >
  3046.     <xsl:param name="LCID" />
  3047.     <xsl:variable name="_LCID">
  3048.       <xsl:call-template name="localLCID">
  3049.         <xsl:with-param name="LCID" select="$LCID"/>
  3050.       </xsl:call-template>
  3051.     </xsl:variable>
  3052.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:Authors/b:ML"/>
  3053.   </xsl:template>
  3054.  
  3055.   
  3056.   <xsl:template name="templ_prop_Gost_Authors_FL" >
  3057.     <xsl:param name="LCID" />
  3058.     <xsl:variable name="_LCID">
  3059.       <xsl:call-template name="localLCID">
  3060.         <xsl:with-param name="LCID" select="$LCID"/>
  3061.       </xsl:call-template>
  3062.     </xsl:variable>
  3063.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:Authors/b:FL"/>
  3064.   </xsl:template>
  3065.  
  3066.   
  3067.   <xsl:template name="templ_prop_Gost_Date_DMY" >
  3068.     <xsl:param name="LCID" />
  3069.     <xsl:variable name="_LCID">
  3070.       <xsl:call-template name="localLCID">
  3071.         <xsl:with-param name="LCID" select="$LCID"/>
  3072.       </xsl:call-template>
  3073.     </xsl:variable>
  3074.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:Date/b:DMY"/>
  3075.   </xsl:template>
  3076.  
  3077.   
  3078.   <xsl:template name="templ_prop_Gost_Date_DM" >
  3079.     <xsl:param name="LCID" />
  3080.     <xsl:variable name="_LCID">
  3081.       <xsl:call-template name="localLCID">
  3082.         <xsl:with-param name="LCID" select="$LCID"/>
  3083.       </xsl:call-template>
  3084.     </xsl:variable>
  3085.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:Date/b:DM"/>
  3086.   </xsl:template>
  3087.  
  3088.   
  3089.   <xsl:template name="templ_prop_Gost_Date_MY" >
  3090.     <xsl:param name="LCID" />
  3091.     <xsl:variable name="_LCID">
  3092.       <xsl:call-template name="localLCID">
  3093.         <xsl:with-param name="LCID" select="$LCID"/>
  3094.       </xsl:call-template>
  3095.     </xsl:variable>
  3096.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:Date/b:MY"/>
  3097.   </xsl:template>
  3098.  
  3099.   
  3100.   <xsl:template name="templ_prop_Gost_Date_DY" >
  3101.     <xsl:param name="LCID" />
  3102.     <xsl:variable name="_LCID">
  3103.       <xsl:call-template name="localLCID">
  3104.         <xsl:with-param name="LCID" select="$LCID"/>
  3105.       </xsl:call-template>
  3106.     </xsl:variable>
  3107.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:Date/b:DY"/>
  3108.   </xsl:template>
  3109.  
  3110.   
  3111.   <xsl:template name="templ_prop_Gost_GeneralOpen" >
  3112.     <xsl:param name="LCID" />
  3113.     <xsl:variable name="_LCID">
  3114.       <xsl:call-template name="localLCID">
  3115.         <xsl:with-param name="LCID" select="$LCID"/>
  3116.       </xsl:call-template>
  3117.     </xsl:variable>
  3118.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:GeneralOpen"/>
  3119.   </xsl:template>
  3120.  
  3121.   
  3122.   <xsl:template name="templ_prop_Gost_GeneralClose" >
  3123.     <xsl:param name="LCID" />
  3124.     <xsl:variable name="_LCID">
  3125.       <xsl:call-template name="localLCID">
  3126.         <xsl:with-param name="LCID" select="$LCID"/>
  3127.       </xsl:call-template>
  3128.     </xsl:variable>
  3129.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:GeneralClose"/>
  3130.   </xsl:template>
  3131.  
  3132.   
  3133.   <xsl:template name="templ_prop_Gost_OneSlash" >
  3134.     <xsl:param name="LCID" />
  3135.     <xsl:variable name="_LCID">
  3136.       <xsl:call-template name="localLCID">
  3137.         <xsl:with-param name="LCID" select="$LCID"/>
  3138.       </xsl:call-template>
  3139.     </xsl:variable>
  3140.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:OneSlash"/>
  3141.   </xsl:template>
  3142.  
  3143.   
  3144.   <xsl:template name="templ_prop_Gost_TwoSlash" >
  3145.     <xsl:param name="LCID" />
  3146.     <xsl:variable name="_LCID">
  3147.       <xsl:call-template name="localLCID">
  3148.         <xsl:with-param name="LCID" select="$LCID"/>
  3149.       </xsl:call-template>
  3150.     </xsl:variable>
  3151.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:TwoSlash"/>
  3152.   </xsl:template>
  3153.  
  3154.   
  3155.   <xsl:template name="templ_prop_SIST_MainAuthors_FML" >
  3156.     <xsl:param name="LCID" />
  3157.     <xsl:variable name="_LCID">
  3158.       <xsl:call-template name="localLCID">
  3159.         <xsl:with-param name="LCID" select="$LCID"/>
  3160.       </xsl:call-template>
  3161.     </xsl:variable>
  3162.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:MainAuthors/b:FML"/>
  3163.   </xsl:template>
  3164.  
  3165.   
  3166.   <xsl:template name="templ_prop_SIST_MainAuthors_FM" >
  3167.     <xsl:param name="LCID" />
  3168.     <xsl:variable name="_LCID">
  3169.       <xsl:call-template name="localLCID">
  3170.         <xsl:with-param name="LCID" select="$LCID"/>
  3171.       </xsl:call-template>
  3172.     </xsl:variable>
  3173.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:MainAuthors/b:FM"/>
  3174.   </xsl:template>
  3175.  
  3176.   
  3177.   <xsl:template name="templ_prop_SIST_MainAuthors_ML" >
  3178.     <xsl:param name="LCID" />
  3179.     <xsl:variable name="_LCID">
  3180.       <xsl:call-template name="localLCID">
  3181.         <xsl:with-param name="LCID" select="$LCID"/>
  3182.       </xsl:call-template>
  3183.     </xsl:variable>
  3184.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:MainAuthors/b:ML"/>
  3185.   </xsl:template>
  3186.  
  3187.   
  3188.   <xsl:template name="templ_prop_SIST_MainAuthors_FL" >
  3189.     <xsl:param name="LCID" />
  3190.     <xsl:variable name="_LCID">
  3191.       <xsl:call-template name="localLCID">
  3192.         <xsl:with-param name="LCID" select="$LCID"/>
  3193.       </xsl:call-template>
  3194.     </xsl:variable>
  3195.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:MainAuthors/b:FL"/>
  3196.   </xsl:template>
  3197.  
  3198.   
  3199.   <xsl:template name="templ_prop_SIST_SecondaryAuthors_FML" >
  3200.     <xsl:param name="LCID" />
  3201.     <xsl:variable name="_LCID">
  3202.       <xsl:call-template name="localLCID">
  3203.         <xsl:with-param name="LCID" select="$LCID"/>
  3204.       </xsl:call-template>
  3205.     </xsl:variable>
  3206.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:SecondaryAuthors/b:FML"/>
  3207.   </xsl:template>
  3208.  
  3209.   
  3210.   <xsl:template name="templ_prop_SIST_SecondaryAuthors_FM" >
  3211.     <xsl:param name="LCID" />
  3212.     <xsl:variable name="_LCID">
  3213.       <xsl:call-template name="localLCID">
  3214.         <xsl:with-param name="LCID" select="$LCID"/>
  3215.       </xsl:call-template>
  3216.     </xsl:variable>
  3217.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:SecondaryAuthors/b:FM"/>
  3218.   </xsl:template>
  3219.  
  3220.   
  3221.   <xsl:template name="templ_prop_SIST_SecondaryAuthors_ML" >
  3222.     <xsl:param name="LCID" />
  3223.     <xsl:variable name="_LCID">
  3224.       <xsl:call-template name="localLCID">
  3225.         <xsl:with-param name="LCID" select="$LCID"/>
  3226.       </xsl:call-template>
  3227.     </xsl:variable>
  3228.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:SecondaryAuthors/b:ML"/>
  3229.   </xsl:template>
  3230.  
  3231.   
  3232.   <xsl:template name="templ_prop_SIST_SecondaryAuthors_FL" >
  3233.     <xsl:param name="LCID" />
  3234.     <xsl:variable name="_LCID">
  3235.       <xsl:call-template name="localLCID">
  3236.         <xsl:with-param name="LCID" select="$LCID"/>
  3237.       </xsl:call-template>
  3238.     </xsl:variable>
  3239.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:SecondaryAuthors/b:FL"/>
  3240.   </xsl:template>
  3241.  
  3242.   
  3243.   <xsl:template name="templ_prop_SIST_SameAuthor" >
  3244.     <xsl:param name="LCID" />
  3245.     <xsl:variable name="_LCID">
  3246.       <xsl:call-template name="localLCID">
  3247.         <xsl:with-param name="LCID" select="$LCID"/>
  3248.       </xsl:call-template>
  3249.     </xsl:variable>
  3250.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:SameAuthor"/>
  3251.   </xsl:template>
  3252.  
  3253.   
  3254.   <xsl:template name="templ_prop_SIST_GeneralOpen" >
  3255.     <xsl:param name="LCID" />
  3256.     <xsl:variable name="_LCID">
  3257.       <xsl:call-template name="localLCID">
  3258.         <xsl:with-param name="LCID" select="$LCID"/>
  3259.       </xsl:call-template>
  3260.     </xsl:variable>
  3261.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:GeneralOpen"/>
  3262.   </xsl:template>
  3263.  
  3264.   
  3265.   <xsl:template name="templ_prop_SIST_GeneralClose" >
  3266.     <xsl:param name="LCID" />
  3267.     <xsl:variable name="_LCID">
  3268.       <xsl:call-template name="localLCID">
  3269.         <xsl:with-param name="LCID" select="$LCID"/>
  3270.       </xsl:call-template>
  3271.     </xsl:variable>
  3272.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:GeneralClose"/>
  3273.   </xsl:template>
  3274.  
  3275.   
  3276.   <xsl:template name="templ_prop_SIST_Date_DMY" >
  3277.     <xsl:param name="LCID" />
  3278.     <xsl:variable name="_LCID">
  3279.       <xsl:call-template name="localLCID">
  3280.         <xsl:with-param name="LCID" select="$LCID"/>
  3281.       </xsl:call-template>
  3282.     </xsl:variable>
  3283.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:Date/b:DMY"/>
  3284.   </xsl:template>
  3285.  
  3286.   
  3287.   <xsl:template name="templ_prop_SIST_Date_DM" >
  3288.     <xsl:param name="LCID" />
  3289.     <xsl:variable name="_LCID">
  3290.       <xsl:call-template name="localLCID">
  3291.         <xsl:with-param name="LCID" select="$LCID"/>
  3292.       </xsl:call-template>
  3293.     </xsl:variable>
  3294.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:Date/b:DM"/>
  3295.   </xsl:template>
  3296.  
  3297.   
  3298.   <xsl:template name="templ_prop_SIST_Date_MY" >
  3299.     <xsl:param name="LCID" />
  3300.     <xsl:variable name="_LCID">
  3301.       <xsl:call-template name="localLCID">
  3302.         <xsl:with-param name="LCID" select="$LCID"/>
  3303.       </xsl:call-template>
  3304.     </xsl:variable>
  3305.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:Date/b:MY"/>
  3306.   </xsl:template>
  3307.  
  3308.   
  3309.   <xsl:template name="templ_prop_SIST_Date_DY" >
  3310.     <xsl:param name="LCID" />
  3311.     <xsl:variable name="_LCID">
  3312.       <xsl:call-template name="localLCID">
  3313.         <xsl:with-param name="LCID" select="$LCID"/>
  3314.       </xsl:call-template>
  3315.     </xsl:variable>
  3316.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:Date/b:DY"/>
  3317.   </xsl:template>
  3318.  
  3319.   
  3320.   <xsl:template name="templ_prop_SIST_DateAccessed_DMY" >
  3321.     <xsl:param name="LCID" />
  3322.     <xsl:variable name="_LCID">
  3323.       <xsl:call-template name="localLCID">
  3324.         <xsl:with-param name="LCID" select="$LCID"/>
  3325.       </xsl:call-template>
  3326.     </xsl:variable>
  3327.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:DateAccessed/b:DMY"/>
  3328.   </xsl:template>
  3329.  
  3330.   
  3331.   <xsl:template name="templ_prop_SIST_DateAccessed_DM" >
  3332.     <xsl:param name="LCID" />
  3333.     <xsl:variable name="_LCID">
  3334.       <xsl:call-template name="localLCID">
  3335.         <xsl:with-param name="LCID" select="$LCID"/>
  3336.       </xsl:call-template>
  3337.     </xsl:variable>
  3338.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:DateAccessed/b:DM"/>
  3339.   </xsl:template>
  3340.  
  3341.   
  3342.   <xsl:template name="templ_prop_SIST_DateAccessed_MY" >
  3343.     <xsl:param name="LCID" />
  3344.     <xsl:variable name="_LCID">
  3345.       <xsl:call-template name="localLCID">
  3346.         <xsl:with-param name="LCID" select="$LCID"/>
  3347.       </xsl:call-template>
  3348.     </xsl:variable>
  3349.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:DateAccessed/b:MY"/>
  3350.   </xsl:template>
  3351.  
  3352.   
  3353.   <xsl:template name="templ_prop_SIST_DateAccessed_DY" >
  3354.     <xsl:param name="LCID" />
  3355.     <xsl:variable name="_LCID">
  3356.       <xsl:call-template name="localLCID">
  3357.         <xsl:with-param name="LCID" select="$LCID"/>
  3358.       </xsl:call-template>
  3359.     </xsl:variable>
  3360.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:DateAccessed/b:DY"/>
  3361.   </xsl:template>
  3362.  
  3363.   <xsl:template name="templ_prop_NoCommaBeforeAnd" >
  3364.     <xsl:param name="LCID" />
  3365.     <xsl:variable name="_LCID">
  3366.       <xsl:call-template name="localLCID">
  3367.         <xsl:with-param name="LCID" select="$LCID"/>
  3368.       </xsl:call-template>
  3369.     </xsl:variable>
  3370.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:NoCommaBeforeAnd"/>
  3371.   </xsl:template>
  3372.  
  3373.   
  3374.   
  3375.  
  3376.   <xsl:template match="/">
  3377.     
  3378.     
  3379.         <xsl:choose>
  3380.             
  3381.             
  3382.             <xsl:when test="b:Version">
  3383.                 <xsl:text>2006.5.07</xsl:text>
  3384.             </xsl:when>
  3385.             <xsl:when test="b:OfficeStyleKey">
  3386.                 <xsl:text>MLA</xsl:text>
  3387.             </xsl:when>
  3388.             
  3389.             
  3390.  
  3391.             
  3392.             
  3393.             
  3394.             <xsl:when test="b:GetImportantFields">
  3395.                 <b:ImportantFields>
  3396.                     <xsl:choose>
  3397.                         <xsl:when test="b:GetImportantFields/b:SourceType='Book'">
  3398.                             <b:ImportantField><xsl:text>b:Author/b:Author/b:NameList</xsl:text></b:ImportantField>
  3399.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3400.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3401.                             <b:ImportantField><xsl:text>b:City</xsl:text></b:ImportantField>
  3402.                             <b:ImportantField><xsl:text>b:Publisher</xsl:text></b:ImportantField>
  3403.                         </xsl:when>
  3404.  
  3405.                         <xsl:when test="b:GetImportantFields/b:SourceType='BookSection'">
  3406.                             <b:ImportantField><xsl:text>b:Author/b:Author/b:NameList</xsl:text></b:ImportantField>
  3407.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3408.                             <b:ImportantField><xsl:text>b:Author/b:BookAuthor/b:NameList</xsl:text></b:ImportantField>
  3409.                             <b:ImportantField><xsl:text>b:BookTitle</xsl:text></b:ImportantField>
  3410.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3411.                             <b:ImportantField><xsl:text>b:Pages</xsl:text></b:ImportantField>
  3412.                             <b:ImportantField><xsl:text>b:City</xsl:text></b:ImportantField>
  3413.                             <b:ImportantField><xsl:text>b:Publisher</xsl:text></b:ImportantField>
  3414.                         </xsl:when>
  3415.  
  3416.                         <xsl:when test="b:GetImportantFields/b:SourceType='JournalArticle'">
  3417.                             <b:ImportantField><xsl:text>b:Author/b:Author/b:NameList</xsl:text></b:ImportantField>
  3418.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3419.                             <b:ImportantField><xsl:text>b:JournalName</xsl:text></b:ImportantField>
  3420.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3421.                             <b:ImportantField><xsl:text>b:Pages</xsl:text></b:ImportantField>
  3422.                         </xsl:when>
  3423.  
  3424.                         <xsl:when test="b:GetImportantFields/b:SourceType='ArticleInAPeriodical'">
  3425.                             <b:ImportantField><xsl:text>b:Author/b:Author/b:NameList</xsl:text></b:ImportantField>
  3426.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3427.                             <b:ImportantField><xsl:text>b:PeriodicalTitle</xsl:text></b:ImportantField>
  3428.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3429.                             <b:ImportantField><xsl:text>b:Month</xsl:text></b:ImportantField>
  3430.                             <b:ImportantField><xsl:text>b:Day</xsl:text></b:ImportantField>
  3431.                             <b:ImportantField><xsl:text>b:Pages</xsl:text></b:ImportantField>
  3432.                         </xsl:when>
  3433.  
  3434.                         <xsl:when test="b:GetImportantFields/b:SourceType='ConferenceProceedings'">
  3435.                             <b:ImportantField><xsl:text>b:Author/b:Author/b:NameList</xsl:text></b:ImportantField>
  3436.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3437.                             <b:ImportantField><xsl:text>b:Pages</xsl:text></b:ImportantField>
  3438.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3439.                             <b:ImportantField><xsl:text>b:ConferenceName</xsl:text></b:ImportantField>
  3440.                             <b:ImportantField><xsl:text>b:City</xsl:text></b:ImportantField>
  3441.                             <b:ImportantField><xsl:text>b:Publisher</xsl:text></b:ImportantField>
  3442.                         </xsl:when>
  3443.  
  3444.                         <xsl:when test="b:GetImportantFields/b:SourceType='Report'">
  3445.                             <b:ImportantField><xsl:text>b:Author/b:Author/b:NameList</xsl:text></b:ImportantField>
  3446.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3447.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3448.                             <b:ImportantField><xsl:text>b:Publisher</xsl:text></b:ImportantField>
  3449.                             <b:ImportantField><xsl:text>b:City</xsl:text></b:ImportantField>
  3450.                             <b:ImportantField><xsl:text>b:ThesisType</xsl:text></b:ImportantField>
  3451.                         </xsl:when>
  3452.  
  3453.                         <xsl:when test="b:GetImportantFields/b:SourceType='SoundRecording'">
  3454.                             <b:ImportantField><xsl:text>b:Author/b:Composer/b:NameList</xsl:text></b:ImportantField>
  3455.                             <b:ImportantField><xsl:text>b:Author/b:Conductor/b:NameList</xsl:text></b:ImportantField>
  3456.                             <b:ImportantField><xsl:text>b:Author/b:Performer/b:NameList</xsl:text></b:ImportantField>
  3457.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3458.                             <b:ImportantField><xsl:text>b:AlbumTitle</xsl:text></b:ImportantField>
  3459.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3460.                             <b:ImportantField><xsl:text>b:City</xsl:text></b:ImportantField>
  3461.                         </xsl:when>
  3462.  
  3463.                         <xsl:when test="b:GetImportantFields/b:SourceType='Performance'">
  3464.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3465.                             <b:ImportantField><xsl:text>b:Author/b:Writer/b:NameList</xsl:text></b:ImportantField>
  3466.                             <b:ImportantField><xsl:text>b:Author/b:Performer/b:NameList</xsl:text></b:ImportantField>
  3467.                             <b:ImportantField><xsl:text>b:Theater</xsl:text></b:ImportantField>
  3468.                             <b:ImportantField><xsl:text>b:City</xsl:text></b:ImportantField>
  3469.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3470.                             <b:ImportantField><xsl:text>b:Month</xsl:text></b:ImportantField>
  3471.                             <b:ImportantField><xsl:text>b:Day</xsl:text></b:ImportantField>
  3472.                         </xsl:when>
  3473.  
  3474.                         <xsl:when test="b:GetImportantFields/b:SourceType='Art'">
  3475.                             <b:ImportantField><xsl:text>b:Author/b:Artist/b:NameList</xsl:text></b:ImportantField>
  3476.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3477.                             <b:ImportantField><xsl:text>b:Institution</xsl:text></b:ImportantField>
  3478.                             <b:ImportantField><xsl:text>b:PublicationTitle</xsl:text></b:ImportantField>
  3479.                             <b:ImportantField><xsl:text>b:City</xsl:text></b:ImportantField>
  3480.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3481.                         </xsl:when>
  3482.  
  3483.                         <xsl:when test="b:GetImportantFields/b:SourceType='DocumentFromInternetSite'">
  3484.                             <b:ImportantField><xsl:text>b:Author/b:Author/b:NameList</xsl:text></b:ImportantField>
  3485.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3486.                             <b:ImportantField><xsl:text>b:InternetSiteTitle</xsl:text></b:ImportantField>
  3487.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3488.                             <b:ImportantField><xsl:text>b:Month</xsl:text></b:ImportantField>
  3489.                             <b:ImportantField><xsl:text>b:Day</xsl:text></b:ImportantField>
  3490.                             <b:ImportantField><xsl:text>b:YearAccessed</xsl:text></b:ImportantField>
  3491.                             <b:ImportantField><xsl:text>b:MonthAccessed</xsl:text></b:ImportantField>
  3492.                             <b:ImportantField><xsl:text>b:DayAccessed</xsl:text></b:ImportantField>
  3493.                             <b:ImportantField><xsl:text>b:URL</xsl:text></b:ImportantField>
  3494.                         </xsl:when>
  3495.  
  3496.                         <xsl:when test="b:GetImportantFields/b:SourceType='InternetSite'">
  3497.                             <b:ImportantField><xsl:text>b:Author/b:Author/b:NameList</xsl:text></b:ImportantField>
  3498.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3499.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3500.                             <b:ImportantField><xsl:text>b:Month</xsl:text></b:ImportantField>
  3501.                             <b:ImportantField><xsl:text>b:Day</xsl:text></b:ImportantField>
  3502.                             <b:ImportantField><xsl:text>b:YearAccessed</xsl:text></b:ImportantField>
  3503.                             <b:ImportantField><xsl:text>b:MonthAccessed</xsl:text></b:ImportantField>
  3504.                             <b:ImportantField><xsl:text>b:DayAccessed</xsl:text></b:ImportantField>
  3505.                             <b:ImportantField><xsl:text>b:URL</xsl:text></b:ImportantField>
  3506.                         </xsl:when>
  3507.  
  3508.                         <xsl:when test="b:GetImportantFields/b:SourceType='Film'">
  3509.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3510.                             <b:ImportantField><xsl:text>b:Author/b:Performer/b:NameList</xsl:text></b:ImportantField>
  3511.                             <b:ImportantField><xsl:text>b:Author/b:Director/b:NameList</xsl:text></b:ImportantField>
  3512.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3513.                         </xsl:when>
  3514.  
  3515.                         <xsl:when test="b:GetImportantFields/b:SourceType='Interview'">
  3516.                             <b:ImportantField><xsl:text>b:Author/b:Interviewee/b:NameList</xsl:text></b:ImportantField>
  3517.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3518.                             <b:ImportantField><xsl:text>b:Author/b:Interviewer/b:NameList</xsl:text></b:ImportantField>
  3519.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3520.                             <b:ImportantField><xsl:text>b:Month</xsl:text></b:ImportantField>
  3521.                             <b:ImportantField><xsl:text>b:Day</xsl:text></b:ImportantField>
  3522.                         </xsl:when>
  3523.  
  3524.                         <xsl:when test="b:GetImportantFields/b:SourceType='Patent'">
  3525.                             <b:ImportantField><xsl:text>b:Author/b:Inventor/b:NameList</xsl:text></b:ImportantField>
  3526.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3527.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3528.                             <b:ImportantField><xsl:text>b:Month</xsl:text></b:ImportantField>
  3529.                             <b:ImportantField><xsl:text>b:Day</xsl:text></b:ImportantField>
  3530.                             <b:ImportantField><xsl:text>b:CountryRegion</xsl:text></b:ImportantField>
  3531.                             <b:ImportantField><xsl:text>b:PatentNumber</xsl:text></b:ImportantField>
  3532.                         </xsl:when>
  3533.  
  3534.                         <xsl:when test="b:GetImportantFields/b:SourceType='ElectronicSource'">
  3535.                             <b:ImportantField><xsl:text>b:Author/b:Author/b:NameList</xsl:text></b:ImportantField>
  3536.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3537.                             <b:ImportantField><xsl:text>b:City</xsl:text></b:ImportantField>
  3538.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3539.                             <b:ImportantField><xsl:text>b:Month</xsl:text></b:ImportantField>
  3540.                             <b:ImportantField><xsl:text>b:Day</xsl:text></b:ImportantField>
  3541.                         </xsl:when>
  3542.  
  3543.                         <xsl:when test="b:GetImportantFields/b:SourceType='Case'">
  3544.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3545.                             <b:ImportantField><xsl:text>b:CaseNumber</xsl:text></b:ImportantField>
  3546.                             <b:ImportantField><xsl:text>b:Court</xsl:text></b:ImportantField>
  3547.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3548.                             <b:ImportantField><xsl:text>b:Month</xsl:text></b:ImportantField>
  3549.                             <b:ImportantField><xsl:text>b:Day</xsl:text></b:ImportantField>
  3550.                         </xsl:when>
  3551.  
  3552.                         <xsl:when test="b:GetImportantFields/b:SourceType='Misc'">
  3553.                             <b:ImportantField><xsl:text>b:Author/b:Author/b:NameList</xsl:text></b:ImportantField>
  3554.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3555.                             <b:ImportantField><xsl:text>b:PublicationTitle</xsl:text></b:ImportantField>
  3556.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3557.                             <b:ImportantField><xsl:text>b:Month</xsl:text></b:ImportantField>
  3558.                             <b:ImportantField><xsl:text>b:Day</xsl:text></b:ImportantField>
  3559.                             <b:ImportantField><xsl:text>b:City</xsl:text></b:ImportantField>
  3560.                             <b:ImportantField><xsl:text>b:Publisher</xsl:text></b:ImportantField>
  3561.                         </xsl:when>
  3562.  
  3563.                     </xsl:choose>
  3564.                 </b:ImportantFields>
  3565.             </xsl:when>
  3566.             
  3567.             <xsl:when test="b:Citation">
  3568.  
  3569.                 <xsl:variable name="ListPopulatedWithMain">
  3570.                         <xsl:call-template name="populateMain">
  3571.                             <xsl:with-param name="Type">b:Citation</xsl:with-param>
  3572.                         </xsl:call-template>
  3573.                 </xsl:variable>
  3574.  
  3575.             
  3576.             
  3577.                 <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">
  3578.                     <head>
  3579.                     </head>
  3580.                     <body>
  3581.                         <xsl:variable name="LCID">
  3582.                           <xsl:choose>
  3583.                             <xsl:when test="b:LCID='0' or b:LCID='' or not(b:LCID)">
  3584.                               <xsl:value-of select="/*/b:Locals/b:DefaultLCID"/>
  3585.                             </xsl:when>
  3586.                             <xsl:otherwise>
  3587.                               <xsl:value-of select="b:LCID"/>
  3588.                             </xsl:otherwise>
  3589.                           </xsl:choose>
  3590.                         </xsl:variable>
  3591.  
  3592.                         <xsl:element name="p">
  3593.  
  3594.                         <xsl:attribute name="lang">
  3595.                             <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$LCID]/@Culture"/>
  3596.                         </xsl:attribute>
  3597.  
  3598.                         <xsl:attribute name="dir">
  3599.                             <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$LCID]/b:Properties/b:Direction"/>
  3600.                         </xsl:attribute>
  3601.  
  3602.                         <xsl:variable name="type">
  3603.                             <xsl:value-of select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:SourceType"/>
  3604.                         </xsl:variable>
  3605.  
  3606.                         <xsl:variable name="title0">
  3607.                             <xsl:choose>
  3608.                                 <xsl:when test="string-length(msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:ShortTitle)>0">
  3609.                                     <xsl:value-of select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:ShortTitle" />
  3610.                                 </xsl:when>
  3611.  
  3612.                                 <xsl:otherwise>
  3613.                                     <xsl:value-of select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:Title" />
  3614.                                 </xsl:otherwise>
  3615.                             </xsl:choose>
  3616.                         </xsl:variable>
  3617.  
  3618.                         <xsl:variable name="year0">
  3619.                             <xsl:value-of select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:Year" />
  3620.                         </xsl:variable>                        
  3621.  
  3622.                         <xsl:variable name="authorMain">
  3623.                             <xsl:copy-of select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:Author/b:Main"/>
  3624.                         </xsl:variable>
  3625.  
  3626.                         <xsl:variable name="author0">
  3627.                             <xsl:choose>
  3628.                                 <xsl:when test="string-length(msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:Author/b:Main/b:Corporate) > 0">
  3629.                                     <xsl:value-of select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:Author/b:Main/b:Corporate" />
  3630.                                 </xsl:when>
  3631.                                 <xsl:otherwise>
  3632.                                     <xsl:variable name="cAuthors">
  3633.                                         <xsl:value-of select="count(msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:Author/b:Main/b:NameList/b:Person)" />
  3634.                                     </xsl:variable>
  3635.                                     <xsl:for-each select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:Author/b:Main/b:NameList/b:Person">
  3636.                                         
  3637.                                         <xsl:choose>
  3638.                                             <xsl:when test="position() > 3">
  3639.                                             </xsl:when>
  3640.                                             <xsl:otherwise>
  3641.                                                 <xsl:call-template name="formatNameCore">
  3642.                                                     <xsl:with-param name="FML">
  3643.                                                         <xsl:choose>
  3644.                                                             <xsl:when test="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:NonUniqueLastName">
  3645.                                                                 <xsl:call-template name="templ_prop_MLA_CitationLong_FML"/>
  3646.                                                             </xsl:when>
  3647.                                                             <xsl:otherwise>
  3648.                                                                 <xsl:call-template name="templ_prop_MLA_CitationShort_FML"/>
  3649.                                                             </xsl:otherwise>
  3650.                                                         </xsl:choose>
  3651.                                                     </xsl:with-param>
  3652.                                                     <xsl:with-param name="FM">
  3653.                                                         <xsl:choose>
  3654.                                                             <xsl:when test="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:NonUniqueLastName">
  3655.                                                                 <xsl:call-template name="templ_prop_MLA_CitationLong_FM"/>
  3656.                                                             </xsl:when>
  3657.                                                             <xsl:otherwise>
  3658.                                                                 <xsl:call-template name="templ_prop_MLA_CitationShort_FM"/>
  3659.                                                             </xsl:otherwise>
  3660.                                                         </xsl:choose>
  3661.                                                     </xsl:with-param>
  3662.                                                     <xsl:with-param name="ML">
  3663.                                                         <xsl:choose>
  3664.                                                             <xsl:when test="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:NonUniqueLastName">
  3665.                                                                 <xsl:call-template name="templ_prop_MLA_CitationLong_ML"/>
  3666.                                                             </xsl:when>
  3667.                                                             <xsl:otherwise>
  3668.                                                                 <xsl:call-template name="templ_prop_MLA_CitationShort_ML"/>
  3669.                                                             </xsl:otherwise>
  3670.                                                         </xsl:choose>
  3671.                                                     </xsl:with-param>
  3672.                                                     <xsl:with-param name="FL">
  3673.                                                         <xsl:choose>
  3674.                                                             <xsl:when test="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:NonUniqueLastName">
  3675.                                                                 <xsl:call-template name="templ_prop_MLA_CitationLong_FL"/>
  3676.                                                             </xsl:when>
  3677.                                                             <xsl:otherwise>
  3678.                                                                 <xsl:call-template name="templ_prop_MLA_CitationShort_FL"/>
  3679.                                                             </xsl:otherwise>
  3680.                                                         </xsl:choose>
  3681.                                                     </xsl:with-param>
  3682.                                                     <xsl:with-param name="upperLast">no</xsl:with-param>
  3683.                                                     <xsl:with-param name="withDot">no</xsl:with-param>
  3684.                                                 </xsl:call-template>
  3685.                                             </xsl:otherwise>
  3686.                                         </xsl:choose>
  3687.                                         
  3688.                                         <xsl:choose>
  3689.                                             <xsl:when test="($cAuthors - 1 = position() and ($cAuthors = 2 or $cAuthors = 3)) or ($cAuthors > 3 and position() = 2)">
  3690.                                                 <xsl:variable name="noAndBeforeLastAuthor">
  3691.                                                     <xsl:call-template name="templ_prop_NoAndBeforeLastAuthor"/>
  3692.                                                 </xsl:variable>
  3693.  
  3694.                                                 <xsl:if test="$noAndBeforeLastAuthor != 'yes'">
  3695.                                                     <xsl:call-template name="templ_prop_Space"/>
  3696.                                                     <xsl:call-template name="templ_str_AndUnCap"/>
  3697.                                                     <xsl:call-template name="templ_prop_Space"/>
  3698.                                                 </xsl:if>
  3699.                                                 <xsl:if test="$noAndBeforeLastAuthor = 'yes'">
  3700.                                                     <xsl:call-template name="templ_prop_AuthorsSeparator"/>
  3701.                                                 </xsl:if>
  3702.                                             </xsl:when>
  3703.                                             <xsl:when test="$cAuthors > position() and 3 > position() ">
  3704.                                                 <xsl:call-template name="templ_prop_AuthorsSeparator"/>
  3705.                                             </xsl:when>
  3706.                                         </xsl:choose>
  3707.         
  3708.                                     </xsl:for-each>
  3709.                                 </xsl:otherwise>
  3710.                             </xsl:choose>
  3711.                         </xsl:variable>
  3712.  
  3713.                         <xsl:variable name="title">
  3714.                             <xsl:choose>
  3715.                                 <xsl:when test="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:NoTitle">
  3716.                                 </xsl:when>
  3717.                                 
  3718.                                 <xsl:otherwise>
  3719.                                     <xsl:value-of select="$title0" />
  3720.                                 </xsl:otherwise>
  3721.                             </xsl:choose>
  3722.                         </xsl:variable>
  3723.  
  3724.                         <xsl:variable name="year">
  3725.                             <xsl:choose>
  3726.                                 <xsl:when test="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:NoYear">
  3727.                                 </xsl:when>
  3728.                                 
  3729.                                 <xsl:otherwise>
  3730.                                     <xsl:value-of select="$year0" />
  3731.                                 </xsl:otherwise>
  3732.                             </xsl:choose>
  3733.                         </xsl:variable>                        
  3734.  
  3735.                         <xsl:variable name="author">
  3736.                             <xsl:choose>
  3737.                                 <xsl:when test="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:NoAuthor">
  3738.                                 </xsl:when>
  3739.                                 <xsl:otherwise>
  3740.                                     <xsl:value-of select="$author0" />
  3741.                                 </xsl:otherwise>
  3742.                             </xsl:choose>
  3743.                         </xsl:variable>
  3744.  
  3745.                         <xsl:variable name="prop_APA_Hyphens">
  3746.                           <xsl:call-template name="templ_prop_Hyphens"/>
  3747.                         </xsl:variable>
  3748.  
  3749.                         <xsl:variable name="volume" select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Volume"/>
  3750.  
  3751.                         <xsl:variable name="volVolume">
  3752.                             <xsl:if test="string-length($volume) > 0">
  3753.                                 <xsl:call-template name="StringFormat">
  3754.                                     <xsl:with-param name="format">
  3755.                                       <xsl:choose>
  3756.                                         <xsl:when test="not(string-length($volume)=string-length(translate($volume, ',', '')))">
  3757.                                           <xsl:call-template name="templ_str_VolumesShortUnCap"/>
  3758.                                         </xsl:when>
  3759.                                         <xsl:when test="string-length($volume)=string-length(translate($volume, $prop_APA_Hyphens, ''))">
  3760.                                           <xsl:call-template name="templ_str_VolumeShortUnCap"/>
  3761.                                         </xsl:when>
  3762.                                         <xsl:otherwise>
  3763.                                           <xsl:call-template name="templ_str_VolumesShortUnCap"/>
  3764.                                         </xsl:otherwise>
  3765.                                       </xsl:choose>
  3766.                                     </xsl:with-param>
  3767.                                     <xsl:with-param name="parameters">
  3768.                                         <t:params>
  3769.                                             <t:param>
  3770.                                                 <xsl:value-of select="$volume"/>
  3771.                                             </t:param>
  3772.                                         </t:params>
  3773.                                     </xsl:with-param>
  3774.                                 </xsl:call-template>
  3775.                             </xsl:if>
  3776.                         </xsl:variable>
  3777.  
  3778.  
  3779.                         <xsl:variable name="pages" select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Pages"/>
  3780.  
  3781.                         <xsl:variable name="displayAuthor">
  3782.                             <xsl:value-of select="$author" />
  3783.                         </xsl:variable>
  3784.  
  3785.                         <xsl:variable name="displayTitle">
  3786.                             <xsl:choose>
  3787.                                 <xsl:when test="string-length($displayAuthor) = 0">
  3788.                                     <xsl:value-of select="$title" />
  3789.                                 </xsl:when>
  3790.                                 <xsl:when test="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:RepeatedAuthor">
  3791.                                     <xsl:value-of select="$title" />
  3792.                                 </xsl:when>
  3793.                             </xsl:choose>
  3794.                         </xsl:variable>
  3795.  
  3796.                         
  3797.                         <xsl:if test="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:FirstAuthor">
  3798.                             <xsl:call-template name="templ_prop_OpenBracket"/>
  3799.                         </xsl:if>
  3800.                     
  3801.                         <xsl:if test="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:PagePrefix">
  3802.                             <xsl:value-of select="/b:Citation/b:PagePrefix"/>
  3803.                         </xsl:if>
  3804.  
  3805.                         <xsl:value-of select="$displayAuthor" />
  3806.  
  3807.                         <xsl:if test="string-length($displayTitle) > 0">
  3808.                             <xsl:if test="string-length($displayAuthor) > 0">
  3809.                                 <xsl:call-template name="templ_prop_ListSeparator"/>
  3810.                             </xsl:if>
  3811.                             <xsl:value-of select="$displayTitle"/>
  3812.                         </xsl:if>
  3813.  
  3814.                         <xsl:if test="string-length($author0) = 0 and string-length($title0) = 0">
  3815.                             <xsl:value-of select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:Tag"/>
  3816.                         </xsl:if>
  3817.  
  3818.                         <xsl:if test="string-length($volume) > 0 or string-length($pages) > 0">
  3819.                             <xsl:if test="string-length($displayAuthor) > 0 or string-length($displayTitle) > 0">
  3820.                                 <xsl:call-template name="templ_prop_Space"/>
  3821.                             </xsl:if>            
  3822.  
  3823.                             <xsl:choose>
  3824.                                 <xsl:when test="string-length($volume) > 0 and string-length($pages) > 0">
  3825.                                     <xsl:value-of select="$volume"/>
  3826.                                     <xsl:call-template name="templ_prop_Enum"/>
  3827.                                     <xsl:value-of select="$pages"/>
  3828.                                 </xsl:when>
  3829.                                 <xsl:when test="string-length($volVolume) > 0">
  3830.                                     <xsl:value-of select="$volVolume"/>
  3831.                                 </xsl:when>
  3832.                                 <xsl:when test="string-length($pages) > 0">
  3833.                                     <xsl:value-of select="$pages"/>
  3834.                                 </xsl:when>
  3835.                             </xsl:choose>
  3836.                         </xsl:if>
  3837.  
  3838.                         <xsl:if test="/b:Citation/b:PageSuffix">
  3839.                             <xsl:value-of select="/b:Citation/b:PageSuffix"/>
  3840.                         </xsl:if>
  3841.                         
  3842.                         <xsl:if test="/b:Citation/b:LastAuthor">
  3843.                             <xsl:call-template name="templ_prop_CloseBracket"/>
  3844.                         </xsl:if>
  3845.                         <xsl:if test="not(/b:Citation/b:LastAuthor)">
  3846.                             <xsl:call-template name="templ_prop_GroupSeparator"/>
  3847.                         </xsl:if>
  3848.  
  3849.                         </xsl:element>
  3850.                     </body>
  3851.                 </html>
  3852.             </xsl:when>
  3853.             <xsl:when test="b:Bibliography">
  3854.  
  3855.                 <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">
  3856.                     <head>
  3857.                         
  3858.                         <style>
  3859.                             p.MsoBibliography, li.MsoBibliography, div.MsoBibliography
  3860.                         </style>
  3861.                     </head>
  3862.                     <body>
  3863.  
  3864.                         <xsl:variable name="ListPopulatedWithMain">
  3865.                                 <xsl:call-template name="populateMain">
  3866.                                     <xsl:with-param name="Type">b:Bibliography</xsl:with-param>
  3867.                                 </xsl:call-template>
  3868.                         </xsl:variable>
  3869.  
  3870.                         <xsl:variable name="sList">
  3871.                             <xsl:call-template name="sortedList">
  3872.                                 <xsl:with-param name="sourceRoot"><xsl:copy-of select="$ListPopulatedWithMain"/></xsl:with-param>
  3873.                             </xsl:call-template>
  3874.                         </xsl:variable>
  3875.  
  3876.                         <xsl:variable name="dups">
  3877.                             <xsl:for-each select="msxsl:node-set($sList)/b:Bibliography/b:Source">
  3878.                                 <b:author>
  3879.                                     <xsl:call-template name="formatMain"/>
  3880.                                 </b:author>
  3881.                             </xsl:for-each>
  3882.                         </xsl:variable>
  3883.  
  3884.                         <xsl:for-each select="msxsl:node-set($sList)/b:Bibliography/b:Source">
  3885.                             <xsl:variable name="LCID">
  3886.                                 <xsl:choose>
  3887.                                     <xsl:when test="b:LCID='0' or b:LCID='' or not(b:LCID)">
  3888.                                         <xsl:value-of select="/*/b:Locals/b:DefaultLCID"/>
  3889.                                     </xsl:when>
  3890.                                     <xsl:otherwise>
  3891.                                         <xsl:value-of select="b:LCID"/>
  3892.                                     </xsl:otherwise>
  3893.                                 </xsl:choose>
  3894.                             </xsl:variable>
  3895.  
  3896.                             <xsl:variable name="dir">
  3897.                                 <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$LCID]/b:Properties/b:Direction"/>
  3898.                             </xsl:variable>
  3899.  
  3900.                             <xsl:variable name="uppercase" select="'ABCDEFGHIJKLMNOPQRSTUVWXYZ'"/>
  3901.                             <xsl:variable name="lowercase" select="'abcdefghijklmnopqrstuvwxyz'"/>
  3902.  
  3903.                             <xsl:element name="p">
  3904.                                 <xsl:attribute name="lang">
  3905.                                     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$LCID]/@Culture"/>
  3906.                                 </xsl:attribute>
  3907.                                 <xsl:attribute name="dir">
  3908.                                     <xsl:value-of select="$dir"/>
  3909.                                 </xsl:attribute>
  3910.                                 <xsl:attribute name="class">
  3911.                                     <xsl:value-of select="'MsoBibliography'"/>
  3912.                                 </xsl:attribute>
  3913.                                 <xsl:attribute name="style">
  3914.                                     <xsl:choose>
  3915.                                         <xsl:when test="translate($dir,$uppercase,$lowercase)='rtl'">
  3916.                                             <xsl:value-of select="'margin-right:.5in;text-indent:-.5in'"/>
  3917.                                         </xsl:when>
  3918.                                         <xsl:otherwise>
  3919.                                             <xsl:value-of select="'margin-left:.5in;text-indent:-.5in'"/>
  3920.                                         </xsl:otherwise>
  3921.                                     </xsl:choose>
  3922.                                 </xsl:attribute>
  3923.  
  3924.                                 <xsl:variable name="cEditors">
  3925.                                     <xsl:value-of select="count(b:Author/b:Editor/b:NameList/b:Person)"/>
  3926.                                 </xsl:variable>
  3927.  
  3928.                                 <xsl:variable name="cTranslators">
  3929.                                     <xsl:value-of select="count(b:Author/b:Translator/b:NameList/b:Person)"/>
  3930.                                 </xsl:variable>
  3931.  
  3932.                                 <xsl:variable name="cComposers">
  3933.                                     <xsl:value-of select="count(b:Author/b:Composer/b:NameList/b:Person)"/>
  3934.                                 </xsl:variable>
  3935.  
  3936.                                 <xsl:variable name="cCompilers">
  3937.                                     <xsl:value-of select="count(b:Author/b:Compiler/b:NameList/b:Person)"/>
  3938.                                 </xsl:variable>
  3939.  
  3940.                                 <xsl:variable name="cPerformers">
  3941.                                     <xsl:value-of select="count(b:Author/b:Performer/b:NameList/b:Person)"/>
  3942.                                 </xsl:variable>
  3943.  
  3944.                                 <xsl:variable name="cDirectors">
  3945.                                     <xsl:value-of select="count(b:Author/b:Director/b:NameList/b:Person)"/>
  3946.                                 </xsl:variable>
  3947.  
  3948.                                 <xsl:variable name="cProducers">
  3949.                                     <xsl:value-of select="count(b:Author/b:ProducerName/b:NameList/b:Person)"/>
  3950.                                 </xsl:variable>
  3951.  
  3952.                                 <xsl:variable name="cConductors">
  3953.                                     <xsl:value-of select="count(b:Author/b:Conductor/b:NameList/b:Person)"/>
  3954.                                 </xsl:variable>
  3955.  
  3956.  
  3957.  
  3958.  
  3959.  
  3960.                                 <xsl:variable name="actIndex" select="position()"/>
  3961.                                 <xsl:variable name="lastIndex" select="position() - 1"/>
  3962.  
  3963.                                 <xsl:variable name="actAuthor">
  3964.                                     <xsl:value-of select="msxsl:node-set($dups)/b:author[$actIndex]"/>
  3965.                                 </xsl:variable>
  3966.  
  3967.                                 <xsl:variable name="lastAuthor">
  3968.                                     <xsl:value-of select="msxsl:node-set($dups)/b:author[$lastIndex]"/>
  3969.                                 </xsl:variable>
  3970.  
  3971.                                 <xsl:variable name="author">
  3972.                                     <xsl:choose>
  3973.                                         <xsl:when test="position()=1">
  3974.                                             <xsl:call-template name="formatAuthor"/>
  3975.                                         </xsl:when>
  3976.                                         <xsl:when test="$actAuthor=$lastAuthor and string-length($actAuthor)>0 ">
  3977.                                             <xsl:call-template name="templ_prop_MLA_SameAuthor"/>
  3978.                                         </xsl:when>
  3979.                                         <xsl:otherwise>
  3980.                                             <xsl:call-template name="formatAuthor"/>
  3981.                                         </xsl:otherwise>
  3982.                                     </xsl:choose>
  3983.                                 </xsl:variable>
  3984.  
  3985.  
  3986.  
  3987.  
  3988.                                 <xsl:variable name="compiler">
  3989.                                     <xsl:call-template name="formatCompiler"/>
  3990.                                 </xsl:variable>
  3991.  
  3992.                                 <xsl:variable name="compilerLF">
  3993.                                     <xsl:call-template name="formatCompilerLF"/>
  3994.                                 </xsl:variable>
  3995.  
  3996.                                 <xsl:variable name="editor">
  3997.                                     <xsl:call-template name="formatEditor"/>
  3998.                                 </xsl:variable>
  3999.  
  4000.                                 <xsl:variable name="editorLF">
  4001.                                     <xsl:call-template name="formatEditorLF"/>
  4002.                                 </xsl:variable>
  4003.  
  4004.                                 <xsl:variable name="translator">
  4005.                                     <xsl:call-template name="formatTranslator"/>
  4006.                                 </xsl:variable>
  4007.  
  4008.                                 <xsl:variable name="translatorLF">
  4009.                                     <xsl:call-template name="formatTranslatorLF"/>
  4010.                                 </xsl:variable>
  4011.  
  4012.                                 <xsl:variable name="performer">
  4013.                                     <xsl:call-template name="formatPerformer"/>
  4014.                                 </xsl:variable>
  4015.  
  4016.                                 <xsl:variable name="intervieweeLF">
  4017.                                     <xsl:call-template name="formatIntervieweeLF"/>
  4018.                                 </xsl:variable>
  4019.  
  4020.                                 <xsl:variable name="producerName">
  4021.                                     <xsl:call-template name="formatProducerName"/>
  4022.                                 </xsl:variable>
  4023.  
  4024.                                 <xsl:variable name="interviewer">
  4025.                                     <xsl:call-template name="formatInterviewer"/>
  4026.                                 </xsl:variable>
  4027.  
  4028.                                 <xsl:variable name="interviewerLF">
  4029.                                     <xsl:call-template name="formatInterviewerLF"/>
  4030.                                 </xsl:variable>
  4031.  
  4032.                                 <xsl:variable name="writer">
  4033.                                     <xsl:call-template name="formatWriter"/>
  4034.                                 </xsl:variable>
  4035.  
  4036.                                 <xsl:variable name="director">
  4037.                                     <xsl:call-template name="formatDirector"/>
  4038.                                 </xsl:variable>
  4039.  
  4040.                                 <xsl:variable name="inventorLF">
  4041.                                     <xsl:call-template name="formatInventorLF"/>
  4042.                                 </xsl:variable>
  4043.  
  4044.                                 <xsl:variable name="bookAuthor">
  4045.                                     <xsl:call-template name="formatBookAuthor"/>
  4046.                                 </xsl:variable>
  4047.  
  4048.                                 <xsl:variable name="sectionAuthor">
  4049.                                     <xsl:call-template name="formatAuthor"/>
  4050.                                 </xsl:variable>
  4051.  
  4052.                                 <xsl:variable name="performerLF">
  4053.                                     <xsl:call-template name="formatPerformerLF"/>
  4054.                                 </xsl:variable>
  4055.  
  4056.                                 <xsl:variable name="conductorLF">
  4057.                                     <xsl:call-template name="formatConductorLF"/>
  4058.                                 </xsl:variable>
  4059.  
  4060.                                 <xsl:variable name="conductor">
  4061.                                     <xsl:call-template name="formatConductor"/>
  4062.                                 </xsl:variable>
  4063.  
  4064.                                 <xsl:variable name="composerLF">
  4065.                                     <xsl:call-template name="formatComposerLF"/>
  4066.                                 </xsl:variable>
  4067.  
  4068.                                 <xsl:variable name="composer">
  4069.                                     <xsl:call-template name="formatComposer"/>
  4070.                                 </xsl:variable>
  4071.  
  4072.                                 <xsl:variable name="artist">
  4073.                                     <xsl:call-template name="formatArtistLF"/>
  4074.                                 </xsl:variable>
  4075.  
  4076.  
  4077.  
  4078.  
  4079.  
  4080.                                 <xsl:variable name="date">
  4081.                                     <xsl:call-template name="formatDate"/>
  4082.                                 </xsl:variable>
  4083.  
  4084.                                 <xsl:variable name="dateDot">
  4085.                                     <xsl:call-template name="appendField_Dot">
  4086.                                         <xsl:with-param name="field" select="$date"/>
  4087.                                     </xsl:call-template>
  4088.                                 </xsl:variable>
  4089.  
  4090.                                 <xsl:variable name="dateAccessed">
  4091.                                     <xsl:call-template name="formatDateAccessed"/>
  4092.                                 </xsl:variable>
  4093.  
  4094.                                 <xsl:variable name="dateAccessedDot">
  4095.                                     <xsl:call-template name="appendField_Dot">
  4096.                                         <xsl:with-param name="field" select="$dateAccessed"/>
  4097.                                     </xsl:call-template>
  4098.                                 </xsl:variable>
  4099.  
  4100.                                 <xsl:variable name="tempCPcY">
  4101.                                     <xsl:call-template name="templateCPcY"/>
  4102.                                 </xsl:variable>
  4103.  
  4104.                                 <xsl:variable name="tempCPY">
  4105.                                     <xsl:call-template name="templateCPY"/>
  4106.                                 </xsl:variable>
  4107.  
  4108.                                 <xsl:variable name="tempDEP">
  4109.                                     <xsl:call-template name="templateDEP"/>
  4110.                                 </xsl:variable>
  4111.  
  4112.                                 <xsl:variable name="tempTC">
  4113.                                     <xsl:call-template name="templateTC"/>
  4114.                                 </xsl:variable>
  4115.  
  4116.                                 <xsl:variable name="tempIC">
  4117.                                     <xsl:call-template name="templateIC"/>
  4118.                                 </xsl:variable>
  4119.  
  4120.                                 <xsl:variable name="tempIY">
  4121.                                     <xsl:call-template name="templateIY"/>
  4122.                                 </xsl:variable>
  4123.  
  4124.                                 <xsl:variable name="tempDY">
  4125.                                     <xsl:call-template name="templateDY"/>
  4126.                                 </xsl:variable>
  4127.  
  4128.                                 <xsl:variable name="tempCPD">
  4129.                                     <xsl:call-template name="templateCPD"/>
  4130.                                 </xsl:variable>
  4131.  
  4132.                                 <xsl:variable name="tempSC">
  4133.                                     <xsl:call-template name="templateSC"/>
  4134.                                 </xsl:variable>
  4135.  
  4136.                                 <xsl:variable name="tempCP">
  4137.                                     <xsl:call-template name="templateCP"/>
  4138.                                 </xsl:variable>
  4139.  
  4140.                                 <xsl:variable name="tempCD">
  4141.                                     <xsl:call-template name="templateCD"/>
  4142.                                 </xsl:variable>
  4143.  
  4144.                                 <xsl:variable name="tempVIYP">
  4145.                                     <xsl:call-template name="templateVIYP"/>
  4146.                                 </xsl:variable>
  4147.  
  4148.                                 <xsl:variable name="tempDaU">
  4149.                                     <xsl:variable name="temporaryDaU">
  4150.                                     
  4151.                                         <xsl:value-of select="$dateAccessed"/>
  4152.  
  4153.                                         <xsl:if test="string-length($dateAccessedDot)>0 and string-length(b:URL)>0">
  4154.                                             <xsl:call-template name="templ_prop_Space"/>
  4155.                                         </xsl:if>
  4156.  
  4157.                                         <xsl:if test="string-length(b:URL)>0">
  4158.                                             <xsl:call-template name="templ_prop_OpenLink"/>
  4159.                                             <xsl:value-of select="b:URL"/>
  4160.                                             <xsl:call-template name="templ_prop_CloseLink"/>
  4161.                                         </xsl:if>
  4162.                                     </xsl:variable>
  4163.  
  4164.                                     <xsl:call-template name="appendFieldNoHandleSpaces_Dot">
  4165.                                         <xsl:with-param name="field" select="$temporaryDaU"/>
  4166.                                     </xsl:call-template>        
  4167.                                 </xsl:variable>
  4168.  
  4169.  
  4170.  
  4171.  
  4172.  
  4173.  
  4174.  
  4175.                                 <xsl:variable name="titleDot">
  4176.                                     <xsl:call-template name="appendField_Dot">
  4177.                                         <xsl:with-param name="field" select="b:Title"/>
  4178.                                     </xsl:call-template>
  4179.                                 </xsl:variable>
  4180.  
  4181.                                 <xsl:variable name="dotForTitle">
  4182.                                     <xsl:call-template name="Field_Dot">
  4183.                                         <xsl:with-param name="field" select="b:Title" />
  4184.                                     </xsl:call-template>
  4185.                                 </xsl:variable>                                                  
  4186.  
  4187.                                 <xsl:variable name="albumTitleDot">
  4188.                                     <xsl:call-template name="appendField_Dot">
  4189.                                         <xsl:with-param name="field" select="b:AlbumTitle"/>
  4190.                                     </xsl:call-template>
  4191.                                 </xsl:variable>
  4192.  
  4193.                                 <xsl:variable name="dotForAlbumTitle">
  4194.                                     <xsl:call-template name="Field_Dot">
  4195.                                         <xsl:with-param name="field" select="b:AlbumTitle" />
  4196.                                     </xsl:call-template>
  4197.                                 </xsl:variable>                                
  4198.  
  4199.                                 <xsl:variable name="pagesDot">
  4200.                                     <xsl:call-template name="appendField_Dot">
  4201.                                         <xsl:with-param name="field" select="b:Pages"/>
  4202.                                     </xsl:call-template>
  4203.                                 </xsl:variable>
  4204.  
  4205.                                 <xsl:variable name="bookTitleDot">
  4206.                                     <xsl:call-template name="appendField_Dot">
  4207.                                         <xsl:with-param name="field" select="b:BookTitle"/>
  4208.                                     </xsl:call-template>
  4209.                                 </xsl:variable>
  4210.  
  4211.                                 <xsl:variable name="dotForBookTitle">
  4212.                                     <xsl:call-template name="Field_Dot">
  4213.                                         <xsl:with-param name="field" select="b:BookTitle" />
  4214.                                     </xsl:call-template>
  4215.                                 </xsl:variable>
  4216.  
  4217.                                 <xsl:variable name="conferenceNameDot">
  4218.                                     <xsl:call-template name="appendField_Dot">
  4219.                                         <xsl:with-param name="field" select="b:ConferenceName"/>
  4220.                                     </xsl:call-template>
  4221.                                 </xsl:variable>
  4222.  
  4223.                                 <xsl:variable name="dotForConferenceName">
  4224.                                     <xsl:call-template name="Field_Dot">
  4225.                                         <xsl:with-param name="field" select="b:ConferenceName" />
  4226.                                     </xsl:call-template>
  4227.                                 </xsl:variable>                                
  4228.  
  4229.                                 <xsl:variable name="broadcasterDot">
  4230.                                     <xsl:call-template name="appendField_Dot">
  4231.                                         <xsl:with-param name="field" select="b:Broadcaster"/>
  4232.                                     </xsl:call-template>
  4233.                                 </xsl:variable>
  4234.  
  4235.                                 <xsl:variable name="interviewTitle">
  4236.                                     <xsl:call-template name="handleSpaces">
  4237.                                         <xsl:with-param name="field" select="b:Title"/>
  4238.                                     </xsl:call-template>
  4239.                                 </xsl:variable>
  4240.  
  4241.                                 <xsl:variable name="interviewTitleDot">
  4242.                                     <xsl:call-template name="appendField_Dot">
  4243.                                         <xsl:with-param name="field" select="b:Title"/>
  4244.                                     </xsl:call-template>
  4245.                                 </xsl:variable>
  4246.  
  4247.                                 <xsl:variable name="dotForInterviewTitle">
  4248.                                     <xsl:call-template name="Field_Dot">
  4249.                                         <xsl:with-param name="field" select="b:Title" />
  4250.                                     </xsl:call-template>
  4251.                                 </xsl:variable>                                
  4252.  
  4253.                                 <xsl:variable name="publicationTitle">
  4254.                                     <xsl:call-template name="handleSpaces">
  4255.                                         <xsl:with-param name="field" select="b:PublicationTitle"/>
  4256.                                     </xsl:call-template>
  4257.                                 </xsl:variable>
  4258.  
  4259.                                 <xsl:variable name="publicationTitleDot">
  4260.                                     <xsl:call-template name="appendField_Dot">
  4261.                                         <xsl:with-param name="field" select="b:PublicationTitle"/>
  4262.                                     </xsl:call-template>
  4263.                                 </xsl:variable>
  4264.  
  4265.                                 <xsl:variable name="dotForpublicationTitle">
  4266.                                     <xsl:call-template name="Field_Dot">
  4267.                                         <xsl:with-param name="field" select="b:PublicationTitle" />
  4268.                                     </xsl:call-template>
  4269.                                 </xsl:variable>                                
  4270.  
  4271.                                 <xsl:variable name="URL">
  4272.                                     <xsl:value-of select="b:URL"/>
  4273.                                 </xsl:variable>
  4274.  
  4275.                                 <xsl:variable name="cityDot">
  4276.                                     <xsl:call-template name="appendField_Dot">
  4277.                                         <xsl:with-param name="field" select="b:City"/>
  4278.                                     </xsl:call-template>
  4279.                                 </xsl:variable>
  4280.  
  4281.                                 <xsl:variable name="institutionDot">
  4282.                                     <xsl:call-template name="appendField_Dot">
  4283.                                         <xsl:with-param name="field" select="b:Institution"/>
  4284.                                     </xsl:call-template>
  4285.                                 </xsl:variable>
  4286.                                 
  4287.                                 <xsl:variable name="courtDot">
  4288.                                     <xsl:call-template name="appendField_Dot">
  4289.                                         <xsl:with-param name="field" select="b:Court"/>
  4290.                                     </xsl:call-template>
  4291.                                 </xsl:variable>
  4292.                                 
  4293.                                 <xsl:variable name="thesisTypeDot">
  4294.                                     <xsl:call-template name="appendField_Dot">
  4295.                                         <xsl:with-param name="field" select="b:ThesisType"/>
  4296.                                     </xsl:call-template>
  4297.                                 </xsl:variable>
  4298.                                 
  4299.                                 <xsl:variable name="journalNameDot">
  4300.                                     <xsl:call-template name="appendField_Dot">
  4301.                                         <xsl:with-param name="field" select="b:JournalName"/>
  4302.                                     </xsl:call-template>
  4303.                                 </xsl:variable>
  4304.                                 
  4305.                                 <xsl:variable name="journalName">
  4306.                                     <xsl:call-template name="handleSpaces">
  4307.                                         <xsl:with-param name="field" select="b:JournalName"/>
  4308.                                     </xsl:call-template>
  4309.                                 </xsl:variable>
  4310.  
  4311.                                 <xsl:variable name="internetSiteTitleDot">
  4312.                                     <xsl:call-template name="appendField_Dot">
  4313.                                         <xsl:with-param name="field" select="b:InternetSiteTitle"/>
  4314.                                     </xsl:call-template>
  4315.                                 </xsl:variable>
  4316.                                 
  4317.                                 <xsl:variable name="mediumDot">
  4318.                                     <xsl:call-template name="appendField_Dot">
  4319.                                         <xsl:with-param name="field" select="b:Medium"/>
  4320.                                     </xsl:call-template>
  4321.                                 </xsl:variable>
  4322.                                 
  4323.                                 <xsl:variable name="issueDot">
  4324.                                     <xsl:call-template name="appendField_Dot">
  4325.                                         <xsl:with-param name="field" select="b:Issue"/>
  4326.                                     </xsl:call-template>
  4327.                                 </xsl:variable>
  4328.                                 
  4329.                                 <xsl:variable name="productionCompanyDot">
  4330.                                     <xsl:call-template name="appendField_Dot">
  4331.                                         <xsl:with-param name="field" select="b:ProductionCompany"/>
  4332.                                     </xsl:call-template>
  4333.                                 </xsl:variable>
  4334.                                 
  4335.                                 <xsl:variable name="editionDot">
  4336.                                     <xsl:call-template name="appendField_Dot">
  4337.                                         <xsl:with-param name="field" select="b:Edition"/>
  4338.                                     </xsl:call-template>
  4339.                                 </xsl:variable>
  4340.                                 
  4341.                                 <xsl:variable name="broadcastTitle">
  4342.                                     <xsl:call-template name="handleSpaces">
  4343.                                         <xsl:with-param name="field" select="b:BroadcastTitle"/>
  4344.                                     </xsl:call-template>
  4345.                                 </xsl:variable>
  4346.                                 
  4347.                                 <xsl:variable name="versionDot">
  4348.                                     <xsl:call-template name="appendField_Dot">
  4349.                                         <xsl:with-param name="field" select="b:Version"/>
  4350.                                     </xsl:call-template>
  4351.                                 </xsl:variable>
  4352.  
  4353.                                 <xsl:variable name="broadcastTitleDot">
  4354.                                     <xsl:call-template name="appendField_Dot">
  4355.                                         <xsl:with-param name="field" select="b:BroadcastTitle"/>
  4356.                                     </xsl:call-template>
  4357.                                 </xsl:variable>
  4358.  
  4359.                                 <xsl:variable name="periodicalTitleDot">
  4360.                                     <xsl:call-template name="appendField_Dot">
  4361.                                         <xsl:with-param name="field" select="b:PeriodicalTitle"/>
  4362.                                     </xsl:call-template>
  4363.                                 </xsl:variable>
  4364.  
  4365.                                 <xsl:variable name="periodicalTitle">
  4366.                                     <xsl:call-template name="handleSpaces">
  4367.                                         <xsl:with-param name="field" select="b:PeriodicalTitle"/>
  4368.                                     </xsl:call-template>
  4369.                                 </xsl:variable>
  4370.  
  4371.                                 <xsl:variable name="productionCompany">
  4372.                                     <xsl:call-template name="handleSpaces">
  4373.                                         <xsl:with-param name="field" select="b:ProductionCompany"/>
  4374.                                     </xsl:call-template>
  4375.                                 </xsl:variable>
  4376.  
  4377.                                 <xsl:variable name="caseNumber">
  4378.                                     <xsl:call-template name="handleSpaces">
  4379.                                         <xsl:with-param name="field" select="b:CaseNumber"/>
  4380.                                     </xsl:call-template>
  4381.                                 </xsl:variable>
  4382.                                 
  4383.                                 <xsl:variable name="broadcaster">
  4384.                                     <xsl:call-template name="handleSpaces">
  4385.                                         <xsl:with-param name="field" select="b:Broadcaster"/>
  4386.                                     </xsl:call-template>
  4387.                                 </xsl:variable>
  4388.                                 
  4389.                                 <xsl:variable name="volume">
  4390.                                     <xsl:call-template name="handleSpaces">
  4391.                                         <xsl:with-param name="field" select="b:Volume"/>
  4392.                                     </xsl:call-template>
  4393.                                 </xsl:variable>
  4394.                                 
  4395.                                 
  4396.  
  4397.  
  4398.                                 <xsl:variable name="prefixVersionDot">
  4399.                                     <xsl:if test="string-length($versionDot)>0">
  4400.                                         <xsl:call-template name="templ_str_VersionShortCap"/>
  4401.                                         <xsl:call-template name="templ_prop_Space"/>
  4402.                                         <xsl:value-of select="$versionDot"/>
  4403.                                     </xsl:if>
  4404.                                 </xsl:variable>
  4405.  
  4406.                                 <xsl:variable name="prefixEditorDot">
  4407.                                     <xsl:if test="string-length($editor)>0">
  4408.                                         <xsl:if test="$cEditors > 1">
  4409.                                             <xsl:call-template name="templ_str_EditorShortCap"/>
  4410.                                         </xsl:if>
  4411.                                         <xsl:if test="$cEditors = 1">
  4412.                                             <xsl:call-template name="templ_str_EditorShortCap"/>
  4413.                                         </xsl:if>
  4414.                                         <xsl:call-template name="templ_prop_Space"/>
  4415.                                         <xsl:call-template name="appendField_Dot">
  4416.                                             <xsl:with-param name="field" select="$editor"/>
  4417.                                         </xsl:call-template>
  4418.                                     </xsl:if>
  4419.                                 </xsl:variable>
  4420.  
  4421.                                 <xsl:variable name="prefixTranslatorDot">
  4422.                                     <xsl:if test="string-length($translator)>0">
  4423.                                         <xsl:if test="$cTranslators > 1">
  4424.                                             <xsl:call-template name="templ_str_TranslatorsShortCap"/>
  4425.                                         </xsl:if>
  4426.                                         <xsl:if test="$cTranslators = 1">
  4427.                                             <xsl:call-template name="templ_str_TranslatorShortCap"/>
  4428.                                         </xsl:if>
  4429.                                         <xsl:call-template name="templ_prop_Space"/>
  4430.                                         <xsl:call-template name="appendField_Dot">
  4431.                                             <xsl:with-param name="field" select="$translator"/>
  4432.                                         </xsl:call-template>
  4433.                                     </xsl:if>
  4434.                                 </xsl:variable>
  4435.  
  4436.  
  4437.  
  4438.                                 <xsl:variable name="prefixDirectorDot">
  4439.                                     <xsl:if test="string-length($director)>0">
  4440.                                         <xsl:if test="$cDirectors > 1">
  4441.                                             <xsl:call-template name="templ_str_DirectorsShortCap"/>
  4442.                                         </xsl:if>
  4443.                                         <xsl:if test="$cDirectors = 1">
  4444.                                             <xsl:call-template name="templ_str_DirectorShortCap"/>
  4445.                                         </xsl:if>
  4446.                                         <xsl:call-template name="templ_prop_Space"/>
  4447.                                         <xsl:call-template name="appendField_Dot">
  4448.                                             <xsl:with-param name="field" select="$director"/>
  4449.                                         </xsl:call-template>
  4450.                                     </xsl:if>
  4451.                                 </xsl:variable>
  4452.  
  4453.                                 <xsl:variable name="prefixPerformerDot">
  4454.                                     <xsl:if test="string-length($performer)>0">
  4455.                                         <xsl:if test="$cPerformers > 1">
  4456.                                             <xsl:call-template name="templ_str_PerformerShortCap"/>
  4457.                                         </xsl:if>
  4458.                                         <xsl:if test="$cPerformers = 1">
  4459.                                             <xsl:call-template name="templ_str_PerformerShortCap"/>
  4460.                                         </xsl:if>
  4461.                                         <xsl:call-template name="templ_prop_Space"/>
  4462.                                         <xsl:call-template name="appendField_Dot">
  4463.                                             <xsl:with-param name="field" select="$performer"/>
  4464.                                         </xsl:call-template>
  4465.                                     </xsl:if>
  4466.                                 </xsl:variable>
  4467.  
  4468.                                 <xsl:variable name="sufixEditorLFDot">
  4469.                                     <xsl:if test="string-length($editorLF)>0">
  4470.                                         <xsl:value-of select="$editorLF"/>
  4471.                                         <xsl:call-template name="templ_prop_ListSeparator"/>
  4472.                                         <xsl:if test="$cEditors > 1">
  4473.                                             <xsl:call-template name="templ_str_EditorsShortUnCap"/>
  4474.                                         </xsl:if>
  4475.                                         <xsl:if test="$cEditors = 1">
  4476.                                             <xsl:call-template name="templ_str_EditorShortUnCap"/>
  4477.                                         </xsl:if>
  4478.                                     </xsl:if>
  4479.                                 </xsl:variable>
  4480.  
  4481.  
  4482.                                 <xsl:variable name="prefixConductorDot">
  4483.                                     <xsl:if test="string-length($conductor)>0">
  4484.                                         <xsl:if test="$cConductors > 1">
  4485.                                             <xsl:call-template name="templ_str_ConductorsShortUnCap"/>
  4486.                                         </xsl:if>
  4487.                                         <xsl:if test="$cConductors = 1">
  4488.                                             <xsl:call-template name="templ_str_ConductorShortUnCap"/>
  4489.                                         </xsl:if>
  4490.                                         <xsl:call-template name="templ_prop_Space"/>
  4491.                                         <xsl:call-template name="appendField_Dot">
  4492.                                             <xsl:with-param name="field" select="$conductor"/>
  4493.                                         </xsl:call-template>
  4494.                                     </xsl:if>
  4495.                                 </xsl:variable>
  4496.  
  4497.                                 <xsl:variable name="prefixComposerDot">
  4498.                                     <xsl:if test="string-length($composer)>0">
  4499.                                         <xsl:if test="$cComposers > 1">
  4500.                                             <xsl:call-template name="templ_str_ComposersShortCap"/>
  4501.                                         </xsl:if>
  4502.                                         <xsl:if test="$cComposers = 1">
  4503.                                             <xsl:call-template name="templ_str_ComposerShortCap"/>
  4504.                                         </xsl:if>
  4505.                                         <xsl:call-template name="templ_prop_Space"/>
  4506.                                         <xsl:call-template name="appendField_Dot">
  4507.                                             <xsl:with-param name="field" select="$composer"/>
  4508.                                         </xsl:call-template>
  4509.                                     </xsl:if>
  4510.                                 </xsl:variable>
  4511.  
  4512.                                 <xsl:variable name="prefixCompilerDot">
  4513.                                     <xsl:if test="string-length($compiler)>0">
  4514.                                         <xsl:if test="$cCompilers > 1">
  4515.                                             <xsl:call-template name="templ_str_CompilersShortCap"/>
  4516.                                         </xsl:if>
  4517.                                         <xsl:if test="$cCompilers = 1">
  4518.                                             <xsl:call-template name="templ_str_CompilerShortCap"/>
  4519.                                         </xsl:if>
  4520.                                         <xsl:call-template name="templ_prop_Space"/>
  4521.                                         <xsl:call-template name="appendField_Dot">
  4522.                                             <xsl:with-param name="field" select="$compiler"/>
  4523.                                         </xsl:call-template>
  4524.                                     </xsl:if>
  4525.                                 </xsl:variable>
  4526.  
  4527.                                 <xsl:variable name="sufixCompilerLFDot">
  4528.                                     <xsl:if test="string-length($compilerLF)>0">
  4529.                                         <xsl:value-of select="$compilerLF"/>
  4530.                                         <xsl:call-template name="templ_prop_ListSeparator"/>
  4531.                                         <xsl:if test="$cCompilers > 1">
  4532.                                             <xsl:call-template name="templ_str_CompilersShortUnCap"/>
  4533.                                         </xsl:if>
  4534.                                         <xsl:if test="$cCompilers = 1">
  4535.                                             <xsl:call-template name="templ_str_CompilerShortUnCap"/>
  4536.                                         </xsl:if>
  4537.                                     </xsl:if>
  4538.                                 </xsl:variable>
  4539.  
  4540.                             <xsl:variable name="prop_APA_Hyphens">
  4541.                               <xsl:call-template name="templ_prop_Hyphens"/>
  4542.                             </xsl:variable>
  4543.  
  4544.                                 <xsl:variable name="prefixVolumeDot">
  4545.                                     <xsl:if test="string-length($volume)>0">
  4546.                                         <xsl:call-template name="appendField_Dot">
  4547.                                           <xsl:with-param name="field">
  4548.                                             <xsl:call-template name="StringFormat">
  4549.                                                 <xsl:with-param name="format">
  4550.                                                   <xsl:choose>
  4551.                                                     <xsl:when test="not(string-length($volume)=string-length(translate($volume, ',', '')))">
  4552.                                                       <xsl:call-template name="templ_str_VolumesShortCap"/>
  4553.                                                     </xsl:when>
  4554.                                                     <xsl:when test="string-length($volume)=string-length(translate($volume, $prop_APA_Hyphens, ''))">
  4555.                                                       <xsl:call-template name="templ_str_VolumeShortCap"/>
  4556.                                                     </xsl:when>
  4557.                                                     <xsl:otherwise>
  4558.                                                       <xsl:call-template name="templ_str_VolumesShortCap"/>
  4559.                                                     </xsl:otherwise>
  4560.                                                   </xsl:choose>
  4561.                                                 </xsl:with-param>
  4562.                                                 <xsl:with-param name="parameters">
  4563.                                                     <t:params>
  4564.                                                         <t:param>
  4565.                                                             <xsl:value-of select="$volume"/>
  4566.                                                         </t:param>
  4567.                                                     </t:params>
  4568.                                                 </xsl:with-param>
  4569.                                             </xsl:call-template>    
  4570.                                           </xsl:with-param>
  4571.                                         </xsl:call-template>
  4572.                                     </xsl:if>
  4573.                                 </xsl:variable>
  4574.  
  4575.                                 <xsl:variable name="noVolumesSufDot">
  4576.                                     <xsl:if test="string-length(b:NumberVolumes) > 0">
  4577.                                         <xsl:call-template name="appendField_Dot">
  4578.                                             <xsl:with-param name="field">
  4579.                                                 <xsl:call-template name="StringFormat">
  4580.                                                     <xsl:with-param name="format">
  4581.                                                         <xsl:call-template name="templ_str_VolumesAfterShortUnCap"/>
  4582.                                                     </xsl:with-param>
  4583.                                                     <xsl:with-param name="parameters">
  4584.                                                         <t:params>
  4585.                                                             <t:param>
  4586.                                                                 <xsl:value-of select="b:NumberVolumes"/>
  4587.                                                             </t:param>
  4588.                                                         </t:params>
  4589.                                                     </xsl:with-param>
  4590.                                                 </xsl:call-template>
  4591.                                             </xsl:with-param>
  4592.                                         </xsl:call-template>
  4593.                                     </xsl:if>
  4594.                                 </xsl:variable>
  4595.                                 
  4596.  
  4597.                                 <xsl:variable name="sufixTranslatorLFDot">
  4598.                                     <xsl:if test="string-length($translatorLF)>0">
  4599.                                         <xsl:value-of select="$translatorLF"/>
  4600.                                         <xsl:call-template name="templ_prop_ListSeparator"/>
  4601.                                         <xsl:if test="$cTranslators > 1">
  4602.                                             <xsl:call-template name="templ_str_TranslatorsShortUnCap"/>
  4603.                                         </xsl:if>
  4604.                                         <xsl:if test="$cTranslators = 1">
  4605.                                             <xsl:call-template name="templ_str_TranslatorShortUnCap"/>
  4606.                                         </xsl:if>
  4607.                                     </xsl:if>
  4608.                                 </xsl:variable>
  4609.  
  4610.                 <xsl:variable name="str_NumberShortCap">
  4611.                   <xsl:call-template name="templ_str_NumberShortCap"/>
  4612.                 </xsl:variable>
  4613.  
  4614.                 <xsl:variable name="prefixCaseNoDot">
  4615.                                     <xsl:if test="string-length($caseNumber)>0">
  4616.                                     
  4617.                                         <xsl:call-template name="StringFormatDot">
  4618.                                               <xsl:with-param name="format" select="$str_NumberShortCap"/>
  4619.                                             
  4620.                                               <xsl:with-param name="parameters">
  4621.                                                   <t:params>
  4622.                                                       <t:param>
  4623.                                                         <xsl:value-of select="$caseNumber"/>
  4624.                                                     </t:param>
  4625.                                                   </t:params>
  4626.                                               </xsl:with-param>
  4627.                                         </xsl:call-template>
  4628.                                     </xsl:if>
  4629.                                 </xsl:variable>
  4630.  
  4631.                                 <xsl:variable name="existProd">
  4632.                                     <xsl:if test="string-length(normalize-space($producerName))>0">
  4633.                                             <xsl:text>N</xsl:text>
  4634.                                     </xsl:if>
  4635.                                     <xsl:if test="string-length(normalize-space(b:ProductionCompany))">
  4636.                                             <xsl:text>C</xsl:text>
  4637.                                     </xsl:if>
  4638.                                 </xsl:variable>
  4639.  
  4640.                                 <xsl:variable name="prodDot">
  4641.                                     <xsl:if test="string-length($producerName)>0">
  4642.                                         <xsl:call-template name="appendField_Dot">
  4643.                                             <xsl:with-param name="field" select="$producerName"/>
  4644.                                         </xsl:call-template>
  4645.                                     </xsl:if>
  4646.  
  4647.                                     <xsl:if test="string-length($producerName)=0 and string-length($productionCompany)">
  4648.                                         <xsl:call-template name="appendField_Dot">
  4649.                                             <xsl:with-param name="field" select="$productionCompany"/>
  4650.                                         </xsl:call-template>
  4651.                                     </xsl:if>
  4652.                                 </xsl:variable>
  4653.  
  4654.  
  4655.                                 <xsl:variable name="prefixProdDot">
  4656.                                     <xsl:if test="string-length($producerName)>0 or string-length($productionCompany)>0">
  4657.                                         <xsl:if test="$cProducers > 1">
  4658.                                             <xsl:call-template name="templ_str_ProducersShortCap"/>
  4659.                                             <xsl:call-template name="templ_prop_Space"/>
  4660.                                         </xsl:if>
  4661.                                         <xsl:if test="$cProducers = 1">
  4662.                                             <xsl:call-template name="templ_str_ProducerShortCap"/>
  4663.                                             <xsl:call-template name="templ_prop_Space"/>
  4664.                                         </xsl:if>
  4665.  
  4666.                                         <xsl:value-of select="$prodDot"/>
  4667.                                     </xsl:if>
  4668.                                 </xsl:variable>
  4669.  
  4670.                                 <xsl:variable name="producerNameDot">
  4671.                                     <xsl:call-template name="appendField_Dot">
  4672.                                         <xsl:with-param name="field" select="$producerName"/>
  4673.                                     </xsl:call-template>
  4674.                                 </xsl:variable>
  4675.  
  4676.                                 <xsl:variable name="tempProdPr">
  4677.                                     <xsl:if test="string-length($producerName)>0">
  4678.                                         <xsl:call-template name="templ_str_ProducerShortCap"/>
  4679.                                         <xsl:call-template name="templ_prop_Space"/>
  4680.                                         <xsl:value-of select="$producerNameDot"/>
  4681.                                     </xsl:if>
  4682.                                 </xsl:variable>
  4683.  
  4684.  
  4685.  
  4686.  
  4687.                                 <xsl:variable name="authorDot">
  4688.                                     <xsl:call-template name="appendField_Dot">
  4689.                                         <xsl:with-param name="field" select="$author"/>
  4690.                                     </xsl:call-template>
  4691.                                 </xsl:variable>
  4692.  
  4693.                                 <xsl:variable name="sectionAuthorDot">
  4694.                                     <xsl:call-template name="appendField_Dot">
  4695.                                         <xsl:with-param name="field" select="$sectionAuthor"/>
  4696.                                     </xsl:call-template>
  4697.                                 </xsl:variable>
  4698.  
  4699.                                 <xsl:variable name="bookAuthorDot">
  4700.                                     <xsl:call-template name="appendField_Dot">
  4701.                                         <xsl:with-param name="field" select="$bookAuthor"/>
  4702.                                     </xsl:call-template>
  4703.                                 </xsl:variable>
  4704.  
  4705.                                 <xsl:variable name="performerLFDot">
  4706.                                     <xsl:call-template name="appendField_Dot">
  4707.                                         <xsl:with-param name="field" select="$performerLF"/>
  4708.                                     </xsl:call-template>
  4709.                                 </xsl:variable>
  4710.  
  4711.                                 <xsl:variable name="artistDot">
  4712.                                     <xsl:call-template name="appendField_Dot">
  4713.                                         <xsl:with-param name="field" select="$artist"/>
  4714.                                     </xsl:call-template>
  4715.                                 </xsl:variable>
  4716.  
  4717.                                 <xsl:variable name="interviewerDot">
  4718.                                     <xsl:call-template name="appendField_Dot">
  4719.                                         <xsl:with-param name="field" select="$interviewer"/>
  4720.                                     </xsl:call-template>
  4721.                                 </xsl:variable>
  4722.  
  4723.                                 <xsl:variable name="intervieweeLFDot">
  4724.                                     <xsl:call-template name="appendField_Dot">
  4725.                                         <xsl:with-param name="field" select="$intervieweeLF"/>
  4726.                                     </xsl:call-template>
  4727.                                 </xsl:variable>
  4728.  
  4729.                                 <xsl:variable name="conductorLFDot">
  4730.                                     <xsl:call-template name="appendField_Dot">
  4731.                                         <xsl:with-param name="field" select="$conductorLF"/>
  4732.                                     </xsl:call-template>
  4733.                                 </xsl:variable>
  4734.  
  4735.                                 <xsl:variable name="inventorLFDot">
  4736.                                     <xsl:call-template name="appendField_Dot">
  4737.                                         <xsl:with-param name="field" select="$inventorLF"/>
  4738.                                     </xsl:call-template>
  4739.                                 </xsl:variable>
  4740.  
  4741.                                 <xsl:variable name="writerDot">
  4742.                                     <xsl:call-template name="appendField_Dot">
  4743.                                         <xsl:with-param name="field" select="$writer"/>
  4744.                                     </xsl:call-template>
  4745.                                 </xsl:variable>
  4746.  
  4747.                                 <xsl:variable name="composerLFDot">
  4748.                                     <xsl:call-template name="appendField_Dot">
  4749.                                         <xsl:with-param name="field" select="$composerLF"/>
  4750.                                     </xsl:call-template>
  4751.                                 </xsl:variable>
  4752.  
  4753.  
  4754.  
  4755.  
  4756.  
  4757.  
  4758.  
  4759.                                 <xsl:choose>
  4760.                                     <xsl:when test="b:SourceType='Book'">
  4761.                                         <xsl:choose>
  4762.  
  4763.                                         
  4764.                                             <xsl:when test="string-length($editor)>0 and string-length($author)=0">
  4765.                                             
  4766.                                                 <xsl:if test="string-length($sufixEditorLFDot)>0">
  4767.                                                     <xsl:value-of select="$sufixEditorLFDot"/>
  4768.                                                 </xsl:if>
  4769.                                                 
  4770.                                                 <xsl:if test="string-length($titleDot)>0">
  4771.  
  4772.                                                     <xsl:if test="string-length($sufixEditorLFDot)>0">
  4773.                                                         <xsl:call-template name="templ_prop_Space"/>
  4774.                                                     </xsl:if>
  4775.                                                     <u>
  4776.                                                         <xsl:value-of select="b:Title" />
  4777.                                                     </u>
  4778.                                                     <xsl:value-of select="$dotForTitle" />
  4779.                                                 </xsl:if>
  4780.  
  4781.  
  4782.                                                 <xsl:if test="string-length($prefixTranslatorDot)>0">
  4783.  
  4784.                                                     <xsl:if test="string-length($sufixEditorLFDot)>0 or string-length($titleDot)>0">
  4785.                                                         <xsl:call-template name="templ_prop_Space"/>
  4786.                                                     </xsl:if>
  4787.                                                 
  4788.                                                     <xsl:value-of select="$prefixTranslatorDot"/>
  4789.                                                 </xsl:if>
  4790.  
  4791.                                                 <xsl:if test="string-length($editionDot)>0">
  4792.                                                     <xsl:if test="string-length($sufixEditorLFDot)>0 or string-length($titleDot)>0 or string-length($prefixTranslatorDot)>0">
  4793.                                                         <xsl:call-template name="templ_prop_Space"/>
  4794.                                                     </xsl:if>
  4795.  
  4796.                                                     <xsl:value-of select="$editionDot"/>
  4797.                                                 </xsl:if>
  4798.  
  4799.                                                 <xsl:if test="string-length($prefixVolumeDot)>0 or string-length($noVolumesSufDot)>0">
  4800.                                                     <xsl:if test="string-length($sufixEditorLFDot)>0 or string-length($titleDot)>0 or string-length($prefixTranslatorDot)>0 or string-length($editionDot)>0">
  4801.                                                         <xsl:call-template name="templ_prop_Space"/>
  4802.                                                     </xsl:if>
  4803.  
  4804.                                                     <xsl:if test = "string-length($prefixVolumeDot)>0">
  4805.                                                         <xsl:value-of select="$prefixVolumeDot"/>
  4806.                                                     </xsl:if>
  4807.                                                     <xsl:if test = "string-length($prefixVolumeDot)=0">
  4808.                                                         <xsl:value-of select="$noVolumesSufDot"/>
  4809.                                                     </xsl:if>
  4810.                                                 </xsl:if>
  4811.  
  4812.                                                 <xsl:if test="string-length($tempCPY)>0">
  4813.                                                     <xsl:if test="string-length($sufixEditorLFDot)>0 or string-length($titleDot)>0 or string-length($prefixTranslatorDot)>0 or string-length($editionDot)>0 or string-length($prefixVolumeDot)>0 or string-length($noVolumesSufDot)>0">
  4814.                                                         <xsl:call-template name="templ_prop_Space"/>
  4815.                                                     </xsl:if>
  4816.  
  4817.                                                     <xsl:value-of select="$tempCPY"/>
  4818.                                                 </xsl:if>
  4819.  
  4820.                                                 <xsl:if test="string-length($prefixVolumeDot)>0 and string-length($noVolumesSufDot)>0">
  4821.                                                     <xsl:if test="string-length($sufixEditorLFDot)>0 or string-length($titleDot)>0 or string-length($prefixTranslatorDot)>0 or string-length($editionDot)>0 or string-length($prefixVolumeDot)>0 or string-length($noVolumesSufDot)>0 or string-length($tempCPY)>0">
  4822.                                                         <xsl:call-template name="templ_prop_Space"/>
  4823.                                                     </xsl:if>
  4824.  
  4825.                                                     <xsl:value-of select="$noVolumesSufDot"/>
  4826.                                                 </xsl:if>
  4827.                                             </xsl:when>
  4828.  
  4829.  
  4830.  
  4831.                                         
  4832.                                             <xsl:when test="string-length($translator)>0 and string-length($author)=0">
  4833.                                             
  4834.                                                 <xsl:if test="string-length($sufixTranslatorLFDot)>0">
  4835.                                                     <xsl:value-of select="$sufixTranslatorLFDot"/>
  4836.                                                 </xsl:if>
  4837.                                                 
  4838.                                                 <xsl:if test="string-length($titleDot)>0">
  4839.                                                     <xsl:if test="string-length($sufixTranslatorLFDot)>0">
  4840.                                                         <xsl:call-template name="templ_prop_Space"/>
  4841.                                                     </xsl:if>
  4842.  
  4843.                                                     <u>
  4844.                                                         <xsl:value-of select="b:Title" />
  4845.                                                     </u>
  4846.                                                     <xsl:value-of select="$dotForTitle" />
  4847.                                                 </xsl:if>
  4848.  
  4849.                                                 <xsl:if test="string-length($editionDot)>0">
  4850.                                                     <xsl:if test="string-length($sufixTranslatorLFDot)>0 or string-length($titleDot)>0">
  4851.                                                         <xsl:call-template name="templ_prop_Space"/>
  4852.                                                     </xsl:if>
  4853.  
  4854.                                                     <xsl:value-of select="$editionDot"/>
  4855.                                                 </xsl:if>
  4856.  
  4857.                                                 <xsl:if test="string-length($prefixVolumeDot)>0 or string-length($noVolumesSufDot)>0">
  4858.                                                     <xsl:if test="string-length($sufixTranslatorLFDot)>0 or string-length($titleDot)>0 or string-length($editionDot)>0">
  4859.                                                         <xsl:call-template name="templ_prop_Space"/>
  4860.                                                     </xsl:if>
  4861.  
  4862.                                                     <xsl:if test = "string-length($prefixVolumeDot)>0">
  4863.                                                         <xsl:value-of select="$prefixVolumeDot"/>
  4864.                                                     </xsl:if>
  4865.                                                     <xsl:if test = "string-length($prefixVolumeDot)=0">
  4866.                                                         <xsl:value-of select="$noVolumesSufDot"/>
  4867.                                                     </xsl:if>
  4868.                                                 </xsl:if>
  4869.                                                 
  4870.                                                 <xsl:if test="string-length($tempCPY)>0">
  4871.                                                     <xsl:if test="string-length($sufixTranslatorLFDot)>0 or string-length($titleDot)>0 or string-length($editionDot)>0 or string-length($prefixVolumeDot)>0 or string-length($noVolumesSufDot)>0">
  4872.                                                         <xsl:call-template name="templ_prop_Space"/>
  4873.                                                     </xsl:if>
  4874.                                                     
  4875.                                                     <xsl:value-of select="$tempCPY"/>
  4876.                                                 </xsl:if>
  4877.  
  4878.                                                 <xsl:if test="string-length($prefixVolumeDot)>0 and string-length($noVolumesSufDot)>0">
  4879.                                                     <xsl:if test="string-length($sufixTranslatorLFDot)>0 or string-length($titleDot)>0 or string-length($editionDot)>0 or string-length($prefixVolumeDot)>0 or string-length($noVolumesSufDot)>0 or string-length($tempCPY)>0">
  4880.                                                         <xsl:call-template name="templ_prop_Space"/>
  4881.                                                     </xsl:if>
  4882.  
  4883.                                                     <xsl:value-of select="$noVolumesSufDot"/>
  4884.                                                 </xsl:if>
  4885.  
  4886.                                             </xsl:when>
  4887.                                         
  4888.                                             <xsl:otherwise>
  4889.                                             
  4890.                                             
  4891.                                                 <xsl:if test="string-length($authorDot)>0">
  4892.                                                     <xsl:value-of select="$authorDot"/>
  4893.                                                 </xsl:if>
  4894.  
  4895.                                                 <xsl:if test="string-length($titleDot)>0">
  4896.                                                     <xsl:if test="string-length($authorDot)>0">
  4897.                                                         <xsl:call-template name="templ_prop_Space"/>
  4898.                                                     </xsl:if>
  4899.  
  4900.                                                     <u>
  4901.                                                         <xsl:value-of select="b:Title" />
  4902.                                                     </u>
  4903.                                                     <xsl:value-of select="$dotForTitle" />
  4904.                                                 </xsl:if>
  4905.  
  4906.                                                 <xsl:if test="string-length($prefixEditorDot)>0">
  4907.                                                     <xsl:if test="string-length($authorDot)>0 or string-length($titleDot)>0">
  4908.                                                         <xsl:call-template name="templ_prop_Space"/>
  4909.                                                     </xsl:if>
  4910.                                                     <xsl:value-of select="$prefixEditorDot"/>
  4911.                                                 </xsl:if>
  4912.  
  4913.                                                 <xsl:if test="string-length($prefixTranslatorDot)>0">
  4914.                                                     <xsl:if test="string-length($authorDot)>0 or string-length($titleDot)>0 or string-length($prefixEditorDot)>0">
  4915.                                                         <xsl:call-template name="templ_prop_Space"/>
  4916.                                                     </xsl:if>
  4917.  
  4918.                                                     <xsl:value-of select="$prefixTranslatorDot"/>
  4919.                                                 </xsl:if>
  4920.  
  4921.                                                 <xsl:if test="string-length($editionDot)>0">
  4922.                                                     <xsl:if test="string-length($authorDot)>0 or string-length($titleDot)>0 or string-length($prefixEditorDot)>0 or string-length($prefixTranslatorDot)>0">
  4923.                                                         <xsl:call-template name="templ_prop_Space"/>
  4924.                                                     </xsl:if>
  4925.  
  4926.                                                     <xsl:value-of select="$editionDot"/>
  4927.                                                 </xsl:if>
  4928.  
  4929.                                                 <xsl:if test="string-length($prefixVolumeDot)>0 or string-length($noVolumesSufDot)>0">
  4930.                                                     <xsl:if test="string-length($authorDot)>0 or string-length($titleDot)>0 or string-length($prefixEditorDot)>0 or string-length($prefixTranslatorDot)>0 or string-length($editionDot)>0">
  4931.                                                         <xsl:call-template name="templ_prop_Space"/>
  4932.                                                     </xsl:if>
  4933.  
  4934.                                                     <xsl:if test = "string-length($prefixVolumeDot)>0">
  4935.                                                         <xsl:value-of select="$prefixVolumeDot"/>
  4936.                                                     </xsl:if>
  4937.                                                     <xsl:if test = "string-length($prefixVolumeDot)=0">
  4938.                                                         <xsl:value-of select="$noVolumesSufDot"/>
  4939.                                                     </xsl:if>
  4940.                                                 </xsl:if>
  4941.  
  4942.                                                 <xsl:if test="string-length($tempCPY)>0">
  4943.                                                     <xsl:if test="string-length($authorDot)>0 or string-length($titleDot)>0 or string-length($prefixEditorDot)>0 or string-length($prefixTranslatorDot)>0 or string-length($editionDot)>0 or string-length($prefixVolumeDot)>0 or string-length($noVolumesSufDot)>0">
  4944.                                                         <xsl:call-template name="templ_prop_Space"/>
  4945.                                                     </xsl:if>
  4946.  
  4947.                                                     <xsl:value-of select="$tempCPY"/>
  4948.                                                 </xsl:if>
  4949.  
  4950.                                                 <xsl:if test="string-length($prefixVolumeDot)>0 and string-length($noVolumesSufDot)>0">
  4951.                                                     <xsl:if test="string-length($authorDot)>0 or string-length($titleDot)>0 or string-length($prefixEditorDot)>0 or string-length($prefixTranslatorDot)>0 or string-length($editionDot)>0 or string-length($prefixVolumeDot)>0 or string-length($noVolumesSufDot)>0 or string-length($tempCPY)>0">
  4952.                                                         <xsl:call-template name="templ_prop_Space"/>
  4953.                                                     </xsl:if>
  4954.  
  4955.                                                     <xsl:value-of select="$noVolumesSufDot"/>
  4956.                                                 </xsl:if>
  4957.  
  4958.                                             </xsl:otherwise>
  4959.  
  4960.  
  4961.                                         </xsl:choose>
  4962.                                     </xsl:when>
  4963.                                     
  4964.                                     
  4965.                                     
  4966.                                     <xsl:when test="b:SourceType='BookSection'">
  4967.  
  4968.  
  4969.                                                 <xsl:if test="string-length($sectionAuthorDot)>0">
  4970.                                                     <xsl:value-of select="$sectionAuthorDot"/>
  4971.                                                 </xsl:if>
  4972.  
  4973.  
  4974.                                                 
  4975.                                                 <xsl:if test="string-length($titleDot)>0">
  4976.  
  4977.                                                     <xsl:if test="string-length($sectionAuthorDot)>0">
  4978.                                                         <xsl:call-template name="templ_prop_Space"/>
  4979.                                                     </xsl:if>
  4980.  
  4981.                                                     <xsl:call-template name="templ_prop_OpenQuote"/>
  4982.                                                     
  4983.                                                     <xsl:value-of select="$titleDot"/>
  4984.                                                     
  4985.                                                     <xsl:call-template name="templ_prop_CloseQuote"/>
  4986.                                                 </xsl:if>
  4987.  
  4988.  
  4989.                                                 <xsl:if test="string-length($bookAuthorDot)>0">
  4990.                                                     <xsl:if test="string-length($sectionAuthorDot)>0 or string-length($titleDot)>0">
  4991.                                                         <xsl:call-template name="templ_prop_Space"/>
  4992.                                                     </xsl:if>
  4993.  
  4994.                                                     <xsl:value-of select="$bookAuthorDot"/>
  4995.                                                 </xsl:if>
  4996.  
  4997.                                                 <xsl:if test="string-length($bookTitleDot)>0">
  4998.                                                     <xsl:if test="string-length($sectionAuthorDot)>0 or string-length($titleDot)>0 or string-length($bookAuthorDot)>0">
  4999.                                                         <xsl:call-template name="templ_prop_Space"/>
  5000.                                                     </xsl:if>
  5001.  
  5002.                                                     <u>
  5003.                                                         <xsl:value-of select="b:BookTitle"/>
  5004.                                                     </u>
  5005.                                                     <xsl:value-of select="$dotForBookTitle"/>
  5006.                                                 </xsl:if>
  5007.  
  5008.                                                 <xsl:if test="string-length($prefixEditorDot)>0">
  5009.                                                     <xsl:if test="string-length($sectionAuthorDot)>0 or string-length($titleDot)>0 or string-length($bookAuthorDot)>0 or string-length($bookTitleDot)>0">
  5010.                                                         <xsl:call-template name="templ_prop_Space"/>
  5011.                                                     </xsl:if>
  5012.  
  5013.                                                     <xsl:value-of select="$prefixEditorDot"/>
  5014.                                                 </xsl:if>
  5015.  
  5016.                                                 <xsl:if test="string-length($prefixTranslatorDot)>0">
  5017.                                                     <xsl:if test="string-length($sectionAuthorDot)>0 or string-length($titleDot)>0 or string-length($bookAuthorDot)>0 or string-length($bookTitleDot)>0 or string-length($prefixEditorDot)>0">
  5018.                                                         <xsl:call-template name="templ_prop_Space"/>
  5019.                                                     </xsl:if>
  5020.  
  5021.                                                     <xsl:value-of select="$prefixTranslatorDot"/>
  5022.                                                 </xsl:if>
  5023.  
  5024.                                                 <xsl:if test="string-length($editionDot)>0">
  5025.                                                     <xsl:if test="string-length($sectionAuthorDot)>0 or string-length($titleDot)>0 or string-length($bookAuthorDot)>0 or string-length($bookTitleDot)>0 or string-length($prefixEditorDot)>0 or string-length($prefixTranslatorDot)>0">
  5026.                                                         <xsl:call-template name="templ_prop_Space"/>
  5027.                                                     </xsl:if>
  5028.  
  5029.                                                     <xsl:value-of select="$editionDot"/>
  5030.                                                 </xsl:if>
  5031.  
  5032.                                                 <xsl:if test="string-length($prefixVolumeDot)>0 or string-length($noVolumesSufDot)>0">
  5033.                                                     <xsl:if test="string-length($sectionAuthorDot)>0 or string-length($titleDot)>0 or string-length($bookAuthorDot)>0 or string-length($bookTitleDot)>0 or string-length($prefixEditorDot)>0 or string-length($prefixTranslatorDot)>0 or string-length($editionDot)>0">
  5034.                                                         <xsl:call-template name="templ_prop_Space"/>
  5035.                                                     </xsl:if>
  5036.  
  5037.                                                     <xsl:if test = "string-length($prefixVolumeDot)>0">
  5038.                                                         <xsl:value-of select="$prefixVolumeDot"/>
  5039.                                                     </xsl:if>
  5040.                                                     <xsl:if test = "string-length($prefixVolumeDot)=0">
  5041.                                                         <xsl:value-of select="$noVolumesSufDot"/>
  5042.                                                     </xsl:if>
  5043.                                                 </xsl:if>
  5044.  
  5045.                                                 <xsl:if test="string-length($tempCPY)>0">
  5046.                                                     <xsl:if test="string-length($sectionAuthorDot)>0 or string-length($titleDot)>0 or string-length($bookAuthorDot)>0 or string-length($bookTitleDot)>0 or string-length($prefixEditorDot)>0 or string-length($prefixTranslatorDot)>0 or string-length($editionDot)>0 or string-length($prefixVolumeDot)>0 or string-length($noVolumesSufDot)>0">
  5047.                                                         <xsl:call-template name="templ_prop_Space"/>
  5048.                                                     </xsl:if>
  5049.  
  5050.                                                     <xsl:value-of select="$tempCPY"/>
  5051.                                                 </xsl:if>
  5052.  
  5053.                                                 <xsl:if test="string-length($prefixVolumeDot)>0 and string-length($noVolumesSufDot)>0">
  5054.                                                     <xsl:if test="string-length($sectionAuthorDot)>0 or string-length($titleDot)>0 or string-length($bookAuthorDot)>0 or string-length($bookTitleDot)>0 or string-length($prefixEditorDot)>0 or string-length($prefixTranslatorDot)>0 or string-length($editionDot)>0 or string-length($prefixVolumeDot)>0 or string-length($noVolumesSufDot)>0 or string-length($tempCPY)>0">
  5055.                                                         <xsl:call-template name="templ_prop_Space"/>
  5056.                                                     </xsl:if>
  5057.  
  5058.                                                     <xsl:value-of select="$noVolumesSufDot"/>
  5059.                                                 </xsl:if>
  5060.  
  5061.                                                 <xsl:if test="string-length($pagesDot)>0">
  5062.                                                     <xsl:if test="string-length($sectionAuthorDot)>0 or string-length($titleDot)>0 or string-length($bookAuthorDot)>0 or string-length($bookTitleDot)>0 or string-length($prefixEditorDot)>0 or string-length($prefixTranslatorDot)>0 or string-length($editionDot)>0 or string-length($prefixVolumeDot)>0 or string-length($noVolumesSufDot)>0 or string-length($tempCPY)>0">
  5063.                                                         <xsl:call-template name="templ_prop_Space"/>
  5064.                                                     </xsl:if>
  5065.  
  5066.                                                     <xsl:value-of select="$pagesDot"/>
  5067.                                                 </xsl:if>
  5068.  
  5069.                                     </xsl:when>
  5070.                                     
  5071.  
  5072.                                     <xsl:when test="b:SourceType='JournalArticle'">
  5073.  
  5074.                                                 <xsl:if test="string-length($authorDot)>0">
  5075.                                                     <xsl:value-of select="$authorDot"/>
  5076.                                                 </xsl:if>
  5077.  
  5078.                                                 <xsl:if test="string-length($titleDot)>0">
  5079.                                                     <xsl:if test="string-length($authorDot)>0">
  5080.                                                         <xsl:call-template name="templ_prop_Space"/>
  5081.                                                     </xsl:if>
  5082.  
  5083.                                                     <xsl:call-template name="templ_prop_OpenQuote"/>
  5084.                                                     
  5085.                                                     <xsl:value-of select="$titleDot"/>
  5086.                                                     
  5087.                                                     <xsl:call-template name="templ_prop_CloseQuote"/>
  5088.                                                 </xsl:if>
  5089.  
  5090.                                                 <xsl:if test="string-length($journalName)>0">
  5091.                                                     <xsl:if test="string-length($authorDot)>0 or string-length($titleDot)>0">
  5092.                                                         <xsl:call-template name="templ_prop_Space"/>
  5093.                                                     </xsl:if>
  5094.  
  5095.                                                     <u>
  5096.                                                     <xsl:value-of select="$journalName"/>
  5097.                                                     </u>
  5098.                                                 </xsl:if>
  5099.                                             
  5100.                                                 <xsl:if test="string-length($tempVIYP)>0">
  5101.                                                     <xsl:if test="string-length($authorDot)>0 or string-length($titleDot)>0 or string-length($journalName)>0">
  5102.                                                         <xsl:call-template name="templ_prop_Space"/>
  5103.                                                     </xsl:if>
  5104.  
  5105.                                                     <xsl:value-of select="$tempVIYP"/>
  5106.                                                 </xsl:if>
  5107.                                                 
  5108.                                     </xsl:when>
  5109.  
  5110.  
  5111.  
  5112.  
  5113.                                     <xsl:when test="b:SourceType='ConferenceProceedings'">
  5114.  
  5115.                                         <xsl:choose>
  5116.                                         
  5117.                                             <xsl:when test="string-length($editor)>0 and string-length($author)=0">
  5118.                                             
  5119.                                                 <xsl:if test="string-length($sufixEditorLFDot)>0">
  5120.                                                     <xsl:value-of select="$sufixEditorLFDot"/>
  5121.                                                 </xsl:if>
  5122.  
  5123.                                                 <xsl:if test="string-length($titleDot)>0">
  5124.                                                     <xsl:if test="string-length($sufixEditorLFDot)>0">
  5125.                                                         <xsl:call-template name="templ_prop_Space"/>
  5126.                                                     </xsl:if>
  5127.                                                     
  5128.                                                     <xsl:call-template name="templ_prop_OpenQuote"/>
  5129.                                                     
  5130.                                                     <xsl:value-of select="$titleDot"/>
  5131.                                                     
  5132.                                                     <xsl:call-template name="templ_prop_CloseQuote"/>
  5133.                                                 </xsl:if>
  5134.  
  5135.                                                 <xsl:if test="string-length($conferenceNameDot)>0">
  5136.                                                     <xsl:if test="string-length($sufixEditorLFDot)>0 or string-length($titleDot)>0">
  5137.                                                         <xsl:call-template name="templ_prop_Space"/>
  5138.                                                     </xsl:if>
  5139.                                                     
  5140.                                                     <u>
  5141.                                                         <xsl:value-of select="b:ConferenceName"/>
  5142.                                                     </u>
  5143.                                                     <xsl:value-of select="$dotForConferenceName"/>
  5144.                                                 </xsl:if>
  5145.  
  5146.                                                 <xsl:if test="string-length($tempCPY)>0">
  5147.                                                     <xsl:if test="string-length($sufixEditorLFDot)>0 or string-length($titleDot)>0 or string-length($conferenceNameDot)>0">
  5148.                                                         <xsl:call-template name="templ_prop_Space"/>
  5149.                                                     </xsl:if>
  5150.                                                     
  5151.                                                     <xsl:value-of select="$tempCPY"/>
  5152.                                                 </xsl:if>
  5153.  
  5154.                                                 
  5155.                                                 <xsl:if test="string-length($pagesDot)>0">
  5156.                                                     <xsl:if test="string-length($sufixEditorLFDot)>0 or string-length($titleDot)>0 or string-length($conferenceNameDot)>0 or string-length($tempCPY)>0">
  5157.                                                         <xsl:call-template name="templ_prop_Space"/>
  5158.                                                     </xsl:if>
  5159.  
  5160.                                                     <xsl:value-of select="$pagesDot"/>
  5161.                                                 </xsl:if>
  5162.  
  5163.  
  5164.                                             </xsl:when>
  5165.  
  5166.  
  5167.                                         
  5168.                                             <xsl:otherwise>
  5169.  
  5170.                                                 <xsl:if test="string-length($authorDot)>0">
  5171.                                                     <xsl:value-of select="$authorDot"/>
  5172.                                                 </xsl:if>
  5173.  
  5174.                                                 <xsl:if test="string-length($titleDot)>0">
  5175.                                                     <xsl:if test="string-length($authorDot)>0">
  5176.                                                         <xsl:call-template name="templ_prop_Space"/>
  5177.                                                     </xsl:if>
  5178.  
  5179.                                                     <xsl:call-template name="templ_prop_OpenQuote"/>
  5180.                                                     
  5181.                                                     <xsl:value-of select="$titleDot"/>
  5182.                                                     
  5183.                                                     <xsl:call-template name="templ_prop_CloseQuote"/>
  5184.                                                 </xsl:if>
  5185.  
  5186.                                                 <xsl:if test="string-length($conferenceNameDot)>0">
  5187.                                                     <xsl:if test="string-length($authorDot)>0 or string-length($titleDot)>0">
  5188.                                                         <xsl:call-template name="templ_prop_Space"/>
  5189.                                                     </xsl:if>
  5190.  
  5191.                                                     <u>
  5192.                                                         <xsl:value-of select="b:ConferenceName"/>
  5193.                                                     </u>
  5194.                                                     <xsl:value-of select="$dotForConferenceName"/>
  5195.                                                 </xsl:if>
  5196.  
  5197.                                                 <xsl:if test="string-length($prefixEditorDot)>0">
  5198.                                                     <xsl:if test="string-length($authorDot)>0 or string-length($titleDot)>0 or string-length($conferenceNameDot)>0">
  5199.                                                         <xsl:call-template name="templ_prop_Space"/>
  5200.                                                     </xsl:if>
  5201.  
  5202.                                                     <xsl:value-of select="$prefixEditorDot"/>
  5203.                                                 </xsl:if>
  5204.  
  5205.                                                 <xsl:if test="string-length($tempCPY)>0">
  5206.                                                     <xsl:if test="string-length($authorDot)>0 or string-length($titleDot)>0 or string-length($conferenceNameDot)>0 or string-length($prefixEditorDot)>0">
  5207.                                                         <xsl:call-template name="templ_prop_Space"/>
  5208.                                                     </xsl:if>
  5209.  
  5210.                                                     <xsl:value-of select="$tempCPY"/>
  5211.                                                 </xsl:if>
  5212.                                                 
  5213.                                                 <xsl:if test="string-length($pagesDot)>0">
  5214.                                                     <xsl:if test="string-length($authorDot)>0 or string-length($titleDot)>0 or string-length($conferenceNameDot)>0 or string-length($prefixEditorDot)>0 or string-length($tempCPY)>0">
  5215.                                                         <xsl:call-template name="templ_prop_Space"/>
  5216.                                                     </xsl:if>
  5217.  
  5218.                                                     <xsl:value-of select="$pagesDot"/>
  5219.                                                 </xsl:if>
  5220.  
  5221.                                             </xsl:otherwise>
  5222.  
  5223.                                         </xsl:choose>
  5224.  
  5225.                                     </xsl:when>
  5226.  
  5227.  
  5228.  
  5229.                                     <xsl:when test="b:SourceType='Report'">
  5230.  
  5231.                                         <xsl:choose>
  5232.                                         
  5233.                                             <xsl:when test="string-length($cityDot)>0">
  5234.  
  5235.  
  5236.                                                 <xsl:if test="string-length($authorDot)>0">
  5237.                                                     <xsl:value-of select="$authorDot"/>
  5238.                                                 </xsl:if>
  5239.  
  5240.                                                 <xsl:if test="string-length($titleDot)>0">
  5241.                                                     <xsl:if test="string-length($authorDot)>0">
  5242.                                                         <xsl:call-template name="templ_prop_Space"/>
  5243.                                                     </xsl:if>
  5244.  
  5245.                                                     <u>
  5246.                                                         <xsl:value-of select="b:Title" />
  5247.                                                     </u>
  5248.                                                     <xsl:value-of select="$dotForTitle" />
  5249.                                                 </xsl:if>
  5250.  
  5251.                                                 <xsl:if test="string-length($thesisTypeDot)>0">
  5252.                                                     <xsl:if test="string-length($authorDot)>0 or string-length($titleDot)>0">
  5253.                                                         <xsl:call-template name="templ_prop_Space"/>
  5254.                                                     </xsl:if>
  5255.  
  5256.                                                     <xsl:value-of select="$thesisTypeDot"/>
  5257.                                                 </xsl:if>
  5258.  
  5259.                                                 <xsl:if test="string-length($institutionDot)>0">
  5260.                                                     <xsl:if test="string-length($authorDot)>0 or string-length($titleDot)>0 or string-length($thesisTypeDot)>0">
  5261.                                                         <xsl:call-template name="templ_prop_Space"/>
  5262.                                                     </xsl:if>
  5263.  
  5264.                                                     <xsl:value-of select="$institutionDot"/>
  5265.                                                 </xsl:if>
  5266.  
  5267.                                                 <xsl:if test="string-length($tempCPY)>0">
  5268.                                                     <xsl:if test="string-length($authorDot)>0 or string-length($titleDot)>0 or string-length($thesisTypeDot)>0 or string-length($institutionDot)>0">
  5269.                                                         <xsl:call-template name="templ_prop_Space"/>
  5270.                                                     </xsl:if>
  5271.  
  5272.                                                     <xsl:value-of select="$tempCPY"/>
  5273.                                                 </xsl:if>
  5274.  
  5275.                                             </xsl:when>
  5276.  
  5277.  
  5278.                                         
  5279.                                             <xsl:otherwise>
  5280.                                                 <xsl:if test="string-length($authorDot)>0">
  5281.                                                     <xsl:value-of select="$authorDot"/>
  5282.                                                 </xsl:if>
  5283.  
  5284.                                                 <xsl:if test="string-length($titleDot)>0">
  5285.                                                     <xsl:if test="string-length($authorDot)>0">
  5286.                                                         <xsl:call-template name="templ_prop_Space"/>
  5287.                                                     </xsl:if>
  5288.  
  5289.                                                     <xsl:call-template name="templ_prop_OpenQuote"/>
  5290.                                                     
  5291.                                                     <xsl:value-of select="$titleDot"/>
  5292.                                                     
  5293.                                                     <xsl:call-template name="templ_prop_CloseQuote"/>
  5294.                                                 </xsl:if>
  5295.                                             
  5296.                                                 <xsl:if test="string-length($thesisTypeDot)>0">
  5297.                                                     <xsl:if test="string-length($authorDot)>0 or string-length($titleDot)>0">
  5298.                                                         <xsl:call-template name="templ_prop_Space"/>
  5299.                                                     </xsl:if>
  5300.  
  5301.                                                     <xsl:value-of select="$thesisTypeDot"/>
  5302.                                                 </xsl:if>
  5303.                                                 
  5304.                                                 <xsl:if test="string-length($tempIY)>0">
  5305.                                                     <xsl:if test="string-length($authorDot)>0 or string-length($titleDot)>0 or string-length($thesisTypeDot)>0">
  5306.                                                         <xsl:call-template name="templ_prop_Space"/>
  5307.                                                     </xsl:if>
  5308.  
  5309.                                                     <xsl:value-of select="$tempIY"/>
  5310.                                                 </xsl:if>
  5311.  
  5312.                                             </xsl:otherwise>
  5313.  
  5314.  
  5315.                                         </xsl:choose>
  5316.                                     </xsl:when>
  5317.                                     
  5318.                                     
  5319.  
  5320.                                     <xsl:when test="b:SourceType='SoundRecording'">
  5321.                                         <xsl:choose>
  5322.                                         
  5323.                                             <xsl:when test="string-length($performerLF)>0">
  5324.  
  5325.                                                 <xsl:if test="string-length($performerLFDot)>0">
  5326.                                                     <xsl:value-of select="$performerLFDot"/>
  5327.                                                 </xsl:if>
  5328.  
  5329.                                                 <xsl:if test="string-length($titleDot)>0">
  5330.                                                     <xsl:if test="string-length($performerLFDot)>0">
  5331.                                                         <xsl:call-template name="templ_prop_Space"/>
  5332.                                                     </xsl:if>
  5333.  
  5334.                                                     <xsl:call-template name="templ_prop_OpenQuote"/>
  5335.                                                     <xsl:value-of select="$titleDot"/>
  5336.                                                     <xsl:call-template name="templ_prop_CloseQuote"/>
  5337.                                                 </xsl:if>
  5338.  
  5339.                                                 <xsl:if test="string-length($albumTitleDot)>0">
  5340.                                                     <xsl:if test="string-length($performerLFDot)>0 or string-length($titleDot)>0">
  5341.                                                         <xsl:call-template name="templ_prop_Space"/>
  5342.                                                     </xsl:if>
  5343.  
  5344.                                                     <u>
  5345.                                                         <xsl:value-of select="b:AlbumTitle"/>
  5346.                                                     </u>
  5347.                                                     <xsl:value-of select="$dotForAlbumTitle"/>
  5348.  
  5349.                                                 </xsl:if>
  5350.  
  5351.                                                 <xsl:if test="string-length($prefixConductorDot)>0">
  5352.                                                     <xsl:if test="string-length($performerLFDot)>0 or string-length($titleDot)>0 or string-length($albumTitleDot)>0">
  5353.                                                         <xsl:call-template name="templ_prop_Space"/>
  5354.                                                     </xsl:if>
  5355.  
  5356.                                                     <xsl:value-of select="$prefixConductorDot"/>
  5357.                                                 </xsl:if>
  5358.  
  5359.                                                 <xsl:if test="string-length($prefixComposerDot)>0">
  5360.                                                     <xsl:if test="string-length($performerLFDot)>0 or string-length($titleDot)>0 or string-length($albumTitleDot)>0 or string-length($prefixConductorDot)>0">
  5361.                                                         <xsl:call-template name="templ_prop_Space"/>
  5362.                                                     </xsl:if>
  5363.  
  5364.                           <xsl:variable name="str_ByCap">
  5365.                             <xsl:call-template name="templ_str_ByCap"/>
  5366.                           </xsl:variable>
  5367.  
  5368.                             <xsl:call-template name="StringFormatDot">
  5369.                                                           <xsl:with-param name="format" select="$str_ByCap"/>
  5370.                                                           <xsl:with-param name="parameters">
  5371.                                                               <t:params>
  5372.                                                                   <t:param>
  5373.                                                                     <xsl:value-of select="$composer"/>
  5374.                                                                 </t:param>
  5375.                                                               </t:params>
  5376.                                                           </xsl:with-param>
  5377.                                                     </xsl:call-template>
  5378.                                                 </xsl:if>
  5379.  
  5380.                                                 <xsl:if test="string-length($tempProdPr)>0">
  5381.                                                     <xsl:if test="string-length($performerLFDot)>0 or string-length($titleDot)>0 or string-length($albumTitleDot)>0 or string-length($prefixConductorDot)>0 or string-length($prefixComposerDot)>0">
  5382.                                                         <xsl:call-template name="templ_prop_Space"/>
  5383.                                                     </xsl:if>
  5384.  
  5385.                                                         <xsl:value-of select="$tempProdPr"/>
  5386.                                                 </xsl:if>
  5387.                                                 
  5388.                                                 <xsl:if test="string-length($tempCPcY)>0">
  5389.                                                     <xsl:if test="string-length($performerLFDot)>0 or string-length($titleDot)>0 or string-length($albumTitleDot)>0 or string-length($prefixConductorDot)>0 or string-length($prefixComposerDot)>0 or string-length($tempProdPr)>0">
  5390.                                                         <xsl:call-template name="templ_prop_Space"/>
  5391.                                                     </xsl:if>
  5392.  
  5393.                                                     <xsl:value-of select="$tempCPcY"/>
  5394.                                                 </xsl:if>
  5395.                                                 
  5396.  
  5397.                                             </xsl:when>
  5398.  
  5399.                                         
  5400.                                             <xsl:when test="string-length($conductorLFDot)>0">
  5401.  
  5402.                                                 <xsl:if test="string-length($conductorLFDot)>0">
  5403.                                                     <xsl:value-of select="$conductorLFDot"/>
  5404.                                                 </xsl:if>
  5405.  
  5406.                                             
  5407.                                                 <xsl:if test="string-length($titleDot)>0">
  5408.                                                     <xsl:if test="string-length($conductorLFDot)>0">
  5409.                                                         <xsl:call-template name="templ_prop_Space"/>
  5410.                                                     </xsl:if>
  5411.  
  5412.                                                     <xsl:call-template name="templ_prop_OpenQuote"/>
  5413.                                                     <xsl:value-of select="$titleDot"/>
  5414.                                                     <xsl:call-template name="templ_prop_CloseQuote"/>
  5415.                                                 </xsl:if>
  5416.  
  5417.                                                 <xsl:if test="string-length($albumTitleDot)>0">
  5418.                                                     <xsl:if test="string-length($conductorLFDot)>0 or string-length($titleDot)>0">
  5419.                                                         <xsl:call-template name="templ_prop_Space"/>
  5420.                                                     </xsl:if>
  5421.  
  5422.                                                     <u>
  5423.                                                         <xsl:value-of select="b:AlbumTitle"/>
  5424.                                                     </u>
  5425.                                                     <xsl:value-of select="$dotForAlbumTitle"/>
  5426.                                                 </xsl:if>
  5427.  
  5428.                                                 <xsl:if test="string-length($prefixComposerDot)>0">
  5429.                                                     <xsl:if test="string-length($conductorLFDot)>0 or string-length($titleDot)>0 or string-length($albumTitleDot)>0">
  5430.                                                         <xsl:call-template name="templ_prop_Space"/>
  5431.                                                     </xsl:if>
  5432.  
  5433.                           <xsl:variable name="str_ByCap">
  5434.                             <xsl:call-template name="templ_str_ByCap"/>
  5435.                           </xsl:variable>
  5436.  
  5437.                           <xsl:call-template name="StringFormatDot">
  5438.                                                           <xsl:with-param name="format" select="$str_ByCap"/>
  5439.                                                           <xsl:with-param name="parameters">
  5440.                                                               <t:params>
  5441.                                                                   <t:param>
  5442.                                                                     <xsl:value-of select="$composer"/>
  5443.                                                                 </t:param>
  5444.                                                               </t:params>
  5445.                                                           </xsl:with-param>
  5446.                                                     </xsl:call-template>
  5447.                                                 </xsl:if>
  5448.  
  5449.                                                 <xsl:if test="string-length($tempProdPr)>0">
  5450.                                                     <xsl:if test="string-length($conductorLFDot)>0 or string-length($titleDot)>0 or string-length($albumTitleDot)>0 or string-length($prefixComposerDot)>0">
  5451.                                                         <xsl:call-template name="templ_prop_Space"/>
  5452.                                                     </xsl:if>
  5453.  
  5454.                                                         <xsl:value-of select="$tempProdPr"/>
  5455.                                                 </xsl:if>
  5456.                                                 
  5457.                                                 <xsl:if test="string-length($tempCPcY)>0">
  5458.                                                     <xsl:if test="string-length($conductorLFDot)>0 or string-length($titleDot)>0 or string-length($albumTitleDot)>0 or string-length($prefixComposerDot)>0 or string-length($tempProdPr)>0">
  5459.                                                         <xsl:call-template name="templ_prop_Space"/>
  5460.                                                     </xsl:if>
  5461.  
  5462.                                                     <xsl:value-of select="$tempCPcY"/>
  5463.                                                 </xsl:if>
  5464.  
  5465.                                             </xsl:when>
  5466.  
  5467.                                         
  5468.                                             <xsl:otherwise>
  5469.  
  5470.                         <xsl:if test="string-length($composerLFDot)>0">
  5471.                                                     <xsl:value-of select="$composerLFDot"/>
  5472.                                                 </xsl:if>
  5473.  
  5474.                                             
  5475.                                                 <xsl:if test="string-length($titleDot)>0">
  5476.                                                     <xsl:if test="string-length($composerLFDot)>0">
  5477.                                                         <xsl:call-template name="templ_prop_Space"/>
  5478.                                                     </xsl:if>
  5479.  
  5480.                                                     <xsl:call-template name="templ_prop_OpenQuote"/>
  5481.                                                     <xsl:value-of select="$titleDot"/>
  5482.                                                     <xsl:call-template name="templ_prop_CloseQuote"/>
  5483.                                                 </xsl:if>
  5484.  
  5485.                                                 <xsl:if test="string-length($albumTitleDot)>0">
  5486.                                                     <xsl:if test="string-length($composerLFDot)>0 or string-length($titleDot)>0">
  5487.                                                         <xsl:call-template name="templ_prop_Space"/>
  5488.                                                     </xsl:if>
  5489.  
  5490.                                                     <u>
  5491.                                                         <xsl:value-of select="b:AlbumTitle"/>
  5492.                                                     </u>
  5493.                                                     <xsl:value-of select="$dotForAlbumTitle"/>
  5494.                                                 </xsl:if>
  5495.  
  5496.                                                 <xsl:if test="string-length($tempProdPr)>0">
  5497.                                                     <xsl:if test="string-length($composerLFDot)>0 or string-length($titleDot)>0">
  5498.                                                         <xsl:call-template name="templ_prop_Space"/>
  5499.                                                     </xsl:if>
  5500.  
  5501.                                                         <xsl:value-of select="$tempProdPr"/>
  5502.                                                 </xsl:if>
  5503.                                                 
  5504.                                                 <xsl:if test="string-length($tempCPcY)>0">
  5505.                                                     <xsl:if test="string-length($composerLFDot)>0 or string-length($titleDot)>0 or string-length($albumTitleDot)>0 or string-length($tempProdPr)>0">
  5506.                                                         <xsl:call-template name="templ_prop_Space"/>
  5507.                                                     </xsl:if>
  5508.  
  5509.                                                     <xsl:value-of select="$tempCPcY"/>
  5510.                                                 </xsl:if>
  5511.  
  5512.  
  5513.                                             </xsl:otherwise>
  5514.  
  5515.  
  5516.  
  5517.                                         </xsl:choose>
  5518.                                     </xsl:when>
  5519.  
  5520.  
  5521.                                     <xsl:when test="b:SourceType='Performance'">
  5522.  
  5523.  
  5524.  
  5525.  
  5526.                                                 <xsl:if test="string-length($titleDot)>0">
  5527.                                                     <u>
  5528.                                                         <xsl:value-of select="b:Title" />
  5529.                                                     </u>
  5530.                                                     <xsl:value-of select="$dotForTitle" />
  5531.                                                 </xsl:if>
  5532.  
  5533.  
  5534.                                                 <xsl:if test="string-length($writerDot)>0">
  5535.                                                     <xsl:if test="string-length($titleDot)>0">
  5536.                                                         <xsl:call-template name="templ_prop_Space"/>
  5537.                                                     </xsl:if>
  5538.                           <xsl:variable name="str_ByCap">
  5539.                             <xsl:call-template name="templ_str_ByCap"/>
  5540.                           </xsl:variable>
  5541.  
  5542.                           <xsl:call-template name="StringFormatDot">
  5543.                                                           <xsl:with-param name="format" select="$str_ByCap"/>
  5544.                                                           <xsl:with-param name="parameters">
  5545.                                                               <t:params>
  5546.                                                                   <t:param>
  5547.                                                                     <xsl:value-of select="$writer"/>
  5548.                                                                 </t:param>
  5549.                                                               </t:params>
  5550.                                                           </xsl:with-param>
  5551.                                                     </xsl:call-template>
  5552.                                                 </xsl:if>
  5553.  
  5554.                                                 <xsl:if test="string-length($prefixDirectorDot)>0">
  5555.                                                     <xsl:if test="string-length($titleDot)>0 or string-length($writerDot)>0">
  5556.                                                         <xsl:call-template name="templ_prop_Space"/>
  5557.                                                     </xsl:if>
  5558.  
  5559.                                                     <xsl:value-of select="$prefixDirectorDot"/>
  5560.                                                 </xsl:if>
  5561.  
  5562.                                                 <xsl:if test="string-length($prefixPerformerDot)>0">
  5563.                                                     <xsl:if test="string-length($titleDot)>0 or string-length($writerDot)>0 or string-length($prefixDirectorDot)>0">
  5564.                                                         <xsl:call-template name="templ_prop_Space"/>
  5565.                                                     </xsl:if>
  5566.  
  5567.                                                     <xsl:value-of select="$prefixPerformerDot"/>
  5568.                                                 </xsl:if>
  5569.  
  5570.                                                 <xsl:if test="string-length($tempTC)>0">
  5571.                                                     <xsl:if test="string-length($titleDot)>0 or string-length($writerDot)>0 or string-length($prefixDirectorDot)>0 or string-length($prefixPerformerDot)>0">
  5572.                                                         <xsl:call-template name="templ_prop_Space"/>
  5573.                                                     </xsl:if>
  5574.  
  5575.                                                     <xsl:value-of select="$tempTC"/>
  5576.                                                 </xsl:if>
  5577.  
  5578.  
  5579.                                                 <xsl:if test="string-length($dateDot)>0">
  5580.                                                     <xsl:if test="string-length($titleDot)>0 or string-length($writerDot)>0 or string-length($prefixDirectorDot)>0 or string-length($prefixPerformerDot)>0 or string-length($tempTC)>0">
  5581.                                                         <xsl:call-template name="templ_prop_Space"/>
  5582.                                                     </xsl:if>
  5583.  
  5584.                                                     <xsl:value-of select="$dateDot"/>
  5585.                                                 </xsl:if>
  5586.  
  5587.  
  5588.                                 </xsl:when>
  5589.  
  5590.  
  5591.                                     <xsl:when test="b:SourceType='Art'">
  5592.  
  5593.  
  5594.                                         <xsl:choose>
  5595.                                             
  5596.                                             <xsl:when test="string-length($publicationTitle)>0">
  5597.  
  5598.                                                 <xsl:if test="string-length($artistDot)>0">
  5599.                                                     <xsl:value-of select="normalize-space($artistDot)"/>
  5600.                                                 </xsl:if>
  5601.  
  5602.                                                 <xsl:if test="string-length($titleDot)>0">
  5603.                                                     <xsl:if test="string-length($artistDot)>0">
  5604.                                                         <xsl:call-template name="templ_prop_Space"/>
  5605.                                                     </xsl:if>
  5606.  
  5607.                                                     <u>
  5608.                                                         <xsl:value-of select="b:Title" />
  5609.                                                     </u>
  5610.                                                     <xsl:value-of select="$dotForTitle" />
  5611.                                                 </xsl:if>
  5612.  
  5613.                                                 <xsl:if test="string-length($institutionDot)>0">
  5614.                                                     <xsl:if test="string-length($artistDot)>0 or string-length($titleDot)>0">
  5615.                                                         <xsl:call-template name="templ_prop_Space"/>
  5616.                                                     </xsl:if>
  5617.  
  5618.                                                     <xsl:value-of select="$institutionDot"/>
  5619.                                                 </xsl:if>
  5620.  
  5621.                                                 <xsl:if test="string-length($publicationTitleDot)>0">
  5622.                                                     <xsl:if test="string-length($artistDot)>0 or string-length($titleDot)>0 or string-length($institutionDot)>0">
  5623.                                                         <xsl:call-template name="templ_prop_Space"/>
  5624.                                                     </xsl:if>
  5625.  
  5626.                                                     <u>
  5627.                                                         <xsl:value-of select="b:PublicationTitle"/>
  5628.                                                     </u>
  5629.                                                     <xsl:value-of select="$dotForpublicationTitle"/>
  5630.                                                 </xsl:if>
  5631.  
  5632.                                                 <xsl:if test="string-length($tempCPY)>0">
  5633.                                                     <xsl:if test="string-length($artistDot)>0 or string-length($titleDot)>0 or string-length($institutionDot)>0 or string-length($publicationTitle)>0">
  5634.                                                         <xsl:call-template name="templ_prop_Space"/>
  5635.                                                     </xsl:if>
  5636.  
  5637.                                                     <xsl:value-of select="$tempCPY"/>
  5638.                                                 </xsl:if>
  5639.  
  5640.                                                 <xsl:if test="string-length($pagesDot)>0">
  5641.                                                     <xsl:if test="string-length($artistDot)>0 or string-length($titleDot)>0 or string-length($institutionDot)>0 or string-length($publicationTitle)>0 or string-length($tempCPY)>0">
  5642.                                                         <xsl:call-template name="templ_prop_Space"/>
  5643.                                                     </xsl:if>
  5644.  
  5645.                                                     <xsl:value-of select="$pagesDot"/>
  5646.                                                 </xsl:if>
  5647.                                             
  5648.                                             </xsl:when>
  5649.                                             
  5650.                                             
  5651.                                             <xsl:otherwise>
  5652.                                             
  5653.                                                 <xsl:if test="string-length($artistDot)>0">
  5654.                                                     <xsl:value-of select="normalize-space($artistDot)"/>
  5655.                                                 </xsl:if>
  5656.  
  5657.                                                 
  5658.                                                 <xsl:if test="string-length($titleDot)>0">
  5659.                                                     <xsl:if test="string-length($artistDot)>0">
  5660.                                                         <xsl:call-template name="templ_prop_Space"/>
  5661.                                                     </xsl:if>
  5662.  
  5663.                                                     <u>
  5664.                                                         <xsl:value-of select="b:Title" />
  5665.                                                     </u>
  5666.                                                     <xsl:value-of select="$dotForTitle" />
  5667.                                                 </xsl:if>
  5668.  
  5669.                                                 <xsl:if test="string-length($tempIC)>0">
  5670.                                                     <xsl:if test="string-length($artistDot)>0 or string-length($titleDot)>0">
  5671.                                                         <xsl:call-template name="templ_prop_Space"/>
  5672.                                                     </xsl:if>
  5673.  
  5674.                                                     <xsl:value-of select="$tempIC"/>
  5675.                                                 </xsl:if>
  5676.  
  5677.                                                 <xsl:if test="string-length($pagesDot)>0">
  5678.                                                     <xsl:if test="string-length($artistDot)>0 or string-length($titleDot)>0 or string-length($tempIC)>0">
  5679.                                                         <xsl:call-template name="templ_prop_Space"/>
  5680.                                                     </xsl:if>
  5681.  
  5682.                                                     <xsl:value-of select="$pagesDot"/>
  5683.                                                 </xsl:if>
  5684.  
  5685.                                             </xsl:otherwise>
  5686.                                             
  5687.                                         </xsl:choose>
  5688.  
  5689.  
  5690.  
  5691.                                     </xsl:when>
  5692.  
  5693.                                     <xsl:when test="b:SourceType='DocumentFromInternetSite'">
  5694.  
  5695.  
  5696.     
  5697.                                                 <xsl:if test="string-length($authorDot)>0">
  5698.                                                     <xsl:value-of select="$authorDot"/>
  5699.                                                 </xsl:if>
  5700.  
  5701.                                             
  5702.                                                 <xsl:if test="string-length($titleDot)>0">
  5703.                                                     <xsl:if test="string-length($authorDot)>0">
  5704.                                                         <xsl:call-template name="templ_prop_Space"/>
  5705.                                                     </xsl:if>
  5706.  
  5707.                                                     <xsl:call-template name="templ_prop_OpenQuote"/>
  5708.                                                     <xsl:value-of select="$titleDot"/>
  5709.                                                     <xsl:call-template name="templ_prop_CloseQuote"/>
  5710.                                                 </xsl:if>
  5711.  
  5712.                                                 <xsl:if test="string-length($prefixVersionDot)>0">
  5713.                                                     <xsl:if test="string-length($authorDot)>0 or string-length($titleDot)>0">
  5714.                                                         <xsl:call-template name="templ_prop_Space"/>
  5715.                                                     </xsl:if>
  5716.                                                     <xsl:value-of select="$prefixVersionDot"/>
  5717.                                                 </xsl:if>
  5718.  
  5719.                                                 <xsl:if test="string-length($dateDot)>0">
  5720.                                                     <xsl:if test="string-length($authorDot)>0 or string-length($titleDot)>0 or string-length($versionDot)>0">
  5721.                                                         <xsl:call-template name="templ_prop_Space"/>
  5722.                                                     </xsl:if>
  5723.  
  5724.                                                     <xsl:value-of select="$dateDot"/>
  5725.                                                 </xsl:if>
  5726.  
  5727.                                                 <xsl:if test="string-length($internetSiteTitleDot)>0">
  5728.                                                     <xsl:if test="string-length($authorDot)>0 or string-length($titleDot)>0 or string-length($versionDot)>0 or string-length($dateDot)>0">
  5729.                                                         <xsl:call-template name="templ_prop_Space"/>
  5730.                                                     </xsl:if>
  5731.  
  5732.                                                     <u>
  5733.                                                     <xsl:value-of select="$internetSiteTitleDot"/>
  5734.                                                     </u>
  5735.                                                 </xsl:if>
  5736.  
  5737.  
  5738.                                                 <xsl:if test="string-length($prefixEditorDot)>0">
  5739.                                                     <xsl:if test="string-length($authorDot)>0 or string-length($titleDot)>0 or string-length($versionDot)>0 or string-length($dateDot)>0 or string-length($internetSiteTitleDot)>0">
  5740.                                                         <xsl:call-template name="templ_prop_Space"/>
  5741.                                                     </xsl:if>
  5742.  
  5743.                                                     <xsl:value-of select="$prefixEditorDot"/>
  5744.                                                 </xsl:if>
  5745.  
  5746.                                                 <xsl:if test="string-length($prodDot)>0">
  5747.                                                     <xsl:if test="string-length($authorDot)>0 or string-length($titleDot)>0 or string-length($versionDot)>0 or string-length($dateDot)>0 or string-length($internetSiteTitleDot)>0 or string-length($prefixEditorDot)>0">
  5748.                                                         <xsl:call-template name="templ_prop_Space"/>
  5749.                                                     </xsl:if>
  5750.  
  5751.                                                     <xsl:value-of select="$prodDot"/>
  5752.                                                 </xsl:if>
  5753.  
  5754.                                                 <xsl:if test="string-length($tempDaU)>0">
  5755.                                                     <xsl:if test="string-length($authorDot)>0 or string-length($titleDot)>0 or string-length($versionDot)>0 or string-length($dateDot)>0 or string-length($internetSiteTitleDot)>0 or string-length($prefixEditorDot)>0 or string-length($prodDot)>0">
  5756.                                                         <xsl:call-template name="templ_prop_Space"/>
  5757.                                                     </xsl:if>
  5758.  
  5759.                                                     <xsl:value-of select="$tempDaU"/>
  5760.                                                 </xsl:if>
  5761.  
  5762.                                     </xsl:when>
  5763.  
  5764.  
  5765.                             
  5766.  
  5767.                                     <xsl:when test="b:SourceType='InternetSite'">
  5768.  
  5769.                                                 <xsl:if test="string-length($authorDot)>0">
  5770.                                                     <xsl:value-of select="$authorDot"/>
  5771.                                                 </xsl:if>
  5772.  
  5773.                                             
  5774.                                                 <xsl:if test="string-length($titleDot)>0">
  5775.                                                     <xsl:if test="string-length($authorDot)>0">
  5776.                                                         <xsl:call-template name="templ_prop_Space"/>
  5777.                                                     </xsl:if>
  5778.  
  5779.                                                     <u>
  5780.                                                         <xsl:value-of select="b:Title" />
  5781.                                                     </u>
  5782.                                                     <xsl:value-of select="$dotForTitle" />
  5783.                                                 </xsl:if>
  5784.  
  5785.                                                 <xsl:if test="string-length($prefixEditorDot)>0">
  5786.                                                     <xsl:if test="string-length($authorDot)>0 or string-length($titleDot)>0">
  5787.                                                         <xsl:call-template name="templ_prop_Space"/>
  5788.                                                     </xsl:if>
  5789.  
  5790.                                                     <xsl:value-of select="$prefixEditorDot"/>
  5791.                                                 </xsl:if>
  5792.  
  5793.                                                 <xsl:if test="string-length($prefixVersionDot)>0">
  5794.                                                     <xsl:if test="string-length($authorDot)>0 or string-length($titleDot)>0 or string-length($prefixEditorDot)>0">
  5795.                                                         <xsl:call-template name="templ_prop_Space"/>
  5796.                                                     </xsl:if>
  5797.  
  5798.                                                     <xsl:value-of select="$prefixVersionDot"/>
  5799.                                                 </xsl:if>
  5800.  
  5801.  
  5802.                                                 <xsl:if test="string-length($dateDot)>0">
  5803.                                                     <xsl:if test="string-length($authorDot)>0 or string-length($titleDot)>0 or string-length($prefixEditorDot)>0 or string-length($versionDot)>0">
  5804.                                                         <xsl:call-template name="templ_prop_Space"/>
  5805.                                                     </xsl:if>
  5806.  
  5807.                                                     <xsl:value-of select="$dateDot"/>
  5808.                                                 </xsl:if>
  5809.  
  5810.                                                 <xsl:if test="string-length($prodDot)>0">
  5811.                                                     <xsl:if test="string-length($authorDot)>0 or string-length($titleDot)>0 or string-length($prefixEditorDot)>0 or string-length($versionDot)>0 or string-length($dateDot)>0">
  5812.                                                         <xsl:call-template name="templ_prop_Space"/>
  5813.                                                     </xsl:if>
  5814.  
  5815.                                                     <xsl:value-of select="$prodDot"/>
  5816.                                                 </xsl:if>
  5817.  
  5818.                                                 <xsl:if test="string-length($tempDaU)>0">
  5819.                                                     <xsl:if test="string-length($authorDot)>0 or string-length($titleDot)>0 or string-length($prefixEditorDot)>0 or string-length($versionDot)>0 or string-length($dateDot)>0 or string-length($prodDot)>0">
  5820.                                                         <xsl:call-template name="templ_prop_Space"/>
  5821.                                                     </xsl:if>
  5822.  
  5823.                                                     <xsl:value-of select="$tempDaU"/>
  5824.                                                 </xsl:if>
  5825.  
  5826.                                     </xsl:when>
  5827.  
  5828.  
  5829.  
  5830.  
  5831.                                     <xsl:when test="b:SourceType='Patent'">
  5832.  
  5833.  
  5834.  
  5835.                                                 <xsl:if test="string-length($inventorLFDot)>0">
  5836.                                                     <xsl:value-of select="$inventorLFDot"/>
  5837.                                                 </xsl:if>
  5838.  
  5839.                                             
  5840.                                                 <xsl:if test="string-length($titleDot)>0">
  5841.                                                     <xsl:if test="string-length($inventorLFDot)>0">
  5842.                                                         <xsl:call-template name="templ_prop_Space"/>
  5843.                                                     </xsl:if>
  5844.                                                     
  5845.                                                     <xsl:value-of select="$titleDot"/>
  5846.                                                 </xsl:if>
  5847.  
  5848.                                                 <xsl:if test="string-length($prefixEditorDot)>0">
  5849.                                                     <xsl:if test="string-length($inventorLFDot)>0 or string-length($titleDot)>0">
  5850.                                                         <xsl:call-template name="templ_prop_Space"/>
  5851.                                                     </xsl:if>
  5852.  
  5853.                                                     <xsl:value-of select="$prefixEditorDot"/>
  5854.                                                 </xsl:if>
  5855.  
  5856.                                                 <xsl:if test="string-length($prefixTranslatorDot)>0">
  5857.                                                     <xsl:if test="string-length($inventorLFDot)>0 or string-length($titleDot)>0 or string-length($prefixEditorDot)>0">
  5858.                                                         <xsl:call-template name="templ_prop_Space"/>
  5859.                                                     </xsl:if>
  5860.  
  5861.                                                     <xsl:value-of select="$prefixTranslatorDot"/>
  5862.                                                 </xsl:if>
  5863.  
  5864.                                                 <xsl:if test="string-length($tempCP)>0">
  5865.                                                     <xsl:if test="string-length($inventorLFDot)>0 or string-length($titleDot)>0 or string-length($prefixEditorDot)>0 or string-length($prefixTranslatorDot)>0">
  5866.                                                         <xsl:call-template name="templ_prop_Space"/>
  5867.                                                     </xsl:if>
  5868.  
  5869.                                                     <xsl:value-of select="$tempCP"/>
  5870.                                                 </xsl:if>
  5871.  
  5872.                                                 <xsl:if test="string-length($dateDot)>0">
  5873.                                                     <xsl:if test="string-length($inventorLFDot)>0 or string-length($titleDot)>0 or string-length($prefixEditorDot)>0 or string-length($prefixTranslatorDot)>0 or string-length($tempCP)>0">
  5874.                                                         <xsl:call-template name="templ_prop_Space"/>
  5875.                                                     </xsl:if>
  5876.  
  5877.                                                     <xsl:value-of select="$dateDot"/>
  5878.                                                 </xsl:if>
  5879.  
  5880.                                     </xsl:when>
  5881.  
  5882.  
  5883.  
  5884.                                     <xsl:when test="b:SourceType='Case'">
  5885.  
  5886.  
  5887.                                                 <xsl:if test="string-length($titleDot)>0">
  5888.                                                         <xsl:value-of select="$titleDot"/>
  5889.                                                 </xsl:if>
  5890.  
  5891.                                                 <xsl:if test="string-length($prefixCaseNoDot)>0">
  5892.                                                     <xsl:if test="string-length($titleDot)>0">
  5893.                                                         <xsl:call-template name="templ_prop_Space"/>
  5894.                                                     </xsl:if>
  5895.     
  5896.                                                     <xsl:value-of select="$prefixCaseNoDot"/>
  5897.                                                 </xsl:if>
  5898.  
  5899.  
  5900.                                                 <xsl:if test="string-length($courtDot)>0">
  5901.                                                     <xsl:if test="string-length($titleDot)>0 or string-length($prefixCaseNoDot)>0">
  5902.                                                         <xsl:call-template name="templ_prop_Space"/>
  5903.                                                     </xsl:if>
  5904.  
  5905.                                                     <xsl:value-of select="$courtDot"/>
  5906.                                                 </xsl:if>
  5907.  
  5908.                                                 <xsl:if test="string-length($tempCD)>0">
  5909.                                                     <xsl:if test="string-length($titleDot)>0 or string-length($prefixCaseNoDot)>0 or string-length($courtDot)>0">
  5910.                                                         <xsl:call-template name="templ_prop_Space"/>
  5911.                                                     </xsl:if>
  5912.     
  5913.                                                     <xsl:value-of select="$tempCD"/>
  5914.                                                 </xsl:if>
  5915.  
  5916.                                     </xsl:when>
  5917.  
  5918.  
  5919.  
  5920.                                     <xsl:when test="b:SourceType='Misc'">
  5921.  
  5922.                                                 <xsl:if test="string-length($authorDot)>0">
  5923.                                                     <xsl:value-of select="$authorDot"/>
  5924.                                                 </xsl:if>
  5925.  
  5926.                                                 <xsl:if test="string-length($titleDot)>0">
  5927.                                                     <xsl:if test="string-length($authorDot)>0">
  5928.                                                         <xsl:call-template name="templ_prop_Space"/>
  5929.                                                     </xsl:if>
  5930.  
  5931.                                                     <xsl:call-template name="templ_prop_OpenQuote"/>
  5932.                                                     <xsl:value-of select="$titleDot"/>
  5933.                                                     <xsl:call-template name="templ_prop_CloseQuote"/>
  5934.                                                 </xsl:if>
  5935.  
  5936.                                                 <xsl:if test="string-length($publicationTitleDot)>0">
  5937.                                                     <xsl:if test="string-length($authorDot)>0 or string-length($titleDot)>0">
  5938.                                                         <xsl:call-template name="templ_prop_Space"/>
  5939.                                                     </xsl:if>
  5940.  
  5941.                                                     <u>
  5942.                                                         <xsl:value-of select="b:PublicationTitle"/>
  5943.                                                     </u>
  5944.                                                     <xsl:value-of select="$dotForpublicationTitle"/>
  5945.                                                 </xsl:if>
  5946.  
  5947.                                                 <xsl:if test="string-length($prefixVolumeDot)>0">
  5948.                                                     <xsl:if test="string-length($authorDot)>0 or string-length($titleDot)>0 or string-length($publicationTitleDot)>0">
  5949.                                                         <xsl:call-template name="templ_prop_Space"/>
  5950.                                                     </xsl:if>
  5951.  
  5952.                                                     <xsl:value-of select="$prefixVolumeDot"/>
  5953.                                                 </xsl:if>
  5954.  
  5955.  
  5956.                                                 <xsl:if test="string-length($issueDot)>0">
  5957.                                                     <xsl:if test="string-length($authorDot)>0 or string-length($titleDot)>0 or string-length($publicationTitleDot)>0 or string-length($prefixVolumeDot)>0">
  5958.                                                         <xsl:call-template name="templ_prop_Space"/>
  5959.                                                     </xsl:if>
  5960.  
  5961.                                                     <xsl:value-of select="$issueDot"/>
  5962.                                                 </xsl:if>
  5963.  
  5964.                                                 <xsl:if test="string-length($prefixEditorDot)>0">
  5965.                                                     <xsl:if test="string-length($authorDot)>0 or string-length($titleDot)>0 or string-length($publicationTitleDot)>0 or string-length($prefixVolumeDot)>0 or string-length($issueDot)>0">
  5966.                                                         <xsl:call-template name="templ_prop_Space"/>
  5967.                                                     </xsl:if>
  5968.  
  5969.                                                     <xsl:value-of select="$prefixEditorDot"/>
  5970.                                                 </xsl:if>
  5971.  
  5972.  
  5973.                                                 <xsl:if test="string-length($prefixTranslatorDot)>0">
  5974.                                                     <xsl:if test="string-length($authorDot)>0 or string-length($titleDot)>0 or string-length($publicationTitleDot)>0 or string-length($prefixVolumeDot)>0 or string-length($issueDot)>0 or string-length($prefixEditorDot)>0">
  5975.                                                         <xsl:call-template name="templ_prop_Space"/>
  5976.                                                     </xsl:if>
  5977.  
  5978.                                                     <xsl:value-of select="$prefixTranslatorDot"/>
  5979.                                                 </xsl:if>
  5980.  
  5981.                                                 <xsl:if test="string-length($prefixCompilerDot)>0">
  5982.                                                     <xsl:if test="string-length($authorDot)>0 or string-length($titleDot)>0 or string-length($publicationTitleDot)>0 or string-length($prefixVolumeDot)>0 or string-length($issueDot)>0 or string-length($prefixEditorDot)>0 or string-length($prefixTranslatorDot)>0">
  5983.                                                         <xsl:call-template name="templ_prop_Space"/>
  5984.                                                     </xsl:if>
  5985.  
  5986.                                                     <xsl:value-of select="$prefixCompilerDot"/>
  5987.                                                 </xsl:if>
  5988.  
  5989.  
  5990.                                                 <xsl:if test="string-length($tempCPD)>0">
  5991.                                                     <xsl:if test="string-length($authorDot)>0 or string-length($titleDot)>0 or string-length($publicationTitleDot)>0 or string-length($prefixVolumeDot)>0 or string-length($issueDot)>0 or string-length($prefixEditorDot)>0 or string-length($prefixTranslatorDot)>0 or string-length($prefixCompilerDot)>0">
  5992.                                                         <xsl:call-template name="templ_prop_Space"/>
  5993.                                                     </xsl:if>
  5994.  
  5995.                                                     <xsl:value-of select="$tempCPD"/>
  5996.                                                 </xsl:if>
  5997.  
  5998.                                                 <xsl:if test="string-length($pagesDot)>0">
  5999.                                                     <xsl:if test="string-length($authorDot)>0 or string-length($titleDot)>0 or string-length($publicationTitleDot)>0 or string-length($prefixVolumeDot)>0 or string-length($issueDot)>0 or string-length($prefixEditorDot)>0 or string-length($prefixTranslatorDot)>0 or string-length($prefixCompilerDot)>0 or string-length($tempCPD)>0">
  6000.                                                         <xsl:call-template name="templ_prop_Space"/>
  6001.                                                     </xsl:if>
  6002.  
  6003.                                                     <xsl:value-of select="$pagesDot"/>
  6004.                                                 </xsl:if>
  6005.  
  6006.  
  6007.                                     </xsl:when>
  6008.  
  6009.  
  6010.  
  6011.  
  6012.                                     <xsl:when test="b:SourceType='ElectronicSource'">
  6013.  
  6014.                                                 <xsl:variable name="lfAuthor">
  6015.                                                     <xsl:if test="string-length($authorDot)>0">
  6016.                                                         <xsl:value-of select="$authorDot"/>
  6017.                                                     </xsl:if>
  6018.  
  6019.  
  6020.                                                     <xsl:if test="string-length($authorDot)=0 and string-length($sufixEditorLFDot)>0">
  6021.                                                         <xsl:value-of select="$sufixEditorLFDot"/>
  6022.                                                     </xsl:if>
  6023.  
  6024.                                                     <xsl:if test="string-length($authorDot)=0 and string-length($sufixEditorLFDot)=0 and string-length($sufixTranslatorLFDot)>0">
  6025.                                                         <xsl:value-of select="$sufixTranslatorLFDot"/>
  6026.                                                     </xsl:if>
  6027.  
  6028.                                                     <xsl:if test="string-length($authorDot)=0 and string-length($sufixEditorLFDot)=0 and string-length($sufixTranslatorLFDot)=0 and string-length($sufixCompilerLFDot)>0">
  6029.                                                         <xsl:value-of select="$sufixCompilerLFDot"/>
  6030.                                                     </xsl:if>
  6031.                                                 </xsl:variable>
  6032.  
  6033.                                                 <xsl:value-of select="$lfAuthor"/>
  6034.                                                 
  6035.                                                 <xsl:if test="string-length($titleDot)>0 and string-length($publicationTitleDot)>0">
  6036.                                                     <xsl:if test="string-length($lfAuthor)>0">
  6037.                                                         <xsl:call-template name="templ_prop_Space"/>
  6038.                                                     </xsl:if>
  6039.             
  6040.                                                     <xsl:call-template name="templ_prop_OpenQuote"/>
  6041.                                                     <xsl:value-of select="$titleDot"/>
  6042.                                                     <xsl:call-template name="templ_prop_CloseQuote"/>
  6043.                                                 </xsl:if>
  6044.  
  6045.                                                 <xsl:if test="string-length($titleDot)>0 and string-length($publicationTitleDot)=0">
  6046.                                                     <xsl:if test="string-length($lfAuthor)>0">
  6047.                                                         <xsl:call-template name="templ_prop_Space"/>
  6048.                                                     </xsl:if>
  6049.             
  6050.                                                     <u>
  6051.                                                         <xsl:value-of select="b:Title" />
  6052.                                                     </u>
  6053.                                                     <xsl:value-of select="$dotForTitle" />
  6054.                                                 </xsl:if>
  6055.  
  6056.                                                 <xsl:if test="string-length($publicationTitleDot)>0">
  6057.                                                     <xsl:if test="string-length($lfAuthor)>0 or string-length($titleDot)>0">
  6058.                                                         <xsl:call-template name="templ_prop_Space"/>
  6059.                                                     </xsl:if>
  6060.  
  6061.                                                     <u>
  6062.                                                         <xsl:value-of select="b:PublicationTitle"/>
  6063.                                                     </u>
  6064.                                                     <xsl:value-of select="$dotForpublicationTitle"/>
  6065.                                                 </xsl:if>
  6066.  
  6067.                                                 <xsl:if test="string-length($editionDot)>0">
  6068.                                                     <xsl:if test="string-length($lfAuthor)>0 or string-length($titleDot)>0 or string-length($publicationTitleDot)>0">
  6069.                                                         <xsl:call-template name="templ_prop_Space"/>
  6070.                                                     </xsl:if>
  6071.  
  6072.                                                     <xsl:value-of select="$editionDot"/>
  6073.                                                 </xsl:if>
  6074.  
  6075.                                                 <xsl:if test="string-length($prefixVolumeDot)>0">
  6076.                                                     <xsl:if test="string-length($lfAuthor)>0 or string-length($titleDot)>0 or string-length($publicationTitleDot)>0 or string-length($editionDot)>0">
  6077.                                                         <xsl:call-template name="templ_prop_Space"/>
  6078.                                                     </xsl:if>
  6079.  
  6080.                                                     <xsl:value-of select="$prefixVolumeDot"/>
  6081.                                                 </xsl:if>
  6082.  
  6083.                                                 <xsl:if test="string-length($mediumDot)>0">
  6084.                                                     <xsl:if test="string-length($lfAuthor)>0 or string-length($titleDot)>0 or string-length($publicationTitleDot)>0 or string-length($editionDot)>0 or string-length($prefixVolumeDot)>0">
  6085.                                                         <xsl:call-template name="templ_prop_Space"/>
  6086.                                                     </xsl:if>
  6087.  
  6088.                                                     <xsl:value-of select="$mediumDot"/>
  6089.                                                 </xsl:if>
  6090.  
  6091.  
  6092.                                                 <xsl:if test="string-length($authorDot)>0 and string-length($prefixEditorDot)>0">
  6093.                                                     <xsl:if test="string-length($lfAuthor)>0 or string-length($titleDot)>0 or string-length($publicationTitleDot)>0 or string-length($editionDot)>0 or string-length($prefixVolumeDot)>0 or string-length($mediumDot)>0">
  6094.                                                         <xsl:call-template name="templ_prop_Space"/>
  6095.                                                     </xsl:if>
  6096.  
  6097.                                                     <xsl:value-of select="$prefixEditorDot"/>
  6098.                                                 </xsl:if>
  6099.  
  6100.                                                 <xsl:if test="string-length($prefixTranslatorDot)>0 and (string-length($authorDot)>0 or (string-length($authorDot)=0 and  string-length($sufixEditorLFDot)>0 ))">
  6101.                                                     <xsl:if test="string-length($lfAuthor)>0 or string-length($titleDot)>0 or string-length($publicationTitleDot)>0 or string-length($editionDot)>0 or string-length($prefixVolumeDot)>0 or string-length($mediumDot)>0">
  6102.                                                         <xsl:call-template name="templ_prop_Space"/>
  6103.                                                     </xsl:if>
  6104.  
  6105.                                                     <xsl:value-of select="$prefixTranslatorDot"/>
  6106.                                                 </xsl:if>
  6107.                                                 
  6108.                                                 <xsl:if test="string-length($prefixCompilerDot)>0 and (string-length($authorDot)>0 or (string-length($authorDot)=0 and  (string-length($sufixEditorLFDot)>0 or string-length($sufixTranslatorLFDot)>0)))">
  6109.                                                     <xsl:if test="string-length($lfAuthor)>0 or string-length($titleDot)>0 or string-length($publicationTitleDot)>0 or string-length($editionDot)>0 or string-length($prefixVolumeDot)>0 or string-length($mediumDot)>0">
  6110.                                                         <xsl:call-template name="templ_prop_Space"/>
  6111.                                                     </xsl:if>
  6112.  
  6113.                                                     <xsl:value-of select="$prefixCompilerDot"/>
  6114.                                                 </xsl:if>
  6115.                                                 
  6116.                                                 <xsl:if test="string-length($prefixProdDot)>0">
  6117.                                                     <xsl:if test="string-length($lfAuthor)>0 or string-length($titleDot)>0 or string-length($publicationTitleDot)>0 or string-length($editionDot)>0 or string-length($prefixVolumeDot)>0 or string-length($mediumDot)>0">
  6118.                                                         <xsl:call-template name="templ_prop_Space"/>
  6119.                                                     </xsl:if>
  6120.  
  6121.                                                     <xsl:value-of select="$prefixProdDot"/>
  6122.                                                 </xsl:if>
  6123.  
  6124.                                                 <xsl:if test="string-length($tempCPD)>0">
  6125.                                                     <xsl:if test="string-length($lfAuthor)>0 or string-length($titleDot)>0 or string-length($publicationTitleDot)>0 or string-length($editionDot)>0 or string-length($prefixVolumeDot)>0 or string-length($mediumDot)>0 or string-length($prefixProdDot)>0">
  6126.                                                         <xsl:call-template name="templ_prop_Space"/>
  6127.                                                     </xsl:if>
  6128.  
  6129.                                                     <xsl:value-of select="$tempCPD"/>
  6130.                                                 </xsl:if>
  6131.  
  6132.  
  6133.  
  6134.                                     </xsl:when>
  6135.  
  6136.  
  6137.                                     <xsl:when test="b:SourceType='ArticleInAPeriodical'">
  6138.  
  6139.  
  6140.                                                 <xsl:if test="string-length($authorDot)>0">
  6141.                                                     <xsl:value-of select="$authorDot"/>
  6142.                                                 </xsl:if>
  6143.  
  6144.                                                 
  6145.                                                 <xsl:if test="string-length($titleDot)>0">
  6146.                                                     <xsl:if test="string-length($authorDot)>0">
  6147.                                                         <xsl:call-template name="templ_prop_Space"/>
  6148.                                                     </xsl:if>
  6149.  
  6150.                                                     <xsl:call-template name="templ_prop_OpenQuote"/>
  6151.                                                     
  6152.                                                     <xsl:value-of select="$titleDot"/>
  6153.                                                     
  6154.                                                     <xsl:call-template name="templ_prop_CloseQuote"/>
  6155.                                                 </xsl:if>
  6156.  
  6157.                                                 <xsl:if test="string-length($periodicalTitle)>0">
  6158.                                                     <xsl:if test="string-length($authorDot)>0 or string-length($titleDot)>0">
  6159.                                                         <xsl:call-template name="templ_prop_Space"/>
  6160.                                                     </xsl:if>
  6161.  
  6162.                                                     <u>
  6163.                                                     <xsl:value-of select="$periodicalTitle"/>
  6164.                                                     </u>
  6165.                                                 </xsl:if>
  6166.  
  6167.                                                 <xsl:if test="string-length($tempDEP)>0">
  6168.                                                     <xsl:if test="string-length($authorDot)>0 or string-length($titleDot)>0 or string-length($periodicalTitle)>0">
  6169.                                                         <xsl:call-template name="templ_prop_Space"/>
  6170.                                                     </xsl:if>
  6171.     
  6172.                                                     <xsl:value-of select="$tempDEP"/>
  6173.                                                 </xsl:if>
  6174.  
  6175.                                     </xsl:when>
  6176.  
  6177.  
  6178.                                     <xsl:when test="b:SourceType='Film'">
  6179.                                     
  6180.                                                 <xsl:if test="string-length($titleDot)>0">
  6181.                                                     <u>
  6182.                                                         <xsl:value-of select="b:Title" />
  6183.                                                     </u>
  6184.                                                     <xsl:value-of select="$dotForTitle" />
  6185.                                                 </xsl:if>
  6186.                                     
  6187.                                                 <xsl:if test="string-length($writerDot)>0">
  6188.                                                     <xsl:if test="string-length($titleDot)>0">
  6189.                                                         <xsl:call-template name="templ_prop_Space"/>
  6190.                                                     </xsl:if>
  6191.                           <xsl:variable name="str_ByCap">
  6192.                             <xsl:call-template name="templ_str_ByCap"/>
  6193.                           </xsl:variable>
  6194.  
  6195.                           <xsl:call-template name="StringFormatDot">
  6196.                                                           <xsl:with-param name="format" select="$str_ByCap"/>
  6197.                                                           <xsl:with-param name="parameters">
  6198.                                                               <t:params>
  6199.                                                                   <t:param>
  6200.                                                                     <xsl:value-of select="$writer"/>
  6201.                                                                 </t:param>
  6202.                                                               </t:params>
  6203.                                                           </xsl:with-param>
  6204.                                                     </xsl:call-template>
  6205.                                                 </xsl:if>
  6206.  
  6207.                                                 <xsl:if test="string-length($prefixDirectorDot)>0">
  6208.                                                     <xsl:if test="string-length($titleDot)>0 or string-length($writerDot)>0">
  6209.                                                         <xsl:call-template name="templ_prop_Space"/>
  6210.                                                     </xsl:if>
  6211.  
  6212.                                                     <xsl:value-of select="$prefixDirectorDot"/>
  6213.                                                 </xsl:if>
  6214.  
  6215.  
  6216.                                                 <xsl:if test="string-length($prefixPerformerDot)>0">
  6217.                                                     <xsl:if test="string-length($titleDot)>0 or string-length($writerDot)>0 or string-length($prefixDirectorDot)>0">
  6218.                                                         <xsl:call-template name="templ_prop_Space"/>
  6219.                                                     </xsl:if>
  6220.  
  6221.                                                     <xsl:value-of select="$prefixPerformerDot"/>
  6222.                                                 </xsl:if>
  6223.  
  6224.  
  6225.                                                 <xsl:if test="string-length($prefixProdDot)>0">
  6226.                                                     <xsl:if test="string-length($titleDot)>0 or string-length($writerDot)>0 or string-length($prefixDirectorDot)>0 or string-length($prefixPerformerDot)>0">
  6227.                                                         <xsl:call-template name="templ_prop_Space"/>
  6228.                                                     </xsl:if>
  6229.  
  6230.                                                     <xsl:value-of select="$prefixProdDot"/>
  6231.                                                 </xsl:if>
  6232.  
  6233.  
  6234.                                                 <xsl:if test="string-length($tempDY)>0">
  6235.                                                     <xsl:if test="string-length($titleDot)>0 or string-length($writerDot)>0 or string-length($prefixDirectorDot)>0 or string-length($prefixProdDot)>0 or string-length($prefixPerformerDot)>0">
  6236.                                                         <xsl:call-template name="templ_prop_Space"/>
  6237.                                                     </xsl:if>
  6238.  
  6239.                                                     <xsl:value-of select="$tempDY"/>
  6240.                                                 </xsl:if>
  6241.                                     
  6242.                                     </xsl:when>
  6243.  
  6244.  
  6245.                                     <xsl:when test="b:SourceType='Interview'">
  6246.  
  6247.                                         <xsl:choose>
  6248.                                         
  6249.                                             <xsl:when test="string-length($broadcaster)>0">
  6250.  
  6251.                                                 <xsl:if test="string-length($intervieweeLFDot)>0">
  6252.                                                     <xsl:value-of select="$intervieweeLFDot"/>
  6253.                                                 </xsl:if>
  6254.  
  6255.                                                 <xsl:choose>
  6256.                                                     <xsl:when test="string-length($interviewTitleDot)=0 and string-length($broadcastTitleDot)=0 and string-length($interviewerDot)=0">
  6257.                                                         <xsl:if test="string-length($intervieweeLFDot)>0">
  6258.                                                             <xsl:call-template name="templ_prop_Space"/>
  6259.                                                         </xsl:if>
  6260.                                                         
  6261.                                                         <xsl:call-template name="templ_str_InterviewCap"/>
  6262.                                                         <xsl:call-template name="templ_prop_Dot"/>
  6263.                                                     </xsl:when>
  6264.                                                     
  6265.                                                     
  6266.                                                     <xsl:when test="string-length($interviewTitleDot)=0 and string-length($broadcastTitleDot)=0 and string-length($interviewerDot)>0">
  6267.                                                         <xsl:if test="string-length($intervieweeLFDot)>0">
  6268.                                                             <xsl:call-template name="templ_prop_Space"/>
  6269.                                                         </xsl:if>
  6270.                             <xsl:variable name="str_InterviewWithCap">
  6271.                               <xsl:call-template name="templ_str_InterviewWithCap"/>
  6272.                             </xsl:variable>
  6273.  
  6274.                             <xsl:call-template name="StringFormatDot">
  6275.                                                               <xsl:with-param name="format" select="$str_InterviewWithCap"/>
  6276.                                                               <xsl:with-param name="parameters">
  6277.                                                                   <t:params>
  6278.                                                                       <t:param>
  6279.                                                                         <xsl:value-of select="$interviewer"/>
  6280.                                                                     </t:param>
  6281.                                                                   </t:params>
  6282.                                                               </xsl:with-param>
  6283.                                                         </xsl:call-template>
  6284.                                                     </xsl:when>
  6285.                                                     
  6286.                                                     <xsl:when test="string-length($interviewTitleDot)=0 and string-length($broadcastTitleDot)>0 and string-length($interviewerDot)=0">
  6287.                                                         <xsl:if test="string-length($intervieweeLFDot)>0">
  6288.                                                             <xsl:call-template name="templ_prop_Space"/>
  6289.                                                         </xsl:if>
  6290.                                                         
  6291.                                                         <xsl:call-template name="templ_str_InterviewCap"/>
  6292.                                                         <xsl:call-template name="templ_prop_Dot"/>
  6293.                                                     </xsl:when>
  6294.  
  6295.                                                     <xsl:when test="string-length($interviewTitleDot)=0 and string-length($broadcastTitleDot)>0 and string-length($interviewerDot)>0">
  6296.                                                         <xsl:if test="string-length($intervieweeLFDot)>0">
  6297.                                                             <xsl:call-template name="templ_prop_Space"/>
  6298.                                                         </xsl:if>
  6299.  
  6300.                             <xsl:variable name="str_InterviewWithCap">
  6301.                               <xsl:call-template name="templ_str_InterviewWithCap"/>
  6302.                             </xsl:variable>
  6303.  
  6304.                             <xsl:call-template name="StringFormatDot">
  6305.                                                               <xsl:with-param name="format" select="$str_InterviewWithCap"/>
  6306.                                                               <xsl:with-param name="parameters">
  6307.                                                                   <t:params>
  6308.                                                                       <t:param>
  6309.                                                                         <xsl:value-of select="$interviewer"/>
  6310.                                                                     </t:param>
  6311.                                                                   </t:params>
  6312.                                                               </xsl:with-param>
  6313.                                                         </xsl:call-template>
  6314.                                                     </xsl:when>
  6315.  
  6316.                                                     <xsl:when test="string-length($interviewTitleDot)>0 and string-length($broadcastTitleDot)=0 and string-length($interviewerDot)=0">
  6317.                                                         <xsl:if test="string-length($intervieweeLFDot)>0">
  6318.                                                             <xsl:call-template name="templ_prop_Space"/>
  6319.                                                         </xsl:if>
  6320.                                                         
  6321.                                                         <u>
  6322.                                                             <xsl:value-of select="$interviewTitle"/>
  6323.                                                         </u>
  6324.                                                         <xsl:value-of select="$dotForInterviewTitle"/>
  6325.  
  6326.                                                     </xsl:when>
  6327.  
  6328.                                                     <xsl:when test="string-length($interviewTitleDot)>0 and string-length($broadcastTitleDot)=0 and string-length($interviewerDot)>0">
  6329.                                                         <xsl:if test="string-length($intervieweeLFDot)>0">
  6330.                                                             <xsl:call-template name="templ_prop_Space"/>
  6331.                                                         </xsl:if>
  6332.  
  6333.                             <xsl:variable name="str_WithUnCap">
  6334.                               <xsl:call-template name="templ_str_WithUnCap"/>
  6335.                             </xsl:variable>
  6336.  
  6337.                             <xsl:call-template name="StringFormatDot">
  6338.                                                               <xsl:with-param name="format" select="$str_WithUnCap"/>
  6339.                                                               <xsl:with-param name="parameters">
  6340.                                                                   <t:params>
  6341.                                                                       <t:param>
  6342.                                                                         <u>
  6343.                                                                             <xsl:value-of select="$interviewTitle"/>
  6344.                                                                         </u>
  6345.                                                                         <xsl:value-of select="$dotForInterviewTitle"/>
  6346.  
  6347.                                                                     </t:param>
  6348.                                                                       <t:param>
  6349.                                                                         <xsl:value-of select="$interviewerDot"/>
  6350.                                                                     </t:param>
  6351.                                                                   </t:params>
  6352.                                                               </xsl:with-param>
  6353.                                                         </xsl:call-template>
  6354.                                                     </xsl:when>
  6355.                                                     
  6356.                                                     <xsl:when test="string-length($interviewTitleDot)>0 and string-length($broadcastTitleDot)>0 and string-length($interviewerDot)=0">
  6357.                                                         <xsl:if test="string-length($intervieweeLFDot)>0">
  6358.                                                             <xsl:call-template name="templ_prop_Space"/>
  6359.                                                         </xsl:if>
  6360.                                                         
  6361.                                                         <xsl:call-template name="templ_prop_OpenQuote"/>
  6362.                                                         <xsl:value-of select="$interviewTitle"/>
  6363.                                                         <xsl:call-template name="templ_prop_CloseQuote"/>
  6364.                                                     </xsl:when>
  6365.                                                     
  6366.                                                     <xsl:when test="string-length($interviewTitleDot)>0 and string-length($broadcastTitleDot)>0 and string-length($interviewerDot)>0">
  6367.                                                         <xsl:if test="string-length($intervieweeLFDot)>0">
  6368.                                                             <xsl:call-template name="templ_prop_Space"/>
  6369.                                                         </xsl:if>
  6370.  
  6371.                             <xsl:variable name="str_WithUnCap">
  6372.                               <xsl:call-template name="templ_str_WithUnCap"/>
  6373.                             </xsl:variable>
  6374.  
  6375.                             <xsl:call-template name="StringFormatDot">
  6376.                                                               <xsl:with-param name="format" select="$str_WithUnCap"/>
  6377.                                                               <xsl:with-param name="parameters">
  6378.                                                                   <t:params>
  6379.                                                                       <t:param>
  6380.                                                                         <xsl:call-template name="templ_prop_OpenQuote"/>
  6381.                                                                         <xsl:value-of select="$interviewTitle"/>
  6382.                                                                         <xsl:call-template name="templ_prop_CloseQuote"/>
  6383.                                                                     </t:param>
  6384.                                                                       <t:param>
  6385.                                                                         <xsl:value-of select="$interviewerDot"/>
  6386.                                                                     </t:param>
  6387.                                                                   </t:params>
  6388.                                                               </xsl:with-param>
  6389.                                                         </xsl:call-template>
  6390.                                                     </xsl:when>
  6391.                                                 </xsl:choose>
  6392.  
  6393.                                                 <xsl:if test="string-length($broadcastTitleDot)>0">
  6394.                                                     <xsl:call-template name="templ_prop_Space"/>
  6395.  
  6396.                                                     <u>
  6397.                                                     <xsl:value-of select="$broadcastTitleDot"/>
  6398.                                                     </u>
  6399.                                                 </xsl:if>
  6400.  
  6401.  
  6402.                                                 <xsl:if test="string-length($broadcasterDot)>0">
  6403.                                                     <xsl:call-template name="templ_prop_Space"/>
  6404.                                                     <xsl:value-of select="$broadcasterDot"/>
  6405.                                                 </xsl:if>
  6406.  
  6407.                                                 <xsl:if test="string-length($tempSC)>0">
  6408.                                                     <xsl:call-template name="templ_prop_Space"/>
  6409.                                                     <xsl:value-of select="$tempSC"/>
  6410.                                                 </xsl:if>
  6411.  
  6412.                                                 <xsl:if test="string-length($dateDot)>0">
  6413.                                                     <xsl:call-template name="templ_prop_Space"/>
  6414.                                                     <xsl:value-of select="$dateDot"/>
  6415.                                                 </xsl:if>
  6416.                                             
  6417.                                             </xsl:when>
  6418.                                             
  6419.                                             
  6420.                                             <xsl:otherwise>
  6421.                                             
  6422.  
  6423.                                                 <xsl:if test="string-length($intervieweeLFDot)>0">
  6424.                                                     <xsl:value-of select="$intervieweeLFDot"/>
  6425.                                                 </xsl:if>
  6426.  
  6427.                                                 <xsl:if test="string-length($interviewTitle)>0">
  6428.  
  6429.                                                     <xsl:if test="string-length($broadcastTitleDot)>0">
  6430.                                                         <xsl:if test="string-length($intervieweeLFDot)>0">
  6431.                                                             <xsl:call-template name="templ_prop_Space"/>
  6432.                                                         </xsl:if>
  6433.  
  6434.                                                         <xsl:call-template name="templ_prop_OpenQuote"/>
  6435.                                                         <xsl:value-of select="$interviewTitleDot"/>
  6436.                                                         <xsl:call-template name="templ_prop_CloseQuote"/>
  6437.                                                     </xsl:if>
  6438.  
  6439.  
  6440.                                                     <xsl:if test="string-length($broadcastTitleDot)=0">
  6441.                                                         <xsl:if test="string-length($intervieweeLFDot)>0 or string-length($broadcastTitleDot)>0">
  6442.                                                             <xsl:call-template name="templ_prop_Space"/>
  6443.                                                         </xsl:if>
  6444.  
  6445.                                                         <u>
  6446.                                                         <xsl:value-of select="$interviewTitle"/>
  6447.                                                         </u>
  6448.                                                     </xsl:if>
  6449.                                                 </xsl:if>
  6450.  
  6451.                                                 <xsl:if test="string-length($interviewTitleDot)=0">
  6452.                                                     <xsl:if test="string-length($intervieweeLFDot)>0">
  6453.                                                         <xsl:call-template name="templ_prop_Space"/>
  6454.                                                     </xsl:if>
  6455.                                                     <xsl:call-template name="templ_str_InterviewCap"/>
  6456.                                                     <xsl:call-template name="templ_prop_Dot"/>
  6457.                                                 </xsl:if>
  6458.  
  6459.  
  6460.  
  6461.  
  6462.                                                 <xsl:if test="string-length($broadcastTitleDot)>0">
  6463.                                                     <xsl:call-template name="templ_prop_Space"/>
  6464.                                                     
  6465.                                                     <u>
  6466.                                                     <xsl:value-of select="$broadcastTitleDot"/>
  6467.                                                     </u>
  6468.                                                 </xsl:if>
  6469.  
  6470.                                                 <xsl:if test="string-length($interviewerDot)>0">
  6471.                                                     <xsl:call-template name="templ_prop_Space"/>
  6472.  
  6473.                                                     <xsl:value-of select="$interviewerDot"/>
  6474.                                                 </xsl:if>
  6475.  
  6476.  
  6477.                                                 <xsl:if test="string-length($prefixEditorDot)>0">
  6478.                                                     <xsl:call-template name="templ_prop_Space"/>
  6479.  
  6480.                                                     <xsl:value-of select="$prefixEditorDot"/>
  6481.                                                 </xsl:if>
  6482.  
  6483.                                                 <xsl:if test="string-length($prefixTranslatorDot)>0">
  6484.                                                     <xsl:call-template name="templ_prop_Space"/>
  6485.  
  6486.                                                     <xsl:value-of select="$prefixTranslatorDot"/>
  6487.                                                 </xsl:if>
  6488.  
  6489.  
  6490.  
  6491.                                                 <xsl:if test="string-length($tempCPD)>0">
  6492.                                                     <xsl:call-template name="templ_prop_Space"/>
  6493.  
  6494.                                                     <xsl:value-of select="$tempCPD"/>
  6495.                                                 </xsl:if>
  6496.  
  6497.                                                 <xsl:if test="string-length($pagesDot)>0">
  6498.                                                     <xsl:call-template name="templ_prop_Space"/>
  6499.  
  6500.                                                     <xsl:value-of select="$pagesDot"/>
  6501.                                                 </xsl:if>
  6502.                                             
  6503.                                             
  6504.                                             </xsl:otherwise>
  6505.                                         </xsl:choose>
  6506.                                         
  6507.  
  6508.                                     </xsl:when>
  6509.  
  6510.  
  6511.                                     
  6512.  
  6513.  
  6514.  
  6515.                                     
  6516.                                 </xsl:choose>
  6517.                             </xsl:element>
  6518.                         </xsl:for-each>
  6519.                     </body>
  6520.                 </html>
  6521.             </xsl:when>
  6522.         </xsl:choose>
  6523.     </xsl:template>
  6524.     
  6525.     
  6526.     <xsl:template name="sortedList">
  6527.         
  6528.         <xsl:param name="sourceRoot"/>    
  6529.         <xsl:apply-templates select="msxsl:node-set($sourceRoot)/*">    
  6530.             <xsl:sort select="b:SortingString" />
  6531.         </xsl:apply-templates>    
  6532.     </xsl:template>
  6533.  
  6534.     
  6535.     <xsl:template match="*">
  6536.     
  6537.         <xsl:element name="{name()}" namespace="{namespace-uri()}">
  6538.             <xsl:for-each select="@*">
  6539.                 <xsl:attribute name="{name()}" namespace="{namespace-uri()}">
  6540.                     <xsl:value-of select="."/>
  6541.                 </xsl:attribute>
  6542.             </xsl:for-each>
  6543.             <xsl:apply-templates>
  6544.                 <xsl:sort select="b:SortingString" />
  6545.             </xsl:apply-templates>
  6546.         </xsl:element>
  6547.     </xsl:template>
  6548.     
  6549.     <xsl:template match="text()">
  6550.         <xsl:value-of select="."/>
  6551.     </xsl:template>
  6552.     
  6553.     <xsl:template name="formatMainAuthor">
  6554.         <xsl:call-template name="formatNameCore">
  6555.             <xsl:with-param name="FML"><xsl:call-template name="templ_prop_MLA_MainAuthor_FML"/></xsl:with-param>
  6556.             <xsl:with-param name="FM"><xsl:call-template name="templ_prop_MLA_MainAuthor_FM"/></xsl:with-param>
  6557.             <xsl:with-param name="ML"><xsl:call-template name="templ_prop_MLA_MainAuthor_ML"/></xsl:with-param>
  6558.             <xsl:with-param name="FL"><xsl:call-template name="templ_prop_MLA_MainAuthor_FL"/></xsl:with-param>
  6559.             <xsl:with-param name="upperLast">no</xsl:with-param>
  6560.             <xsl:with-param name="withDot">no</xsl:with-param>
  6561.         </xsl:call-template>
  6562.     </xsl:template>
  6563.  
  6564.     
  6565.     <xsl:template name="formatSecondaryName">
  6566.         <xsl:call-template name="formatNameCore">
  6567.             <xsl:with-param name="FML"><xsl:call-template name="templ_prop_MLA_SecondaryAuthors_FML"/></xsl:with-param>
  6568.             <xsl:with-param name="FM"><xsl:call-template name="templ_prop_MLA_SecondaryAuthors_FM"/></xsl:with-param>
  6569.             <xsl:with-param name="ML"><xsl:call-template name="templ_prop_MLA_SecondaryAuthors_ML"/></xsl:with-param>
  6570.             <xsl:with-param name="FL"><xsl:call-template name="templ_prop_MLA_SecondaryAuthors_FL"/></xsl:with-param>
  6571.             <xsl:with-param name="upperLast">no</xsl:with-param>
  6572.             <xsl:with-param name="withDot">no</xsl:with-param>
  6573.         </xsl:call-template>
  6574.     </xsl:template>
  6575.  
  6576.  
  6577.     <xsl:template name="formatOtherAuthors">
  6578.         <xsl:call-template name="formatNameCore">
  6579.             <xsl:with-param name="FML"><xsl:call-template name="templ_prop_MLA_OtherAuthors_FML"/></xsl:with-param>
  6580.             <xsl:with-param name="FM"><xsl:call-template name="templ_prop_MLA_OtherAuthors_FM"/></xsl:with-param>
  6581.             <xsl:with-param name="ML"><xsl:call-template name="templ_prop_MLA_OtherAuthors_ML"/></xsl:with-param>
  6582.             <xsl:with-param name="FL"><xsl:call-template name="templ_prop_MLA_OtherAuthors_FL"/></xsl:with-param>
  6583.             <xsl:with-param name="upperLast">no</xsl:with-param>
  6584.             <xsl:with-param name="withDot">no</xsl:with-param>        
  6585.         </xsl:call-template>
  6586.     </xsl:template>
  6587.  
  6588.  
  6589.     <xsl:template name="formatPersonSeperator">
  6590.     
  6591.         <xsl:choose>
  6592.             <xsl:when test="count(../b:Person) > 3 and position() = 1">
  6593.         <xsl:variable name="noCommaBeforeAnd">
  6594.           <xsl:call-template name="templ_prop_NoCommaBeforeAnd" />
  6595.         </xsl:variable>
  6596.         <xsl:choose>
  6597.           <xsl:when test="$noCommaBeforeAnd != 'yes'">
  6598.             <xsl:call-template name="templ_prop_ListSeparator"/>
  6599.           </xsl:when>
  6600.           <xsl:otherwise>
  6601.             <xsl:call-template name="templ_prop_Space"/>
  6602.           </xsl:otherwise>
  6603.         </xsl:choose>
  6604.         <xsl:call-template name="templ_str_AndOthersUnCap"/>
  6605.             </xsl:when>
  6606.             <xsl:when test="count(../b:Person) > 3 and position() >= 2">
  6607.             </xsl:when>
  6608.             <xsl:when test="3 >= count(../b:Person) and position() = count(../b:Person) - 1">
  6609.                 <xsl:variable name="noAndBeforeLastAuthor">
  6610.                     <xsl:call-template name="templ_prop_NoAndBeforeLastAuthor"/>
  6611.                 </xsl:variable>
  6612.  
  6613.                 <xsl:if test="$noAndBeforeLastAuthor != 'yes'">
  6614.                     <xsl:call-template name="templ_prop_Space"/>
  6615.                     <xsl:call-template name="templ_str_AndUnCap"/>
  6616.                     <xsl:call-template name="templ_prop_Space"/>
  6617.                 </xsl:if>
  6618.                 <xsl:if test="$noAndBeforeLastAuthor = 'yes'">
  6619.                     <xsl:call-template name="templ_prop_AuthorsSeparator"/>
  6620.                 </xsl:if>
  6621.             </xsl:when>
  6622.             <xsl:when test="position() = count(../b:Person)">
  6623.                 <xsl:text></xsl:text>
  6624.             </xsl:when>
  6625.             <xsl:when test="3 > position()">
  6626.                 <xsl:call-template name="templ_prop_ListSeparator"/>
  6627.             </xsl:when>
  6628.         </xsl:choose>
  6629.     </xsl:template>
  6630.     
  6631.     <xsl:template name="formatPersonsAuthor">
  6632.         <xsl:if test="string-length(b:Corporate)=0">
  6633.             <xsl:for-each select="b:NameList/b:Person">
  6634.                 <xsl:if test="position() = 1">
  6635.                     <xsl:call-template name="formatMainAuthor"/>
  6636.                 </xsl:if>
  6637.                 <xsl:if test="3 >= count(../b:Person) and 3 >= position() and position() != 1">
  6638.                     <xsl:call-template name="formatOtherAuthors"/>
  6639.                 </xsl:if>
  6640.                 <xsl:call-template name="formatPersonSeperator"/>
  6641.             </xsl:for-each>
  6642.         </xsl:if>
  6643.  
  6644.         <xsl:if test="string-length(b:Corporate)>0">
  6645.             <xsl:value-of select="b:Corporate"/>
  6646.         </xsl:if>
  6647.     </xsl:template>
  6648.     
  6649.     <xsl:template name="formatPersons">
  6650.         <xsl:if test="string-length(b:Corporate)=0">
  6651.             <xsl:for-each select="b:NameList/b:Person">
  6652.                 <xsl:if test="(count(../b:Person) > 3 and 1 = position()) or (3 >= count(../b:Person))">
  6653.                     <xsl:call-template name="formatSecondaryName"/>
  6654.                 </xsl:if>
  6655.                 <xsl:call-template name="formatPersonSeperator"/>
  6656.             </xsl:for-each>
  6657.         </xsl:if>
  6658.  
  6659.         <xsl:if test="string-length(b:Corporate)>0">
  6660.             <xsl:value-of select="b:Corporate"/>
  6661.         </xsl:if>
  6662.     </xsl:template>
  6663.     
  6664.     <xsl:template name="formatAuthor">
  6665.         <xsl:for-each select="b:Author/b:Author">
  6666.             <xsl:call-template name="formatPersonsAuthor"/>
  6667.         </xsl:for-each>
  6668.     </xsl:template>
  6669.  
  6670.     <xsl:template name="formatMain">
  6671.         <xsl:for-each select="b:Author/b:Main">
  6672.             <xsl:call-template name="formatPersonsAuthor"/>
  6673.         </xsl:for-each>
  6674.     </xsl:template>
  6675.  
  6676.  
  6677.     <xsl:template name="formatBookAuthor">
  6678.         <xsl:for-each select="b:Author/b:BookAuthor">
  6679.             <xsl:call-template name="formatPersonsAuthor"/>
  6680.         </xsl:for-each>
  6681.     </xsl:template>
  6682.  
  6683.  
  6684.     
  6685.     <xsl:template name="formatEditorLF">
  6686.         <xsl:for-each select="b:Author/b:Editor">
  6687.             <xsl:call-template name="formatPersonsAuthor"/>
  6688.         </xsl:for-each>
  6689.     </xsl:template>
  6690.  
  6691.     <xsl:template name="formatTranslatorLF">
  6692.         <xsl:for-each select="b:Author/b:Translator">
  6693.             <xsl:call-template name="formatPersonsAuthor"/>
  6694.         </xsl:for-each>
  6695.     </xsl:template>
  6696.  
  6697.  
  6698.     <xsl:template name="formatPerformerLF">
  6699.         <xsl:for-each select="b:Author/b:Performer">
  6700.             <xsl:call-template name="formatPersonsAuthor"/>
  6701.         </xsl:for-each>
  6702.     </xsl:template>
  6703.  
  6704.     <xsl:template name="formatConductorLF">
  6705.         <xsl:for-each select="b:Author/b:Conductor">
  6706.             <xsl:call-template name="formatPersonsAuthor"/>
  6707.         </xsl:for-each>
  6708.     </xsl:template>
  6709.  
  6710.     <xsl:template name="formatComposerLF">
  6711.         <xsl:for-each select="b:Author/b:Composer">
  6712.             <xsl:call-template name="formatPersonsAuthor"/>
  6713.         </xsl:for-each>
  6714.     </xsl:template>
  6715.  
  6716.     <xsl:template name="formatArtistLF">
  6717.         <xsl:for-each select="b:Author/b:Artist">
  6718.             <xsl:call-template name="formatPersonsAuthor"/>
  6719.         </xsl:for-each>
  6720.     </xsl:template>
  6721.  
  6722.  
  6723.     <xsl:template name="formatInventorLF">
  6724.         <xsl:for-each select="b:Author/b:Inventor">
  6725.             <xsl:call-template name="formatPersonsAuthor"/>
  6726.         </xsl:for-each>
  6727.     </xsl:template>
  6728.  
  6729.  
  6730.     <xsl:template name="formatIntervieweeLF">
  6731.         <xsl:for-each select="b:Author/b:Interviewee">
  6732.             <xsl:call-template name="formatPersonsAuthor"/>
  6733.         </xsl:for-each>
  6734.     </xsl:template>
  6735.  
  6736.  
  6737.     <xsl:template name="formatInterviewerLF">
  6738.         <xsl:for-each select="b:Author/b:Interviewer">
  6739.             <xsl:call-template name="formatPersonsAuthor"/>
  6740.         </xsl:for-each>
  6741.     </xsl:template>
  6742.  
  6743.  
  6744.     <xsl:template name="formatCompilerLF">
  6745.         <xsl:for-each select="b:Author/b:Compiler">
  6746.             <xsl:call-template name="formatPersonsAuthor"/>
  6747.         </xsl:for-each>
  6748.     </xsl:template>
  6749.  
  6750.  
  6751.  
  6752.  
  6753.  
  6754.  
  6755.  
  6756.  
  6757.  
  6758.  
  6759.  
  6760.  
  6761.     <xsl:template name="formatEditor">
  6762.         <xsl:for-each select="b:Author/b:Editor">
  6763.             <xsl:call-template name="formatPersons"/>
  6764.         </xsl:for-each>
  6765.     </xsl:template>
  6766.     
  6767.     <xsl:template name="formatTranslator">
  6768.         <xsl:for-each select="b:Author/b:Translator">
  6769.             <xsl:call-template name="formatPersons"/>
  6770.         </xsl:for-each>
  6771.     </xsl:template>
  6772.     
  6773.  
  6774.     <xsl:template name="formatPerformer">
  6775.         <xsl:for-each select="b:Author/b:Performer">
  6776.             <xsl:call-template name="formatPersons"/>
  6777.         </xsl:for-each>
  6778.     </xsl:template>
  6779.     
  6780.     
  6781.  
  6782.     <xsl:template name="formatConductor">
  6783.         <xsl:for-each select="b:Author/b:Conductor">
  6784.             <xsl:call-template name="formatPersons"/>
  6785.         </xsl:for-each>
  6786.     </xsl:template>
  6787.     
  6788.  
  6789.     <xsl:template name="formatComposer">
  6790.         <xsl:for-each select="b:Author/b:Composer">
  6791.             <xsl:call-template name="formatPersons"/>
  6792.         </xsl:for-each>
  6793.     </xsl:template>        
  6794.     
  6795.     <xsl:template name="formatInterviewer">
  6796.         <xsl:for-each select="b:Author/b:Interviewer">
  6797.             <xsl:call-template name="formatPersons"/>
  6798.         </xsl:for-each>
  6799.     </xsl:template>        
  6800.     
  6801.  
  6802.     <xsl:template name="formatWriter">
  6803.         <xsl:for-each select="b:Author/b:Writer">
  6804.             <xsl:call-template name="formatPersons"/>
  6805.         </xsl:for-each>
  6806.     </xsl:template>
  6807.     
  6808.  
  6809.     <xsl:template name="formatDirector">
  6810.         <xsl:for-each select="b:Author/b:Director">
  6811.             <xsl:call-template name="formatPersons"/>
  6812.         </xsl:for-each>
  6813.     </xsl:template>        
  6814.     
  6815.     <xsl:template name="formatProducerName">
  6816.         <xsl:for-each select="b:Author/b:ProducerName">
  6817.             <xsl:call-template name="formatPersons"/>
  6818.         </xsl:for-each>
  6819.     </xsl:template>        
  6820.         
  6821.     <xsl:template name="formatCompiler">
  6822.         <xsl:for-each select="b:Author/b:Compiler">
  6823.             <xsl:call-template name="formatPersons"/>
  6824.         </xsl:for-each>
  6825.     </xsl:template>        
  6826.  
  6827.     
  6828.     <xsl:template name="formatDate">
  6829.         <xsl:param name="appendSpace"/>
  6830.         <xsl:call-template name="formatDateCore">
  6831.             <xsl:with-param name="day">
  6832.                 <xsl:call-template name="handleSpaces">
  6833.                     <xsl:with-param name="field" select="b:Day"/>
  6834.                 </xsl:call-template>
  6835.             </xsl:with-param>
  6836.             <xsl:with-param name="month">
  6837.                 <xsl:call-template name="handleSpaces">
  6838.                     <xsl:with-param name="field" select="b:Month"/>
  6839.                 </xsl:call-template>
  6840.             </xsl:with-param>
  6841.             <xsl:with-param name="year">
  6842.                 <xsl:call-template name="handleSpaces">
  6843.                     <xsl:with-param name="field" select="b:Year"/>
  6844.                 </xsl:call-template>
  6845.             </xsl:with-param>
  6846.             
  6847.             <xsl:with-param name="DMY"><xsl:call-template name="templ_prop_MLA_Date_DMY"/></xsl:with-param>
  6848.             <xsl:with-param name="DM"><xsl:call-template name="templ_prop_MLA_Date_DM"/></xsl:with-param>
  6849.             <xsl:with-param name="MY"><xsl:call-template name="templ_prop_MLA_Date_MY"/></xsl:with-param>
  6850.             <xsl:with-param name="DY"><xsl:call-template name="templ_prop_MLA_Date_DY"/></xsl:with-param>
  6851.  
  6852.             <xsl:with-param name="displayND">yes</xsl:with-param>
  6853.         </xsl:call-template>
  6854.     </xsl:template>
  6855.     
  6856.     <xsl:template name="formatDateAccessed">
  6857.         <xsl:call-template name="formatDateCore">
  6858.             <xsl:with-param name="day">
  6859.                 <xsl:call-template name="handleSpaces">
  6860.                     <xsl:with-param name="field" select="b:DayAccessed"/>
  6861.                 </xsl:call-template>
  6862.             </xsl:with-param>
  6863.             <xsl:with-param name="month">
  6864.                 <xsl:call-template name="handleSpaces">
  6865.                     <xsl:with-param name="field" select="b:MonthAccessed"/>
  6866.                 </xsl:call-template>
  6867.             </xsl:with-param>
  6868.             <xsl:with-param name="year">
  6869.                 <xsl:call-template name="handleSpaces">
  6870.                     <xsl:with-param name="field" select="b:YearAccessed"/>
  6871.                 </xsl:call-template>
  6872.             </xsl:with-param>
  6873.             
  6874.             <xsl:with-param name="DMY"><xsl:call-template name="templ_prop_MLA_Date_DMY"/></xsl:with-param>
  6875.             <xsl:with-param name="DM"><xsl:call-template name="templ_prop_MLA_Date_DM"/></xsl:with-param>
  6876.             <xsl:with-param name="MY"><xsl:call-template name="templ_prop_MLA_Date_MY"/></xsl:with-param>
  6877.             <xsl:with-param name="DY"><xsl:call-template name="templ_prop_MLA_Date_DY"/></xsl:with-param>        
  6878.         </xsl:call-template>
  6879.     </xsl:template>
  6880.     
  6881.     
  6882.         
  6883.         
  6884.         
  6885.         
  6886.     <xsl:template name="MainContributors">
  6887.         <xsl:param name="SourceRoot"/>
  6888.         <xsl:choose>
  6889.             <xsl:when test="./b:SourceType='Book'">
  6890.                 <xsl:choose>
  6891.                     <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  6892.                     <xsl:when test="string-length(./b:Author/b:Editor)>0">Editor</xsl:when>
  6893.                     <xsl:when test="string-length(./b:Author/b:Translator)>0">Translator</xsl:when>
  6894.                 </xsl:choose>
  6895.             </xsl:when>
  6896.             
  6897.             <xsl:when test="./b:SourceType='BookSection'">
  6898.                 <xsl:choose>
  6899.                     <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  6900.                     <xsl:when test="string-length(./b:Author/b:BookAuthor)>0">BookAuthor</xsl:when>
  6901.                 </xsl:choose>
  6902.             </xsl:when>
  6903.             
  6904.             <xsl:when test="./b:SourceType='JournalArticle'">
  6905.                 <xsl:choose>
  6906.                     <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  6907.                 </xsl:choose>
  6908.             </xsl:when>
  6909.             
  6910.             <xsl:when test="./b:SourceType='ArticleInAPeriodical'">
  6911.                 <xsl:choose>
  6912.                     <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  6913.                     <xsl:when test="string-length(./b:Author/b:Editor)>0">Editor</xsl:when>
  6914.                 </xsl:choose>
  6915.             </xsl:when>
  6916.             
  6917.             <xsl:when test="./b:SourceType='ConferenceProceedings'">
  6918.                 <xsl:choose>
  6919.                     <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  6920.                 </xsl:choose>
  6921.             </xsl:when>
  6922.             
  6923.             <xsl:when test="./b:SourceType='Report'">
  6924.                 <xsl:choose>
  6925.                     <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  6926.                 </xsl:choose>
  6927.             </xsl:when>
  6928.             
  6929.             <xsl:when test="./b:SourceType='SoundRecording'">
  6930.                 <xsl:choose>
  6931.                     <xsl:when test="string-length(./b:Author/b:Performer)>0">Performer</xsl:when>
  6932.                     <xsl:when test="string-length(./b:Author/b:Conductor)>0">Conductor</xsl:when>
  6933.                     <xsl:when test="string-length(./b:Author/b:Composer)>0">Composer</xsl:when>
  6934.                     <xsl:when test="string-length(./b:Author/b:Artist)>0">Artist</xsl:when>
  6935.                 </xsl:choose>
  6936.             </xsl:when>
  6937.                         
  6938.             <xsl:when test="./b:SourceType='Performance'">
  6939.                 <xsl:choose>
  6940.                     <xsl:when test="string-length(./b:Author/b:Writer)>0">Writer</xsl:when>
  6941.                     <xsl:when test="string-length(./b:Author/b:Performer)>0">Performer</xsl:when>
  6942.                     <xsl:when test="string-length(./b:Author/b:Director)>0">Director</xsl:when>
  6943.                 </xsl:choose>
  6944.             </xsl:when>
  6945.                         
  6946.             <xsl:when test="./b:SourceType='Art'">
  6947.                 <xsl:choose>
  6948.                     <xsl:when test="string-length(./b:Author/b:Artist)>0">Artist</xsl:when>
  6949.                 </xsl:choose>
  6950.             </xsl:when>
  6951.                                     
  6952.             <xsl:when test="./b:SourceType='DocumentFromInternetSite'">
  6953.                 <xsl:choose>
  6954.                     <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  6955.                 </xsl:choose>
  6956.             </xsl:when>
  6957.                                     
  6958.             <xsl:when test="./b:SourceType='InternetSite'">
  6959.                 <xsl:choose>
  6960.                     <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  6961.                 </xsl:choose>
  6962.             </xsl:when>
  6963.                                     
  6964.             <xsl:when test="./b:SourceType='Film'">
  6965.                 <xsl:choose>
  6966.                     <xsl:when test="string-length(./b:Author/b:Writer)>0">Writer</xsl:when>
  6967.                     <xsl:when test="string-length(./b:Author/b:Performer)>0">Performer</xsl:when>
  6968.                     <xsl:when test="string-length(./b:Author/b:Director)>0">Director</xsl:when>
  6969.                 </xsl:choose>
  6970.             </xsl:when>
  6971.                                     
  6972.             <xsl:when test="./b:SourceType='Interview'">
  6973.                 <xsl:choose>
  6974.                     <xsl:when test="string-length(./b:Author/b:Interviewee)>0">Interviewee</xsl:when>
  6975.                     <xsl:when test="string-length(./b:Author/b:Editor)>0">Editor</xsl:when>
  6976.                     <xsl:when test="string-length(./b:Author/b:Translator)>0">Translator</xsl:when>
  6977.                 </xsl:choose>
  6978.             </xsl:when>
  6979.                                     
  6980.             <xsl:when test="./b:SourceType='Patent'">
  6981.                 <xsl:choose>
  6982.                     <xsl:when test="string-length(./b:Author/b:Inventor)>0">Inventor</xsl:when>
  6983.                     <xsl:when test="string-length(./b:Author/b:Editor)>0">Editor</xsl:when>
  6984.                     <xsl:when test="string-length(./b:Author/b:Translator)>0">Translator</xsl:when>
  6985.                 </xsl:choose>
  6986.             </xsl:when>
  6987.                                     
  6988.             <xsl:when test="./b:SourceType='ElectronicSource'">
  6989.                 <xsl:choose>
  6990.                     <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  6991.                     <xsl:when test="string-length(./b:Author/b:Editor)>0">Editor</xsl:when>
  6992.                 </xsl:choose>
  6993.             </xsl:when>
  6994.                                     
  6995.             <xsl:when test="./b:SourceType='Case'">
  6996.                 <xsl:choose>
  6997.                     <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  6998.                 </xsl:choose>
  6999.             </xsl:when>
  7000.                                                 
  7001.             <xsl:when test="./b:SourceType='Misc'">
  7002.                 <xsl:choose>
  7003.                     <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  7004.                     <xsl:when test="string-length(./b:Author/b:Editor)>0">Editor</xsl:when>
  7005.                     <xsl:when test="string-length(./b:Author/b:Translator)>0">Translator</xsl:when>
  7006.                 </xsl:choose>
  7007.             </xsl:when>    
  7008.         </xsl:choose>
  7009.     </xsl:template>
  7010.     
  7011.     
  7012.     
  7013.     <xsl:template name="populateMain">
  7014.         <xsl:param name="Type"/>    
  7015.         <xsl:element name="{$Type}">    
  7016.         
  7017.         <xsl:for-each select="/*[$Type]/b:Source">        
  7018.             <xsl:variable name="MostImportantAuthorLocalName">    
  7019.                 <xsl:call-template name="MainContributors"/>
  7020.             </xsl:variable>
  7021.             <xsl:element name="{'b:Source'}">    
  7022.  
  7023.             <b:SortingString>
  7024.             
  7025.                   <xsl:variable name = "author0">
  7026.                   <xsl:for-each select="./b:Author/*[local-name()=$MostImportantAuthorLocalName]">
  7027.                     <xsl:call-template name="formatPersonsAuthor"/>
  7028.                   </xsl:for-each>
  7029.                 </xsl:variable>
  7030.  
  7031.                   <xsl:variable name = "author">
  7032.                     <xsl:choose>
  7033.                         <xsl:when test="string-length(./b:Author/*[local-name()=$MostImportantAuthorLocalName]/b:Corporate) > 0">
  7034.                             <xsl:value-of select="./b:Author/*[local-name()=$MostImportantAuthorLocalName]/b:Corporate"/>
  7035.                         </xsl:when>
  7036.                         <xsl:when test="string-length($author0) > 0">
  7037.                             <xsl:value-of select="$author0"/>
  7038.                         </xsl:when>
  7039.                     </xsl:choose>
  7040.                 </xsl:variable>
  7041.  
  7042.                 <xsl:if test="b:SourceType = 'Performance' or b:SourceType = 'Case' or b:SourceType = 'Film'">
  7043.                     <xsl:if test="string-length(b:Title) > 0">
  7044.                         <xsl:text> </xsl:text>
  7045.                         <xsl:value-of select="b:Title"/>
  7046.                     </xsl:if>
  7047.                 </xsl:if>
  7048.  
  7049.                 <xsl:if test="string-length($author) > 0">
  7050.                     <xsl:text> </xsl:text>
  7051.                     <xsl:value-of select="$author"/>
  7052.                 </xsl:if>
  7053.             
  7054.                 <xsl:if test="not(b:SourceType = 'Performance' or b:SourceType = 'Case' or b:SourceType = 'Film')">
  7055.                     <xsl:if test="string-length(b:Title) > 0">
  7056.                         <xsl:text> </xsl:text>
  7057.                         <xsl:value-of select="b:Title"/>
  7058.                     </xsl:if>
  7059.                 </xsl:if>
  7060.  
  7061.             </b:SortingString>
  7062.             
  7063.         <xsl:if test="$Type='b:Citation'">
  7064.           
  7065.           <b:Title>
  7066.             
  7067.             <xsl:if test="string-length(b:Title)>0">
  7068.               <xsl:value-of select="b:Title"/>
  7069.             </xsl:if>
  7070.             
  7071.             <xsl:if test="string-length(b:Title)=0">
  7072.               <xsl:choose>
  7073.                 <xsl:when test="b:SourceType='Book' or
  7074.                                   b:SourceType='JournalArticle' or
  7075.                                   b:SourceType='ConferenceProceedings' or
  7076.                                   b:SourceType='Report' or
  7077.                                   b:SourceType='Performance' or
  7078.                                   b:SourceType='Film' or
  7079.                                   b:SourceType='Patent' or
  7080.                                   b:SourceType='Case'">
  7081.  
  7082.                   <xsl:value-of select="b:ShortTitle"/>
  7083.                 </xsl:when>
  7084.  
  7085.                 <xsl:when test="b:SourceType='BookSection'">
  7086.                   <xsl:variable name="shortTitle" select="b:ShortTitle"/>
  7087.                   <xsl:variable name="bookTitle" select="b:BookTitle"/>
  7088.  
  7089.                   <xsl:choose>
  7090.                     <xsl:when test="string-length($shortTitle)>0">
  7091.                       <xsl:value-of select="$shortTitle"/>
  7092.                     </xsl:when>
  7093.                     <xsl:when test="string-length($bookTitle)>0">
  7094.                       <xsl:value-of select="$bookTitle"/>
  7095.                     </xsl:when>
  7096.                   </xsl:choose>
  7097.  
  7098.                 </xsl:when>
  7099.  
  7100.                 <xsl:when test="b:SourceType='ArticleInAPeriodical'">
  7101.                   <xsl:variable name="shortTitle" select="b:ShortTitle"/>
  7102.                   <xsl:variable name="periodicalTitle" select="b:PeriodicalTitle"/>
  7103.  
  7104.                   <xsl:choose>
  7105.                     <xsl:when test="string-length($shortTitle)>0">
  7106.                       <xsl:value-of select="$shortTitle"/>
  7107.                     </xsl:when>
  7108.                     <xsl:when test="string-length($periodicalTitle)>0">
  7109.                       <xsl:value-of select="$periodicalTitle"/>
  7110.                     </xsl:when>
  7111.                   </xsl:choose>
  7112.                 </xsl:when>
  7113.  
  7114.                 <xsl:when test="b:SourceType='InternetSite' or
  7115.                                   b:SourceType='DocumentFromInternetSite'">
  7116.                   <xsl:variable name="shortTitle" select="b:ShortTitle"/>
  7117.                   <xsl:variable name="internetSiteTitle" select="b:InternetSiteTitle"/>
  7118.  
  7119.                   <xsl:choose>
  7120.                     <xsl:when test="string-length($shortTitle)>0">
  7121.                       <xsl:value-of select="$shortTitle"/>
  7122.                     </xsl:when>
  7123.                     <xsl:when test="string-length($internetSiteTitle)>0">
  7124.                       <xsl:value-of select="$internetSiteTitle"/>
  7125.                     </xsl:when>
  7126.                   </xsl:choose>
  7127.                 </xsl:when>
  7128.  
  7129.                 <xsl:when test="b:SourceType='ElectronicSource' or
  7130.                                   b:SourceType='Art' or
  7131.                                   b:SourceType='Misc'">
  7132.                   <xsl:variable name="shortTitle" select="b:ShortTitle"/>
  7133.                   <xsl:variable name="publicationTitle" select="b:PublicationTitle"/>
  7134.  
  7135.                   <xsl:choose>
  7136.                     <xsl:when test="string-length($shortTitle)>0">
  7137.                       <xsl:value-of select="$shortTitle"/>
  7138.                     </xsl:when>
  7139.                     <xsl:when test="string-length($publicationTitle)>0">
  7140.                       <xsl:value-of select="$publicationTitle"/>
  7141.                     </xsl:when>
  7142.                   </xsl:choose>
  7143.                 </xsl:when>
  7144.  
  7145.                 <xsl:when test="b:SourceType='SoundRecording'">
  7146.                   <xsl:variable name="shortTitle" select="b:ShortTitle"/>
  7147.                   <xsl:variable name="albumTitle" select="b:AlbumTitle"/>
  7148.  
  7149.                   <xsl:choose>
  7150.                     <xsl:when test="string-length($shortTitle)>0">
  7151.                       <xsl:value-of select="$shortTitle"/>
  7152.                     </xsl:when>
  7153.                     <xsl:when test="string-length($albumTitle)>0">
  7154.                       <xsl:value-of select="$albumTitle"/>
  7155.                     </xsl:when>
  7156.                   </xsl:choose>
  7157.                 </xsl:when>
  7158.  
  7159.                 <xsl:when test="b:SourceType='Interview'">
  7160.                   <xsl:variable name="shortTitle" select="b:ShortTitle"/>
  7161.                   
  7162.                   <xsl:variable name="broadcastTitle" select="b:BroadcastTitle"/>
  7163.                   
  7164.  
  7165.                   <xsl:choose>
  7166.                     <xsl:when test="string-length($shortTitle)>0">
  7167.                       <xsl:value-of select="$shortTitle"/>
  7168.                     </xsl:when>
  7169.                     
  7170.                     <xsl:when test="string-length($broadcastTitle)>0">
  7171.                       <xsl:value-of select="$broadcastTitle"/>
  7172.                     </xsl:when>
  7173.                     
  7174.                   </xsl:choose>
  7175.                 </xsl:when>
  7176.  
  7177.               </xsl:choose>
  7178.             </xsl:if>
  7179.           </b:Title>
  7180.         </xsl:if>
  7181.         <b:Author>        
  7182.                     <b:Main>
  7183.                         <xsl:if test="string-length(./b:Author/*[local-name()=$MostImportantAuthorLocalName]/b:Corporate)=0">
  7184.                             <b:NameList>
  7185.                                 <xsl:for-each select="./b:Author/*[local-name()=$MostImportantAuthorLocalName]/b:NameList/b:Person">    
  7186.                                     <b:Person>        
  7187.                                         <b:Last><xsl:value-of select="./b:Last"/></b:Last>
  7188.                                         <b:First><xsl:value-of select="./b:First"/></b:First>
  7189.                                         <b:Middle><xsl:value-of select="./b:Middle"/></b:Middle>
  7190.                                     </b:Person>
  7191.                                 </xsl:for-each>
  7192.                             </b:NameList>
  7193.                         </xsl:if>
  7194.                         <xsl:if test="string-length(./b:Author/*[local-name()=$MostImportantAuthorLocalName]/b:Corporate)>0">
  7195.                             <b:Corporate>
  7196.                               <xsl:value-of select="./b:Author/*[local-name()=$MostImportantAuthorLocalName]/b:Corporate"/>
  7197.                             </b:Corporate>
  7198.                         </xsl:if>
  7199.                     </b:Main>
  7200.                     <xsl:for-each select="./b:Author/*">    
  7201.                         
  7202.                             <xsl:element name="{name()}" namespace="{namespace-uri()}">
  7203.                                 <xsl:call-template name="copyNameNodes"/>    
  7204.                             </xsl:element>
  7205.                         
  7206.                     </xsl:for-each>
  7207.                 </b:Author>
  7208.                 <xsl:for-each select="*">    
  7209.           <xsl:if test="name()!='Author' and not(name()='Title' and $Type='b:Citation')">
  7210.                             <xsl:element name="{name()}" namespace="{namespace-uri()}">
  7211.                                 <xsl:call-template name="copyNodes"/>    
  7212.                             </xsl:element>
  7213.                         </xsl:if>
  7214.                 </xsl:for-each>
  7215.             </xsl:element>
  7216.             <xsl:for-each select="../*">    
  7217.                         <xsl:if test="local-name()!='Source' and namespace-uri()='http://schemas.openxmlformats.org/officeDocument/2006/bibliography'">
  7218.                             <xsl:element name="{name()}" namespace="{namespace-uri()}">
  7219.                                 <xsl:call-template name="copyNodes"/>    
  7220.                             </xsl:element>
  7221.                         </xsl:if>
  7222.             </xsl:for-each>
  7223.         </xsl:for-each>
  7224.         
  7225.       <xsl:copy-of select="/*[$Type]/b:Locals"/>
  7226.     </xsl:element>
  7227.   </xsl:template>
  7228.  
  7229.   
  7230.     <xsl:template name="copyNameNodes">
  7231.         <xsl:if test="string-length(b:Corporate)=0">
  7232.             <b:NameList>
  7233.                 <xsl:for-each select="b:NameList/b:Person">    
  7234.                     <b:Person>            
  7235.                             <xsl:if test="string-length(./b:Last)>0">    
  7236.                             <b:Last>
  7237.                                 <xsl:value-of select="./b:Last"/>
  7238.                             </b:Last>
  7239.                         </xsl:if>
  7240.                         <xsl:if test="string-length(./b:First)>0">
  7241.                             <b:First>
  7242.                                 <xsl:value-of select="./b:First"/>
  7243.                             </b:First>
  7244.                         </xsl:if>
  7245.                         <xsl:if test="string-length(./b:Middle)>0">
  7246.                             <b:Middle>
  7247.                                 <xsl:value-of select="./b:Middle"/>
  7248.                             </b:Middle>
  7249.                         </xsl:if>
  7250.                     </b:Person>
  7251.                 </xsl:for-each>
  7252.             </b:NameList>
  7253.         </xsl:if>
  7254.         <xsl:if test="string-length(b:Corporate)>0">
  7255.             <b:Corporate>
  7256.               <xsl:value-of select="b:Corporate"/>
  7257.             </b:Corporate>
  7258.         </xsl:if>
  7259.     </xsl:template>
  7260.     
  7261.     
  7262.     <xsl:template name="copyNodes">
  7263.         <xsl:value-of select="."/>
  7264.  
  7265.     </xsl:template>
  7266.  
  7267.     <xsl:template name="copyNodes2">
  7268.             <xsl:for-each select="@*">
  7269.                 <xsl:attribute name="{name()}" namespace="{namespace-uri()}">
  7270.                     <xsl:value-of select="."/>
  7271.                 </xsl:attribute>
  7272.             </xsl:for-each>
  7273.             <xsl:for-each select="*">
  7274.                 <xsl:element name="{name()}" namespace="{namespace-uri()}">
  7275.                     <xsl:call-template name="copyNodes2"/>    
  7276.                 </xsl:element>
  7277.             </xsl:for-each>
  7278.  
  7279.     </xsl:template>
  7280.  
  7281.  
  7282.     <xsl:template name="handleSpaces">
  7283.         <xsl:param name="field"/>
  7284.  
  7285.     <xsl:variable name="prop_NormalizeSpace">
  7286.       <xsl:call-template name="templ_prop_NormalizeSpace"/>
  7287.     </xsl:variable>
  7288.  
  7289.     <xsl:choose>
  7290.             <xsl:when test="$prop_NormalizeSpace='yes'">
  7291.                 <xsl:value-of select="normalize-space($field)"/>
  7292.             </xsl:when>
  7293.             <xsl:otherwise>
  7294.                 <xsl:value-of select="$field"/>
  7295.             </xsl:otherwise>
  7296.         </xsl:choose>
  7297.     </xsl:template>
  7298.     
  7299.     
  7300.     <xsl:template name="appendField_Dot">
  7301.         <xsl:param name="field"/>
  7302.         
  7303.         <xsl:variable name="temp">
  7304.             <xsl:call-template name="handleSpaces">
  7305.                 <xsl:with-param name="field" select="$field"/>
  7306.             </xsl:call-template>
  7307.         </xsl:variable>
  7308.  
  7309.     <xsl:variable name="prop_EndChars">
  7310.       <xsl:call-template name="templ_prop_EndChars"/>
  7311.     </xsl:variable>
  7312.  
  7313.     <xsl:variable name="lastChar">
  7314.             <xsl:value-of select="substring($temp, string-length($temp))"/>
  7315.         </xsl:variable>
  7316.  
  7317.         <xsl:choose>
  7318.             <xsl:when test="string-length($temp) = 0">
  7319.             </xsl:when>
  7320.             <xsl:when test="contains($prop_EndChars, $lastChar)">
  7321.                 <xsl:value-of select="$temp"/>
  7322.             </xsl:when>
  7323.             <xsl:otherwise>
  7324.                 <xsl:value-of select="$temp"/>
  7325.                 <xsl:call-template name="templ_prop_Dot"/>
  7326.             </xsl:otherwise>
  7327.         </xsl:choose>
  7328.         
  7329.     </xsl:template>
  7330.     
  7331.  
  7332.     <xsl:template name="Field_Dot">
  7333.         <xsl:param name="field"/>
  7334.         
  7335.         <xsl:variable name="temp">
  7336.             <xsl:call-template name="handleSpaces">
  7337.                 <xsl:with-param name="field" select="$field"/>
  7338.             </xsl:call-template>
  7339.         </xsl:variable>
  7340.  
  7341.     <xsl:variable name="prop_EndChars">
  7342.       <xsl:call-template name="templ_prop_EndChars"/>
  7343.     </xsl:variable>
  7344.  
  7345.     <xsl:variable name="lastChar">
  7346.             <xsl:value-of select="substring($temp, string-length($temp))"/>
  7347.         </xsl:variable>
  7348.  
  7349.         <xsl:choose>
  7350.             <xsl:when test="string-length($temp) = 0" />
  7351.             <xsl:when test="contains($prop_EndChars, $lastChar)" />
  7352.             <xsl:otherwise>
  7353.                 <xsl:call-template name="templ_prop_Dot"/>
  7354.             </xsl:otherwise>
  7355.         </xsl:choose>
  7356.         
  7357.     </xsl:template>
  7358.  
  7359.     <xsl:template name="appendFieldNoHandleSpaces_Dot">
  7360.         <xsl:param name="field"/>
  7361.         
  7362.         <xsl:variable name="lastChar">
  7363.             <xsl:value-of select="substring($field, string-length($field))"/>
  7364.         </xsl:variable>
  7365.  
  7366.     <xsl:variable name="prop_EndChars">
  7367.       <xsl:call-template name="templ_prop_EndChars"/>
  7368.     </xsl:variable>
  7369.  
  7370.     <xsl:choose>
  7371.             <xsl:when test="string-length($field) = 0">
  7372.             </xsl:when>
  7373.             <xsl:when test="contains($prop_EndChars, $lastChar)">
  7374.                 <xsl:value-of select="$field"/>
  7375.             </xsl:when>
  7376.             <xsl:otherwise>
  7377.                 <xsl:value-of select="$field"/>
  7378.                 <xsl:call-template name="templ_prop_Dot"/>
  7379.             </xsl:otherwise>
  7380.         </xsl:choose>
  7381.         
  7382.     </xsl:template>
  7383.  
  7384.  
  7385.     <xsl:template name="templateA">
  7386.         <xsl:param name="first"/>
  7387.         <xsl:param name="second"/>
  7388.         <xsl:param name="third"/>
  7389.         
  7390.         <xsl:variable name="tempFirst">
  7391.             <xsl:call-template name="handleSpaces">
  7392.                 <xsl:with-param name="field" select="$first"/>
  7393.             </xsl:call-template>
  7394.         </xsl:variable>
  7395.         
  7396.         <xsl:variable name="tempSecond">
  7397.             <xsl:call-template name="handleSpaces">
  7398.                 <xsl:with-param name="field" select="$second"/>
  7399.             </xsl:call-template>
  7400.         </xsl:variable>
  7401.  
  7402.         <xsl:variable name="tempThird">
  7403.             <xsl:call-template name="handleSpaces">
  7404.                 <xsl:with-param name="field" select="$third"/>
  7405.             </xsl:call-template>
  7406.         </xsl:variable>
  7407.  
  7408.         <xsl:variable name="temp">
  7409.             <xsl:if test="string-length($tempFirst)>0">
  7410.                 <xsl:value-of select="$tempFirst"/>
  7411.             </xsl:if>
  7412.  
  7413.               <xsl:if test="string-length($tempFirst)>0 and string-length($tempSecond)>0">
  7414.                 <xsl:call-template name="templ_prop_EnumSeparator"/>
  7415.             </xsl:if>
  7416.  
  7417.             <xsl:if test="string-length($tempSecond)>0">
  7418.                 <xsl:value-of select="$tempSecond"/>
  7419.             </xsl:if>
  7420.  
  7421.               <xsl:if test="(string-length($tempFirst)>0 or string-length($tempSecond)>0) and string-length($tempThird)>0">
  7422.                 <xsl:call-template name="templ_prop_ListSeparator"/>
  7423.             </xsl:if>
  7424.  
  7425.             <xsl:if test="string-length($tempThird)>0">
  7426.                 <xsl:value-of select="$tempThird"/>
  7427.             </xsl:if>
  7428.         </xsl:variable>
  7429.  
  7430.         <xsl:call-template name="appendFieldNoHandleSpaces_Dot">
  7431.             <xsl:with-param name="field" select="$temp"/>
  7432.         </xsl:call-template>        
  7433.     </xsl:template>
  7434.  
  7435.  
  7436.     <xsl:template name="templateB">
  7437.         <xsl:param name="first"/>
  7438.         <xsl:param name="second"/>
  7439.         
  7440.         <xsl:variable name="tempFirst">
  7441.             <xsl:call-template name="handleSpaces">
  7442.                 <xsl:with-param name="field" select="$first"/>
  7443.             </xsl:call-template>
  7444.         </xsl:variable>
  7445.         
  7446.         <xsl:variable name="tempSecond">
  7447.             <xsl:call-template name="handleSpaces">
  7448.                 <xsl:with-param name="field" select="$second"/>
  7449.             </xsl:call-template>
  7450.         </xsl:variable>
  7451.  
  7452.         <xsl:variable name="temp">
  7453.             <xsl:if test="string-length($tempFirst)>0">
  7454.                 <xsl:value-of select="$tempFirst"/>
  7455.             </xsl:if>
  7456.  
  7457.             <xsl:if test="string-length($tempFirst)>0 and string-length($tempSecond)>0">
  7458.                 <xsl:call-template name="templ_prop_EnumSeparator"/>
  7459.             </xsl:if>
  7460.  
  7461.             <xsl:if test="string-length($tempSecond)>0">
  7462.                 <xsl:value-of select="$tempSecond"/>
  7463.             </xsl:if>
  7464.  
  7465.         </xsl:variable>
  7466.  
  7467.         <xsl:call-template name="appendFieldNoHandleSpaces_Dot">
  7468.             <xsl:with-param name="field" select="$temp"/>
  7469.         </xsl:call-template>
  7470.         
  7471.     </xsl:template>
  7472.  
  7473.     <xsl:template name="templateC">
  7474.         <xsl:param name="first"/>
  7475.         <xsl:param name="second"/>
  7476.         
  7477.         <xsl:variable name="tempFirst">
  7478.             <xsl:call-template name="handleSpaces">
  7479.                 <xsl:with-param name="field" select="$first"/>
  7480.             </xsl:call-template>
  7481.         </xsl:variable>
  7482.         
  7483.         <xsl:variable name="tempSecond">
  7484.             <xsl:call-template name="handleSpaces">
  7485.                 <xsl:with-param name="field" select="$second"/>
  7486.             </xsl:call-template>
  7487.         </xsl:variable>
  7488.  
  7489.         <xsl:variable name="temp">
  7490.             <xsl:if test="string-length($tempFirst)>0">
  7491.                 <xsl:value-of select="$tempFirst"/>
  7492.             </xsl:if>
  7493.  
  7494.             <xsl:if test="string-length($tempFirst)>0 and string-length($tempSecond)>0">
  7495.                 <xsl:call-template name="templ_prop_ListSeparator"/>
  7496.             </xsl:if>
  7497.  
  7498.             <xsl:if test="string-length($tempSecond)>0">
  7499.                 <xsl:value-of select="$tempSecond"/>
  7500.             </xsl:if>
  7501.  
  7502.         </xsl:variable>
  7503.  
  7504.         <xsl:call-template name="appendFieldNoHandleSpaces_Dot">
  7505.             <xsl:with-param name="field" select="$temp"/>
  7506.         </xsl:call-template>
  7507.     </xsl:template>
  7508.  
  7509.  
  7510.     <xsl:template name="templateE">
  7511.         <xsl:param name="first"/>
  7512.         <xsl:param name="second"/>
  7513.         <xsl:param name="third"/>
  7514.         
  7515.         <xsl:variable name="tempFirst">
  7516.             <xsl:call-template name="handleSpaces">
  7517.                 <xsl:with-param name="field" select="$first"/>
  7518.             </xsl:call-template>
  7519.         </xsl:variable>
  7520.         
  7521.         <xsl:variable name="tempSecond">
  7522.             <xsl:call-template name="handleSpaces">
  7523.                 <xsl:with-param name="field" select="$second"/>
  7524.             </xsl:call-template>
  7525.         </xsl:variable>
  7526.  
  7527.         <xsl:variable name="tempThird">
  7528.             <xsl:call-template name="handleSpaces">
  7529.                 <xsl:with-param name="field" select="$third"/>
  7530.             </xsl:call-template>
  7531.         </xsl:variable>
  7532.  
  7533.         <xsl:variable name="temp">
  7534.             <xsl:if test="string-length($tempFirst)>0">
  7535.                 <xsl:value-of select="$tempFirst"/>
  7536.             </xsl:if>
  7537.  
  7538.             <xsl:if test="string-length($tempFirst)>0 and string-length($tempSecond)>0">
  7539.                 <xsl:call-template name="templ_prop_ListSeparator"/>
  7540.             </xsl:if>
  7541.  
  7542.             <xsl:if test="string-length($tempSecond)>0">
  7543.                 <xsl:value-of select="$tempSecond"/>
  7544.             </xsl:if>
  7545.  
  7546.             <xsl:if test="(string-length($tempFirst)>0 or string-length($tempSecond)>0) and string-length($tempThird)>0">
  7547.                 <xsl:call-template name="templ_prop_EnumSeparator"/>
  7548.             </xsl:if>
  7549.  
  7550.             <xsl:if test="string-length($tempThird)>0">
  7551.                 <xsl:value-of select="$tempThird"/>
  7552.             </xsl:if>
  7553.         </xsl:variable>
  7554.  
  7555.         <xsl:call-template name="appendFieldNoHandleSpaces_Dot">
  7556.             <xsl:with-param name="field" select="$temp"/>
  7557.         </xsl:call-template>        
  7558.     </xsl:template>
  7559.  
  7560.  
  7561.     <xsl:template name="templateCPY">
  7562.         <xsl:call-template name="templateA">
  7563.             <xsl:with-param name="first" select="b:City"/>
  7564.             <xsl:with-param name="second" select="b:Publisher"/>
  7565.             <xsl:with-param name="third">
  7566.                 <xsl:call-template name="getYear" />
  7567.             </xsl:with-param>
  7568.         </xsl:call-template>        
  7569.     </xsl:template>
  7570.  
  7571.     <xsl:template name="templateCPcY">
  7572.         <xsl:call-template name="templateA">
  7573.             <xsl:with-param name="first" select="b:City"/>
  7574.             <xsl:with-param name="second" select="b:ProductionCompany"/>
  7575.             <xsl:with-param name="third">
  7576.                 <xsl:call-template name="getYear" />
  7577.             </xsl:with-param>
  7578.         </xsl:call-template>        
  7579.     </xsl:template>
  7580.  
  7581.     <xsl:template name="templateDEP">
  7582.  
  7583.         <xsl:variable name="date">
  7584.             <xsl:call-template name="formatDate"/>
  7585.         </xsl:variable>
  7586.         
  7587.         <xsl:variable name="editionTemp">
  7588.             <xsl:call-template name="handleSpaces">
  7589.                 <xsl:with-param name="field" select="b:Edition"/>
  7590.             </xsl:call-template>
  7591.         </xsl:variable>
  7592.  
  7593.         <xsl:variable name="edition">
  7594.             <xsl:choose>
  7595.                 <xsl:when test="string-length($editionTemp)>0">
  7596.                     <xsl:call-template name="StringFormat">
  7597.                           <xsl:with-param name="format">
  7598.                             <xsl:call-template name="templ_str_EditionShortUnCap"/>
  7599.                           </xsl:with-param>
  7600.                           <xsl:with-param name="parameters">
  7601.                               <t:params>
  7602.                                   <t:param>
  7603.                                     <xsl:value-of select="$editionTemp"/>
  7604.                                 </t:param>
  7605.                               </t:params>
  7606.                           </xsl:with-param>
  7607.                     </xsl:call-template>
  7608.                 </xsl:when>
  7609.             </xsl:choose>
  7610.         </xsl:variable>
  7611.     
  7612.         <xsl:call-template name="templateE">
  7613.             <xsl:with-param name="first" select="$date"/>
  7614.             <xsl:with-param name="second" select="$edition"/>
  7615.             <xsl:with-param name="third" select="b:Pages"/>
  7616.         </xsl:call-template>        
  7617.     </xsl:template>
  7618.  
  7619.     <xsl:template name="templateTC">
  7620.         <xsl:call-template name="templateC">
  7621.             <xsl:with-param name="first" select="b:Theater"/>
  7622.             <xsl:with-param name="second" select="b:City"/>
  7623.         </xsl:call-template>        
  7624.     </xsl:template>
  7625.  
  7626.     <xsl:template name="templateIC">
  7627.         <xsl:call-template name="templateC">
  7628.             <xsl:with-param name="first" select="b:Institution"/>
  7629.             <xsl:with-param name="second" select="b:City"/>
  7630.         </xsl:call-template>        
  7631.     </xsl:template>
  7632.  
  7633.     <xsl:template name="templateIY">
  7634.         <xsl:call-template name="templateC">
  7635.             <xsl:with-param name="first" select="b:Institution"/>
  7636.             <xsl:with-param name="second">
  7637.                 <xsl:call-template name="getYear" />
  7638.             </xsl:with-param>
  7639.         </xsl:call-template>        
  7640.     </xsl:template>
  7641.  
  7642.  
  7643.     <xsl:template name="templateDY">
  7644.         <xsl:call-template name="templateC">
  7645.             <xsl:with-param name="first" select="b:Distributor"/>
  7646.             <xsl:with-param name="second">
  7647.                 <xsl:call-template name="getYear" />
  7648.             </xsl:with-param>
  7649.         </xsl:call-template>        
  7650.     </xsl:template>
  7651.     
  7652.     <xsl:template name="templateCPD">
  7653.         <xsl:variable name="date">
  7654.             <xsl:call-template name="formatDate"/>
  7655.         </xsl:variable>
  7656.         
  7657.         <xsl:call-template name="templateA">
  7658.             <xsl:with-param name="first" select="b:City"/>
  7659.             <xsl:with-param name="second" select="b:Publisher"/>
  7660.             <xsl:with-param name="third" select="$date"/>
  7661.         </xsl:call-template>        
  7662.     </xsl:template>
  7663.     
  7664.     <xsl:template name="templateSC">
  7665.         <xsl:call-template name="templateC">
  7666.             <xsl:with-param name="first" select="b:Station"/>
  7667.             <xsl:with-param name="second" select="b:City"/>
  7668.         </xsl:call-template>        
  7669.     </xsl:template>
  7670.     
  7671.  
  7672.     <xsl:template name="templateCP">
  7673.         <xsl:variable name="patentTemp">
  7674.             <xsl:call-template name="handleSpaces">
  7675.                 <xsl:with-param name="field" select="b:PatentNumber"/>
  7676.             </xsl:call-template>
  7677.         </xsl:variable>
  7678.  
  7679.     <xsl:variable name="str_PatentCap">
  7680.       <xsl:call-template name="templ_str_PatentCap"/>
  7681.     </xsl:variable>
  7682.  
  7683.     <xsl:variable name="patent">
  7684.             <xsl:choose>
  7685.                 <xsl:when test="string-length($patentTemp)>0">
  7686.                     <xsl:call-template name="StringFormat">
  7687.                           <xsl:with-param name="format" select="$str_PatentCap"/>
  7688.                         
  7689.                           <xsl:with-param name="parameters">
  7690.                               <t:params>
  7691.                                   <t:param>
  7692.                                       <xsl:value-of select="$patentTemp"/>
  7693.                                 </t:param>
  7694.                               </t:params>
  7695.                           </xsl:with-param>
  7696.                     </xsl:call-template>
  7697.                 </xsl:when>
  7698.             </xsl:choose>
  7699.         </xsl:variable>
  7700.         <xsl:call-template name="templateB">
  7701.             <xsl:with-param name="first" select="b:CountryRegion"/>
  7702.             <xsl:with-param name="second" select="$patent"/>
  7703.         </xsl:call-template>        
  7704.     </xsl:template>
  7705.  
  7706.  
  7707.     <xsl:template name="templateCD">
  7708.         <xsl:variable name="date">
  7709.             <xsl:call-template name="formatDate"/>
  7710.         </xsl:variable>
  7711.         <xsl:call-template name="templateB">
  7712.             <xsl:with-param name="first" select="b:City"/>
  7713.             <xsl:with-param name="second" select="$date"/>
  7714.         </xsl:call-template>        
  7715.     </xsl:template>
  7716.  
  7717.     <xsl:template name="templateVIYP">
  7718.  
  7719.         <xsl:variable name="volume">
  7720.             <xsl:call-template name="handleSpaces">
  7721.                 <xsl:with-param name="field" select="b:Volume"/>
  7722.             </xsl:call-template>
  7723.         </xsl:variable>
  7724.  
  7725.         <xsl:variable name="issue">
  7726.             <xsl:call-template name="handleSpaces">
  7727.                 <xsl:with-param name="field" select="b:Issue"/>
  7728.             </xsl:call-template>
  7729.         </xsl:variable>
  7730.  
  7731.         <xsl:variable name="year">
  7732.             <xsl:call-template name="handleSpaces">
  7733.                 <xsl:with-param name="field">
  7734.                     <xsl:call-template name="getYear" />
  7735.                 </xsl:with-param>
  7736.             </xsl:call-template>
  7737.         </xsl:variable>
  7738.  
  7739.         <xsl:variable name="pages">
  7740.             <xsl:call-template name="handleSpaces">
  7741.                 <xsl:with-param name="field" select="b:Pages"/>
  7742.             </xsl:call-template>
  7743.         </xsl:variable>
  7744.  
  7745.         <xsl:variable name="temp">
  7746.             <xsl:if test="string-length($volume)>0">
  7747.                 <xsl:value-of select="$volume"/>
  7748.             </xsl:if>
  7749.  
  7750.             <xsl:if test="string-length($volume)>0 and string-length($issue)>0">
  7751.                 <xsl:call-template name="templ_prop_Dot"/>
  7752.             </xsl:if>
  7753.             
  7754.             <xsl:if test="string-length($issue)>0">
  7755.                 <xsl:value-of select="$issue"/>
  7756.             </xsl:if>
  7757.  
  7758.             <xsl:if test="string-length($year)>0">
  7759.                 <xsl:call-template name="templ_prop_Space"/>
  7760.                 <xsl:call-template name="templ_prop_OpenBracket"/>
  7761.                 <xsl:value-of select="$year"/>
  7762.                     <xsl:call-template name="templ_prop_CloseBracket"/>
  7763.             </xsl:if>
  7764.             
  7765.             <xsl:if test="(string-length($volume)>0 or string-length($issue)>0 or string-length($year)>0) and (string-length($pages)>0)">
  7766.                 <xsl:call-template name="templ_prop_EnumSeparator"/>
  7767.             </xsl:if>
  7768.  
  7769.             <xsl:if test="string-length($pages)>0">
  7770.                 <xsl:value-of select="$pages"/>
  7771.             </xsl:if>
  7772.         </xsl:variable>
  7773.         
  7774.         <xsl:call-template name="appendField_Dot">
  7775.             <xsl:with-param name="field" select="$temp"/>
  7776.         </xsl:call-template>
  7777.         
  7778.         
  7779.     </xsl:template>
  7780.     <xsl:template name="need_Dot">
  7781.         <xsl:param name="field"/>
  7782.         
  7783.         <xsl:variable name="temp">
  7784.             <xsl:call-template name="handleSpaces">
  7785.                 <xsl:with-param name="field" select="$field"/>
  7786.             </xsl:call-template>
  7787.         </xsl:variable>
  7788.     <xsl:variable name="prop_EndChars">
  7789.       <xsl:call-template name="templ_prop_EndChars"/>
  7790.     </xsl:variable>
  7791.  
  7792.     <xsl:variable name="lastChar">
  7793.             <xsl:value-of select="substring($temp, string-length($temp))"/>
  7794.         </xsl:variable>
  7795.  
  7796.         <xsl:choose>
  7797.             <xsl:when test="string-length($temp) = 0">
  7798.             </xsl:when>
  7799.             <xsl:when test="contains($prop_EndChars, $lastChar)">
  7800.             </xsl:when>
  7801.             <xsl:otherwise>
  7802.                 <xsl:call-template name="templ_prop_Dot"/>
  7803.             </xsl:otherwise>
  7804.         </xsl:choose>
  7805.     </xsl:template>
  7806.     
  7807.     
  7808.  
  7809.  
  7810.     <xsl:template name="formatNameCore">
  7811.         <xsl:param name="FML"/>
  7812.         <xsl:param name="FM"/>
  7813.         <xsl:param name="ML"/>
  7814.         <xsl:param name="FL"/>
  7815.         <xsl:param name="upperLast"/>
  7816.         <xsl:param name="withDot"/>
  7817.  
  7818.         <xsl:variable name="first">
  7819.             <xsl:call-template name="handleSpaces">
  7820.                 <xsl:with-param name="field" select="b:First"/>
  7821.             </xsl:call-template>
  7822.         </xsl:variable>
  7823.  
  7824.         <xsl:variable name="middle">
  7825.             <xsl:call-template name="handleSpaces">
  7826.                 <xsl:with-param name="field" select="b:Middle"/>
  7827.             </xsl:call-template>
  7828.         </xsl:variable>
  7829.  
  7830.         <xsl:variable name="last">
  7831.             <xsl:call-template name="handleSpaces">
  7832.                 <xsl:with-param name="field" select="b:Last"/>
  7833.             </xsl:call-template>
  7834.         </xsl:variable>
  7835.         
  7836.         <xsl:variable name="format">
  7837.             <xsl:choose>
  7838.                 <xsl:when test="string-length($first) = 0 and string-length($middle) = 0 and string-length($last) = 0 ">
  7839.                 </xsl:when>
  7840.                 <xsl:when test="string-length($first) = 0 and string-length($middle) = 0 and string-length($last) != 0 ">
  7841.                     <xsl:call-template name="templ_prop_SimpleAuthor_L" />
  7842.                 </xsl:when>
  7843.                 <xsl:when test="string-length($first) = 0 and string-length($middle) != 0 and string-length($last) = 0 ">
  7844.           <xsl:call-template name="templ_prop_SimpleAuthor_M" />
  7845.                 </xsl:when>
  7846.                 <xsl:when test="string-length($first) = 0 and string-length($middle) != 0 and string-length($last) != 0 ">
  7847.                     <xsl:value-of select="$ML"/>
  7848.                 </xsl:when>
  7849.                 <xsl:when test="string-length($first) != 0 and string-length($middle) = 0 and string-length($last) = 0 ">
  7850.                     <xsl:call-template name="templ_prop_SimpleAuthor_F" />
  7851.                 </xsl:when>
  7852.                 <xsl:when test="string-length($first) != 0 and string-length($middle) = 0 and string-length($last) != 0 ">
  7853.                     <xsl:value-of select="$FL"/>
  7854.                 </xsl:when>
  7855.                 <xsl:when test="string-length($first) != 0 and string-length($middle) != 0 and string-length($last) = 0 ">
  7856.                     <xsl:value-of select="$FM"/>
  7857.                 </xsl:when>
  7858.                 <xsl:when test="string-length($first) != 0 and string-length($middle) != 0 and string-length($last) != 0 ">
  7859.                     <xsl:value-of select="$FML"/>
  7860.                 </xsl:when>
  7861.             </xsl:choose>
  7862.         </xsl:variable>
  7863.         
  7864.         <xsl:call-template name="StringFormatName">
  7865.             <xsl:with-param name="format" select="$format"/>
  7866.             <xsl:with-param name="upperLast" select="$upperLast"/>
  7867.             <xsl:with-param name="withDot" select="$withDot"/>
  7868.         </xsl:call-template>
  7869.         
  7870.     </xsl:template>
  7871.  
  7872.     <xsl:template name="formatDateCorePrivate">
  7873.         <xsl:param name="DMY"/>
  7874.         <xsl:param name="DM"/>
  7875.         <xsl:param name="MY"/>
  7876.         <xsl:param name="DY"/>
  7877.  
  7878.         <xsl:param name="day"/>
  7879.         <xsl:param name="month"/>
  7880.         <xsl:param name="year"/>
  7881.         
  7882.         <xsl:param name="withDot"/>
  7883.         
  7884.         <xsl:variable name="format">
  7885.             <xsl:choose>
  7886.                 <xsl:when test="string-length($day) = 0 and string-length($month) = 0 and string-length($year) = 0 ">
  7887.                 </xsl:when>
  7888.                 <xsl:when test="string-length($day) = 0 and string-length($month) = 0 and string-length($year) != 0 ">
  7889.                     <xsl:call-template name="templ_prop_SimpleDate_Y" />
  7890.                 </xsl:when>
  7891.                 <xsl:when test="string-length($day) = 0 and string-length($month) != 0 and string-length($year) = 0 ">
  7892.                 </xsl:when>
  7893.                 <xsl:when test="string-length($day) = 0 and string-length($month) != 0 and string-length($year) != 0 ">
  7894.                     <xsl:value-of select="$MY"/>
  7895.                 </xsl:when>
  7896.                 <xsl:when test="string-length($day) != 0 and string-length($month) = 0 and string-length($year) = 0 ">
  7897.                 </xsl:when>
  7898.                 <xsl:when test="string-length($day) != 0 and string-length($month) = 0 and string-length($year) != 0 ">
  7899.                     <xsl:call-template name="templ_prop_SimpleDate_Y" />
  7900.                 </xsl:when>
  7901.                 <xsl:when test="string-length($day) != 0 and string-length($month) != 0 and string-length($year) = 0 ">
  7902.                 </xsl:when>
  7903.                 <xsl:when test="string-length($day) != 0 and string-length($month) != 0 and string-length($year) != 0 ">
  7904.                     <xsl:value-of select="$DMY"/>
  7905.                 </xsl:when>
  7906.             </xsl:choose>
  7907.         </xsl:variable>
  7908.         
  7909.         <xsl:call-template name="StringFormatDate">
  7910.             <xsl:with-param name="format" select="$format"/>
  7911.  
  7912.             <xsl:with-param name="day" select="$day"/>
  7913.             <xsl:with-param name="month" select="$month"/>
  7914.             <xsl:with-param name="year" select="$year"/>
  7915.  
  7916.             <xsl:with-param name="withDot" select="$withDot"/>
  7917.         </xsl:call-template>
  7918.         
  7919.     </xsl:template>
  7920.  
  7921.     <xsl:template name="StringFormatName">
  7922.         <xsl:param name="format" />
  7923.         <xsl:param name="withDot" />
  7924.         <xsl:param name="upperLast"/>
  7925.  
  7926.     <xsl:variable name="prop_EndChars">
  7927.       <xsl:call-template name="templ_prop_EndChars"/>
  7928.     </xsl:variable>
  7929.  
  7930.     <xsl:choose>
  7931.             <xsl:when test="$format = ''"></xsl:when>
  7932.             <xsl:when test="substring($format, 1, 2) = '%%'">
  7933.                 <xsl:text>%</xsl:text>
  7934.                 <xsl:call-template name="StringFormatName">
  7935.                     <xsl:with-param name="format" select="substring($format, 3)" />
  7936.                     <xsl:with-param name="withDot" select="$withDot" />
  7937.                     <xsl:with-param name="upperLast" select="$upperLast" />
  7938.                 </xsl:call-template>
  7939.                 <xsl:if test="string-length($format)=2 and withDot = 'yes' and not(contains($prop_EndChars, '%'))">
  7940.                     <xsl:call-template name="templ_prop_Dot"/>
  7941.                 </xsl:if>
  7942.             </xsl:when>
  7943.             <xsl:when test="substring($format, 1, 1) = '%'">
  7944.                 <xsl:variable name="what" select="substring($format, 2, 1)" />
  7945.                 
  7946.                 <xsl:choose>
  7947.                     <xsl:when test="(what = 'l' or what = 'L') and upperLast = 'yes'">
  7948.                         <span style='text-transform: uppercase;'>
  7949.                             <xsl:call-template name="formatNameOneItem">
  7950.                                 <xsl:with-param name="format" select="$what"/>
  7951.                             </xsl:call-template>
  7952.                         </span>
  7953.                     </xsl:when>
  7954.                     <xsl:otherwise>
  7955.                         <xsl:call-template name="formatNameOneItem">
  7956.                             <xsl:with-param name="format" select="$what"/>
  7957.                         </xsl:call-template>
  7958.                     </xsl:otherwise>
  7959.                 </xsl:choose>
  7960.                 <xsl:call-template name="StringFormatName">
  7961.                     <xsl:with-param name="format" select="substring($format, 3)" />
  7962.                     <xsl:with-param name="withDot" select="$withDot" />
  7963.                     <xsl:with-param name="upperLast" select="$upperLast" />
  7964.                 </xsl:call-template>
  7965.                 <xsl:if test="string-length($format)=2 and withDot='yes'">
  7966.                     <xsl:variable name="temp2">
  7967.                         <xsl:call-template name="handleSpaces">
  7968.                             <xsl:with-param name="field">
  7969.                                 <xsl:call-template name="formatNameOneItem">
  7970.                                     <xsl:with-param name="format" select="$what"/>
  7971.                                 </xsl:call-template>
  7972.                             </xsl:with-param>
  7973.                         </xsl:call-template>
  7974.                     </xsl:variable>                
  7975.                     <xsl:variable name="lastChar">
  7976.                         <xsl:value-of select="substring($temp2, string-length($temp2))"/>
  7977.                     </xsl:variable>
  7978.                     <xsl:if test="not(contains($prop_EndChars, $lastChar))">
  7979.                         <xsl:call-template name="templ_prop_Dot"/>
  7980.                     </xsl:if>
  7981.                 </xsl:if>
  7982.             </xsl:when>
  7983.             <xsl:otherwise>
  7984.                 <xsl:value-of select="substring($format, 1, 1)" />
  7985.                 <xsl:call-template name="StringFormatName">
  7986.                     <xsl:with-param name="format" select="substring($format, 2)" />
  7987.                     <xsl:with-param name="withDot" select="$withDot" />
  7988.                     <xsl:with-param name="upperLast" select="$upperLast" />
  7989.                 </xsl:call-template>
  7990.                 <xsl:if test="string-length($format)=1">
  7991.                     <xsl:if test="withDot = 'yes' and not(contains($prop_EndChars, $format))">
  7992.                         <xsl:call-template name="templ_prop_Dot"/>
  7993.                     </xsl:if>
  7994.                 </xsl:if>
  7995.             </xsl:otherwise>
  7996.         </xsl:choose>
  7997.     </xsl:template>    
  7998.  
  7999.     <xsl:template name="StringFormatDate">
  8000.         <xsl:param name="format" />
  8001.         
  8002.         <xsl:param name="day"/>
  8003.         <xsl:param name="month"/>
  8004.         <xsl:param name="year"/>        
  8005.         
  8006.         <xsl:param name="withDot" />
  8007.  
  8008.     <xsl:variable name="prop_EndChars">
  8009.       <xsl:call-template name="templ_prop_EndChars"/>
  8010.     </xsl:variable>
  8011.  
  8012.     <xsl:choose>
  8013.             <xsl:when test="$format = ''"></xsl:when>
  8014.             <xsl:when test="substring($format, 1, 2) = '%%'">
  8015.                 <xsl:text>%</xsl:text>
  8016.                 <xsl:call-template name="StringFormatDate">
  8017.                     <xsl:with-param name="format" select="substring($format, 3)" />
  8018.                     <xsl:with-param name="day" select="$day"/>
  8019.                     <xsl:with-param name="month" select="$month"/>
  8020.                     <xsl:with-param name="year" select="$year"/>
  8021.                     <xsl:with-param name="withDot" select="$withDot" />
  8022.                 </xsl:call-template>
  8023.                 <xsl:if test="string-length($format)=2 and withDot = 'yes' and not(contains($prop_EndChars, '%'))">
  8024.                     <xsl:call-template name="templ_prop_Dot"/>
  8025.                 </xsl:if>
  8026.             </xsl:when>
  8027.             <xsl:when test="substring($format, 1, 1) = '%'">
  8028.                 <xsl:variable name="what" select="substring($format, 2, 1)" />
  8029.                 <xsl:choose>
  8030.                     <xsl:when test="$what = 'D'">
  8031.                         <xsl:value-of select="$day"/>
  8032.                     </xsl:when>
  8033.                     <xsl:when test="$what = 'M'">
  8034.                         <xsl:value-of select="$month"/>
  8035.                     </xsl:when>
  8036.                     <xsl:when test="$what = 'Y'">
  8037.                         <xsl:value-of select="$year"/>
  8038.                     </xsl:when>
  8039.                 </xsl:choose>
  8040.                 <xsl:call-template name="StringFormatDate">
  8041.                     <xsl:with-param name="format" select="substring($format, 3)" />
  8042.                     <xsl:with-param name="day" select="$day"/>
  8043.                     <xsl:with-param name="month" select="$month"/>
  8044.                     <xsl:with-param name="year" select="$year"/>
  8045.                     <xsl:with-param name="withDot" select="$withDot" />
  8046.                 </xsl:call-template>
  8047.                 <xsl:if test="string-length($format)=2 and withDot='yes'">
  8048.                     <xsl:variable name="temp2">
  8049.                         <xsl:call-template name="handleSpaces">
  8050.                             <xsl:with-param name="field">
  8051.                                 <xsl:call-template name="formatNameOneItem">
  8052.                                     <xsl:with-param name="format" select="$what"/>
  8053.                                 </xsl:call-template>
  8054.                             </xsl:with-param>
  8055.                         </xsl:call-template>
  8056.                     </xsl:variable>                
  8057.                     <xsl:variable name="lastChar">
  8058.                         <xsl:value-of select="substring($temp2, string-length($temp2))"/>
  8059.                     </xsl:variable>
  8060.                     <xsl:if test="not(contains($prop_EndChars, $lastChar))">
  8061.                         <xsl:call-template name="templ_prop_Dot"/>
  8062.                     </xsl:if>
  8063.                 </xsl:if>
  8064.             </xsl:when>
  8065.             <xsl:otherwise>
  8066.                 <xsl:value-of select="substring($format, 1, 1)" />
  8067.                 <xsl:call-template name="StringFormatDate">
  8068.                     <xsl:with-param name="format" select="substring($format, 2)" />
  8069.                     <xsl:with-param name="day" select="$day"/>
  8070.                     <xsl:with-param name="month" select="$month"/>
  8071.                     <xsl:with-param name="year" select="$year"/>
  8072.                     <xsl:with-param name="withDot" select="$withDot" />
  8073.                 </xsl:call-template>
  8074.                 <xsl:if test="string-length($format)=1">
  8075.                     <xsl:if test="withDot = 'yes' and not(contains($prop_EndChars, $format))">
  8076.                         <xsl:call-template name="templ_prop_Dot"/>
  8077.                     </xsl:if>
  8078.                 </xsl:if>
  8079.             </xsl:otherwise>
  8080.         </xsl:choose>
  8081.     </xsl:template>
  8082.  
  8083.     <xsl:template name="getYear">
  8084.         <xsl:choose>
  8085.             <xsl:when test="string-length(b:Year)=0">
  8086.                 <xsl:call-template name="templ_str_NoDateShortUnCap"/>
  8087.             </xsl:when>
  8088.             <xsl:otherwise>
  8089.                 <xsl:value-of select="b:Year"/>
  8090.             </xsl:otherwise>
  8091.         </xsl:choose>
  8092.     </xsl:template>
  8093.  
  8094.     <xsl:template name="formatDateCore">
  8095.         <xsl:param name="day"/>
  8096.         <xsl:param name="month"/>
  8097.         <xsl:param name="year"/>
  8098.         <xsl:param name="displayND"/>
  8099.         
  8100.         <xsl:param name="DMY"/>
  8101.         <xsl:param name="DM"/>
  8102.         <xsl:param name="MY"/>
  8103.         <xsl:param name="DY"/>
  8104.     
  8105.         <xsl:choose>
  8106.             <xsl:when test="string-length($year)=0">
  8107.                 <xsl:if test="$displayND = 'yes'">
  8108.                     <xsl:call-template name="templ_str_NoDateShortUnCap"/>
  8109.                 </xsl:if>
  8110.             </xsl:when>
  8111.             <xsl:otherwise>
  8112.                 <xsl:call-template name="formatDateCorePrivate">
  8113.                     <xsl:with-param name="day" select="$day"/>
  8114.                     <xsl:with-param name="month" select="$month"/>
  8115.                     <xsl:with-param name="year" select="$year"/>
  8116.                     
  8117.                     <xsl:with-param name="DMY" select="$DMY"/>
  8118.                     <xsl:with-param name="DM" select="$DM"/>
  8119.                     <xsl:with-param name="MY" select="$MY"/>
  8120.                     <xsl:with-param name="DY" select="$DY"/>
  8121.                 </xsl:call-template>
  8122.             </xsl:otherwise>
  8123.         </xsl:choose>
  8124.     
  8125.     </xsl:template>
  8126.     
  8127.     <xsl:template name="formatNameOneItem">
  8128.         <xsl:param name="format"/>
  8129.  
  8130.         <xsl:choose>
  8131.             <xsl:when test="$format = 'F'">
  8132.                 <xsl:value-of select="b:First"/>
  8133.             </xsl:when>
  8134.             <xsl:when test="$format = 'L'">
  8135.                 <xsl:value-of select="b:Last"/>
  8136.             </xsl:when>
  8137.             <xsl:when test="$format = 'M'">
  8138.                 <xsl:value-of select="b:Middle"/>
  8139.             </xsl:when>
  8140.             <xsl:when test="$format = 'f'">
  8141.                 <xsl:call-template name="formatNameInitial">
  8142.                     <xsl:with-param name="name" select="b:First"/>
  8143.                 </xsl:call-template>
  8144.             </xsl:when>
  8145.             <xsl:when test="$format = 'm'">
  8146.                 <xsl:call-template name="formatNameInitial">
  8147.                     <xsl:with-param name="name" select="b:Middle"/>
  8148.                 </xsl:call-template>
  8149.             </xsl:when>
  8150.             <xsl:when test="$format = 'l'">
  8151.                 <xsl:call-template name="formatNameInitial">
  8152.                     <xsl:with-param name="name" select="b:Last"/>
  8153.                 </xsl:call-template>
  8154.             </xsl:when>
  8155.         </xsl:choose>
  8156.  
  8157.     </xsl:template>
  8158.     
  8159.     <xsl:template name="formatNameInitial">
  8160.         <xsl:param name="name"/>
  8161.         <xsl:variable name="temp">
  8162.             <xsl:call-template name="handleSpaces">
  8163.                 <xsl:with-param name="field" select="$name"/>
  8164.             </xsl:call-template>
  8165.         </xsl:variable>
  8166.     <xsl:variable name="prop_APA_Hyphens">
  8167.       <xsl:call-template name="templ_prop_Hyphens"/>
  8168.     </xsl:variable>
  8169.  
  8170.     <xsl:if test="string-length($temp)>0">
  8171.  
  8172.             <xsl:variable name="tempWithoutSpaces">
  8173.                 <xsl:value-of select="translate($temp, '  ', '')"/>
  8174.             </xsl:variable>
  8175.  
  8176.             <xsl:if test="not(contains($prop_APA_Hyphens, substring($tempWithoutSpaces, 1, 1)))">
  8177.                 <xsl:value-of select="substring($tempWithoutSpaces, 1, 1)"/>
  8178.                 <xsl:call-template name="templ_prop_DotInitial"/>
  8179.             </xsl:if>
  8180.  
  8181.             <xsl:call-template name="handleHyphens">
  8182.                 <xsl:with-param name="name" select="$tempWithoutSpaces"/>
  8183.             </xsl:call-template>
  8184.         </xsl:if>
  8185.     </xsl:template>
  8186.     
  8187.     <xsl:template name="handleHyphens">
  8188.         <xsl:param name="name"/>
  8189.  
  8190.     <xsl:variable name="prop_APA_Hyphens">
  8191.       <xsl:call-template name="templ_prop_Hyphens"/>
  8192.     </xsl:variable>
  8193.  
  8194.     <xsl:if test="string-length($name)>=2">
  8195.             <xsl:choose>
  8196.                 <xsl:when test="contains($prop_APA_Hyphens, substring($name, 1, 1))">
  8197.                     <xsl:value-of select="substring($name, 1, 2)"/>
  8198.                     <xsl:call-template name="templ_prop_DotInitial"/>
  8199.                     
  8200.                     <xsl:call-template name="handleHyphens">
  8201.                         <xsl:with-param name="name" select="substring($name, 3)"/>
  8202.                     </xsl:call-template>
  8203.                 </xsl:when>
  8204.                 
  8205.                 <xsl:otherwise>
  8206.                     <xsl:call-template name="handleHyphens">
  8207.                         <xsl:with-param name="name" select="substring($name, 2)"/>
  8208.                     </xsl:call-template>
  8209.                 </xsl:otherwise>
  8210.             </xsl:choose>
  8211.             
  8212.         </xsl:if>
  8213.  
  8214.     </xsl:template>
  8215.     
  8216.     
  8217. </xsl:stylesheet>
  8218.