home *** CD-ROM | disk | FTP | other *** search
/ ftp.tcs3.com / ftp.tcs3.com.tar / ftp.tcs3.com / DRIVERS / Audio / Office2010 / ProPlus.WW / ProPsWW.cab / CHICAGO.XSL < prev    next >
Extensible Markup Language  |  2009-11-03  |  338KB  |  9,181 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.     <xsl:template match="*" mode="outputHtml2">
  10.             <xsl:apply-templates mode="outputHtml"/>        
  11.     </xsl:template>
  12.  
  13.     <xsl:template name="StringFormatDot">
  14.         <xsl:param name="format" />
  15.         <xsl:param name="parameters" />
  16.  
  17.     <xsl:variable name="prop_EndChars">
  18.       <xsl:call-template name="templ_prop_EndChars"/>
  19.     </xsl:variable>
  20.  
  21.     <xsl:choose>
  22.             <xsl:when test="$format = ''"></xsl:when>
  23.             <xsl:when test="substring($format, 1, 2) = '%%'">
  24.                 <xsl:text>%</xsl:text>
  25.                 <xsl:call-template name="StringFormatDot">
  26.                     <xsl:with-param name="format" select="substring($format, 3)" />
  27.                     <xsl:with-param name="parameters" select="$parameters" />
  28.                 </xsl:call-template>
  29.                 <xsl:if test="string-length($format)=2">
  30.                     <xsl:call-template name="templ_prop_Dot"/>
  31.                 </xsl:if>
  32.             </xsl:when>
  33.             <xsl:when test="substring($format, 1, 1) = '%'">
  34.                 <xsl:variable name="pos" select="substring($format, 2, 1)" />
  35.                 <xsl:apply-templates select="msxsl:node-set($parameters)/t:params/t:param[position() = $pos]" mode="outputHtml2"/>
  36.                 <xsl:call-template name="StringFormatDot">
  37.                     <xsl:with-param name="format" select="substring($format, 3)" />
  38.                     <xsl:with-param name="parameters" select="$parameters" />
  39.                 </xsl:call-template>
  40.                 <xsl:if test="string-length($format)=2">
  41.                     <xsl:variable name="temp2">
  42.                         <xsl:call-template name="handleSpaces">
  43.                             <xsl:with-param name="field" select="msxsl:node-set($parameters)/t:params/t:param[position() = $pos]"/>
  44.                         </xsl:call-template>
  45.                     </xsl:variable>                
  46.                     <xsl:variable name="lastChar">
  47.                         <xsl:value-of select="substring($temp2, string-length($temp2))"/>
  48.                     </xsl:variable>
  49.                     <xsl:if test="not(contains($prop_EndChars, $lastChar))">
  50.                         <xsl:call-template name="templ_prop_Dot"/>
  51.                     </xsl:if>
  52.                 </xsl:if>
  53.             </xsl:when>
  54.             <xsl:otherwise>
  55.                 <xsl:value-of select="substring($format, 1, 1)" />
  56.                 <xsl:call-template name="StringFormatDot">
  57.                     <xsl:with-param name="format" select="substring($format, 2)" />
  58.                     <xsl:with-param name="parameters" select="$parameters" />
  59.                 </xsl:call-template>
  60.                 <xsl:if test="string-length($format)=1">
  61.                     <xsl:if test="not(contains($prop_EndChars, $format))">
  62.                         <xsl:call-template name="templ_prop_Dot"/>
  63.                     </xsl:if>
  64.                 </xsl:if>
  65.             </xsl:otherwise>
  66.         </xsl:choose>
  67.     </xsl:template>    
  68.  
  69.     <xsl:template name="StringFormat">
  70.         <xsl:param name="format" />
  71.         <xsl:param name="parameters" />
  72.         <xsl:choose>
  73.             <xsl:when test="$format = ''"></xsl:when>
  74.             <xsl:when test="substring($format, 1, 2) = '%%'">
  75.                 <xsl:text>%</xsl:text>
  76.                 <xsl:call-template name="StringFormat">
  77.                     <xsl:with-param name="format" select="substring($format, 3)" />
  78.                     <xsl:with-param name="parameters" select="$parameters" />
  79.                 </xsl:call-template>
  80.             </xsl:when>
  81.             <xsl:when test="substring($format, 1, 1) = '%'">
  82.                 <xsl:variable name="pos" select="substring($format, 2, 1)" />
  83.                 <xsl:apply-templates select="msxsl:node-set($parameters)/t:params/t:param[position() = $pos]" mode="outputHtml2"/>
  84.                 <xsl:call-template name="StringFormat">
  85.                     <xsl:with-param name="format" select="substring($format, 3)" />
  86.                     <xsl:with-param name="parameters" select="$parameters" />
  87.                 </xsl:call-template>
  88.             </xsl:when>
  89.             <xsl:otherwise>
  90.                 <xsl:value-of select="substring($format, 1, 1)" />
  91.                 <xsl:call-template name="StringFormat">
  92.                     <xsl:with-param name="format" select="substring($format, 2)" />
  93.                     <xsl:with-param name="parameters" select="$parameters" />
  94.                 </xsl:call-template>
  95.             </xsl:otherwise>
  96.         </xsl:choose>
  97.     </xsl:template>
  98.     
  99.  
  100.  
  101.     
  102.  
  103.  
  104.  
  105.  
  106.   <xsl:template name="localLCID">
  107.     <xsl:param name="LCID"/>
  108.  
  109.     <xsl:variable name="_LCID1">
  110.       <xsl:choose>
  111.         <xsl:when test="$LCID!='0' and $LCID!=''">
  112.           <xsl:value-of select="$LCID"/>
  113.         </xsl:when>
  114.         <xsl:when test="/b:Citation">
  115.           <xsl:value-of select="/*/b:Locals/b:DefaultLCID"/>
  116.         </xsl:when>
  117.         <xsl:when test="b:LCID">
  118.           <xsl:value-of select="b:LCID"/>
  119.         </xsl:when>
  120.         <xsl:when test="../b:LCID">
  121.           <xsl:value-of select="../b:LCID"/>
  122.         </xsl:when>
  123.         <xsl:when test="../../b:LCID">
  124.           <xsl:value-of select="../../b:LCID"/>
  125.         </xsl:when>
  126.         <xsl:when test="../../../b:LCID">
  127.           <xsl:value-of select="../../../b:LCID"/>
  128.         </xsl:when>
  129.         <xsl:when test="../../../../b:LCID">
  130.           <xsl:value-of select="../../../../b:LCID"/>
  131.         </xsl:when>
  132.         <xsl:when test="../../../../b:LCID">
  133.           <xsl:value-of select="../../../../b:LCID"/>
  134.         </xsl:when>
  135.         <xsl:when test="../../../../../b:LCID">
  136.           <xsl:value-of select="../../../../../b:LCID"/>
  137.         </xsl:when>
  138.         <xsl:otherwise>
  139.           <xsl:value-of select="/*/b:Locals/b:DefaultLCID"/>
  140.         </xsl:otherwise>
  141.       </xsl:choose>
  142.     </xsl:variable>
  143.  
  144.     <xsl:choose>
  145.       <xsl:when test="$_LCID1!='0' and string-length($_LCID1)>0">
  146.         <xsl:value-of select="$_LCID1"/>
  147.       </xsl:when>
  148.       <xsl:otherwise>
  149.         <xsl:value-of select="/*/b:Locals/b:DefaultLCID"/>
  150.       </xsl:otherwise>
  151.     </xsl:choose>
  152.  
  153.   </xsl:template>
  154.  
  155.   
  156.   <xsl:template name="templ_prop_NoItalics" >
  157.     <xsl:param name="LCID" />
  158.     <xsl:variable name="_LCID">
  159.       <xsl:call-template name="localLCID">
  160.         <xsl:with-param name="LCID" select="$LCID"/>
  161.       </xsl:call-template>
  162.     </xsl:variable>
  163.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:NoItalics"/>
  164.   </xsl:template>
  165.  
  166.   
  167.   <xsl:template name="templ_prop_TitleOpen" >
  168.     <xsl:param name="LCID" />
  169.     <xsl:variable name="_LCID">
  170.       <xsl:call-template name="localLCID">
  171.         <xsl:with-param name="LCID" select="$LCID"/>
  172.       </xsl:call-template>
  173.     </xsl:variable>
  174.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:TitleOpen"/>
  175.   </xsl:template>
  176.  
  177.   
  178.   <xsl:template name="templ_prop_TitleClose" >
  179.     <xsl:param name="LCID" />
  180.     <xsl:variable name="_LCID">
  181.       <xsl:call-template name="localLCID">
  182.         <xsl:with-param name="LCID" select="$LCID"/>
  183.       </xsl:call-template>
  184.     </xsl:variable>
  185.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:TitleClose"/>
  186.   </xsl:template>  
  187.  
  188.   
  189.   <xsl:template name="templ_prop_MLA_CitationLong_FML" >
  190.     <xsl:param name="LCID" />
  191.     <xsl:variable name="_LCID">
  192.       <xsl:call-template name="localLCID">
  193.         <xsl:with-param name="LCID" select="$LCID"/>
  194.       </xsl:call-template>
  195.     </xsl:variable>
  196.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:CitationLong/b:FML"/>
  197.   </xsl:template>
  198.  
  199.   
  200.   <xsl:template name="templ_prop_MLA_CitationLong_FM" >
  201.     <xsl:param name="LCID" />
  202.     <xsl:variable name="_LCID">
  203.       <xsl:call-template name="localLCID">
  204.         <xsl:with-param name="LCID" select="$LCID"/>
  205.       </xsl:call-template>
  206.     </xsl:variable>
  207.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:CitationLong/b:FM"/>
  208.   </xsl:template>
  209.  
  210.   
  211.   <xsl:template name="templ_prop_MLA_CitationLong_ML" >
  212.     <xsl:param name="LCID" />
  213.     <xsl:variable name="_LCID">
  214.       <xsl:call-template name="localLCID">
  215.         <xsl:with-param name="LCID" select="$LCID"/>
  216.       </xsl:call-template>
  217.     </xsl:variable>
  218.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:CitationLong/b:ML"/>
  219.   </xsl:template>
  220.  
  221.   
  222.   <xsl:template name="templ_prop_MLA_CitationLong_FL" >
  223.     <xsl:param name="LCID" />
  224.     <xsl:variable name="_LCID">
  225.       <xsl:call-template name="localLCID">
  226.         <xsl:with-param name="LCID" select="$LCID"/>
  227.       </xsl:call-template>
  228.     </xsl:variable>
  229.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:CitationLong/b:FL"/>
  230.   </xsl:template>
  231.  
  232.   
  233.   <xsl:template name="templ_prop_MLA_CitationShort_FML" >
  234.     <xsl:param name="LCID" />
  235.     <xsl:variable name="_LCID">
  236.       <xsl:call-template name="localLCID">
  237.         <xsl:with-param name="LCID" select="$LCID"/>
  238.       </xsl:call-template>
  239.     </xsl:variable>
  240.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:CitationShort/b:FML"/>
  241.   </xsl:template>
  242.  
  243.   
  244.   <xsl:template name="templ_prop_MLA_CitationShort_FM" >
  245.     <xsl:param name="LCID" />
  246.     <xsl:variable name="_LCID">
  247.       <xsl:call-template name="localLCID">
  248.         <xsl:with-param name="LCID" select="$LCID"/>
  249.       </xsl:call-template>
  250.     </xsl:variable>
  251.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:CitationShort/b:FM"/>
  252.   </xsl:template>
  253.  
  254.   
  255.   <xsl:template name="templ_prop_MLA_CitationShort_ML" >
  256.     <xsl:param name="LCID" />
  257.     <xsl:variable name="_LCID">
  258.       <xsl:call-template name="localLCID">
  259.         <xsl:with-param name="LCID" select="$LCID"/>
  260.       </xsl:call-template>
  261.     </xsl:variable>
  262.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:CitationShort/b:ML"/>
  263.   </xsl:template>
  264.  
  265.   
  266.   <xsl:template name="templ_prop_MLA_CitationShort_FL" >
  267.     <xsl:param name="LCID" />
  268.     <xsl:variable name="_LCID">
  269.       <xsl:call-template name="localLCID">
  270.         <xsl:with-param name="LCID" select="$LCID"/>
  271.       </xsl:call-template>
  272.     </xsl:variable>
  273.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:CitationShort/b:FL"/>
  274.   </xsl:template>
  275.  
  276.   
  277.   <xsl:template name="templ_prop_APA_CitationLong_FML" >
  278.     <xsl:param name="LCID" />
  279.     <xsl:variable name="_LCID">
  280.       <xsl:call-template name="localLCID">
  281.         <xsl:with-param name="LCID" select="$LCID"/>
  282.       </xsl:call-template>
  283.     </xsl:variable>
  284.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:CitationLong/b:FML"/>
  285.   </xsl:template>
  286.  
  287.   
  288.   <xsl:template name="templ_prop_APA_CitationLong_FM" >
  289.     <xsl:param name="LCID" />
  290.     <xsl:variable name="_LCID">
  291.       <xsl:call-template name="localLCID">
  292.         <xsl:with-param name="LCID" select="$LCID"/>
  293.       </xsl:call-template>
  294.     </xsl:variable>
  295.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:CitationLong/b:FM"/>
  296.   </xsl:template>
  297.  
  298.   
  299.   <xsl:template name="templ_prop_APA_CitationLong_ML" >
  300.     <xsl:param name="LCID" />
  301.     <xsl:variable name="_LCID">
  302.       <xsl:call-template name="localLCID">
  303.         <xsl:with-param name="LCID" select="$LCID"/>
  304.       </xsl:call-template>
  305.     </xsl:variable>
  306.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:CitationLong/b:ML"/>
  307.   </xsl:template>
  308.  
  309.   
  310.   <xsl:template name="templ_prop_APA_CitationLong_FL" >
  311.     <xsl:param name="LCID" />
  312.     <xsl:variable name="_LCID">
  313.       <xsl:call-template name="localLCID">
  314.         <xsl:with-param name="LCID" select="$LCID"/>
  315.       </xsl:call-template>
  316.     </xsl:variable>
  317.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:CitationLong/b:FL"/>
  318.   </xsl:template>
  319.  
  320.   
  321.   <xsl:template name="templ_prop_APA_CitationShort_FML" >
  322.     <xsl:param name="LCID" />
  323.     <xsl:variable name="_LCID">
  324.       <xsl:call-template name="localLCID">
  325.         <xsl:with-param name="LCID" select="$LCID"/>
  326.       </xsl:call-template>
  327.     </xsl:variable>
  328.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:CitationShort/b:FML"/>
  329.   </xsl:template>
  330.  
  331.   
  332.   <xsl:template name="templ_prop_APA_CitationShort_FM" >
  333.     <xsl:param name="LCID" />
  334.     <xsl:variable name="_LCID">
  335.       <xsl:call-template name="localLCID">
  336.         <xsl:with-param name="LCID" select="$LCID"/>
  337.       </xsl:call-template>
  338.     </xsl:variable>
  339.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:CitationShort/b:FM"/>
  340.   </xsl:template>
  341.  
  342.   
  343.   <xsl:template name="templ_prop_APA_CitationShort_ML" >
  344.     <xsl:param name="LCID" />
  345.     <xsl:variable name="_LCID">
  346.       <xsl:call-template name="localLCID">
  347.         <xsl:with-param name="LCID" select="$LCID"/>
  348.       </xsl:call-template>
  349.     </xsl:variable>
  350.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:CitationShort/b:ML"/>
  351.   </xsl:template>
  352.  
  353.   
  354.   <xsl:template name="templ_prop_APA_CitationShort_FL" >
  355.     <xsl:param name="LCID" />
  356.     <xsl:variable name="_LCID">
  357.       <xsl:call-template name="localLCID">
  358.         <xsl:with-param name="LCID" select="$LCID"/>
  359.       </xsl:call-template>
  360.     </xsl:variable>
  361.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:CitationShort/b:FL"/>
  362.   </xsl:template>
  363.  
  364.   
  365.   <xsl:template name="templ_prop_Chicago_CitationLong_FML" >
  366.     <xsl:param name="LCID" />
  367.     <xsl:variable name="_LCID">
  368.       <xsl:call-template name="localLCID">
  369.         <xsl:with-param name="LCID" select="$LCID"/>
  370.       </xsl:call-template>
  371.     </xsl:variable>
  372.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:CitationLong/b:FML"/>
  373.   </xsl:template>
  374.  
  375.   
  376.   <xsl:template name="templ_prop_Chicago_CitationLong_FM" >
  377.     <xsl:param name="LCID" />
  378.     <xsl:variable name="_LCID">
  379.       <xsl:call-template name="localLCID">
  380.         <xsl:with-param name="LCID" select="$LCID"/>
  381.       </xsl:call-template>
  382.     </xsl:variable>
  383.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:CitationLong/b:FM"/>
  384.   </xsl:template>
  385.  
  386.   
  387.   <xsl:template name="templ_prop_Chicago_CitationLong_ML" >
  388.     <xsl:param name="LCID" />
  389.     <xsl:variable name="_LCID">
  390.       <xsl:call-template name="localLCID">
  391.         <xsl:with-param name="LCID" select="$LCID"/>
  392.       </xsl:call-template>
  393.     </xsl:variable>
  394.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:CitationLong/b:ML"/>
  395.   </xsl:template>
  396.  
  397.   
  398.   <xsl:template name="templ_prop_Chicago_CitationLong_FL" >
  399.     <xsl:param name="LCID" />
  400.     <xsl:variable name="_LCID">
  401.       <xsl:call-template name="localLCID">
  402.         <xsl:with-param name="LCID" select="$LCID"/>
  403.       </xsl:call-template>
  404.     </xsl:variable>
  405.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:CitationLong/b:FL"/>
  406.   </xsl:template>
  407.  
  408.   
  409.   <xsl:template name="templ_prop_Chicago_CitationShort_FML" >
  410.     <xsl:param name="LCID" />
  411.     <xsl:variable name="_LCID">
  412.       <xsl:call-template name="localLCID">
  413.         <xsl:with-param name="LCID" select="$LCID"/>
  414.       </xsl:call-template>
  415.     </xsl:variable>
  416.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:CitationShort/b:FML"/>
  417.   </xsl:template>
  418.  
  419.   
  420.   <xsl:template name="templ_prop_Chicago_CitationShort_FM" >
  421.     <xsl:param name="LCID" />
  422.     <xsl:variable name="_LCID">
  423.       <xsl:call-template name="localLCID">
  424.         <xsl:with-param name="LCID" select="$LCID"/>
  425.       </xsl:call-template>
  426.     </xsl:variable>
  427.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:CitationShort/b:FM"/>
  428.   </xsl:template>
  429.  
  430.   
  431.   <xsl:template name="templ_prop_Chicago_CitationShort_ML" >
  432.     <xsl:param name="LCID" />
  433.     <xsl:variable name="_LCID">
  434.       <xsl:call-template name="localLCID">
  435.         <xsl:with-param name="LCID" select="$LCID"/>
  436.       </xsl:call-template>
  437.     </xsl:variable>
  438.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:CitationShort/b:ML"/>
  439.   </xsl:template>
  440.  
  441.   
  442.   <xsl:template name="templ_prop_Chicago_CitationShort_FL" >
  443.     <xsl:param name="LCID" />
  444.     <xsl:variable name="_LCID">
  445.       <xsl:call-template name="localLCID">
  446.         <xsl:with-param name="LCID" select="$LCID"/>
  447.       </xsl:call-template>
  448.     </xsl:variable>
  449.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:CitationShort/b:FL"/>
  450.   </xsl:template>
  451.  
  452.   
  453.   <xsl:template name="templ_prop_Gost_CitationLong_FML" >
  454.     <xsl:param name="LCID" />
  455.     <xsl:variable name="_LCID">
  456.       <xsl:call-template name="localLCID">
  457.         <xsl:with-param name="LCID" select="$LCID"/>
  458.       </xsl:call-template>
  459.     </xsl:variable>
  460.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:CitationLong/b:FML"/>
  461.   </xsl:template>
  462.  
  463.   
  464.   <xsl:template name="templ_prop_Gost_CitationLong_FM" >
  465.     <xsl:param name="LCID" />
  466.     <xsl:variable name="_LCID">
  467.       <xsl:call-template name="localLCID">
  468.         <xsl:with-param name="LCID" select="$LCID"/>
  469.       </xsl:call-template>
  470.     </xsl:variable>
  471.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:CitationLong/b:FM"/>
  472.   </xsl:template>
  473.  
  474.   
  475.   <xsl:template name="templ_prop_Gost_CitationLong_ML" >
  476.     <xsl:param name="LCID" />
  477.     <xsl:variable name="_LCID">
  478.       <xsl:call-template name="localLCID">
  479.         <xsl:with-param name="LCID" select="$LCID"/>
  480.       </xsl:call-template>
  481.     </xsl:variable>
  482.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:CitationLong/b:ML"/>
  483.   </xsl:template>
  484.  
  485.   
  486.   <xsl:template name="templ_prop_Gost_CitationLong_FL" >
  487.     <xsl:param name="LCID" />
  488.     <xsl:variable name="_LCID">
  489.       <xsl:call-template name="localLCID">
  490.         <xsl:with-param name="LCID" select="$LCID"/>
  491.       </xsl:call-template>
  492.     </xsl:variable>
  493.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:CitationLong/b:FL"/>
  494.   </xsl:template>
  495.  
  496.   
  497.   <xsl:template name="templ_prop_Gost_CitationShort_FML" >
  498.     <xsl:param name="LCID" />
  499.     <xsl:variable name="_LCID">
  500.       <xsl:call-template name="localLCID">
  501.         <xsl:with-param name="LCID" select="$LCID"/>
  502.       </xsl:call-template>
  503.     </xsl:variable>
  504.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:CitationShort/b:FML"/>
  505.   </xsl:template>
  506.  
  507.   
  508.   <xsl:template name="templ_prop_Gost_CitationShort_FM" >
  509.     <xsl:param name="LCID" />
  510.     <xsl:variable name="_LCID">
  511.       <xsl:call-template name="localLCID">
  512.         <xsl:with-param name="LCID" select="$LCID"/>
  513.       </xsl:call-template>
  514.     </xsl:variable>
  515.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:CitationShort/b:FM"/>
  516.   </xsl:template>
  517.  
  518.   
  519.   <xsl:template name="templ_prop_Gost_CitationShort_ML" >
  520.     <xsl:param name="LCID" />
  521.     <xsl:variable name="_LCID">
  522.       <xsl:call-template name="localLCID">
  523.         <xsl:with-param name="LCID" select="$LCID"/>
  524.       </xsl:call-template>
  525.     </xsl:variable>
  526.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:CitationShort/b:ML"/>
  527.   </xsl:template>
  528.  
  529.   
  530.   <xsl:template name="templ_prop_Gost_CitationShort_FL" >
  531.     <xsl:param name="LCID" />
  532.     <xsl:variable name="_LCID">
  533.       <xsl:call-template name="localLCID">
  534.         <xsl:with-param name="LCID" select="$LCID"/>
  535.       </xsl:call-template>
  536.     </xsl:variable>
  537.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:CitationShort/b:FL"/>
  538.   </xsl:template>
  539.  
  540.   
  541.   <xsl:template name="templ_prop_ISO690_CitationLong_FML" >
  542.     <xsl:param name="LCID" />
  543.     <xsl:variable name="_LCID">
  544.       <xsl:call-template name="localLCID">
  545.         <xsl:with-param name="LCID" select="$LCID"/>
  546.       </xsl:call-template>
  547.     </xsl:variable>
  548.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:CitationLong/b:FML"/>
  549.   </xsl:template>
  550.  
  551.   
  552.   <xsl:template name="templ_prop_ISO690_CitationLong_FM" >
  553.     <xsl:param name="LCID" />
  554.     <xsl:variable name="_LCID">
  555.       <xsl:call-template name="localLCID">
  556.         <xsl:with-param name="LCID" select="$LCID"/>
  557.       </xsl:call-template>
  558.     </xsl:variable>
  559.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:CitationLong/b:FM"/>
  560.   </xsl:template>
  561.  
  562.   
  563.   <xsl:template name="templ_prop_ISO690_CitationLong_ML" >
  564.     <xsl:param name="LCID" />
  565.     <xsl:variable name="_LCID">
  566.       <xsl:call-template name="localLCID">
  567.         <xsl:with-param name="LCID" select="$LCID"/>
  568.       </xsl:call-template>
  569.     </xsl:variable>
  570.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:CitationLong/b:ML"/>
  571.   </xsl:template>
  572.  
  573.   
  574.   <xsl:template name="templ_prop_ISO690_CitationLong_FL" >
  575.     <xsl:param name="LCID" />
  576.     <xsl:variable name="_LCID">
  577.       <xsl:call-template name="localLCID">
  578.         <xsl:with-param name="LCID" select="$LCID"/>
  579.       </xsl:call-template>
  580.     </xsl:variable>
  581.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:CitationLong/b:FL"/>
  582.   </xsl:template>
  583.  
  584.   
  585.   <xsl:template name="templ_prop_ISO690_CitationShort_FML" >
  586.     <xsl:param name="LCID" />
  587.     <xsl:variable name="_LCID">
  588.       <xsl:call-template name="localLCID">
  589.         <xsl:with-param name="LCID" select="$LCID"/>
  590.       </xsl:call-template>
  591.     </xsl:variable>
  592.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:CitationShort/b:FML"/>
  593.   </xsl:template>
  594.  
  595.   
  596.   <xsl:template name="templ_prop_ISO690_CitationShort_FM" >
  597.     <xsl:param name="LCID" />
  598.     <xsl:variable name="_LCID">
  599.       <xsl:call-template name="localLCID">
  600.         <xsl:with-param name="LCID" select="$LCID"/>
  601.       </xsl:call-template>
  602.     </xsl:variable>
  603.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:CitationShort/b:FM"/>
  604.   </xsl:template>
  605.  
  606.   
  607.   <xsl:template name="templ_prop_ISO690_CitationShort_ML" >
  608.     <xsl:param name="LCID" />
  609.     <xsl:variable name="_LCID">
  610.       <xsl:call-template name="localLCID">
  611.         <xsl:with-param name="LCID" select="$LCID"/>
  612.       </xsl:call-template>
  613.     </xsl:variable>
  614.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:CitationShort/b:ML"/>
  615.   </xsl:template>
  616.  
  617.   
  618.   <xsl:template name="templ_prop_ISO690_CitationShort_FL" >
  619.     <xsl:param name="LCID" />
  620.     <xsl:variable name="_LCID">
  621.       <xsl:call-template name="localLCID">
  622.         <xsl:with-param name="LCID" select="$LCID"/>
  623.       </xsl:call-template>
  624.     </xsl:variable>
  625.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:CitationShort/b:FL"/>
  626.   </xsl:template>
  627.  
  628.   
  629.   <xsl:template name="templ_str_ChapterInCap" >
  630.     <xsl:param name="LCID" />
  631.     <xsl:variable name="_LCID">
  632.       <xsl:call-template name="localLCID">
  633.         <xsl:with-param name="LCID" select="$LCID"/>
  634.       </xsl:call-template>
  635.     </xsl:variable>
  636.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ChapterInCap"/>
  637.   </xsl:template>
  638.  
  639.   
  640.   <xsl:template name="templ_str_ChapterCap" >
  641.     <xsl:param name="LCID" />
  642.     <xsl:variable name="_LCID">
  643.       <xsl:call-template name="localLCID">
  644.         <xsl:with-param name="LCID" select="$LCID"/>
  645.       </xsl:call-template>
  646.     </xsl:variable>
  647.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ChapterCap"/>
  648.   </xsl:template>
  649.  
  650.   
  651.   <xsl:template name="templ_str_ChapterInUnCap" >
  652.     <xsl:param name="LCID" />
  653.     <xsl:variable name="_LCID">
  654.       <xsl:call-template name="localLCID">
  655.         <xsl:with-param name="LCID" select="$LCID"/>
  656.       </xsl:call-template>
  657.     </xsl:variable>
  658.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ChapterInUnCap"/>
  659.   </xsl:template>
  660.  
  661.   
  662.   <xsl:template name="templ_str_ChapterUnCap" >
  663.     <xsl:param name="LCID" />
  664.     <xsl:variable name="_LCID">
  665.       <xsl:call-template name="localLCID">
  666.         <xsl:with-param name="LCID" select="$LCID"/>
  667.       </xsl:call-template>
  668.     </xsl:variable>
  669.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ChapterUnCap"/>
  670.   </xsl:template>
  671.  
  672.   
  673.   <xsl:template name="templ_str_InterviewByUnCap" >
  674.     <xsl:param name="LCID" />
  675.     <xsl:variable name="_LCID">
  676.       <xsl:call-template name="localLCID">
  677.         <xsl:with-param name="LCID" select="$LCID"/>
  678.       </xsl:call-template>
  679.     </xsl:variable>
  680.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:InterviewByUnCap"/>
  681.   </xsl:template>
  682.  
  683.   
  684.   <xsl:template name="templ_str_ByUnCap" >
  685.     <xsl:param name="LCID" />
  686.     <xsl:variable name="_LCID">
  687.       <xsl:call-template name="localLCID">
  688.         <xsl:with-param name="LCID" select="$LCID"/>
  689.       </xsl:call-template>
  690.     </xsl:variable>
  691.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ByUnCap"/>
  692.   </xsl:template>
  693.  
  694.   
  695.   <xsl:template name="templ_str_InNameUnCap" >
  696.     <xsl:param name="LCID" />
  697.     <xsl:variable name="_LCID">
  698.       <xsl:call-template name="localLCID">
  699.         <xsl:with-param name="LCID" select="$LCID"/>
  700.       </xsl:call-template>
  701.     </xsl:variable>
  702.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:InNameUnCap"/>
  703.   </xsl:template>
  704.  
  705.   
  706.   <xsl:template name="templ_str_AccessedCap" >
  707.     <xsl:param name="LCID" />
  708.     <xsl:variable name="_LCID">
  709.       <xsl:call-template name="localLCID">
  710.         <xsl:with-param name="LCID" select="$LCID"/>
  711.       </xsl:call-template>
  712.     </xsl:variable>
  713.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:AccessedCap"/>
  714.   </xsl:template>
  715.  
  716.   
  717.   <xsl:template name="templ_str_AccessedUnCap" >
  718.     <xsl:param name="LCID" />
  719.     <xsl:variable name="_LCID">
  720.       <xsl:call-template name="localLCID">
  721.         <xsl:with-param name="LCID" select="$LCID"/>
  722.       </xsl:call-template>
  723.     </xsl:variable>
  724.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:AccessedUnCap"/>
  725.   </xsl:template>
  726.  
  727.   
  728.   <xsl:template name="templ_str_VolumesAfterShortUnCap" >
  729.     <xsl:param name="LCID" />
  730.     <xsl:variable name="_LCID">
  731.       <xsl:call-template name="localLCID">
  732.         <xsl:with-param name="LCID" select="$LCID"/>
  733.       </xsl:call-template>
  734.     </xsl:variable>
  735.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:VolumesAfterShortUnCap"/>
  736.   </xsl:template>
  737.  
  738.   
  739.   <xsl:template name="templ_str_OnlineCap" >
  740.     <xsl:param name="LCID" />
  741.     <xsl:variable name="_LCID">
  742.       <xsl:call-template name="localLCID">
  743.         <xsl:with-param name="LCID" select="$LCID"/>
  744.       </xsl:call-template>
  745.     </xsl:variable>
  746.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:OnlineCap"/>
  747.   </xsl:template>
  748.  
  749.   
  750.   <xsl:template name="templ_str_OnlineUnCap" >
  751.     <xsl:param name="LCID" />
  752.     <xsl:variable name="_LCID">
  753.       <xsl:call-template name="localLCID">
  754.         <xsl:with-param name="LCID" select="$LCID"/>
  755.       </xsl:call-template>
  756.     </xsl:variable>
  757.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:OnlineUnCap"/>
  758.   </xsl:template>
  759.  
  760.   
  761.   <xsl:template name="templ_str_InCap" >
  762.     <xsl:param name="LCID" />
  763.     <xsl:variable name="_LCID">
  764.       <xsl:call-template name="localLCID">
  765.         <xsl:with-param name="LCID" select="$LCID"/>
  766.       </xsl:call-template>
  767.     </xsl:variable>
  768.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:InCap"/>
  769.   </xsl:template>
  770.  
  771.   
  772.   <xsl:template name="templ_str_InNameCap" >
  773.     <xsl:param name="LCID" />
  774.     <xsl:variable name="_LCID">
  775.       <xsl:call-template name="localLCID">
  776.         <xsl:with-param name="LCID" select="$LCID"/>
  777.       </xsl:call-template>
  778.     </xsl:variable>
  779.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:InNameCap"/>
  780.   </xsl:template>
  781.  
  782.   
  783.   <xsl:template name="templ_str_WithUnCap" >
  784.     <xsl:param name="LCID" />
  785.     <xsl:variable name="_LCID">
  786.       <xsl:call-template name="localLCID">
  787.         <xsl:with-param name="LCID" select="$LCID"/>
  788.       </xsl:call-template>
  789.     </xsl:variable>
  790.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:WithUnCap"/>
  791.   </xsl:template>
  792.  
  793.   
  794.   <xsl:template name="templ_str_VersionShortCap" >
  795.     <xsl:param name="LCID" />
  796.     <xsl:variable name="_LCID">
  797.       <xsl:call-template name="localLCID">
  798.         <xsl:with-param name="LCID" select="$LCID"/>
  799.       </xsl:call-template>
  800.     </xsl:variable>
  801.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:VersionShortCap"/>
  802.   </xsl:template>
  803.  
  804.   
  805.   <xsl:template name="templ_str_InterviewCap" >
  806.     <xsl:param name="LCID" />
  807.     <xsl:variable name="_LCID">
  808.       <xsl:call-template name="localLCID">
  809.         <xsl:with-param name="LCID" select="$LCID"/>
  810.       </xsl:call-template>
  811.     </xsl:variable>
  812.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:InterviewCap"/>
  813.   </xsl:template>
  814.  
  815.   
  816.   <xsl:template name="templ_str_InterviewWithCap" >
  817.     <xsl:param name="LCID" />
  818.     <xsl:variable name="_LCID">
  819.       <xsl:call-template name="localLCID">
  820.         <xsl:with-param name="LCID" select="$LCID"/>
  821.       </xsl:call-template>
  822.     </xsl:variable>
  823.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:InterviewWithCap"/>
  824.   </xsl:template>
  825.  
  826.   
  827.   <xsl:template name="templ_str_InterviewByCap" >
  828.     <xsl:param name="LCID" />
  829.     <xsl:variable name="_LCID">
  830.       <xsl:call-template name="localLCID">
  831.         <xsl:with-param name="LCID" select="$LCID"/>
  832.       </xsl:call-template>
  833.     </xsl:variable>
  834.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:InterviewByCap"/>
  835.   </xsl:template>
  836.  
  837.   
  838.   <xsl:template name="templ_str_ByCap" >
  839.     <xsl:param name="LCID" />
  840.     <xsl:variable name="_LCID">
  841.       <xsl:call-template name="localLCID">
  842.         <xsl:with-param name="LCID" select="$LCID"/>
  843.       </xsl:call-template>
  844.     </xsl:variable>
  845.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ByCap"/>
  846.   </xsl:template>
  847.  
  848.   
  849.   <xsl:template name="templ_str_AndUnCap" >
  850.     <xsl:param name="LCID" />
  851.     <xsl:variable name="_LCID">
  852.       <xsl:call-template name="localLCID">
  853.         <xsl:with-param name="LCID" select="$LCID"/>
  854.       </xsl:call-template>
  855.     </xsl:variable>
  856.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:AndUnCap"/>
  857.   </xsl:template>
  858.  
  859.   
  860.   <xsl:template name="templ_str_AndOthersUnCap" >
  861.     <xsl:param name="LCID" />
  862.     <xsl:variable name="_LCID">
  863.       <xsl:call-template name="localLCID">
  864.         <xsl:with-param name="LCID" select="$LCID"/>
  865.       </xsl:call-template>
  866.     </xsl:variable>
  867.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:AndOthersUnCap"/>
  868.   </xsl:template>
  869.  
  870.   
  871.   <xsl:template name="templ_str_MotionPictureCap" >
  872.     <xsl:param name="LCID" />
  873.     <xsl:variable name="_LCID">
  874.       <xsl:call-template name="localLCID">
  875.         <xsl:with-param name="LCID" select="$LCID"/>
  876.       </xsl:call-template>
  877.     </xsl:variable>
  878.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:MotionPictureCap"/>
  879.   </xsl:template>
  880.  
  881.   
  882.   <xsl:template name="templ_str_PatentCap" >
  883.     <xsl:param name="LCID" />
  884.     <xsl:variable name="_LCID">
  885.       <xsl:call-template name="localLCID">
  886.         <xsl:with-param name="LCID" select="$LCID"/>
  887.       </xsl:call-template>
  888.     </xsl:variable>
  889.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PatentCap"/>
  890.   </xsl:template>
  891.  
  892.   
  893.   <xsl:template name="templ_str_EditionShortUnCap" >
  894.     <xsl:param name="LCID" />
  895.     <xsl:variable name="_LCID">
  896.       <xsl:call-template name="localLCID">
  897.         <xsl:with-param name="LCID" select="$LCID"/>
  898.       </xsl:call-template>
  899.     </xsl:variable>
  900.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:EditionShortUnCap"/>
  901.   </xsl:template>
  902.  
  903.   
  904.   <xsl:template name="templ_str_RetrievedFromCap" >
  905.     <xsl:param name="LCID" />
  906.     <xsl:variable name="_LCID">
  907.       <xsl:call-template name="localLCID">
  908.         <xsl:with-param name="LCID" select="$LCID"/>
  909.       </xsl:call-template>
  910.     </xsl:variable>
  911.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:RetrievedFromCap"/>
  912.   </xsl:template>
  913.  
  914.   
  915.   <xsl:template name="templ_str_RetrievedCap" >
  916.     <xsl:param name="LCID" />
  917.     <xsl:variable name="_LCID">
  918.       <xsl:call-template name="localLCID">
  919.         <xsl:with-param name="LCID" select="$LCID"/>
  920.       </xsl:call-template>
  921.     </xsl:variable>
  922.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:RetrievedCap"/>
  923.   </xsl:template>
  924.  
  925.   
  926.   <xsl:template name="templ_str_FromCap" >
  927.     <xsl:param name="LCID" />
  928.     <xsl:variable name="_LCID">
  929.       <xsl:call-template name="localLCID">
  930.         <xsl:with-param name="LCID" select="$LCID"/>
  931.       </xsl:call-template>
  932.     </xsl:variable>
  933.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:FromCap"/>
  934.   </xsl:template>
  935.  
  936.   
  937.   <xsl:template name="templ_str_FromUnCap" >
  938.     <xsl:param name="LCID" />
  939.     <xsl:variable name="_LCID">
  940.       <xsl:call-template name="localLCID">
  941.         <xsl:with-param name="LCID" select="$LCID"/>
  942.       </xsl:call-template>
  943.     </xsl:variable>
  944.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:FromUnCap"/>
  945.   </xsl:template>
  946.  
  947.   
  948.   <xsl:template name="templ_str_NoDateShortUnCap" >
  949.     <xsl:param name="LCID" />
  950.     <xsl:variable name="_LCID">
  951.       <xsl:call-template name="localLCID">
  952.         <xsl:with-param name="LCID" select="$LCID"/>
  953.       </xsl:call-template>
  954.     </xsl:variable>
  955.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:NoDateShortUnCap"/>
  956.   </xsl:template>
  957.  
  958.   
  959.   <xsl:template name="templ_str_NumberShortCap" >
  960.     <xsl:param name="LCID" />
  961.     <xsl:variable name="_LCID">
  962.       <xsl:call-template name="localLCID">
  963.         <xsl:with-param name="LCID" select="$LCID"/>
  964.       </xsl:call-template>
  965.     </xsl:variable>
  966.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:NumberShortCap"/>
  967.   </xsl:template>
  968.  
  969.   
  970.   <xsl:template name="templ_str_NumberShortUnCap" >
  971.     <xsl:param name="LCID" />
  972.     <xsl:variable name="_LCID">
  973.       <xsl:call-template name="localLCID">
  974.         <xsl:with-param name="LCID" select="$LCID"/>
  975.       </xsl:call-template>
  976.     </xsl:variable>
  977.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:NumberShortUnCap"/>
  978.   </xsl:template>
  979.  
  980.   
  981.   <xsl:template name="templ_str_PatentNumberShortCap" >
  982.     <xsl:param name="LCID" />
  983.     <xsl:variable name="_LCID">
  984.       <xsl:call-template name="localLCID">
  985.         <xsl:with-param name="LCID" select="$LCID"/>
  986.       </xsl:call-template>
  987.     </xsl:variable>
  988.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PatentNumberShortCap"/>
  989.   </xsl:template>
  990.  
  991.   
  992.   <xsl:template name="templ_str_PagesCountinousShort" >
  993.     <xsl:param name="LCID" />
  994.     <xsl:variable name="_LCID">
  995.       <xsl:call-template name="localLCID">
  996.         <xsl:with-param name="LCID" select="$LCID"/>
  997.       </xsl:call-template>
  998.     </xsl:variable>
  999.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PagesCountinousShort"/>
  1000.   </xsl:template>
  1001.  
  1002.   
  1003.   <xsl:template name="templ_str_PageShort" >
  1004.     <xsl:param name="LCID" />
  1005.     <xsl:variable name="_LCID">
  1006.       <xsl:call-template name="localLCID">
  1007.         <xsl:with-param name="LCID" select="$LCID"/>
  1008.       </xsl:call-template>
  1009.     </xsl:variable>
  1010.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PageShort"/>
  1011.   </xsl:template>
  1012.  
  1013.   
  1014.   <xsl:template name="templ_str_SineNomineShort" >
  1015.     <xsl:param name="LCID" />
  1016.     <xsl:variable name="_LCID">
  1017.       <xsl:call-template name="localLCID">
  1018.         <xsl:with-param name="LCID" select="$LCID"/>
  1019.       </xsl:call-template>
  1020.     </xsl:variable>
  1021.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:SineNomineShort"/>
  1022.   </xsl:template>
  1023.  
  1024.   
  1025.   <xsl:template name="templ_str_SineLocoShort" >
  1026.     <xsl:param name="LCID" />
  1027.     <xsl:variable name="_LCID">
  1028.       <xsl:call-template name="localLCID">
  1029.         <xsl:with-param name="LCID" select="$LCID"/>
  1030.       </xsl:call-template>
  1031.     </xsl:variable>
  1032.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:SineLocoShort"/>
  1033.   </xsl:template>
  1034.  
  1035.   
  1036.   <xsl:template name="templ_str_SineLocoSineNomineShort" >
  1037.     <xsl:param name="LCID" />
  1038.     <xsl:variable name="_LCID">
  1039.       <xsl:call-template name="localLCID">
  1040.         <xsl:with-param name="LCID" select="$LCID"/>
  1041.       </xsl:call-template>
  1042.     </xsl:variable>
  1043.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:SineLocoSineNomineShort"/>
  1044.   </xsl:template>
  1045.  
  1046.   
  1047.   <xsl:template name="templ_str_VolumeOfShortCap" >
  1048.     <xsl:param name="LCID" />
  1049.     <xsl:variable name="_LCID">
  1050.       <xsl:call-template name="localLCID">
  1051.         <xsl:with-param name="LCID" select="$LCID"/>
  1052.       </xsl:call-template>
  1053.     </xsl:variable>
  1054.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:VolumeOfShortCap"/>
  1055.   </xsl:template>
  1056.  
  1057.   
  1058.   <xsl:template name="templ_str_VolumesOfShortCap" >
  1059.     <xsl:param name="LCID" />
  1060.     <xsl:variable name="_LCID">
  1061.       <xsl:call-template name="localLCID">
  1062.         <xsl:with-param name="LCID" select="$LCID"/>
  1063.       </xsl:call-template>
  1064.     </xsl:variable>
  1065.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:VolumesOfShortCap"/>
  1066.   </xsl:template>
  1067.  
  1068.   
  1069.   <xsl:template name="templ_str_VolumeShortCap" >
  1070.     <xsl:param name="LCID" />
  1071.     <xsl:variable name="_LCID">
  1072.       <xsl:call-template name="localLCID">
  1073.         <xsl:with-param name="LCID" select="$LCID"/>
  1074.       </xsl:call-template>
  1075.     </xsl:variable>
  1076.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:VolumeShortCap"/>
  1077.   </xsl:template>
  1078.  
  1079.   
  1080.   <xsl:template name="templ_str_VolumeShortUnCap" >
  1081.     <xsl:param name="LCID" />
  1082.     <xsl:variable name="_LCID">
  1083.       <xsl:call-template name="localLCID">
  1084.         <xsl:with-param name="LCID" select="$LCID"/>
  1085.       </xsl:call-template>
  1086.     </xsl:variable>
  1087.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:VolumeShortUnCap"/>
  1088.   </xsl:template>
  1089.  
  1090.   
  1091.   <xsl:template name="templ_str_VolumesShortUnCap" >
  1092.     <xsl:param name="LCID" />
  1093.     <xsl:variable name="_LCID">
  1094.       <xsl:call-template name="localLCID">
  1095.         <xsl:with-param name="LCID" select="$LCID"/>
  1096.       </xsl:call-template>
  1097.     </xsl:variable>
  1098.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:VolumesShortUnCap"/>
  1099.   </xsl:template>
  1100.  
  1101.   
  1102.   <xsl:template name="templ_str_VolumesShortCap" >
  1103.     <xsl:param name="LCID" />
  1104.     <xsl:variable name="_LCID">
  1105.       <xsl:call-template name="localLCID">
  1106.         <xsl:with-param name="LCID" select="$LCID"/>
  1107.       </xsl:call-template>
  1108.     </xsl:variable>
  1109.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:VolumesShortCap"/>
  1110.   </xsl:template>
  1111.  
  1112.   
  1113.   <xsl:template name="templ_str_AuthorShortUnCap" >
  1114.     <xsl:param name="LCID" />
  1115.     <xsl:variable name="_LCID">
  1116.       <xsl:call-template name="localLCID">
  1117.         <xsl:with-param name="LCID" select="$LCID"/>
  1118.       </xsl:call-template>
  1119.     </xsl:variable>
  1120.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:AuthorShortUnCap"/>
  1121.   </xsl:template>
  1122.  
  1123.   
  1124.   <xsl:template name="templ_str_BookAuthorShortUnCap" >
  1125.     <xsl:param name="LCID" />
  1126.     <xsl:variable name="_LCID">
  1127.       <xsl:call-template name="localLCID">
  1128.         <xsl:with-param name="LCID" select="$LCID"/>
  1129.       </xsl:call-template>
  1130.     </xsl:variable>
  1131.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:BookAuthorShortUnCap"/>
  1132.   </xsl:template>
  1133.  
  1134.   
  1135.   <xsl:template name="templ_str_ArtistShortUnCap" >
  1136.     <xsl:param name="LCID" />
  1137.     <xsl:variable name="_LCID">
  1138.       <xsl:call-template name="localLCID">
  1139.         <xsl:with-param name="LCID" select="$LCID"/>
  1140.       </xsl:call-template>
  1141.     </xsl:variable>
  1142.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ArtistShortUnCap"/>
  1143.   </xsl:template>
  1144.  
  1145.   
  1146.   <xsl:template name="templ_str_WriterCap" >
  1147.     <xsl:param name="LCID" />
  1148.     <xsl:variable name="_LCID">
  1149.       <xsl:call-template name="localLCID">
  1150.         <xsl:with-param name="LCID" select="$LCID"/>
  1151.       </xsl:call-template>
  1152.     </xsl:variable>
  1153.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:WriterCap"/>
  1154.   </xsl:template>
  1155.  
  1156.   
  1157.   <xsl:template name="templ_str_WritersCap" >
  1158.     <xsl:param name="LCID" />
  1159.     <xsl:variable name="_LCID">
  1160.       <xsl:call-template name="localLCID">
  1161.         <xsl:with-param name="LCID" select="$LCID"/>
  1162.       </xsl:call-template>
  1163.     </xsl:variable>
  1164.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:WritersCap"/>
  1165.   </xsl:template>
  1166.  
  1167.   
  1168.   <xsl:template name="templ_str_WriterShortUnCap" >
  1169.     <xsl:param name="LCID" />
  1170.     <xsl:variable name="_LCID">
  1171.       <xsl:call-template name="localLCID">
  1172.         <xsl:with-param name="LCID" select="$LCID"/>
  1173.       </xsl:call-template>
  1174.     </xsl:variable>
  1175.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:WriterShortUnCap"/>
  1176.   </xsl:template>
  1177.  
  1178.   
  1179.   <xsl:template name="templ_str_ConductedByCap" >
  1180.     <xsl:param name="LCID" />
  1181.     <xsl:variable name="_LCID">
  1182.       <xsl:call-template name="localLCID">
  1183.         <xsl:with-param name="LCID" select="$LCID"/>
  1184.       </xsl:call-template>
  1185.     </xsl:variable>
  1186.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ConductedByCap"/>
  1187.   </xsl:template>
  1188.  
  1189.   
  1190.   <xsl:template name="templ_str_ConductedByUnCap" >
  1191.     <xsl:param name="LCID" />
  1192.     <xsl:variable name="_LCID">
  1193.       <xsl:call-template name="localLCID">
  1194.         <xsl:with-param name="LCID" select="$LCID"/>
  1195.       </xsl:call-template>
  1196.     </xsl:variable>
  1197.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ConductedByUnCap"/>
  1198.   </xsl:template>
  1199.  
  1200.   
  1201.   <xsl:template name="templ_str_ConductorCap" >
  1202.     <xsl:param name="LCID" />
  1203.     <xsl:variable name="_LCID">
  1204.       <xsl:call-template name="localLCID">
  1205.         <xsl:with-param name="LCID" select="$LCID"/>
  1206.       </xsl:call-template>
  1207.     </xsl:variable>
  1208.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ConductorCap"/>
  1209.   </xsl:template>
  1210.  
  1211.   
  1212.   <xsl:template name="templ_str_ConductorsCap" >
  1213.     <xsl:param name="LCID" />
  1214.     <xsl:variable name="_LCID">
  1215.       <xsl:call-template name="localLCID">
  1216.         <xsl:with-param name="LCID" select="$LCID"/>
  1217.       </xsl:call-template>
  1218.     </xsl:variable>
  1219.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ConductorsCap"/>
  1220.   </xsl:template>
  1221.  
  1222.   
  1223.   <xsl:template name="templ_str_ConductorShortCap" >
  1224.     <xsl:param name="LCID" />
  1225.     <xsl:variable name="_LCID">
  1226.       <xsl:call-template name="localLCID">
  1227.         <xsl:with-param name="LCID" select="$LCID"/>
  1228.       </xsl:call-template>
  1229.     </xsl:variable>
  1230.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ConductorShortCap"/>
  1231.   </xsl:template>
  1232.  
  1233.   
  1234.   <xsl:template name="templ_str_ConductorShortUnCap" >
  1235.     <xsl:param name="LCID" />
  1236.     <xsl:variable name="_LCID">
  1237.       <xsl:call-template name="localLCID">
  1238.         <xsl:with-param name="LCID" select="$LCID"/>
  1239.       </xsl:call-template>
  1240.     </xsl:variable>
  1241.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ConductorShortUnCap"/>
  1242.   </xsl:template>
  1243.  
  1244.   
  1245.   <xsl:template name="templ_str_ConductorsShortCap" >
  1246.     <xsl:param name="LCID" />
  1247.     <xsl:variable name="_LCID">
  1248.       <xsl:call-template name="localLCID">
  1249.         <xsl:with-param name="LCID" select="$LCID"/>
  1250.       </xsl:call-template>
  1251.     </xsl:variable>
  1252.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ConductorsShortCap"/>
  1253.   </xsl:template>
  1254.  
  1255.   
  1256.   <xsl:template name="templ_str_ConductorsShortUnCap" >
  1257.     <xsl:param name="LCID" />
  1258.     <xsl:variable name="_LCID">
  1259.       <xsl:call-template name="localLCID">
  1260.         <xsl:with-param name="LCID" select="$LCID"/>
  1261.       </xsl:call-template>
  1262.     </xsl:variable>
  1263.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ConductorsShortUnCap"/>
  1264.   </xsl:template>
  1265.  
  1266.   
  1267.   <xsl:template name="templ_str_CounselShortUnCapIso" >
  1268.     <xsl:param name="LCID" />
  1269.     <xsl:variable name="_LCID">
  1270.       <xsl:call-template name="localLCID">
  1271.         <xsl:with-param name="LCID" select="$LCID"/>
  1272.       </xsl:call-template>
  1273.     </xsl:variable>
  1274.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CounselShortUnCapIso"/>
  1275.   </xsl:template>
  1276.  
  1277.   
  1278.   <xsl:template name="templ_str_CounselShortUnCap" >
  1279.     <xsl:param name="LCID" />
  1280.     <xsl:variable name="_LCID">
  1281.       <xsl:call-template name="localLCID">
  1282.         <xsl:with-param name="LCID" select="$LCID"/>
  1283.       </xsl:call-template>
  1284.     </xsl:variable>
  1285.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CounselShortUnCap"/>
  1286.   </xsl:template>
  1287.  
  1288.   
  1289.   <xsl:template name="templ_str_DirectedByCap" >
  1290.     <xsl:param name="LCID" />
  1291.     <xsl:variable name="_LCID">
  1292.       <xsl:call-template name="localLCID">
  1293.         <xsl:with-param name="LCID" select="$LCID"/>
  1294.       </xsl:call-template>
  1295.     </xsl:variable>
  1296.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:DirectedByCap"/>
  1297.   </xsl:template>
  1298.  
  1299.   
  1300.   <xsl:template name="templ_str_DirectedByUnCap" >
  1301.     <xsl:param name="LCID" />
  1302.     <xsl:variable name="_LCID">
  1303.       <xsl:call-template name="localLCID">
  1304.         <xsl:with-param name="LCID" select="$LCID"/>
  1305.       </xsl:call-template>
  1306.     </xsl:variable>
  1307.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:DirectedByUnCap"/>
  1308.   </xsl:template>
  1309.  
  1310.   
  1311.   <xsl:template name="templ_str_DirectorCap" >
  1312.     <xsl:param name="LCID" />
  1313.     <xsl:variable name="_LCID">
  1314.       <xsl:call-template name="localLCID">
  1315.         <xsl:with-param name="LCID" select="$LCID"/>
  1316.       </xsl:call-template>
  1317.     </xsl:variable>
  1318.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:DirectorCap"/>
  1319.   </xsl:template>
  1320.  
  1321.   
  1322.   <xsl:template name="templ_str_DirectorsCap" >
  1323.     <xsl:param name="LCID" />
  1324.     <xsl:variable name="_LCID">
  1325.       <xsl:call-template name="localLCID">
  1326.         <xsl:with-param name="LCID" select="$LCID"/>
  1327.       </xsl:call-template>
  1328.     </xsl:variable>
  1329.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:DirectorsCap"/>
  1330.   </xsl:template>
  1331.  
  1332.   
  1333.   <xsl:template name="templ_str_DirectorShortCap" >
  1334.     <xsl:param name="LCID" />
  1335.     <xsl:variable name="_LCID">
  1336.       <xsl:call-template name="localLCID">
  1337.         <xsl:with-param name="LCID" select="$LCID"/>
  1338.       </xsl:call-template>
  1339.     </xsl:variable>
  1340.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:DirectorShortCap"/>
  1341.   </xsl:template>
  1342.  
  1343.   
  1344.   <xsl:template name="templ_str_DirectorShortUnCap" >
  1345.     <xsl:param name="LCID" />
  1346.     <xsl:variable name="_LCID">
  1347.       <xsl:call-template name="localLCID">
  1348.         <xsl:with-param name="LCID" select="$LCID"/>
  1349.       </xsl:call-template>
  1350.     </xsl:variable>
  1351.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:DirectorShortUnCap"/>
  1352.   </xsl:template>
  1353.  
  1354.   
  1355.   <xsl:template name="templ_str_DirectorsShortCap" >
  1356.     <xsl:param name="LCID" />
  1357.     <xsl:variable name="_LCID">
  1358.       <xsl:call-template name="localLCID">
  1359.         <xsl:with-param name="LCID" select="$LCID"/>
  1360.       </xsl:call-template>
  1361.     </xsl:variable>
  1362.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:DirectorsShortCap"/>
  1363.   </xsl:template>
  1364.  
  1365.   
  1366.   <xsl:template name="templ_str_DirectorsShortUnCap" >
  1367.     <xsl:param name="LCID" />
  1368.     <xsl:variable name="_LCID">
  1369.       <xsl:call-template name="localLCID">
  1370.         <xsl:with-param name="LCID" select="$LCID"/>
  1371.       </xsl:call-template>
  1372.     </xsl:variable>
  1373.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:DirectorsShortUnCap"/>
  1374.   </xsl:template>
  1375.  
  1376.   
  1377.   <xsl:template name="templ_str_EditedByCap" >
  1378.     <xsl:param name="LCID" />
  1379.     <xsl:variable name="_LCID">
  1380.       <xsl:call-template name="localLCID">
  1381.         <xsl:with-param name="LCID" select="$LCID"/>
  1382.       </xsl:call-template>
  1383.     </xsl:variable>
  1384.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:EditedByCap"/>
  1385.   </xsl:template>
  1386.  
  1387.   
  1388.   <xsl:template name="templ_str_EditedByUnCap" >
  1389.     <xsl:param name="LCID" />
  1390.     <xsl:variable name="_LCID">
  1391.       <xsl:call-template name="localLCID">
  1392.         <xsl:with-param name="LCID" select="$LCID"/>
  1393.       </xsl:call-template>
  1394.     </xsl:variable>
  1395.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:EditedByUnCap"/>
  1396.   </xsl:template>
  1397.  
  1398.   
  1399.   <xsl:template name="templ_str_EditorCap" >
  1400.     <xsl:param name="LCID" />
  1401.     <xsl:variable name="_LCID">
  1402.       <xsl:call-template name="localLCID">
  1403.         <xsl:with-param name="LCID" select="$LCID"/>
  1404.       </xsl:call-template>
  1405.     </xsl:variable>
  1406.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:EditorCap"/>
  1407.   </xsl:template>
  1408.  
  1409.   
  1410.   <xsl:template name="templ_str_EditorsCap" >
  1411.     <xsl:param name="LCID" />
  1412.     <xsl:variable name="_LCID">
  1413.       <xsl:call-template name="localLCID">
  1414.         <xsl:with-param name="LCID" select="$LCID"/>
  1415.       </xsl:call-template>
  1416.     </xsl:variable>
  1417.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:EditorsCap"/>
  1418.   </xsl:template>
  1419.  
  1420.   
  1421.   <xsl:template name="templ_str_EditorShortCap" >
  1422.     <xsl:param name="LCID" />
  1423.     <xsl:variable name="_LCID">
  1424.       <xsl:call-template name="localLCID">
  1425.         <xsl:with-param name="LCID" select="$LCID"/>
  1426.       </xsl:call-template>
  1427.     </xsl:variable>
  1428.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:EditorShortCap"/>
  1429.   </xsl:template>
  1430.  
  1431.   
  1432.   <xsl:template name="templ_str_EditorShortUnCap" >
  1433.     <xsl:param name="LCID" />
  1434.     <xsl:variable name="_LCID">
  1435.       <xsl:call-template name="localLCID">
  1436.         <xsl:with-param name="LCID" select="$LCID"/>
  1437.       </xsl:call-template>
  1438.     </xsl:variable>
  1439.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:EditorShortUnCap"/>
  1440.   </xsl:template>
  1441.  
  1442.   
  1443.   <xsl:template name="templ_str_EditorsShortCap" >
  1444.     <xsl:param name="LCID" />
  1445.     <xsl:variable name="_LCID">
  1446.       <xsl:call-template name="localLCID">
  1447.         <xsl:with-param name="LCID" select="$LCID"/>
  1448.       </xsl:call-template>
  1449.     </xsl:variable>
  1450.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:EditorsShortCap"/>
  1451.   </xsl:template>
  1452.  
  1453.   
  1454.   <xsl:template name="templ_str_EditorsShortUnCap" >
  1455.     <xsl:param name="LCID" />
  1456.     <xsl:variable name="_LCID">
  1457.       <xsl:call-template name="localLCID">
  1458.         <xsl:with-param name="LCID" select="$LCID"/>
  1459.       </xsl:call-template>
  1460.     </xsl:variable>
  1461.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:EditorsShortUnCap"/>
  1462.   </xsl:template>
  1463.  
  1464.   
  1465.   <xsl:template name="templ_str_IntervieweeShortUnCap" >
  1466.     <xsl:param name="LCID" />
  1467.     <xsl:variable name="_LCID">
  1468.       <xsl:call-template name="localLCID">
  1469.         <xsl:with-param name="LCID" select="$LCID"/>
  1470.       </xsl:call-template>
  1471.     </xsl:variable>
  1472.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:IntervieweeShortUnCap"/>
  1473.   </xsl:template>
  1474.  
  1475.   
  1476.   <xsl:template name="templ_str_InterviewerCap" >
  1477.     <xsl:param name="LCID" />
  1478.     <xsl:variable name="_LCID">
  1479.       <xsl:call-template name="localLCID">
  1480.         <xsl:with-param name="LCID" select="$LCID"/>
  1481.       </xsl:call-template>
  1482.     </xsl:variable>
  1483.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:InterviewerCap"/>
  1484.   </xsl:template>
  1485.  
  1486.   
  1487.   <xsl:template name="templ_str_InterviewersCap" >
  1488.     <xsl:param name="LCID" />
  1489.     <xsl:variable name="_LCID">
  1490.       <xsl:call-template name="localLCID">
  1491.         <xsl:with-param name="LCID" select="$LCID"/>
  1492.       </xsl:call-template>
  1493.     </xsl:variable>
  1494.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:InterviewersCap"/>
  1495.   </xsl:template>
  1496.  
  1497.   
  1498.   <xsl:template name="templ_str_InventorShortUnCap" >
  1499.     <xsl:param name="LCID" />
  1500.     <xsl:variable name="_LCID">
  1501.       <xsl:call-template name="localLCID">
  1502.         <xsl:with-param name="LCID" select="$LCID"/>
  1503.       </xsl:call-template>
  1504.     </xsl:variable>
  1505.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:InventorShortUnCap"/>
  1506.   </xsl:template>
  1507.  
  1508.   
  1509.   <xsl:template name="templ_str_PerformedByCap" >
  1510.     <xsl:param name="LCID" />
  1511.     <xsl:variable name="_LCID">
  1512.       <xsl:call-template name="localLCID">
  1513.         <xsl:with-param name="LCID" select="$LCID"/>
  1514.       </xsl:call-template>
  1515.     </xsl:variable>
  1516.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PerformedByCap"/>
  1517.   </xsl:template>
  1518.  
  1519.   
  1520.   <xsl:template name="templ_str_PerformedByUnCap" >
  1521.     <xsl:param name="LCID" />
  1522.     <xsl:variable name="_LCID">
  1523.       <xsl:call-template name="localLCID">
  1524.         <xsl:with-param name="LCID" select="$LCID"/>
  1525.       </xsl:call-template>
  1526.     </xsl:variable>
  1527.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PerformedByUnCap"/>
  1528.   </xsl:template>
  1529.  
  1530.   
  1531.   <xsl:template name="templ_str_PerformerCap" >
  1532.     <xsl:param name="LCID" />
  1533.     <xsl:variable name="_LCID">
  1534.       <xsl:call-template name="localLCID">
  1535.         <xsl:with-param name="LCID" select="$LCID"/>
  1536.       </xsl:call-template>
  1537.     </xsl:variable>
  1538.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PerformerCap"/>
  1539.   </xsl:template>
  1540.  
  1541.   
  1542.   <xsl:template name="templ_str_PerformersCap" >
  1543.     <xsl:param name="LCID" />
  1544.     <xsl:variable name="_LCID">
  1545.       <xsl:call-template name="localLCID">
  1546.         <xsl:with-param name="LCID" select="$LCID"/>
  1547.       </xsl:call-template>
  1548.     </xsl:variable>
  1549.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PerformersCap"/>
  1550.   </xsl:template>
  1551.  
  1552.   
  1553.   <xsl:template name="templ_str_PerformerShortCap" >
  1554.     <xsl:param name="LCID" />
  1555.     <xsl:variable name="_LCID">
  1556.       <xsl:call-template name="localLCID">
  1557.         <xsl:with-param name="LCID" select="$LCID"/>
  1558.       </xsl:call-template>
  1559.     </xsl:variable>
  1560.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PerformerShortCap"/>
  1561.   </xsl:template>
  1562.  
  1563.   
  1564.   <xsl:template name="templ_str_PerformerShortUnCap" >
  1565.     <xsl:param name="LCID" />
  1566.     <xsl:variable name="_LCID">
  1567.       <xsl:call-template name="localLCID">
  1568.         <xsl:with-param name="LCID" select="$LCID"/>
  1569.       </xsl:call-template>
  1570.     </xsl:variable>
  1571.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PerformerShortUnCap"/>
  1572.   </xsl:template>
  1573.  
  1574.   
  1575.   <xsl:template name="templ_str_PerformersShortCap" >
  1576.     <xsl:param name="LCID" />
  1577.     <xsl:variable name="_LCID">
  1578.       <xsl:call-template name="localLCID">
  1579.         <xsl:with-param name="LCID" select="$LCID"/>
  1580.       </xsl:call-template>
  1581.     </xsl:variable>
  1582.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PerformersShortCap"/>
  1583.   </xsl:template>
  1584.  
  1585.   
  1586.   <xsl:template name="templ_str_PerformersShortUnCap" >
  1587.     <xsl:param name="LCID" />
  1588.     <xsl:variable name="_LCID">
  1589.       <xsl:call-template name="localLCID">
  1590.         <xsl:with-param name="LCID" select="$LCID"/>
  1591.       </xsl:call-template>
  1592.     </xsl:variable>
  1593.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PerformersShortUnCap"/>
  1594.   </xsl:template>
  1595.  
  1596.   
  1597.   <xsl:template name="templ_str_ProducedByCap" >
  1598.     <xsl:param name="LCID" />
  1599.     <xsl:variable name="_LCID">
  1600.       <xsl:call-template name="localLCID">
  1601.         <xsl:with-param name="LCID" select="$LCID"/>
  1602.       </xsl:call-template>
  1603.     </xsl:variable>
  1604.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ProducedByCap"/>
  1605.   </xsl:template>
  1606.  
  1607.   
  1608.   <xsl:template name="templ_str_ProducedByUnCap" >
  1609.     <xsl:param name="LCID" />
  1610.     <xsl:variable name="_LCID">
  1611.       <xsl:call-template name="localLCID">
  1612.         <xsl:with-param name="LCID" select="$LCID"/>
  1613.       </xsl:call-template>
  1614.     </xsl:variable>
  1615.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ProducedByUnCap"/>
  1616.   </xsl:template>
  1617.  
  1618.   
  1619.   <xsl:template name="templ_str_ProducerCap" >
  1620.     <xsl:param name="LCID" />
  1621.     <xsl:variable name="_LCID">
  1622.       <xsl:call-template name="localLCID">
  1623.         <xsl:with-param name="LCID" select="$LCID"/>
  1624.       </xsl:call-template>
  1625.     </xsl:variable>
  1626.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ProducerCap"/>
  1627.   </xsl:template>
  1628.  
  1629.   
  1630.   <xsl:template name="templ_str_ProducersCap" >
  1631.     <xsl:param name="LCID" />
  1632.     <xsl:variable name="_LCID">
  1633.       <xsl:call-template name="localLCID">
  1634.         <xsl:with-param name="LCID" select="$LCID"/>
  1635.       </xsl:call-template>
  1636.     </xsl:variable>
  1637.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ProducersCap"/>
  1638.   </xsl:template>
  1639.  
  1640.   
  1641.   <xsl:template name="templ_str_ProductionCompanyShortCap" >
  1642.     <xsl:param name="LCID" />
  1643.     <xsl:variable name="_LCID">
  1644.       <xsl:call-template name="localLCID">
  1645.         <xsl:with-param name="LCID" select="$LCID"/>
  1646.       </xsl:call-template>
  1647.     </xsl:variable>
  1648.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ProductionCompanyShortCap"/>
  1649.   </xsl:template>
  1650.  
  1651.   
  1652.   <xsl:template name="templ_str_ProducerShortCap" >
  1653.     <xsl:param name="LCID" />
  1654.     <xsl:variable name="_LCID">
  1655.       <xsl:call-template name="localLCID">
  1656.         <xsl:with-param name="LCID" select="$LCID"/>
  1657.       </xsl:call-template>
  1658.     </xsl:variable>
  1659.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ProducerShortCap"/>
  1660.   </xsl:template>
  1661.  
  1662.   
  1663.   <xsl:template name="templ_str_ProducersShortCap" >
  1664.     <xsl:param name="LCID" />
  1665.     <xsl:variable name="_LCID">
  1666.       <xsl:call-template name="localLCID">
  1667.         <xsl:with-param name="LCID" select="$LCID"/>
  1668.       </xsl:call-template>
  1669.     </xsl:variable>
  1670.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ProducersShortCap"/>
  1671.   </xsl:template>
  1672.  
  1673.   
  1674.   <xsl:template name="templ_str_ProducerShortUnCap" >
  1675.     <xsl:param name="LCID" />
  1676.     <xsl:variable name="_LCID">
  1677.       <xsl:call-template name="localLCID">
  1678.         <xsl:with-param name="LCID" select="$LCID"/>
  1679.       </xsl:call-template>
  1680.     </xsl:variable>
  1681.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ProducerShortUnCap"/>
  1682.   </xsl:template>
  1683.  
  1684.   
  1685.   <xsl:template name="templ_str_TranslatedByCap" >
  1686.     <xsl:param name="LCID" />
  1687.     <xsl:variable name="_LCID">
  1688.       <xsl:call-template name="localLCID">
  1689.         <xsl:with-param name="LCID" select="$LCID"/>
  1690.       </xsl:call-template>
  1691.     </xsl:variable>
  1692.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:TranslatedByCap"/>
  1693.   </xsl:template>
  1694.  
  1695.   
  1696.   <xsl:template name="templ_str_TranslatedByUnCap" >
  1697.     <xsl:param name="LCID" />
  1698.     <xsl:variable name="_LCID">
  1699.       <xsl:call-template name="localLCID">
  1700.         <xsl:with-param name="LCID" select="$LCID"/>
  1701.       </xsl:call-template>
  1702.     </xsl:variable>
  1703.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:TranslatedByUnCap"/>
  1704.   </xsl:template>
  1705.  
  1706.   
  1707.   <xsl:template name="templ_str_TranslatorCap" >
  1708.     <xsl:param name="LCID" />
  1709.     <xsl:variable name="_LCID">
  1710.       <xsl:call-template name="localLCID">
  1711.         <xsl:with-param name="LCID" select="$LCID"/>
  1712.       </xsl:call-template>
  1713.     </xsl:variable>
  1714.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:TranslatorCap"/>
  1715.   </xsl:template>
  1716.  
  1717.   
  1718.   <xsl:template name="templ_str_TranslatorsCap" >
  1719.     <xsl:param name="LCID" />
  1720.     <xsl:variable name="_LCID">
  1721.       <xsl:call-template name="localLCID">
  1722.         <xsl:with-param name="LCID" select="$LCID"/>
  1723.       </xsl:call-template>
  1724.     </xsl:variable>
  1725.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:TranslatorsCap"/>
  1726.   </xsl:template>
  1727.  
  1728.   
  1729.   <xsl:template name="templ_str_TranslatorShortCap" >
  1730.     <xsl:param name="LCID" />
  1731.     <xsl:variable name="_LCID">
  1732.       <xsl:call-template name="localLCID">
  1733.         <xsl:with-param name="LCID" select="$LCID"/>
  1734.       </xsl:call-template>
  1735.     </xsl:variable>
  1736.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:TranslatorShortCap"/>
  1737.   </xsl:template>
  1738.  
  1739.   
  1740.   <xsl:template name="templ_str_TranslatorShortUnCap" >
  1741.     <xsl:param name="LCID" />
  1742.     <xsl:variable name="_LCID">
  1743.       <xsl:call-template name="localLCID">
  1744.         <xsl:with-param name="LCID" select="$LCID"/>
  1745.       </xsl:call-template>
  1746.     </xsl:variable>
  1747.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:TranslatorShortUnCap"/>
  1748.   </xsl:template>
  1749.  
  1750.   
  1751.   <xsl:template name="templ_str_TranslatorsShortCap" >
  1752.     <xsl:param name="LCID" />
  1753.     <xsl:variable name="_LCID">
  1754.       <xsl:call-template name="localLCID">
  1755.         <xsl:with-param name="LCID" select="$LCID"/>
  1756.       </xsl:call-template>
  1757.     </xsl:variable>
  1758.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:TranslatorsShortCap"/>
  1759.   </xsl:template>
  1760.  
  1761.   
  1762.   <xsl:template name="templ_str_TranslatorsShortUnCap" >
  1763.     <xsl:param name="LCID" />
  1764.     <xsl:variable name="_LCID">
  1765.       <xsl:call-template name="localLCID">
  1766.         <xsl:with-param name="LCID" select="$LCID"/>
  1767.       </xsl:call-template>
  1768.     </xsl:variable>
  1769.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:TranslatorsShortUnCap"/>
  1770.   </xsl:template>
  1771.  
  1772.   
  1773.   <xsl:template name="templ_str_ComposerCap" >
  1774.     <xsl:param name="LCID" />
  1775.     <xsl:variable name="_LCID">
  1776.       <xsl:call-template name="localLCID">
  1777.         <xsl:with-param name="LCID" select="$LCID"/>
  1778.       </xsl:call-template>
  1779.     </xsl:variable>
  1780.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ComposerCap"/>
  1781.   </xsl:template>
  1782.  
  1783.   
  1784.   <xsl:template name="templ_str_ComposersCap" >
  1785.     <xsl:param name="LCID" />
  1786.     <xsl:variable name="_LCID">
  1787.       <xsl:call-template name="localLCID">
  1788.         <xsl:with-param name="LCID" select="$LCID"/>
  1789.       </xsl:call-template>
  1790.     </xsl:variable>
  1791.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ComposersCap"/>
  1792.   </xsl:template>
  1793.  
  1794.   
  1795.   <xsl:template name="templ_str_ComposerShortCap" >
  1796.     <xsl:param name="LCID" />
  1797.     <xsl:variable name="_LCID">
  1798.       <xsl:call-template name="localLCID">
  1799.         <xsl:with-param name="LCID" select="$LCID"/>
  1800.       </xsl:call-template>
  1801.     </xsl:variable>
  1802.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ComposerShortCap"/>
  1803.   </xsl:template>
  1804.  
  1805.   
  1806.   <xsl:template name="templ_str_ComposersShortCap" >
  1807.     <xsl:param name="LCID" />
  1808.     <xsl:variable name="_LCID">
  1809.       <xsl:call-template name="localLCID">
  1810.         <xsl:with-param name="LCID" select="$LCID"/>
  1811.       </xsl:call-template>
  1812.     </xsl:variable>
  1813.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ComposersShortCap"/>
  1814.   </xsl:template>
  1815.  
  1816.   
  1817.   <xsl:template name="templ_str_ComposerShortUnCapIso" >
  1818.     <xsl:param name="LCID" />
  1819.     <xsl:variable name="_LCID">
  1820.       <xsl:call-template name="localLCID">
  1821.         <xsl:with-param name="LCID" select="$LCID"/>
  1822.       </xsl:call-template>
  1823.     </xsl:variable>
  1824.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ComposerShortUnCapIso"/>
  1825.   </xsl:template>
  1826.  
  1827.   
  1828.   <xsl:template name="templ_str_CompiledByCap" >
  1829.     <xsl:param name="LCID" />
  1830.     <xsl:variable name="_LCID">
  1831.       <xsl:call-template name="localLCID">
  1832.         <xsl:with-param name="LCID" select="$LCID"/>
  1833.       </xsl:call-template>
  1834.     </xsl:variable>
  1835.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CompiledByCap"/>
  1836.   </xsl:template>
  1837.  
  1838.   
  1839.   <xsl:template name="templ_str_CompiledByUnCap" >
  1840.     <xsl:param name="LCID" />
  1841.     <xsl:variable name="_LCID">
  1842.       <xsl:call-template name="localLCID">
  1843.         <xsl:with-param name="LCID" select="$LCID"/>
  1844.       </xsl:call-template>
  1845.     </xsl:variable>
  1846.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CompiledByUnCap"/>
  1847.   </xsl:template>
  1848.  
  1849.   
  1850.   <xsl:template name="templ_str_CompilerCap" >
  1851.     <xsl:param name="LCID" />
  1852.     <xsl:variable name="_LCID">
  1853.       <xsl:call-template name="localLCID">
  1854.         <xsl:with-param name="LCID" select="$LCID"/>
  1855.       </xsl:call-template>
  1856.     </xsl:variable>
  1857.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CompilerCap"/>
  1858.   </xsl:template>
  1859.  
  1860.   
  1861.   <xsl:template name="templ_str_CompilersCap" >
  1862.     <xsl:param name="LCID" />
  1863.     <xsl:variable name="_LCID">
  1864.       <xsl:call-template name="localLCID">
  1865.         <xsl:with-param name="LCID" select="$LCID"/>
  1866.       </xsl:call-template>
  1867.     </xsl:variable>
  1868.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CompilersCap"/>
  1869.   </xsl:template>
  1870.  
  1871.   
  1872.   <xsl:template name="templ_str_CompilerShortCap" >
  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]/b:Strings/b:CompilerShortCap"/>
  1880.   </xsl:template>
  1881.  
  1882.   
  1883.   <xsl:template name="templ_str_CompilerShortUnCap" >
  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:Strings/b:CompilerShortUnCap"/>
  1891.   </xsl:template>
  1892.  
  1893.   
  1894.   <xsl:template name="templ_str_CompilersShortCap" >
  1895.     <xsl:param name="LCID" />
  1896.     <xsl:variable name="_LCID">
  1897.       <xsl:call-template name="localLCID">
  1898.         <xsl:with-param name="LCID" select="$LCID"/>
  1899.       </xsl:call-template>
  1900.     </xsl:variable>
  1901.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CompilersShortCap"/>
  1902.   </xsl:template>
  1903.  
  1904.   
  1905.   <xsl:template name="templ_str_CompilersShortUnCap" >
  1906.     <xsl:param name="LCID" />
  1907.     <xsl:variable name="_LCID">
  1908.       <xsl:call-template name="localLCID">
  1909.         <xsl:with-param name="LCID" select="$LCID"/>
  1910.       </xsl:call-template>
  1911.     </xsl:variable>
  1912.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CompilersShortUnCap"/>
  1913.   </xsl:template>
  1914.  
  1915.   
  1916.   <xsl:template name="templ_str_CompilerShortUnCapIso" >
  1917.     <xsl:param name="LCID" />
  1918.     <xsl:variable name="_LCID">
  1919.       <xsl:call-template name="localLCID">
  1920.         <xsl:with-param name="LCID" select="$LCID"/>
  1921.       </xsl:call-template>
  1922.     </xsl:variable>
  1923.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CompilerShortUnCapIso"/>
  1924.   </xsl:template>
  1925.  
  1926.  
  1927.   
  1928.  
  1929.   
  1930.   <xsl:template name="templ_prop_Culture" >
  1931.     <xsl:param name="LCID" />
  1932.     <xsl:variable name="_LCID">
  1933.       <xsl:call-template name="localLCID">
  1934.         <xsl:with-param name="LCID" select="$LCID"/>
  1935.       </xsl:call-template>
  1936.     </xsl:variable>
  1937.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/@Culture"/>
  1938.   </xsl:template>
  1939.  
  1940.   
  1941.   <xsl:template name="templ_prop_Direction" >
  1942.     <xsl:param name="LCID" />
  1943.     <xsl:variable name="_LCID">
  1944.       <xsl:call-template name="localLCID">
  1945.         <xsl:with-param name="LCID" select="$LCID"/>
  1946.       </xsl:call-template>
  1947.     </xsl:variable>
  1948.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Properties/b:Direction"/>
  1949.   </xsl:template>
  1950.  
  1951.  
  1952.   
  1953.  
  1954.   
  1955.   <xsl:template name="templ_prop_EndChars" >
  1956.     <xsl:param name="LCID" />
  1957.     <xsl:variable name="_LCID">
  1958.       <xsl:call-template name="localLCID">
  1959.         <xsl:with-param name="LCID" select="$LCID"/>
  1960.       </xsl:call-template>
  1961.     </xsl:variable>
  1962.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:EndChars"/>
  1963.   </xsl:template>
  1964.  
  1965.   
  1966.   <xsl:template name="templ_prop_NormalizeSpace" >
  1967.     <xsl:param name="LCID" />
  1968.     <xsl:variable name="_LCID">
  1969.       <xsl:call-template name="localLCID">
  1970.         <xsl:with-param name="LCID" select="$LCID"/>
  1971.       </xsl:call-template>
  1972.     </xsl:variable>
  1973.     <xsl:text>no</xsl:text>
  1974.     
  1975.   </xsl:template>
  1976.  
  1977.   
  1978.   <xsl:template name="templ_prop_Space" >
  1979.     <xsl:param name="LCID" />
  1980.     <xsl:variable name="_LCID">
  1981.       <xsl:call-template name="localLCID">
  1982.         <xsl:with-param name="LCID" select="$LCID"/>
  1983.       </xsl:call-template>
  1984.     </xsl:variable>
  1985.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:Space"/>
  1986.   </xsl:template>
  1987.  
  1988.   
  1989.   <xsl:template name="templ_prop_NonBreakingSpace" >
  1990.     <xsl:param name="LCID" />
  1991.     <xsl:variable name="_LCID">
  1992.       <xsl:call-template name="localLCID">
  1993.         <xsl:with-param name="LCID" select="$LCID"/>
  1994.       </xsl:call-template>
  1995.     </xsl:variable>
  1996.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:NonBreakingSpace"/>
  1997.   </xsl:template>
  1998.  
  1999.   
  2000.   <xsl:template name="templ_prop_ListSeparator" >
  2001.     <xsl:param name="LCID" />
  2002.     <xsl:variable name="_LCID">
  2003.       <xsl:call-template name="localLCID">
  2004.         <xsl:with-param name="LCID" select="$LCID"/>
  2005.       </xsl:call-template>
  2006.     </xsl:variable>
  2007.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:ListSeparator"/>
  2008.   </xsl:template>
  2009.  
  2010.   
  2011.   <xsl:template name="templ_prop_Dot" >
  2012.     <xsl:param name="LCID" />
  2013.     <xsl:variable name="_LCID">
  2014.       <xsl:call-template name="localLCID">
  2015.         <xsl:with-param name="LCID" select="$LCID"/>
  2016.       </xsl:call-template>
  2017.     </xsl:variable>
  2018.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:Dot"/>
  2019.   </xsl:template>
  2020.  
  2021.   
  2022.   <xsl:template name="templ_prop_DotInitial" >
  2023.     <xsl:param name="LCID" />
  2024.     <xsl:variable name="_LCID">
  2025.       <xsl:call-template name="localLCID">
  2026.         <xsl:with-param name="LCID" select="$LCID"/>
  2027.       </xsl:call-template>
  2028.     </xsl:variable>
  2029.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:DotInitial"/>
  2030.   </xsl:template>
  2031.  
  2032.   
  2033.   <xsl:template name="templ_prop_GroupSeparator" >
  2034.     <xsl:param name="LCID" />
  2035.     <xsl:variable name="_LCID">
  2036.       <xsl:call-template name="localLCID">
  2037.         <xsl:with-param name="LCID" select="$LCID"/>
  2038.       </xsl:call-template>
  2039.     </xsl:variable>
  2040.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:GroupSeparator"/>
  2041.   </xsl:template>
  2042.  
  2043.   
  2044.   <xsl:template name="templ_prop_EnumSeparator" >
  2045.     <xsl:param name="LCID" />
  2046.     <xsl:variable name="_LCID">
  2047.       <xsl:call-template name="localLCID">
  2048.         <xsl:with-param name="LCID" select="$LCID"/>
  2049.       </xsl:call-template>
  2050.     </xsl:variable>
  2051.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:EnumSeparator"/>
  2052.   </xsl:template>
  2053.  
  2054.   
  2055.   <xsl:template name="templ_prop_Equal" >
  2056.     <xsl:param name="LCID" />
  2057.     <xsl:variable name="_LCID">
  2058.       <xsl:call-template name="localLCID">
  2059.         <xsl:with-param name="LCID" select="$LCID"/>
  2060.       </xsl:call-template>
  2061.     </xsl:variable>
  2062.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:Equal"/>
  2063.   </xsl:template>
  2064.  
  2065.   
  2066.   <xsl:template name="templ_prop_Enum" >
  2067.     <xsl:param name="LCID" />
  2068.     <xsl:variable name="_LCID">
  2069.       <xsl:call-template name="localLCID">
  2070.         <xsl:with-param name="LCID" select="$LCID"/>
  2071.       </xsl:call-template>
  2072.     </xsl:variable>
  2073.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:Enum"/>
  2074.   </xsl:template>
  2075.  
  2076.   
  2077.   <xsl:template name="templ_prop_OpenQuote" >
  2078.     <xsl:param name="LCID" />
  2079.     <xsl:variable name="_LCID">
  2080.       <xsl:call-template name="localLCID">
  2081.         <xsl:with-param name="LCID" select="$LCID"/>
  2082.       </xsl:call-template>
  2083.     </xsl:variable>
  2084.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:OpenQuote"/>
  2085.   </xsl:template>
  2086.  
  2087.   
  2088.   <xsl:template name="templ_prop_CloseQuote" >
  2089.     <xsl:param name="LCID" />
  2090.     <xsl:variable name="_LCID">
  2091.       <xsl:call-template name="localLCID">
  2092.         <xsl:with-param name="LCID" select="$LCID"/>
  2093.       </xsl:call-template>
  2094.     </xsl:variable>
  2095.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:CloseQuote"/>
  2096.   </xsl:template>
  2097.  
  2098.   
  2099.   <xsl:template name="templ_prop_OpenBracket" >
  2100.     <xsl:param name="LCID" />
  2101.     <xsl:variable name="_LCID">
  2102.       <xsl:call-template name="localLCID">
  2103.         <xsl:with-param name="LCID" select="$LCID"/>
  2104.       </xsl:call-template>
  2105.     </xsl:variable>
  2106.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:OpenBracket"/>
  2107.   </xsl:template>
  2108.  
  2109.   
  2110.   <xsl:template name="templ_prop_CloseBracket" >
  2111.     <xsl:param name="LCID" />
  2112.     <xsl:variable name="_LCID">
  2113.       <xsl:call-template name="localLCID">
  2114.         <xsl:with-param name="LCID" select="$LCID"/>
  2115.       </xsl:call-template>
  2116.     </xsl:variable>
  2117.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:CloseBracket"/>
  2118.   </xsl:template>
  2119.  
  2120.   
  2121.   <xsl:template name="templ_prop_FromToDash" >
  2122.     <xsl:param name="LCID" />
  2123.     <xsl:variable name="_LCID">
  2124.       <xsl:call-template name="localLCID">
  2125.         <xsl:with-param name="LCID" select="$LCID"/>
  2126.       </xsl:call-template>
  2127.     </xsl:variable>
  2128.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:FromToDash"/>
  2129.   </xsl:template>
  2130.  
  2131.   
  2132.   <xsl:template name="templ_prop_OpenLink" >
  2133.     <xsl:param name="LCID" />
  2134.     <xsl:variable name="_LCID">
  2135.       <xsl:call-template name="localLCID">
  2136.         <xsl:with-param name="LCID" select="$LCID"/>
  2137.       </xsl:call-template>
  2138.     </xsl:variable>
  2139.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:OpenLink"/>
  2140.   </xsl:template>
  2141.  
  2142.   
  2143.   <xsl:template name="templ_prop_CloseLink" >
  2144.     <xsl:param name="LCID" />
  2145.     <xsl:variable name="_LCID">
  2146.       <xsl:call-template name="localLCID">
  2147.         <xsl:with-param name="LCID" select="$LCID"/>
  2148.       </xsl:call-template>
  2149.     </xsl:variable>
  2150.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:CloseLink"/>
  2151.   </xsl:template>
  2152.  
  2153.   
  2154.   <xsl:template name="templ_prop_AuthorsSeparator" >
  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:General/b:AuthorsSeparator"/>
  2162.   </xsl:template>
  2163.  
  2164.   
  2165.   <xsl:template name="templ_prop_NoAndBeforeLastAuthor" >
  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:General/b:NoAndBeforeLastAuthor"/>
  2173.   </xsl:template>
  2174.  
  2175.   
  2176.   <xsl:template name="templ_prop_SimpleAuthor_F" >
  2177.   <xsl:text>%F</xsl:text>
  2178.   
  2179.   </xsl:template>
  2180.  
  2181.   
  2182.   <xsl:template name="templ_prop_SimpleAuthor_M" >
  2183.   <xsl:text>%M</xsl:text>
  2184.   
  2185.   </xsl:template>
  2186.  
  2187.   
  2188.   <xsl:template name="templ_prop_SimpleAuthor_L" >
  2189.   <xsl:text>%L</xsl:text>
  2190.   
  2191.   </xsl:template>
  2192.  
  2193.   
  2194.   <xsl:template name="templ_prop_SimpleDate_D" >
  2195.   <xsl:text>%D</xsl:text>
  2196.   
  2197.   </xsl:template>
  2198.  
  2199.   
  2200.   <xsl:template name="templ_prop_SimpleDate_M" >
  2201.   <xsl:text>%M</xsl:text>
  2202.   
  2203.   </xsl:template>
  2204.  
  2205.   
  2206.   <xsl:template name="templ_prop_SimpleDate_Y" >
  2207.   <xsl:text>%Y</xsl:text>
  2208.   
  2209.   </xsl:template>
  2210.  
  2211.   
  2212.   <xsl:template name="templ_prop_MLA_SameAuthor" >
  2213.     <xsl:param name="LCID" />
  2214.     <xsl:variable name="_LCID">
  2215.       <xsl:call-template name="localLCID">
  2216.         <xsl:with-param name="LCID" select="$LCID"/>
  2217.       </xsl:call-template>
  2218.     </xsl:variable>
  2219.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:SameAuthor"/>
  2220.   </xsl:template>
  2221.  
  2222.   
  2223.   <xsl:template name="templ_prop_MLA_MainAuthor_FML" >
  2224.     <xsl:param name="LCID" />
  2225.     <xsl:variable name="_LCID">
  2226.       <xsl:call-template name="localLCID">
  2227.         <xsl:with-param name="LCID" select="$LCID"/>
  2228.       </xsl:call-template>
  2229.     </xsl:variable>
  2230.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:MainAuthor/b:FML"/>
  2231.   </xsl:template>
  2232.  
  2233.   
  2234.   <xsl:template name="templ_prop_MLA_MainAuthor_FM" >
  2235.     <xsl:param name="LCID" />
  2236.     <xsl:variable name="_LCID">
  2237.       <xsl:call-template name="localLCID">
  2238.         <xsl:with-param name="LCID" select="$LCID"/>
  2239.       </xsl:call-template>
  2240.     </xsl:variable>
  2241.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:MainAuthor/b:FM"/>
  2242.   </xsl:template>
  2243.  
  2244.   
  2245.   <xsl:template name="templ_prop_MLA_MainAuthor_ML" >
  2246.     <xsl:param name="LCID" />
  2247.     <xsl:variable name="_LCID">
  2248.       <xsl:call-template name="localLCID">
  2249.         <xsl:with-param name="LCID" select="$LCID"/>
  2250.       </xsl:call-template>
  2251.     </xsl:variable>
  2252.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:MainAuthor/b:ML"/>
  2253.   </xsl:template>
  2254.  
  2255.   
  2256.   <xsl:template name="templ_prop_MLA_MainAuthor_FL" >
  2257.     <xsl:param name="LCID" />
  2258.     <xsl:variable name="_LCID">
  2259.       <xsl:call-template name="localLCID">
  2260.         <xsl:with-param name="LCID" select="$LCID"/>
  2261.       </xsl:call-template>
  2262.     </xsl:variable>
  2263.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:MainAuthor/b:FL"/>
  2264.   </xsl:template>
  2265.  
  2266.   
  2267.   <xsl:template name="templ_prop_MLA_OtherAuthors_FML" >
  2268.     <xsl:param name="LCID" />
  2269.     <xsl:variable name="_LCID">
  2270.       <xsl:call-template name="localLCID">
  2271.         <xsl:with-param name="LCID" select="$LCID"/>
  2272.       </xsl:call-template>
  2273.     </xsl:variable>
  2274.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:OtherAuthors/b:FML"/>
  2275.   </xsl:template>
  2276.  
  2277.   
  2278.   <xsl:template name="templ_prop_MLA_OtherAuthors_FM" >
  2279.     <xsl:param name="LCID" />
  2280.     <xsl:variable name="_LCID">
  2281.       <xsl:call-template name="localLCID">
  2282.         <xsl:with-param name="LCID" select="$LCID"/>
  2283.       </xsl:call-template>
  2284.     </xsl:variable>
  2285.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:OtherAuthors/b:FM"/>
  2286.   </xsl:template>
  2287.  
  2288.   
  2289.   <xsl:template name="templ_prop_MLA_OtherAuthors_ML" >
  2290.     <xsl:param name="LCID" />
  2291.     <xsl:variable name="_LCID">
  2292.       <xsl:call-template name="localLCID">
  2293.         <xsl:with-param name="LCID" select="$LCID"/>
  2294.       </xsl:call-template>
  2295.     </xsl:variable>
  2296.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:OtherAuthors/b:ML"/>
  2297.   </xsl:template>
  2298.  
  2299.   
  2300.   <xsl:template name="templ_prop_MLA_OtherAuthors_FL" >
  2301.     <xsl:param name="LCID" />
  2302.     <xsl:variable name="_LCID">
  2303.       <xsl:call-template name="localLCID">
  2304.         <xsl:with-param name="LCID" select="$LCID"/>
  2305.       </xsl:call-template>
  2306.     </xsl:variable>
  2307.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:OtherAuthors/b:FL"/>
  2308.   </xsl:template>
  2309.  
  2310.   
  2311.   <xsl:template name="templ_prop_MLA_SecondaryAuthors_FML" >
  2312.     <xsl:param name="LCID" />
  2313.     <xsl:variable name="_LCID">
  2314.       <xsl:call-template name="localLCID">
  2315.         <xsl:with-param name="LCID" select="$LCID"/>
  2316.       </xsl:call-template>
  2317.     </xsl:variable>
  2318.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:SecondaryAuthors/b:FML"/>
  2319.   </xsl:template>
  2320.  
  2321.   
  2322.   <xsl:template name="templ_prop_MLA_SecondaryAuthors_FM" >
  2323.     <xsl:param name="LCID" />
  2324.     <xsl:variable name="_LCID">
  2325.       <xsl:call-template name="localLCID">
  2326.         <xsl:with-param name="LCID" select="$LCID"/>
  2327.       </xsl:call-template>
  2328.     </xsl:variable>
  2329.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:SecondaryAuthors/b:FM"/>
  2330.   </xsl:template>
  2331.  
  2332.   
  2333.   <xsl:template name="templ_prop_MLA_SecondaryAuthors_ML" >
  2334.     <xsl:param name="LCID" />
  2335.     <xsl:variable name="_LCID">
  2336.       <xsl:call-template name="localLCID">
  2337.         <xsl:with-param name="LCID" select="$LCID"/>
  2338.       </xsl:call-template>
  2339.     </xsl:variable>
  2340.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:SecondaryAuthors/b:ML"/>
  2341.   </xsl:template>
  2342.  
  2343.   
  2344.   <xsl:template name="templ_prop_MLA_SecondaryAuthors_FL" >
  2345.     <xsl:param name="LCID" />
  2346.     <xsl:variable name="_LCID">
  2347.       <xsl:call-template name="localLCID">
  2348.         <xsl:with-param name="LCID" select="$LCID"/>
  2349.       </xsl:call-template>
  2350.     </xsl:variable>
  2351.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:SecondaryAuthors/b:FL"/>
  2352.   </xsl:template>
  2353.  
  2354.   
  2355.   <xsl:template name="templ_prop_MLA_Date_DMY" >
  2356.     <xsl:param name="LCID" />
  2357.     <xsl:variable name="_LCID">
  2358.       <xsl:call-template name="localLCID">
  2359.         <xsl:with-param name="LCID" select="$LCID"/>
  2360.       </xsl:call-template>
  2361.     </xsl:variable>
  2362.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:Date/b:DMY"/>
  2363.   </xsl:template>
  2364.  
  2365.   
  2366.   <xsl:template name="templ_prop_MLA_Date_DM" >
  2367.     <xsl:param name="LCID" />
  2368.     <xsl:variable name="_LCID">
  2369.       <xsl:call-template name="localLCID">
  2370.         <xsl:with-param name="LCID" select="$LCID"/>
  2371.       </xsl:call-template>
  2372.     </xsl:variable>
  2373.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:Date/b:DM"/>
  2374.   </xsl:template>
  2375.  
  2376.   
  2377.   <xsl:template name="templ_prop_MLA_Date_MY" >
  2378.     <xsl:param name="LCID" />
  2379.     <xsl:variable name="_LCID">
  2380.       <xsl:call-template name="localLCID">
  2381.         <xsl:with-param name="LCID" select="$LCID"/>
  2382.       </xsl:call-template>
  2383.     </xsl:variable>
  2384.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:Date/b:MY"/>
  2385.   </xsl:template>
  2386.  
  2387.   
  2388.   <xsl:template name="templ_prop_MLA_Date_DY" >
  2389.     <xsl:param name="LCID" />
  2390.     <xsl:variable name="_LCID">
  2391.       <xsl:call-template name="localLCID">
  2392.         <xsl:with-param name="LCID" select="$LCID"/>
  2393.       </xsl:call-template>
  2394.     </xsl:variable>
  2395.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:Date/b:DY"/>
  2396.   </xsl:template>
  2397.  
  2398.   
  2399.   <xsl:template name="templ_prop_APA_MainAuthors_FML" >
  2400.     <xsl:param name="LCID" />
  2401.     <xsl:variable name="_LCID">
  2402.       <xsl:call-template name="localLCID">
  2403.         <xsl:with-param name="LCID" select="$LCID"/>
  2404.       </xsl:call-template>
  2405.     </xsl:variable>
  2406.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:MainAuthors/b:FML"/>
  2407.   </xsl:template>
  2408.  
  2409.   
  2410.   <xsl:template name="templ_prop_APA_MainAuthors_FM" >
  2411.     <xsl:param name="LCID" />
  2412.     <xsl:variable name="_LCID">
  2413.       <xsl:call-template name="localLCID">
  2414.         <xsl:with-param name="LCID" select="$LCID"/>
  2415.       </xsl:call-template>
  2416.     </xsl:variable>
  2417.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:MainAuthors/b:FM"/>
  2418.   </xsl:template>
  2419.  
  2420.   
  2421.   <xsl:template name="templ_prop_APA_MainAuthors_ML" >
  2422.     <xsl:param name="LCID" />
  2423.     <xsl:variable name="_LCID">
  2424.       <xsl:call-template name="localLCID">
  2425.         <xsl:with-param name="LCID" select="$LCID"/>
  2426.       </xsl:call-template>
  2427.     </xsl:variable>
  2428.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:MainAuthors/b:ML"/>
  2429.   </xsl:template>
  2430.  
  2431.   
  2432.   <xsl:template name="templ_prop_APA_MainAuthors_FL" >
  2433.     <xsl:param name="LCID" />
  2434.     <xsl:variable name="_LCID">
  2435.       <xsl:call-template name="localLCID">
  2436.         <xsl:with-param name="LCID" select="$LCID"/>
  2437.       </xsl:call-template>
  2438.     </xsl:variable>
  2439.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:MainAuthors/b:FL"/>
  2440.   </xsl:template>
  2441.  
  2442.   
  2443.   <xsl:template name="templ_prop_APA_SecondaryAuthors_FML" >
  2444.     <xsl:param name="LCID" />
  2445.     <xsl:variable name="_LCID">
  2446.       <xsl:call-template name="localLCID">
  2447.         <xsl:with-param name="LCID" select="$LCID"/>
  2448.       </xsl:call-template>
  2449.     </xsl:variable>
  2450.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:SecondaryAuthors/b:FML"/>
  2451.   </xsl:template>
  2452.  
  2453.   
  2454.   <xsl:template name="templ_prop_APA_SecondaryAuthors_FM" >
  2455.     <xsl:param name="LCID" />
  2456.     <xsl:variable name="_LCID">
  2457.       <xsl:call-template name="localLCID">
  2458.         <xsl:with-param name="LCID" select="$LCID"/>
  2459.       </xsl:call-template>
  2460.     </xsl:variable>
  2461.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:SecondaryAuthors/b:FM"/>
  2462.   </xsl:template>
  2463.  
  2464.   
  2465.   <xsl:template name="templ_prop_APA_SecondaryAuthors_ML" >
  2466.     <xsl:param name="LCID" />
  2467.     <xsl:variable name="_LCID">
  2468.       <xsl:call-template name="localLCID">
  2469.         <xsl:with-param name="LCID" select="$LCID"/>
  2470.       </xsl:call-template>
  2471.     </xsl:variable>
  2472.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:SecondaryAuthors/b:ML"/>
  2473.   </xsl:template>
  2474.  
  2475.   
  2476.   <xsl:template name="templ_prop_APA_SecondaryAuthors_FL" >
  2477.     <xsl:param name="LCID" />
  2478.     <xsl:variable name="_LCID">
  2479.       <xsl:call-template name="localLCID">
  2480.         <xsl:with-param name="LCID" select="$LCID"/>
  2481.       </xsl:call-template>
  2482.     </xsl:variable>
  2483.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:SecondaryAuthors/b:FL"/>
  2484.   </xsl:template>
  2485.  
  2486.   
  2487.   <xsl:template name="templ_prop_APA_BeforeLastAuthor" >
  2488.     <xsl:param name="LCID" />
  2489.     <xsl:variable name="_LCID">
  2490.       <xsl:call-template name="localLCID">
  2491.         <xsl:with-param name="LCID" select="$LCID"/>
  2492.       </xsl:call-template>
  2493.     </xsl:variable>
  2494.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:BeforeLastAuthor"/>
  2495.   </xsl:template>
  2496.  
  2497.   
  2498.   <xsl:template name="templ_prop_APA_GeneralOpen" >
  2499.     <xsl:param name="LCID" />
  2500.     <xsl:variable name="_LCID">
  2501.       <xsl:call-template name="localLCID">
  2502.         <xsl:with-param name="LCID" select="$LCID"/>
  2503.       </xsl:call-template>
  2504.     </xsl:variable>
  2505.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:GeneralOpen"/>
  2506.   </xsl:template>
  2507.  
  2508.   
  2509.   <xsl:template name="templ_prop_APA_GeneralClose" >
  2510.     <xsl:param name="LCID" />
  2511.     <xsl:variable name="_LCID">
  2512.       <xsl:call-template name="localLCID">
  2513.         <xsl:with-param name="LCID" select="$LCID"/>
  2514.       </xsl:call-template>
  2515.     </xsl:variable>
  2516.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:GeneralClose"/>
  2517.   </xsl:template>
  2518.  
  2519.   
  2520.   <xsl:template name="templ_prop_APA_SecondaryOpen" >
  2521.     <xsl:param name="LCID" />
  2522.     <xsl:variable name="_LCID">
  2523.       <xsl:call-template name="localLCID">
  2524.         <xsl:with-param name="LCID" select="$LCID"/>
  2525.       </xsl:call-template>
  2526.     </xsl:variable>
  2527.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:SecondaryOpen"/>
  2528.   </xsl:template>
  2529.  
  2530.   
  2531.   <xsl:template name="templ_prop_APA_SecondaryClose" >
  2532.     <xsl:param name="LCID" />
  2533.     <xsl:variable name="_LCID">
  2534.       <xsl:call-template name="localLCID">
  2535.         <xsl:with-param name="LCID" select="$LCID"/>
  2536.       </xsl:call-template>
  2537.     </xsl:variable>
  2538.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:SecondaryClose"/>
  2539.   </xsl:template>
  2540.  
  2541.   
  2542.   <xsl:template name="templ_prop_Hyphens" >
  2543.     <xsl:param name="LCID" />
  2544.     <xsl:variable name="_LCID">
  2545.       <xsl:call-template name="localLCID">
  2546.         <xsl:with-param name="LCID" select="$LCID"/>
  2547.       </xsl:call-template>
  2548.     </xsl:variable>
  2549.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:Hyphens"/>
  2550.   </xsl:template>
  2551.  
  2552.   
  2553.   <xsl:template name="templ_prop_APA_Date_DMY" >
  2554.     <xsl:param name="LCID" />
  2555.     <xsl:variable name="_LCID">
  2556.       <xsl:call-template name="localLCID">
  2557.         <xsl:with-param name="LCID" select="$LCID"/>
  2558.       </xsl:call-template>
  2559.     </xsl:variable>
  2560.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:Date/b:DMY"/>
  2561.   </xsl:template>
  2562.  
  2563.   
  2564.   <xsl:template name="templ_prop_APA_Date_DM" >
  2565.     <xsl:param name="LCID" />
  2566.     <xsl:variable name="_LCID">
  2567.       <xsl:call-template name="localLCID">
  2568.         <xsl:with-param name="LCID" select="$LCID"/>
  2569.       </xsl:call-template>
  2570.     </xsl:variable>
  2571.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:Date/b:DM"/>
  2572.   </xsl:template>
  2573.  
  2574.   
  2575.   <xsl:template name="templ_prop_APA_Date_MY" >
  2576.     <xsl:param name="LCID" />
  2577.     <xsl:variable name="_LCID">
  2578.       <xsl:call-template name="localLCID">
  2579.         <xsl:with-param name="LCID" select="$LCID"/>
  2580.       </xsl:call-template>
  2581.     </xsl:variable>
  2582.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:Date/b:MY"/>
  2583.   </xsl:template>
  2584.  
  2585.   
  2586.   <xsl:template name="templ_prop_APA_Date_DY" >
  2587.     <xsl:param name="LCID" />
  2588.     <xsl:variable name="_LCID">
  2589.       <xsl:call-template name="localLCID">
  2590.         <xsl:with-param name="LCID" select="$LCID"/>
  2591.       </xsl:call-template>
  2592.     </xsl:variable>
  2593.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:Date/b:DY"/>
  2594.   </xsl:template>
  2595.  
  2596.   
  2597.   <xsl:template name="templ_prop_APA_DateAccessed_DMY" >
  2598.     <xsl:param name="LCID" />
  2599.     <xsl:variable name="_LCID">
  2600.       <xsl:call-template name="localLCID">
  2601.         <xsl:with-param name="LCID" select="$LCID"/>
  2602.       </xsl:call-template>
  2603.     </xsl:variable>
  2604.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:DateAccessed/b:DMY"/>
  2605.   </xsl:template>
  2606.  
  2607.   
  2608.   <xsl:template name="templ_prop_APA_DateAccessed_DM" >
  2609.     <xsl:param name="LCID" />
  2610.     <xsl:variable name="_LCID">
  2611.       <xsl:call-template name="localLCID">
  2612.         <xsl:with-param name="LCID" select="$LCID"/>
  2613.       </xsl:call-template>
  2614.     </xsl:variable>
  2615.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:DateAccessed/b:DM"/>
  2616.   </xsl:template>
  2617.  
  2618.   
  2619.   <xsl:template name="templ_prop_APA_DateAccessed_MY" >
  2620.     <xsl:param name="LCID" />
  2621.     <xsl:variable name="_LCID">
  2622.       <xsl:call-template name="localLCID">
  2623.         <xsl:with-param name="LCID" select="$LCID"/>
  2624.       </xsl:call-template>
  2625.     </xsl:variable>
  2626.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:DateAccessed/b:MY"/>
  2627.   </xsl:template>
  2628.  
  2629.   
  2630.   <xsl:template name="templ_prop_APA_DateAccessed_DY" >
  2631.     <xsl:param name="LCID" />
  2632.     <xsl:variable name="_LCID">
  2633.       <xsl:call-template name="localLCID">
  2634.         <xsl:with-param name="LCID" select="$LCID"/>
  2635.       </xsl:call-template>
  2636.     </xsl:variable>
  2637.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:DateAccessed/b:DY"/>
  2638.   </xsl:template>
  2639.  
  2640.   
  2641.   <xsl:template name="templ_prop_APA_DateCourt_DMY" >
  2642.     <xsl:param name="LCID" />
  2643.     <xsl:variable name="_LCID">
  2644.       <xsl:call-template name="localLCID">
  2645.         <xsl:with-param name="LCID" select="$LCID"/>
  2646.       </xsl:call-template>
  2647.     </xsl:variable>
  2648.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:DateCourt/b:DMY"/>
  2649.   </xsl:template>
  2650.  
  2651.   
  2652.   <xsl:template name="templ_prop_APA_DateCourt_DM" >
  2653.     <xsl:param name="LCID" />
  2654.     <xsl:variable name="_LCID">
  2655.       <xsl:call-template name="localLCID">
  2656.         <xsl:with-param name="LCID" select="$LCID"/>
  2657.       </xsl:call-template>
  2658.     </xsl:variable>
  2659.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:DateCourt/b:DM"/>
  2660.   </xsl:template>
  2661.  
  2662.   
  2663.   <xsl:template name="templ_prop_APA_DateCourt_MY" >
  2664.     <xsl:param name="LCID" />
  2665.     <xsl:variable name="_LCID">
  2666.       <xsl:call-template name="localLCID">
  2667.         <xsl:with-param name="LCID" select="$LCID"/>
  2668.       </xsl:call-template>
  2669.     </xsl:variable>
  2670.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:DateCourt/b:MY"/>
  2671.   </xsl:template>
  2672.  
  2673.   
  2674.   <xsl:template name="templ_prop_APA_DateCourt_DY" >
  2675.     <xsl:param name="LCID" />
  2676.     <xsl:variable name="_LCID">
  2677.       <xsl:call-template name="localLCID">
  2678.         <xsl:with-param name="LCID" select="$LCID"/>
  2679.       </xsl:call-template>
  2680.     </xsl:variable>
  2681.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:DateCourt/b:DY"/>
  2682.   </xsl:template>
  2683.  
  2684.   
  2685.   <xsl:template name="templ_prop_Chicago_SameAuthor" >
  2686.     <xsl:param name="LCID" />
  2687.     <xsl:variable name="_LCID">
  2688.       <xsl:call-template name="localLCID">
  2689.         <xsl:with-param name="LCID" select="$LCID"/>
  2690.       </xsl:call-template>
  2691.     </xsl:variable>
  2692.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:SameAuthor"/>
  2693.   </xsl:template>
  2694.  
  2695.   
  2696.   <xsl:template name="templ_prop_Chicago_MainAuthor_FML" >
  2697.     <xsl:param name="LCID" />
  2698.     <xsl:variable name="_LCID">
  2699.       <xsl:call-template name="localLCID">
  2700.         <xsl:with-param name="LCID" select="$LCID"/>
  2701.       </xsl:call-template>
  2702.     </xsl:variable>
  2703.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:MainAuthor/b:FML"/>
  2704.   </xsl:template>
  2705.  
  2706.   
  2707.   <xsl:template name="templ_prop_Chicago_MainAuthor_FM" >
  2708.     <xsl:param name="LCID" />
  2709.     <xsl:variable name="_LCID">
  2710.       <xsl:call-template name="localLCID">
  2711.         <xsl:with-param name="LCID" select="$LCID"/>
  2712.       </xsl:call-template>
  2713.     </xsl:variable>
  2714.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:MainAuthor/b:FM"/>
  2715.   </xsl:template>
  2716.  
  2717.   
  2718.   <xsl:template name="templ_prop_Chicago_MainAuthor_ML" >
  2719.     <xsl:param name="LCID" />
  2720.     <xsl:variable name="_LCID">
  2721.       <xsl:call-template name="localLCID">
  2722.         <xsl:with-param name="LCID" select="$LCID"/>
  2723.       </xsl:call-template>
  2724.     </xsl:variable>
  2725.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:MainAuthor/b:ML"/>
  2726.   </xsl:template>
  2727.  
  2728.   
  2729.   <xsl:template name="templ_prop_Chicago_MainAuthor_FL" >
  2730.     <xsl:param name="LCID" />
  2731.     <xsl:variable name="_LCID">
  2732.       <xsl:call-template name="localLCID">
  2733.         <xsl:with-param name="LCID" select="$LCID"/>
  2734.       </xsl:call-template>
  2735.     </xsl:variable>
  2736.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:MainAuthor/b:FL"/>
  2737.   </xsl:template>
  2738.  
  2739.   
  2740.   <xsl:template name="templ_prop_Chicago_OtherAuthors_FML" >
  2741.     <xsl:param name="LCID" />
  2742.     <xsl:variable name="_LCID">
  2743.       <xsl:call-template name="localLCID">
  2744.         <xsl:with-param name="LCID" select="$LCID"/>
  2745.       </xsl:call-template>
  2746.     </xsl:variable>
  2747.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:OtherAuthors/b:FML"/>
  2748.   </xsl:template>
  2749.  
  2750.   
  2751.   <xsl:template name="templ_prop_Chicago_OtherAuthors_FM" >
  2752.     <xsl:param name="LCID" />
  2753.     <xsl:variable name="_LCID">
  2754.       <xsl:call-template name="localLCID">
  2755.         <xsl:with-param name="LCID" select="$LCID"/>
  2756.       </xsl:call-template>
  2757.     </xsl:variable>
  2758.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:OtherAuthors/b:FM"/>
  2759.   </xsl:template>
  2760.  
  2761.   
  2762.   <xsl:template name="templ_prop_Chicago_OtherAuthors_ML" >
  2763.     <xsl:param name="LCID" />
  2764.     <xsl:variable name="_LCID">
  2765.       <xsl:call-template name="localLCID">
  2766.         <xsl:with-param name="LCID" select="$LCID"/>
  2767.       </xsl:call-template>
  2768.     </xsl:variable>
  2769.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:OtherAuthors/b:ML"/>
  2770.   </xsl:template>
  2771.  
  2772.   
  2773.   <xsl:template name="templ_prop_Chicago_OtherAuthors_FL" >
  2774.     <xsl:param name="LCID" />
  2775.     <xsl:variable name="_LCID">
  2776.       <xsl:call-template name="localLCID">
  2777.         <xsl:with-param name="LCID" select="$LCID"/>
  2778.       </xsl:call-template>
  2779.     </xsl:variable>
  2780.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:OtherAuthors/b:FL"/>
  2781.   </xsl:template>
  2782.  
  2783.   
  2784.   <xsl:template name="templ_prop_Chicago_SecondaryAuthors_FML" >
  2785.     <xsl:param name="LCID" />
  2786.     <xsl:variable name="_LCID">
  2787.       <xsl:call-template name="localLCID">
  2788.         <xsl:with-param name="LCID" select="$LCID"/>
  2789.       </xsl:call-template>
  2790.     </xsl:variable>
  2791.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:SecondaryAuthors/b:FML"/>
  2792.   </xsl:template>
  2793.  
  2794.   
  2795.   <xsl:template name="templ_prop_Chicago_SecondaryAuthors_FM" >
  2796.     <xsl:param name="LCID" />
  2797.     <xsl:variable name="_LCID">
  2798.       <xsl:call-template name="localLCID">
  2799.         <xsl:with-param name="LCID" select="$LCID"/>
  2800.       </xsl:call-template>
  2801.     </xsl:variable>
  2802.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:SecondaryAuthors/b:FM"/>
  2803.   </xsl:template>
  2804.  
  2805.   
  2806.   <xsl:template name="templ_prop_Chicago_SecondaryAuthors_ML" >
  2807.     <xsl:param name="LCID" />
  2808.     <xsl:variable name="_LCID">
  2809.       <xsl:call-template name="localLCID">
  2810.         <xsl:with-param name="LCID" select="$LCID"/>
  2811.       </xsl:call-template>
  2812.     </xsl:variable>
  2813.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:SecondaryAuthors/b:ML"/>
  2814.   </xsl:template>
  2815.  
  2816.   
  2817.   <xsl:template name="templ_prop_Chicago_SecondaryAuthors_FL" >
  2818.     <xsl:param name="LCID" />
  2819.     <xsl:variable name="_LCID">
  2820.       <xsl:call-template name="localLCID">
  2821.         <xsl:with-param name="LCID" select="$LCID"/>
  2822.       </xsl:call-template>
  2823.     </xsl:variable>
  2824.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:SecondaryAuthors/b:FL"/>
  2825.   </xsl:template>
  2826.  
  2827.   
  2828.   <xsl:template name="templ_prop_Chicago_Date_DMY" >
  2829.     <xsl:param name="LCID" />
  2830.     <xsl:variable name="_LCID">
  2831.       <xsl:call-template name="localLCID">
  2832.         <xsl:with-param name="LCID" select="$LCID"/>
  2833.       </xsl:call-template>
  2834.     </xsl:variable>
  2835.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:Date/b:DMY"/>
  2836.   </xsl:template>
  2837.  
  2838.   
  2839.   <xsl:template name="templ_prop_Chicago_Date_DM" >
  2840.     <xsl:param name="LCID" />
  2841.     <xsl:variable name="_LCID">
  2842.       <xsl:call-template name="localLCID">
  2843.         <xsl:with-param name="LCID" select="$LCID"/>
  2844.       </xsl:call-template>
  2845.     </xsl:variable>
  2846.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:Date/b:DM"/>
  2847.   </xsl:template>
  2848.  
  2849.   
  2850.   <xsl:template name="templ_prop_Chicago_Date_MY" >
  2851.     <xsl:param name="LCID" />
  2852.     <xsl:variable name="_LCID">
  2853.       <xsl:call-template name="localLCID">
  2854.         <xsl:with-param name="LCID" select="$LCID"/>
  2855.       </xsl:call-template>
  2856.     </xsl:variable>
  2857.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:Date/b:MY"/>
  2858.   </xsl:template>
  2859.  
  2860.   
  2861.   <xsl:template name="templ_prop_Chicago_Date_DY" >
  2862.     <xsl:param name="LCID" />
  2863.     <xsl:variable name="_LCID">
  2864.       <xsl:call-template name="localLCID">
  2865.         <xsl:with-param name="LCID" select="$LCID"/>
  2866.       </xsl:call-template>
  2867.     </xsl:variable>
  2868.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:Date/b:DY"/>
  2869.   </xsl:template>
  2870.  
  2871.   
  2872.   <xsl:template name="templ_prop_ISO690_MainAuthors_FML" >
  2873.     <xsl:param name="LCID" />
  2874.     <xsl:variable name="_LCID">
  2875.       <xsl:call-template name="localLCID">
  2876.         <xsl:with-param name="LCID" select="$LCID"/>
  2877.       </xsl:call-template>
  2878.     </xsl:variable>
  2879.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:MainAuthors/b:FML"/>
  2880.   </xsl:template>
  2881.  
  2882.   
  2883.   <xsl:template name="templ_prop_ISO690_MainAuthors_FM" >
  2884.     <xsl:param name="LCID" />
  2885.     <xsl:variable name="_LCID">
  2886.       <xsl:call-template name="localLCID">
  2887.         <xsl:with-param name="LCID" select="$LCID"/>
  2888.       </xsl:call-template>
  2889.     </xsl:variable>
  2890.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:MainAuthors/b:FM"/>
  2891.   </xsl:template>
  2892.  
  2893.   
  2894.   <xsl:template name="templ_prop_ISO690_MainAuthors_ML" >
  2895.     <xsl:param name="LCID" />
  2896.     <xsl:variable name="_LCID">
  2897.       <xsl:call-template name="localLCID">
  2898.         <xsl:with-param name="LCID" select="$LCID"/>
  2899.       </xsl:call-template>
  2900.     </xsl:variable>
  2901.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:MainAuthors/b:ML"/>
  2902.   </xsl:template>
  2903.  
  2904.   
  2905.   <xsl:template name="templ_prop_ISO690_MainAuthors_FL" >
  2906.     <xsl:param name="LCID" />
  2907.     <xsl:variable name="_LCID">
  2908.       <xsl:call-template name="localLCID">
  2909.         <xsl:with-param name="LCID" select="$LCID"/>
  2910.       </xsl:call-template>
  2911.     </xsl:variable>
  2912.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:MainAuthors/b:FL"/>
  2913.   </xsl:template>
  2914.  
  2915.   
  2916.   <xsl:template name="templ_prop_ISO690_SecondaryAuthors_FML" >
  2917.     <xsl:param name="LCID" />
  2918.     <xsl:variable name="_LCID">
  2919.       <xsl:call-template name="localLCID">
  2920.         <xsl:with-param name="LCID" select="$LCID"/>
  2921.       </xsl:call-template>
  2922.     </xsl:variable>
  2923.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:SecondaryAuthors/b:FML"/>
  2924.   </xsl:template>
  2925.  
  2926.   
  2927.   <xsl:template name="templ_prop_ISO690_SecondaryAuthors_FM" >
  2928.     <xsl:param name="LCID" />
  2929.     <xsl:variable name="_LCID">
  2930.       <xsl:call-template name="localLCID">
  2931.         <xsl:with-param name="LCID" select="$LCID"/>
  2932.       </xsl:call-template>
  2933.     </xsl:variable>
  2934.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:SecondaryAuthors/b:FM"/>
  2935.   </xsl:template>
  2936.  
  2937.   
  2938.   <xsl:template name="templ_prop_ISO690_SecondaryAuthors_ML" >
  2939.     <xsl:param name="LCID" />
  2940.     <xsl:variable name="_LCID">
  2941.       <xsl:call-template name="localLCID">
  2942.         <xsl:with-param name="LCID" select="$LCID"/>
  2943.       </xsl:call-template>
  2944.     </xsl:variable>
  2945.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:SecondaryAuthors/b:ML"/>
  2946.   </xsl:template>
  2947.  
  2948.   
  2949.   <xsl:template name="templ_prop_ISO690_SecondaryAuthors_FL" >
  2950.     <xsl:param name="LCID" />
  2951.     <xsl:variable name="_LCID">
  2952.       <xsl:call-template name="localLCID">
  2953.         <xsl:with-param name="LCID" select="$LCID"/>
  2954.       </xsl:call-template>
  2955.     </xsl:variable>
  2956.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:SecondaryAuthors/b:FL"/>
  2957.   </xsl:template>
  2958.  
  2959.   
  2960.   <xsl:template name="templ_prop_ISO690_SameAuthor" >
  2961.     <xsl:param name="LCID" />
  2962.     <xsl:variable name="_LCID">
  2963.       <xsl:call-template name="localLCID">
  2964.         <xsl:with-param name="LCID" select="$LCID"/>
  2965.       </xsl:call-template>
  2966.     </xsl:variable>
  2967.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:SameAuthor"/>
  2968.   </xsl:template>
  2969.  
  2970.   
  2971.   <xsl:template name="templ_prop_ISO690_GeneralOpen" >
  2972.     <xsl:param name="LCID" />
  2973.     <xsl:variable name="_LCID">
  2974.       <xsl:call-template name="localLCID">
  2975.         <xsl:with-param name="LCID" select="$LCID"/>
  2976.       </xsl:call-template>
  2977.     </xsl:variable>
  2978.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:GeneralOpen"/>
  2979.   </xsl:template>
  2980.  
  2981.   
  2982.   <xsl:template name="templ_prop_ISO690_GeneralClose" >
  2983.     <xsl:param name="LCID" />
  2984.     <xsl:variable name="_LCID">
  2985.       <xsl:call-template name="localLCID">
  2986.         <xsl:with-param name="LCID" select="$LCID"/>
  2987.       </xsl:call-template>
  2988.     </xsl:variable>
  2989.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:GeneralClose"/>
  2990.   </xsl:template>
  2991.  
  2992.   
  2993.   <xsl:template name="templ_prop_ISO690_Date_DMY" >
  2994.     <xsl:param name="LCID" />
  2995.     <xsl:variable name="_LCID">
  2996.       <xsl:call-template name="localLCID">
  2997.         <xsl:with-param name="LCID" select="$LCID"/>
  2998.       </xsl:call-template>
  2999.     </xsl:variable>
  3000.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:Date/b:DMY"/>
  3001.   </xsl:template>
  3002.  
  3003.   
  3004.   <xsl:template name="templ_prop_ISO690_Date_DM" >
  3005.     <xsl:param name="LCID" />
  3006.     <xsl:variable name="_LCID">
  3007.       <xsl:call-template name="localLCID">
  3008.         <xsl:with-param name="LCID" select="$LCID"/>
  3009.       </xsl:call-template>
  3010.     </xsl:variable>
  3011.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:Date/b:DM"/>
  3012.   </xsl:template>
  3013.  
  3014.   
  3015.   <xsl:template name="templ_prop_ISO690_Date_MY" >
  3016.     <xsl:param name="LCID" />
  3017.     <xsl:variable name="_LCID">
  3018.       <xsl:call-template name="localLCID">
  3019.         <xsl:with-param name="LCID" select="$LCID"/>
  3020.       </xsl:call-template>
  3021.     </xsl:variable>
  3022.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:Date/b:MY"/>
  3023.   </xsl:template>
  3024.  
  3025.   
  3026.   <xsl:template name="templ_prop_ISO690_Date_DY" >
  3027.     <xsl:param name="LCID" />
  3028.     <xsl:variable name="_LCID">
  3029.       <xsl:call-template name="localLCID">
  3030.         <xsl:with-param name="LCID" select="$LCID"/>
  3031.       </xsl:call-template>
  3032.     </xsl:variable>
  3033.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:Date/b:DY"/>
  3034.   </xsl:template>
  3035.  
  3036.   
  3037.   <xsl:template name="templ_prop_ISO690_DateAccessed_DMY" >
  3038.     <xsl:param name="LCID" />
  3039.     <xsl:variable name="_LCID">
  3040.       <xsl:call-template name="localLCID">
  3041.         <xsl:with-param name="LCID" select="$LCID"/>
  3042.       </xsl:call-template>
  3043.     </xsl:variable>
  3044.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:DateAccessed/b:DMY"/>
  3045.   </xsl:template>
  3046.  
  3047.   
  3048.   <xsl:template name="templ_prop_ISO690_DateAccessed_DM" >
  3049.     <xsl:param name="LCID" />
  3050.     <xsl:variable name="_LCID">
  3051.       <xsl:call-template name="localLCID">
  3052.         <xsl:with-param name="LCID" select="$LCID"/>
  3053.       </xsl:call-template>
  3054.     </xsl:variable>
  3055.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:DateAccessed/b:DM"/>
  3056.   </xsl:template>
  3057.  
  3058.   
  3059.   <xsl:template name="templ_prop_ISO690_DateAccessed_MY" >
  3060.     <xsl:param name="LCID" />
  3061.     <xsl:variable name="_LCID">
  3062.       <xsl:call-template name="localLCID">
  3063.         <xsl:with-param name="LCID" select="$LCID"/>
  3064.       </xsl:call-template>
  3065.     </xsl:variable>
  3066.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:DateAccessed/b:MY"/>
  3067.   </xsl:template>
  3068.  
  3069.   
  3070.   <xsl:template name="templ_prop_ISO690_DateAccessed_DY" >
  3071.     <xsl:param name="LCID" />
  3072.     <xsl:variable name="_LCID">
  3073.       <xsl:call-template name="localLCID">
  3074.         <xsl:with-param name="LCID" select="$LCID"/>
  3075.       </xsl:call-template>
  3076.     </xsl:variable>
  3077.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:DateAccessed/b:DY"/>
  3078.   </xsl:template>
  3079.  
  3080.   
  3081.   <xsl:template name="templ_prop_Gost_Authors_FML" >
  3082.     <xsl:param name="LCID" />
  3083.     <xsl:variable name="_LCID">
  3084.       <xsl:call-template name="localLCID">
  3085.         <xsl:with-param name="LCID" select="$LCID"/>
  3086.       </xsl:call-template>
  3087.     </xsl:variable>
  3088.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:Authors/b:FML"/>
  3089.   </xsl:template>
  3090.  
  3091.   
  3092.   <xsl:template name="templ_prop_Gost_Authors_FM" >
  3093.     <xsl:param name="LCID" />
  3094.     <xsl:variable name="_LCID">
  3095.       <xsl:call-template name="localLCID">
  3096.         <xsl:with-param name="LCID" select="$LCID"/>
  3097.       </xsl:call-template>
  3098.     </xsl:variable>
  3099.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:Authors/b:FM"/>
  3100.   </xsl:template>
  3101.  
  3102.   
  3103.   <xsl:template name="templ_prop_Gost_Authors_ML" >
  3104.     <xsl:param name="LCID" />
  3105.     <xsl:variable name="_LCID">
  3106.       <xsl:call-template name="localLCID">
  3107.         <xsl:with-param name="LCID" select="$LCID"/>
  3108.       </xsl:call-template>
  3109.     </xsl:variable>
  3110.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:Authors/b:ML"/>
  3111.   </xsl:template>
  3112.  
  3113.   
  3114.   <xsl:template name="templ_prop_Gost_Authors_FL" >
  3115.     <xsl:param name="LCID" />
  3116.     <xsl:variable name="_LCID">
  3117.       <xsl:call-template name="localLCID">
  3118.         <xsl:with-param name="LCID" select="$LCID"/>
  3119.       </xsl:call-template>
  3120.     </xsl:variable>
  3121.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:Authors/b:FL"/>
  3122.   </xsl:template>
  3123.  
  3124.   
  3125.   <xsl:template name="templ_prop_Gost_Date_DMY" >
  3126.     <xsl:param name="LCID" />
  3127.     <xsl:variable name="_LCID">
  3128.       <xsl:call-template name="localLCID">
  3129.         <xsl:with-param name="LCID" select="$LCID"/>
  3130.       </xsl:call-template>
  3131.     </xsl:variable>
  3132.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:Date/b:DMY"/>
  3133.   </xsl:template>
  3134.  
  3135.   
  3136.   <xsl:template name="templ_prop_Gost_Date_DM" >
  3137.     <xsl:param name="LCID" />
  3138.     <xsl:variable name="_LCID">
  3139.       <xsl:call-template name="localLCID">
  3140.         <xsl:with-param name="LCID" select="$LCID"/>
  3141.       </xsl:call-template>
  3142.     </xsl:variable>
  3143.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:Date/b:DM"/>
  3144.   </xsl:template>
  3145.  
  3146.   
  3147.   <xsl:template name="templ_prop_Gost_Date_MY" >
  3148.     <xsl:param name="LCID" />
  3149.     <xsl:variable name="_LCID">
  3150.       <xsl:call-template name="localLCID">
  3151.         <xsl:with-param name="LCID" select="$LCID"/>
  3152.       </xsl:call-template>
  3153.     </xsl:variable>
  3154.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:Date/b:MY"/>
  3155.   </xsl:template>
  3156.  
  3157.   
  3158.   <xsl:template name="templ_prop_Gost_Date_DY" >
  3159.     <xsl:param name="LCID" />
  3160.     <xsl:variable name="_LCID">
  3161.       <xsl:call-template name="localLCID">
  3162.         <xsl:with-param name="LCID" select="$LCID"/>
  3163.       </xsl:call-template>
  3164.     </xsl:variable>
  3165.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:Date/b:DY"/>
  3166.   </xsl:template>
  3167.  
  3168.   
  3169.   <xsl:template name="templ_prop_Gost_GeneralOpen" >
  3170.     <xsl:param name="LCID" />
  3171.     <xsl:variable name="_LCID">
  3172.       <xsl:call-template name="localLCID">
  3173.         <xsl:with-param name="LCID" select="$LCID"/>
  3174.       </xsl:call-template>
  3175.     </xsl:variable>
  3176.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:GeneralOpen"/>
  3177.   </xsl:template>
  3178.  
  3179.   
  3180.   <xsl:template name="templ_prop_Gost_GeneralClose" >
  3181.     <xsl:param name="LCID" />
  3182.     <xsl:variable name="_LCID">
  3183.       <xsl:call-template name="localLCID">
  3184.         <xsl:with-param name="LCID" select="$LCID"/>
  3185.       </xsl:call-template>
  3186.     </xsl:variable>
  3187.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:GeneralClose"/>
  3188.   </xsl:template>
  3189.  
  3190.   
  3191.   <xsl:template name="templ_prop_Gost_OneSlash" >
  3192.     <xsl:param name="LCID" />
  3193.     <xsl:variable name="_LCID">
  3194.       <xsl:call-template name="localLCID">
  3195.         <xsl:with-param name="LCID" select="$LCID"/>
  3196.       </xsl:call-template>
  3197.     </xsl:variable>
  3198.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:OneSlash"/>
  3199.   </xsl:template>
  3200.  
  3201.   
  3202.   <xsl:template name="templ_prop_Gost_TwoSlash" >
  3203.     <xsl:param name="LCID" />
  3204.     <xsl:variable name="_LCID">
  3205.       <xsl:call-template name="localLCID">
  3206.         <xsl:with-param name="LCID" select="$LCID"/>
  3207.       </xsl:call-template>
  3208.     </xsl:variable>
  3209.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:TwoSlash"/>
  3210.   </xsl:template>
  3211.  
  3212.   
  3213.   <xsl:template name="templ_prop_SIST_MainAuthors_FML" >
  3214.     <xsl:param name="LCID" />
  3215.     <xsl:variable name="_LCID">
  3216.       <xsl:call-template name="localLCID">
  3217.         <xsl:with-param name="LCID" select="$LCID"/>
  3218.       </xsl:call-template>
  3219.     </xsl:variable>
  3220.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:MainAuthors/b:FML"/>
  3221.   </xsl:template>
  3222.  
  3223.   
  3224.   <xsl:template name="templ_prop_SIST_MainAuthors_FM" >
  3225.     <xsl:param name="LCID" />
  3226.     <xsl:variable name="_LCID">
  3227.       <xsl:call-template name="localLCID">
  3228.         <xsl:with-param name="LCID" select="$LCID"/>
  3229.       </xsl:call-template>
  3230.     </xsl:variable>
  3231.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:MainAuthors/b:FM"/>
  3232.   </xsl:template>
  3233.  
  3234.   
  3235.   <xsl:template name="templ_prop_SIST_MainAuthors_ML" >
  3236.     <xsl:param name="LCID" />
  3237.     <xsl:variable name="_LCID">
  3238.       <xsl:call-template name="localLCID">
  3239.         <xsl:with-param name="LCID" select="$LCID"/>
  3240.       </xsl:call-template>
  3241.     </xsl:variable>
  3242.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:MainAuthors/b:ML"/>
  3243.   </xsl:template>
  3244.  
  3245.   
  3246.   <xsl:template name="templ_prop_SIST_MainAuthors_FL" >
  3247.     <xsl:param name="LCID" />
  3248.     <xsl:variable name="_LCID">
  3249.       <xsl:call-template name="localLCID">
  3250.         <xsl:with-param name="LCID" select="$LCID"/>
  3251.       </xsl:call-template>
  3252.     </xsl:variable>
  3253.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:MainAuthors/b:FL"/>
  3254.   </xsl:template>
  3255.  
  3256.   
  3257.   <xsl:template name="templ_prop_SIST_SecondaryAuthors_FML" >
  3258.     <xsl:param name="LCID" />
  3259.     <xsl:variable name="_LCID">
  3260.       <xsl:call-template name="localLCID">
  3261.         <xsl:with-param name="LCID" select="$LCID"/>
  3262.       </xsl:call-template>
  3263.     </xsl:variable>
  3264.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:SecondaryAuthors/b:FML"/>
  3265.   </xsl:template>
  3266.  
  3267.   
  3268.   <xsl:template name="templ_prop_SIST_SecondaryAuthors_FM" >
  3269.     <xsl:param name="LCID" />
  3270.     <xsl:variable name="_LCID">
  3271.       <xsl:call-template name="localLCID">
  3272.         <xsl:with-param name="LCID" select="$LCID"/>
  3273.       </xsl:call-template>
  3274.     </xsl:variable>
  3275.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:SecondaryAuthors/b:FM"/>
  3276.   </xsl:template>
  3277.  
  3278.   
  3279.   <xsl:template name="templ_prop_SIST_SecondaryAuthors_ML" >
  3280.     <xsl:param name="LCID" />
  3281.     <xsl:variable name="_LCID">
  3282.       <xsl:call-template name="localLCID">
  3283.         <xsl:with-param name="LCID" select="$LCID"/>
  3284.       </xsl:call-template>
  3285.     </xsl:variable>
  3286.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:SecondaryAuthors/b:ML"/>
  3287.   </xsl:template>
  3288.  
  3289.   
  3290.   <xsl:template name="templ_prop_SIST_SecondaryAuthors_FL" >
  3291.     <xsl:param name="LCID" />
  3292.     <xsl:variable name="_LCID">
  3293.       <xsl:call-template name="localLCID">
  3294.         <xsl:with-param name="LCID" select="$LCID"/>
  3295.       </xsl:call-template>
  3296.     </xsl:variable>
  3297.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:SecondaryAuthors/b:FL"/>
  3298.   </xsl:template>
  3299.  
  3300.   
  3301.   <xsl:template name="templ_prop_SIST_SameAuthor" >
  3302.     <xsl:param name="LCID" />
  3303.     <xsl:variable name="_LCID">
  3304.       <xsl:call-template name="localLCID">
  3305.         <xsl:with-param name="LCID" select="$LCID"/>
  3306.       </xsl:call-template>
  3307.     </xsl:variable>
  3308.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:SameAuthor"/>
  3309.   </xsl:template>
  3310.  
  3311.   
  3312.   <xsl:template name="templ_prop_SIST_GeneralOpen" >
  3313.     <xsl:param name="LCID" />
  3314.     <xsl:variable name="_LCID">
  3315.       <xsl:call-template name="localLCID">
  3316.         <xsl:with-param name="LCID" select="$LCID"/>
  3317.       </xsl:call-template>
  3318.     </xsl:variable>
  3319.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:GeneralOpen"/>
  3320.   </xsl:template>
  3321.  
  3322.   
  3323.   <xsl:template name="templ_prop_SIST_GeneralClose" >
  3324.     <xsl:param name="LCID" />
  3325.     <xsl:variable name="_LCID">
  3326.       <xsl:call-template name="localLCID">
  3327.         <xsl:with-param name="LCID" select="$LCID"/>
  3328.       </xsl:call-template>
  3329.     </xsl:variable>
  3330.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:GeneralClose"/>
  3331.   </xsl:template>
  3332.  
  3333.   
  3334.   <xsl:template name="templ_prop_SIST_Date_DMY" >
  3335.     <xsl:param name="LCID" />
  3336.     <xsl:variable name="_LCID">
  3337.       <xsl:call-template name="localLCID">
  3338.         <xsl:with-param name="LCID" select="$LCID"/>
  3339.       </xsl:call-template>
  3340.     </xsl:variable>
  3341.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:Date/b:DMY"/>
  3342.   </xsl:template>
  3343.  
  3344.   
  3345.   <xsl:template name="templ_prop_SIST_Date_DM" >
  3346.     <xsl:param name="LCID" />
  3347.     <xsl:variable name="_LCID">
  3348.       <xsl:call-template name="localLCID">
  3349.         <xsl:with-param name="LCID" select="$LCID"/>
  3350.       </xsl:call-template>
  3351.     </xsl:variable>
  3352.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:Date/b:DM"/>
  3353.   </xsl:template>
  3354.  
  3355.   
  3356.   <xsl:template name="templ_prop_SIST_Date_MY" >
  3357.     <xsl:param name="LCID" />
  3358.     <xsl:variable name="_LCID">
  3359.       <xsl:call-template name="localLCID">
  3360.         <xsl:with-param name="LCID" select="$LCID"/>
  3361.       </xsl:call-template>
  3362.     </xsl:variable>
  3363.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:Date/b:MY"/>
  3364.   </xsl:template>
  3365.  
  3366.   
  3367.   <xsl:template name="templ_prop_SIST_Date_DY" >
  3368.     <xsl:param name="LCID" />
  3369.     <xsl:variable name="_LCID">
  3370.       <xsl:call-template name="localLCID">
  3371.         <xsl:with-param name="LCID" select="$LCID"/>
  3372.       </xsl:call-template>
  3373.     </xsl:variable>
  3374.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:Date/b:DY"/>
  3375.   </xsl:template>
  3376.  
  3377.   
  3378.   <xsl:template name="templ_prop_SIST_DateAccessed_DMY" >
  3379.     <xsl:param name="LCID" />
  3380.     <xsl:variable name="_LCID">
  3381.       <xsl:call-template name="localLCID">
  3382.         <xsl:with-param name="LCID" select="$LCID"/>
  3383.       </xsl:call-template>
  3384.     </xsl:variable>
  3385.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:DateAccessed/b:DMY"/>
  3386.   </xsl:template>
  3387.  
  3388.   
  3389.   <xsl:template name="templ_prop_SIST_DateAccessed_DM" >
  3390.     <xsl:param name="LCID" />
  3391.     <xsl:variable name="_LCID">
  3392.       <xsl:call-template name="localLCID">
  3393.         <xsl:with-param name="LCID" select="$LCID"/>
  3394.       </xsl:call-template>
  3395.     </xsl:variable>
  3396.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:DateAccessed/b:DM"/>
  3397.   </xsl:template>
  3398.  
  3399.   
  3400.   <xsl:template name="templ_prop_SIST_DateAccessed_MY" >
  3401.     <xsl:param name="LCID" />
  3402.     <xsl:variable name="_LCID">
  3403.       <xsl:call-template name="localLCID">
  3404.         <xsl:with-param name="LCID" select="$LCID"/>
  3405.       </xsl:call-template>
  3406.     </xsl:variable>
  3407.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:DateAccessed/b:MY"/>
  3408.   </xsl:template>
  3409.  
  3410.   
  3411.   <xsl:template name="templ_prop_SIST_DateAccessed_DY" >
  3412.     <xsl:param name="LCID" />
  3413.     <xsl:variable name="_LCID">
  3414.       <xsl:call-template name="localLCID">
  3415.         <xsl:with-param name="LCID" select="$LCID"/>
  3416.       </xsl:call-template>
  3417.     </xsl:variable>
  3418.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:DateAccessed/b:DY"/>
  3419.   </xsl:template>
  3420.  
  3421.   <xsl:template name="templ_prop_NoCommaBeforeAnd" >
  3422.     <xsl:param name="LCID" />
  3423.     <xsl:variable name="_LCID">
  3424.       <xsl:call-template name="localLCID">
  3425.         <xsl:with-param name="LCID" select="$LCID"/>
  3426.       </xsl:call-template>
  3427.     </xsl:variable>
  3428.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:NoCommaBeforeAnd"/>
  3429.   </xsl:template>
  3430.  
  3431.  
  3432.  
  3433.   <xsl:template match="/">
  3434.  
  3435.  
  3436.  
  3437.  
  3438.  
  3439.  
  3440.         <xsl:choose>
  3441.             <xsl:when test="b:Version">
  3442.                 <xsl:text>2006.5.07</xsl:text>
  3443.             </xsl:when>
  3444.  
  3445.             
  3446.             
  3447.             <xsl:when test="b:OfficeStyleKey">
  3448.                 <xsl:text>Chicago</xsl:text>
  3449.             </xsl:when>
  3450.             
  3451.             
  3452.     
  3453.             
  3454.             
  3455.             
  3456.             <xsl:when test="b:GetImportantFields">
  3457.                 <b:ImportantFields>
  3458.                     <xsl:choose>
  3459.                         <xsl:when test="b:GetImportantFields/b:SourceType='Book'">
  3460.                             <b:ImportantField><xsl:text>b:Author/b:Author/b:NameList</xsl:text></b:ImportantField>
  3461.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3462.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3463.                             <b:ImportantField><xsl:text>b:City</xsl:text></b:ImportantField>
  3464.                             <b:ImportantField><xsl:text>b:Publisher</xsl:text></b:ImportantField>
  3465.  
  3466.                         </xsl:when>
  3467.  
  3468.                         <xsl:when test="b:GetImportantFields/b:SourceType='BookSection'">
  3469.                             <b:ImportantField><xsl:text>b:Author/b:Author/b:NameList</xsl:text></b:ImportantField>
  3470.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3471.                             <b:ImportantField><xsl:text>b:Author/b:BookAuthor/b:NameList</xsl:text></b:ImportantField>
  3472.                             <b:ImportantField><xsl:text>b:BookTitle</xsl:text></b:ImportantField>
  3473.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3474.                             <b:ImportantField><xsl:text>b:Pages</xsl:text></b:ImportantField>
  3475.                             <b:ImportantField><xsl:text>b:City</xsl:text></b:ImportantField>
  3476.                             <b:ImportantField><xsl:text>b:Publisher</xsl:text></b:ImportantField>
  3477.                         </xsl:when>
  3478.  
  3479.                         <xsl:when test="b:GetImportantFields/b:SourceType='JournalArticle'">
  3480.                             <b:ImportantField><xsl:text>b:Author/b:Author/b:NameList</xsl:text></b:ImportantField>
  3481.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3482.                             <b:ImportantField><xsl:text>b:JournalName</xsl:text></b:ImportantField>
  3483.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3484.                             <b:ImportantField><xsl:text>b:Pages</xsl:text></b:ImportantField>
  3485.                         </xsl:when>
  3486.  
  3487.                         <xsl:when test="b:GetImportantFields/b:SourceType='ArticleInAPeriodical'">
  3488.                             <b:ImportantField><xsl:text>b:Author/b:Author/b:NameList</xsl:text></b:ImportantField>
  3489.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3490.                             <b:ImportantField><xsl:text>b:PeriodicalTitle</xsl:text></b:ImportantField>
  3491.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3492.                             <b:ImportantField><xsl:text>b:Month</xsl:text></b:ImportantField>
  3493.                             <b:ImportantField><xsl:text>b:Day</xsl:text></b:ImportantField>
  3494.                             <b:ImportantField><xsl:text>b:Pages</xsl:text></b:ImportantField>
  3495.                         </xsl:when>
  3496.  
  3497.                         <xsl:when test="b:GetImportantFields/b:SourceType='ConferenceProceedings'">
  3498.                             <b:ImportantField><xsl:text>b:Author/b:Author/b:NameList</xsl:text></b:ImportantField>
  3499.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3500.                             <b:ImportantField><xsl:text>b:Pages</xsl:text></b:ImportantField>
  3501.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3502.                             <b:ImportantField><xsl:text>b:ConferenceName</xsl:text></b:ImportantField>
  3503.                             <b:ImportantField><xsl:text>b:City</xsl:text></b:ImportantField>
  3504.                             <b:ImportantField><xsl:text>b:Publisher</xsl:text></b:ImportantField>
  3505.                         </xsl:when>
  3506.  
  3507.                         <xsl:when test="b:GetImportantFields/b:SourceType='Report'">
  3508.                             <b:ImportantField><xsl:text>b:Author/b:Author/b:NameList</xsl:text></b:ImportantField>
  3509.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3510.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3511.                             <b:ImportantField><xsl:text>b:Publisher</xsl:text></b:ImportantField>
  3512.                             <b:ImportantField><xsl:text>b:City</xsl:text></b:ImportantField>
  3513.                             <b:ImportantField><xsl:text>b:ThesisType</xsl:text></b:ImportantField>
  3514.                         </xsl:when>
  3515.  
  3516.                         <xsl:when test="b:GetImportantFields/b:SourceType='SoundRecording'">
  3517.                             <b:ImportantField><xsl:text>b:Author/b:Composer/b:NameList</xsl:text></b:ImportantField>
  3518.                             <b:ImportantField><xsl:text>b:Author/b:Conductor/b:NameList</xsl:text></b:ImportantField>
  3519.                             <b:ImportantField><xsl:text>b:Author/b:Performer/b:NameList</xsl:text></b:ImportantField>
  3520.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3521.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3522.                         </xsl:when>
  3523.  
  3524.                         <xsl:when test="b:GetImportantFields/b:SourceType='Performance'">
  3525.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3526.                             <b:ImportantField><xsl:text>b:Author/b:Writer/b:NameList</xsl:text></b:ImportantField>
  3527.                             <b:ImportantField><xsl:text>b:Author/b:Performer/b:NameList</xsl:text></b:ImportantField>
  3528.                             <b:ImportantField><xsl:text>b:Theater</xsl:text></b:ImportantField>
  3529.                             <b:ImportantField><xsl:text>b:City</xsl:text></b:ImportantField>
  3530.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3531.                             <b:ImportantField><xsl:text>b:Month</xsl:text></b:ImportantField>
  3532.                             <b:ImportantField><xsl:text>b:Day</xsl:text></b:ImportantField>
  3533.                         </xsl:when>
  3534.  
  3535.                         <xsl:when test="b:GetImportantFields/b:SourceType='Art'">
  3536.                             <b:ImportantField><xsl:text>b:Author/b:Artist/b:NameList</xsl:text></b:ImportantField>
  3537.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3538.                             <b:ImportantField><xsl:text>b:Institution</xsl:text></b:ImportantField>
  3539.                             <b:ImportantField><xsl:text>b:PublicationTitle</xsl:text></b:ImportantField>
  3540.                             <b:ImportantField><xsl:text>b:City</xsl:text></b:ImportantField>
  3541.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3542.                         </xsl:when>
  3543.  
  3544.                         <xsl:when test="b:GetImportantFields/b:SourceType='DocumentFromInternetSite'">
  3545.                             <b:ImportantField><xsl:text>b:Author/b:Author/b:NameList</xsl:text></b:ImportantField>
  3546.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3547.                             <b:ImportantField><xsl:text>b:InternetSiteTitle</xsl:text></b:ImportantField>
  3548.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3549.                             <b:ImportantField><xsl:text>b:Month</xsl:text></b:ImportantField>
  3550.                             <b:ImportantField><xsl:text>b:Day</xsl:text></b:ImportantField>
  3551.                             <b:ImportantField><xsl:text>b:YearAccessed</xsl:text></b:ImportantField>
  3552.                             <b:ImportantField><xsl:text>b:MonthAccessed</xsl:text></b:ImportantField>
  3553.                             <b:ImportantField><xsl:text>b:DayAccessed</xsl:text></b:ImportantField>
  3554.                             <b:ImportantField><xsl:text>b:URL</xsl:text></b:ImportantField>
  3555.                         </xsl:when>
  3556.  
  3557.                         <xsl:when test="b:GetImportantFields/b:SourceType='InternetSite'">
  3558.                             <b:ImportantField><xsl:text>b:Author/b:Author/b:NameList</xsl:text></b:ImportantField>
  3559.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3560.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3561.                             <b:ImportantField><xsl:text>b:Month</xsl:text></b:ImportantField>
  3562.                             <b:ImportantField><xsl:text>b:Day</xsl:text></b:ImportantField>
  3563.                             <b:ImportantField><xsl:text>b:YearAccessed</xsl:text></b:ImportantField>
  3564.                             <b:ImportantField><xsl:text>b:MonthAccessed</xsl:text></b:ImportantField>
  3565.                             <b:ImportantField><xsl:text>b:DayAccessed</xsl:text></b:ImportantField>
  3566.                             <b:ImportantField><xsl:text>b:URL</xsl:text></b:ImportantField>
  3567.                         </xsl:when>
  3568.  
  3569.                         <xsl:when test="b:GetImportantFields/b:SourceType='Film'">
  3570.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3571.                             <b:ImportantField><xsl:text>b:Author/b:Performer/b:NameList</xsl:text></b:ImportantField>
  3572.                             <b:ImportantField><xsl:text>b:Author/b:Director/b:NameList</xsl:text></b:ImportantField>
  3573.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3574.                         </xsl:when>
  3575.  
  3576.                         <xsl:when test="b:GetImportantFields/b:SourceType='Interview'">
  3577.                             <b:ImportantField><xsl:text>b:Author/b:Interviewee/b:NameList</xsl:text></b:ImportantField>
  3578.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3579.                             <b:ImportantField><xsl:text>b:Author/b:Interviewer/b:NameList</xsl:text></b:ImportantField>
  3580.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3581.                             <b:ImportantField><xsl:text>b:Month</xsl:text></b:ImportantField>
  3582.                             <b:ImportantField><xsl:text>b:Day</xsl:text></b:ImportantField>
  3583.                         </xsl:when>
  3584.  
  3585.                         <xsl:when test="b:GetImportantFields/b:SourceType='Patent'">
  3586.                             <b:ImportantField><xsl:text>b:Author/b:Inventor/b:NameList</xsl:text></b:ImportantField>
  3587.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3588.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3589.                             <b:ImportantField><xsl:text>b:Month</xsl:text></b:ImportantField>
  3590.                             <b:ImportantField><xsl:text>b:Day</xsl:text></b:ImportantField>
  3591.                             <b:ImportantField><xsl:text>b:CountryRegion</xsl:text></b:ImportantField>
  3592.                             <b:ImportantField><xsl:text>b:PatentNumber</xsl:text></b:ImportantField>
  3593.                         </xsl:when>
  3594.  
  3595.                         <xsl:when test="b:GetImportantFields/b:SourceType='ElectronicSource'">
  3596.                             <b:ImportantField><xsl:text>b:Author/b:Author/b:NameList</xsl:text></b:ImportantField>
  3597.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3598.                             <b:ImportantField><xsl:text>b:City</xsl:text></b:ImportantField>
  3599.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3600.                             <b:ImportantField><xsl:text>b:Month</xsl:text></b:ImportantField>
  3601.                             <b:ImportantField><xsl:text>b:Day</xsl:text></b:ImportantField>
  3602.                         </xsl:when>
  3603.  
  3604.                         <xsl:when test="b:GetImportantFields/b:SourceType='Case'">
  3605.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3606.                             <b:ImportantField><xsl:text>b:CaseNumber</xsl:text></b:ImportantField>
  3607.                             <b:ImportantField><xsl:text>b:Court</xsl:text></b:ImportantField>
  3608.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3609.                             <b:ImportantField><xsl:text>b:Month</xsl:text></b:ImportantField>
  3610.                             <b:ImportantField><xsl:text>b:Day</xsl:text></b:ImportantField>
  3611.                         </xsl:when>
  3612.  
  3613.                         <xsl:when test="b:GetImportantFields/b:SourceType='Misc'">
  3614.                             <b:ImportantField><xsl:text>b:Author/b:Author/b:NameList</xsl:text></b:ImportantField>
  3615.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3616.                             <b:ImportantField><xsl:text>b:PublicationTitle</xsl:text></b:ImportantField>
  3617.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3618.                             <b:ImportantField><xsl:text>b:Month</xsl:text></b:ImportantField>
  3619.                             <b:ImportantField><xsl:text>b:Day</xsl:text></b:ImportantField>
  3620.                             <b:ImportantField><xsl:text>b:City</xsl:text></b:ImportantField>
  3621.                             <b:ImportantField><xsl:text>b:Publisher</xsl:text></b:ImportantField>
  3622.                         </xsl:when>
  3623.  
  3624.                     </xsl:choose>
  3625.                 </b:ImportantFields>
  3626.             </xsl:when>
  3627.             
  3628.             <xsl:when test="b:Citation">
  3629.  
  3630.                 <xsl:variable name="ListPopulatedWithMain">
  3631.                         <xsl:call-template name="populateMain">
  3632.                             <xsl:with-param name="Type">b:Citation</xsl:with-param>
  3633.                         </xsl:call-template>
  3634.                 </xsl:variable>
  3635.  
  3636.             
  3637.             
  3638.                 <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">
  3639.                     <head>
  3640.                     </head>
  3641.                     <body>
  3642.                         <xsl:variable name="LCID">
  3643.                           <xsl:choose>
  3644.                             <xsl:when test="b:LCID='0' or b:LCID='' or not(b:LCID)">
  3645.                               <xsl:value-of select="/*/b:Locals/b:DefaultLCID"/>
  3646.                             </xsl:when>
  3647.                             <xsl:otherwise>
  3648.                               <xsl:value-of select="b:LCID"/>
  3649.                             </xsl:otherwise>
  3650.                           </xsl:choose>
  3651.                         </xsl:variable>
  3652.  
  3653.                         <xsl:element name="p">
  3654.  
  3655.                         <xsl:attribute name="lang">
  3656.                             <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$LCID]/@Culture"/>
  3657.                         </xsl:attribute>
  3658.  
  3659.                         <xsl:attribute name="dir">
  3660.                             <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$LCID]/b:Properties/b:Direction"/>
  3661.                         </xsl:attribute>
  3662.  
  3663.                         <xsl:variable name="type">
  3664.                             <xsl:value-of select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:SourceType"/>
  3665.                         </xsl:variable>
  3666.  
  3667.                         <xsl:variable name="title0">
  3668.                             <xsl:choose>
  3669.                                 <xsl:when test="string-length(msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:ShortTitle)>0">
  3670.                                     <xsl:value-of select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:ShortTitle" />
  3671.                                 </xsl:when>
  3672.  
  3673.                                 <xsl:otherwise>
  3674.                                     <xsl:value-of select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:Title" />
  3675.                                 </xsl:otherwise>
  3676.                             </xsl:choose>
  3677.                         </xsl:variable>
  3678.  
  3679.                         <xsl:variable name="year0">
  3680.                             <xsl:choose>
  3681.                                 <xsl:when test = "string-length(msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:Year) > 0">
  3682.                                     <xsl:value-of select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:Year" />
  3683.                                 </xsl:when>
  3684.                                 <xsl:otherwise>
  3685.                                     <xsl:call-template name="templ_str_NoDateShortUnCap"/>
  3686.                                 </xsl:otherwise>
  3687.                             </xsl:choose>
  3688.                         </xsl:variable>                        
  3689.  
  3690.                         <xsl:variable name="yearSimple">
  3691.                             <xsl:value-of select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:Year" />
  3692.                         </xsl:variable>                        
  3693.  
  3694.                         <xsl:variable name="authorMain">
  3695.                             <xsl:copy-of select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:Author/b:Main"/>
  3696.                         </xsl:variable>
  3697.  
  3698.                         <xsl:variable name = "minAuthors">
  3699.                             <xsl:choose>
  3700.                                 <xsl:when test = "msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:MinAuthors > 1">
  3701.                                     <xsl:value-of select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:MinAuthors" />
  3702.                                 </xsl:when>
  3703.                                 <xsl:otherwise>            
  3704.                                     <xsl:text>1</xsl:text>
  3705.                                 </xsl:otherwise>            
  3706.                             </xsl:choose>
  3707.                         </xsl:variable>
  3708.                         
  3709.                         <xsl:variable name="author0">
  3710.                             <xsl:choose>
  3711.                                 <xsl:when test="string-length(msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:Author/b:Main/b:Corporate) > 0">
  3712.                                     <xsl:value-of select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:Author/b:Main/b:Corporate" />
  3713.                                 </xsl:when>
  3714.                                 <xsl:otherwise>
  3715.                                     <xsl:variable name="cAuthors">
  3716.                                         <xsl:value-of select="count(msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:Author/b:Main/b:NameList/b:Person)" />
  3717.                                     </xsl:variable>
  3718.                                     <xsl:for-each select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:Author/b:Main/b:NameList/b:Person">
  3719.                                         
  3720.                                         <xsl:choose>
  3721.                                             <xsl:when test="$cAuthors > 3 and position() > $minAuthors">
  3722.                                             </xsl:when>
  3723.  
  3724.                                             <xsl:otherwise>
  3725.                                                 <xsl:call-template name="formatNameCore">
  3726.                                                     <xsl:with-param name="FML">
  3727.                                                         <xsl:choose>
  3728.                                                             <xsl:when test="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:NonUniqueLastName">
  3729.                                                                 <xsl:call-template name="templ_prop_Chicago_CitationLong_FML"/>
  3730.                                                             </xsl:when>
  3731.                                                             <xsl:otherwise>
  3732.                                                                 <xsl:call-template name="templ_prop_Chicago_CitationShort_FML"/>
  3733.                                                             </xsl:otherwise>
  3734.                                                         </xsl:choose>
  3735.                                                     </xsl:with-param>
  3736.                                                     <xsl:with-param name="FM">
  3737.                                                         <xsl:choose>
  3738.                                                             <xsl:when test="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:NonUniqueLastName">
  3739.                                                                 <xsl:call-template name="templ_prop_Chicago_CitationLong_FM"/>
  3740.                                                             </xsl:when>
  3741.                                                             <xsl:otherwise>
  3742.                                                                 <xsl:call-template name="templ_prop_Chicago_CitationShort_FM"/>
  3743.                                                             </xsl:otherwise>
  3744.                                                         </xsl:choose>
  3745.                                                     </xsl:with-param>
  3746.                                                     <xsl:with-param name="ML">
  3747.                                                         <xsl:choose>
  3748.                                                             <xsl:when test="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:NonUniqueLastName">
  3749.                                                                 <xsl:call-template name="templ_prop_Chicago_CitationLong_ML"/>
  3750.                                                             </xsl:when>
  3751.                                                             <xsl:otherwise>
  3752.                                                                 <xsl:call-template name="templ_prop_Chicago_CitationShort_ML"/>
  3753.                                                             </xsl:otherwise>
  3754.                                                         </xsl:choose>
  3755.                                                     </xsl:with-param>
  3756.                                                     <xsl:with-param name="FL">
  3757.                                                         <xsl:choose>
  3758.                                                             <xsl:when test="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:NonUniqueLastName">
  3759.                                                                 <xsl:call-template name="templ_prop_Chicago_CitationLong_FL"/>
  3760.                                                             </xsl:when>
  3761.                                                             <xsl:otherwise>
  3762.                                                                 <xsl:call-template name="templ_prop_Chicago_CitationShort_FL"/>
  3763.                                                             </xsl:otherwise>
  3764.                                                         </xsl:choose>
  3765.                                                     </xsl:with-param>
  3766.                                                     <xsl:with-param name="upperLast">no</xsl:with-param>
  3767.                                                     <xsl:with-param name="withDot">no</xsl:with-param>
  3768.                                                 </xsl:call-template>
  3769.                                             </xsl:otherwise>
  3770.                                         </xsl:choose>
  3771.                                         
  3772.                                         <xsl:choose>
  3773.                                             <xsl:when test = "$cAuthors > 3 and position() = $minAuthors">
  3774.                         <xsl:variable name="noCommaBeforeAnd">
  3775.                           <xsl:call-template name="templ_prop_NoCommaBeforeAnd" />
  3776.                         </xsl:variable>
  3777.                         <xsl:choose>
  3778.                           <xsl:when test="$noCommaBeforeAnd != 'yes'">
  3779.                             <xsl:call-template name="templ_prop_ListSeparator"/>
  3780.                           </xsl:when>
  3781.                           <xsl:otherwise>
  3782.                             <xsl:call-template name="templ_prop_Space"/>
  3783.                           </xsl:otherwise>
  3784.                         </xsl:choose>
  3785.                         <xsl:call-template name="templ_str_AndOthersUnCap"/>
  3786.                                             </xsl:when>
  3787.                                             <xsl:when test = "$cAuthors > 3 and position() > $minAuthors">
  3788.                                             </xsl:when>
  3789.                                             <xsl:when test="($cAuthors - 1 = position() and ($cAuthors = 2 or $cAuthors = 3)) or ($cAuthors > 3 and position() = 2)">
  3790.                                                 <xsl:variable name="noAndBeforeLastAuthor">
  3791.                                                     <xsl:call-template name="templ_prop_NoAndBeforeLastAuthor"/>
  3792.                                                 </xsl:variable>
  3793.  
  3794.                                                 <xsl:if test="$noAndBeforeLastAuthor != 'yes'">
  3795.                                                     <xsl:call-template name="templ_prop_Space"/>
  3796.                                                     <xsl:call-template name="templ_str_AndUnCap"/>
  3797.                                                     <xsl:call-template name="templ_prop_Space"/>
  3798.                                                 </xsl:if>
  3799.                                                 <xsl:if test="$noAndBeforeLastAuthor = 'yes'">
  3800.                                                     <xsl:call-template name="templ_prop_AuthorsSeparator"/>
  3801.                                                 </xsl:if>
  3802.                                             </xsl:when>
  3803.                                             <xsl:when test="$cAuthors > position() and 3 > position() ">
  3804.                                                 <xsl:call-template name="templ_prop_AuthorsSeparator"/>
  3805.                                             </xsl:when>
  3806.                                         </xsl:choose>
  3807.         
  3808.                                     </xsl:for-each>
  3809.                                 </xsl:otherwise>
  3810.                             </xsl:choose>
  3811.                         </xsl:variable>
  3812.  
  3813.                         <xsl:variable name="title">
  3814.                             <xsl:choose>
  3815.                                 <xsl:when test="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:NoTitle">
  3816.                                 </xsl:when>
  3817.                                 
  3818.                                 <xsl:otherwise>
  3819.                                     <xsl:value-of select="$title0" />
  3820.                                 </xsl:otherwise>
  3821.                             </xsl:choose>
  3822.                         </xsl:variable>
  3823.  
  3824.                         <xsl:variable name="year">
  3825.                             <xsl:choose>
  3826.                                 <xsl:when test="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:NoYear">
  3827.                                 </xsl:when>
  3828.                                 
  3829.                                 <xsl:otherwise>
  3830.                                     <xsl:value-of select="$year0" />
  3831.                                 </xsl:otherwise>
  3832.                             </xsl:choose>
  3833.                         </xsl:variable>                        
  3834.  
  3835.                         <xsl:variable name="author">
  3836.                             <xsl:choose>
  3837.                                 <xsl:when test="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:NoAuthor">
  3838.                                 </xsl:when>
  3839.                                 <xsl:otherwise>
  3840.                                     <xsl:value-of select="$author0" />
  3841.                                 </xsl:otherwise>
  3842.                             </xsl:choose>
  3843.                         </xsl:variable>
  3844.  
  3845.                         <xsl:variable name="prop_APA_Hyphens">
  3846.                           <xsl:call-template name="templ_prop_Hyphens"/>
  3847.                         </xsl:variable>
  3848.  
  3849.                         <xsl:variable name="volume" select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Volume"/>
  3850.  
  3851.                         <xsl:variable name="volVolume">
  3852.                             <xsl:if test="string-length($volume) > 0">
  3853.                                 <xsl:call-template name="StringFormat">
  3854.                                     <xsl:with-param name="format">
  3855.                                       <xsl:choose>
  3856.                                         <xsl:when test="not(string-length($volume)=string-length(translate($volume, ',', '')))">
  3857.                                           <xsl:call-template name="templ_str_VolumesShortUnCap"/>
  3858.                                         </xsl:when>
  3859.                                         <xsl:when test="string-length($volume)=string-length(translate($volume, $prop_APA_Hyphens, ''))">
  3860.                                           <xsl:call-template name="templ_str_VolumeShortUnCap"/>
  3861.                                         </xsl:when>
  3862.                                         <xsl:otherwise>
  3863.                                           <xsl:call-template name="templ_str_VolumesShortUnCap"/>
  3864.                                         </xsl:otherwise>
  3865.                                       </xsl:choose>
  3866.                                     </xsl:with-param>
  3867.                                     <xsl:with-param name="parameters">
  3868.                                         <t:params>
  3869.                                             <t:param>
  3870.                                                 <xsl:value-of select="$volume"/>
  3871.                                             </t:param>
  3872.                                         </t:params>
  3873.                                     </xsl:with-param>
  3874.                                 </xsl:call-template>
  3875.                             </xsl:if>
  3876.                         </xsl:variable>
  3877.  
  3878.  
  3879.                         <xsl:variable name="pages" select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Pages"/>
  3880.  
  3881.                         <xsl:variable name="displayAuthor">
  3882.                             <xsl:value-of select="$author" />
  3883.                         </xsl:variable>
  3884.  
  3885.                         <xsl:variable name="displayTitle">
  3886.                             <xsl:choose>
  3887.                                 <xsl:when test="string-length($displayAuthor) = 0">
  3888.                                     <xsl:value-of select="$title" />
  3889.                                 </xsl:when>
  3890.                                 <xsl:when test="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:RepeatedAuthor">
  3891.                                     <xsl:value-of select="$title" />
  3892.                                 </xsl:when>
  3893.                             </xsl:choose>
  3894.                         </xsl:variable>
  3895.  
  3896.                         
  3897.                         <xsl:if test="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:FirstAuthor">
  3898.                             <xsl:call-template name="templ_prop_OpenBracket"/>
  3899.                         </xsl:if>
  3900.                     
  3901.                         <xsl:if test="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:PagePrefix">
  3902.                             <xsl:value-of select="/b:Citation/b:PagePrefix"/>
  3903.                         </xsl:if>
  3904.  
  3905.                         <xsl:value-of select="$displayAuthor" />
  3906.  
  3907.                         <xsl:if test="string-length($displayTitle) > 0">
  3908.                             <xsl:if test="string-length($displayAuthor) > 0">
  3909.                                 <xsl:call-template name="templ_prop_ListSeparator"/>
  3910.                             </xsl:if>
  3911.                             <xsl:if test="string-length($displayTitle)>0">
  3912.                                 <xsl:value-of select="$displayTitle"/>
  3913.                             </xsl:if>
  3914.                         </xsl:if>
  3915.  
  3916.                         <xsl:if test="string-length($author0) = 0 and string-length($title0) = 0 and string-length($yearSimple) = 0">
  3917.                             <xsl:value-of select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:Tag"/>
  3918.                         </xsl:if>
  3919.                         
  3920.                         <xsl:if test="string-length($year) > 0 and not(string-length($author0) = 0 and string-length($title0) = 0 and string-length($yearSimple) = 0)">
  3921.                             <xsl:if test="string-length($displayAuthor) > 0 or string-length($displayTitle) > 0">
  3922.                                 <xsl:call-template name="templ_prop_Space"/>
  3923.                             </xsl:if>
  3924.                             <xsl:value-of select="$year"/>
  3925.                         </xsl:if>
  3926.  
  3927.                         <xsl:if test="string-length($volume) > 0 or string-length($pages) > 0">
  3928.                             <xsl:if test="string-length($displayAuthor) > 0 or string-length($displayTitle) > 0 or string-length($year) > 0">
  3929.                                 <xsl:call-template name="templ_prop_ListSeparator"/>
  3930.                             </xsl:if>
  3931.  
  3932.                             <xsl:choose>
  3933.                                 <xsl:when test="string-length($volume) > 0 and string-length($pages) > 0">
  3934.                                     <xsl:value-of select="$volume"/>
  3935.                                     <xsl:call-template name="templ_prop_Enum"/>
  3936.                                     <xsl:value-of select="$pages"/>
  3937.                                 </xsl:when>
  3938.                                 <xsl:when test="string-length($volVolume) > 0">
  3939.                                     <xsl:value-of select="$volVolume"/>
  3940.                                 </xsl:when>
  3941.                                 <xsl:when test="string-length($pages) > 0">
  3942.                                     <xsl:value-of select="$pages"/>
  3943.                                 </xsl:when>
  3944.                             </xsl:choose>
  3945.                         </xsl:if>
  3946.  
  3947.                         <xsl:if test="/b:Citation/b:PageSuffix">
  3948.                             <xsl:value-of select="/b:Citation/b:PageSuffix"/>
  3949.                         </xsl:if>
  3950.                         
  3951.                         <xsl:if test="/b:Citation/b:LastAuthor">
  3952.                             <xsl:call-template name="templ_prop_CloseBracket"/>
  3953.                         </xsl:if>
  3954.                         <xsl:if test="not(/b:Citation/b:LastAuthor)">
  3955.                             <xsl:call-template name="templ_prop_ListSeparator"/>
  3956.                         </xsl:if>
  3957.                     
  3958.  
  3959.                         </xsl:element>
  3960.                     </body>
  3961.                 </html>
  3962.             </xsl:when>
  3963.             <xsl:when test="b:Bibliography">
  3964.  
  3965.  
  3966.             
  3967.                 <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">
  3968.                     <head>
  3969.                         
  3970.                         <style>
  3971.                             p.MsoBibliography, li.MsoBibliography, div.MsoBibliography
  3972.                         </style>
  3973.                     </head>
  3974.                     <body>
  3975.  
  3976.                     
  3977.                     
  3978.                         <xsl:variable name="ListPopulatedWithMain">
  3979.                                 <xsl:call-template name="populateMain">
  3980.                                     <xsl:with-param name="Type">b:Bibliography</xsl:with-param>
  3981.                                 </xsl:call-template>
  3982.                         </xsl:variable>
  3983.                         
  3984.                                 
  3985.                                 
  3986.                         <xsl:variable name="sList">
  3987.                             <xsl:call-template name="sortedList">
  3988.                                 <xsl:with-param name="sourceRoot"><xsl:copy-of select="$ListPopulatedWithMain"/></xsl:with-param>
  3989.                             </xsl:call-template>
  3990.                         </xsl:variable>
  3991.  
  3992.  
  3993.  
  3994.                         <xsl:variable name="dups">
  3995.                             <xsl:for-each select="msxsl:node-set($sList)/b:Bibliography/b:Source">
  3996.                                 <b:author>
  3997.                                     <xsl:call-template name="formatMain"/>
  3998.                                 </b:author>
  3999.                             </xsl:for-each>
  4000.                         </xsl:variable>
  4001.                         
  4002.                         <xsl:for-each select="msxsl:node-set($sList)/b:Bibliography/b:Source">
  4003.  
  4004.                             <xsl:variable name="LCID">
  4005.                                 <xsl:choose>
  4006.                                     <xsl:when test="b:LCID='0' or b:LCID='' or not(b:LCID)">
  4007.                                         <xsl:value-of select="/*/b:Locals/b:DefaultLCID"/>
  4008.                                     </xsl:when>
  4009.                                     <xsl:otherwise>
  4010.                                         <xsl:value-of select="b:LCID"/>
  4011.                                     </xsl:otherwise>
  4012.                                 </xsl:choose>
  4013.                             </xsl:variable>
  4014.  
  4015.                             <xsl:variable name="dir">
  4016.                                 <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$LCID]/b:Properties/b:Direction"/>
  4017.                             </xsl:variable>
  4018.  
  4019.                             <xsl:variable name="uppercase" select="'ABCDEFGHIJKLMNOPQRSTUVWXYZ'"/>
  4020.                             <xsl:variable name="lowercase" select="'abcdefghijklmnopqrstuvwxyz'"/>
  4021.  
  4022.                             <xsl:element name="p">
  4023.                                 <xsl:attribute name="lang">
  4024.                                     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$LCID]/@Culture"/>
  4025.                                 </xsl:attribute>
  4026.                                 <xsl:attribute name="dir">
  4027.                                     <xsl:value-of select="$dir"/>
  4028.                                 </xsl:attribute>
  4029.                                 <xsl:attribute name="class">
  4030.                                     <xsl:value-of select="'MsoBibliography'"/>
  4031.                                 </xsl:attribute>
  4032.                                 <xsl:attribute name="style">
  4033.                                     <xsl:choose>
  4034.                                         <xsl:when test="translate($dir,$uppercase,$lowercase)='rtl'">
  4035.                                             <xsl:value-of select="'margin-right:.5in;text-indent:-.5in'"/>
  4036.                                         </xsl:when>
  4037.                                         <xsl:otherwise>
  4038.                                             <xsl:value-of select="'margin-left:.5in;text-indent:-.5in'"/>
  4039.                                         </xsl:otherwise>
  4040.                                     </xsl:choose>
  4041.                                 </xsl:attribute>
  4042.  
  4043.                                 <xsl:variable name="cEditors">
  4044.                                     <xsl:value-of select="count(b:Author/b:Editor/b:NameList/b:Person)"/>
  4045.                                 </xsl:variable>
  4046.  
  4047.                                 <xsl:variable name="cTranslators">
  4048.                                     <xsl:value-of select="count(b:Author/b:Translator/b:NameList/b:Person)"/>
  4049.                                 </xsl:variable>
  4050.  
  4051.                                 <xsl:variable name="cComposers">
  4052.                                     <xsl:value-of select="count(b:Author/b:Composer/b:NameList/b:Person)"/>
  4053.                                 </xsl:variable>
  4054.  
  4055.                                 <xsl:variable name="cCompilers">
  4056.                                     <xsl:value-of select="count(b:Author/b:Compiler/b:NameList/b:Person)"/>
  4057.                                 </xsl:variable>
  4058.  
  4059.                                 <xsl:variable name="cPerformers">
  4060.                                     <xsl:value-of select="count(b:Author/b:Performer/b:NameList/b:Person)"/>
  4061.                                 </xsl:variable>
  4062.  
  4063.                                 <xsl:variable name="cDirectors">
  4064.                                     <xsl:value-of select="count(b:Author/b:Director/b:NameList/b:Person)"/>
  4065.                                 </xsl:variable>
  4066.  
  4067.                                 <xsl:variable name="cProducers">
  4068.                                     <xsl:value-of select="count(b:Author/b:ProducerName/b:NameList/b:Person)"/>
  4069.                                 </xsl:variable>
  4070.  
  4071.                                 <xsl:variable name="cConductors">
  4072.                                     <xsl:value-of select="count(b:Author/b:Conductor/b:NameList/b:Person)"/>
  4073.                                 </xsl:variable>
  4074.  
  4075.  
  4076.  
  4077.  
  4078.  
  4079.                                 <xsl:variable name="actIndex" select="position()"/>
  4080.                                 <xsl:variable name="lastIndex" select="position() - 1"/>
  4081.  
  4082.                                 <xsl:variable name="actAuthor">
  4083.                                     <xsl:value-of select="msxsl:node-set($dups)/b:author[$actIndex]"/>
  4084.                                 </xsl:variable>
  4085.  
  4086.                                 <xsl:variable name="lastAuthor">
  4087.                                     <xsl:value-of select="msxsl:node-set($dups)/b:author[$lastIndex]"/>
  4088.                                 </xsl:variable>
  4089.  
  4090.                                 <xsl:variable name="authorMain">
  4091.                                     <xsl:choose>
  4092.                                         <xsl:when test="position()=1">
  4093.                                             <xsl:call-template name="formatMain"/>
  4094.                                         </xsl:when>
  4095.                                         <xsl:when test="$actAuthor=$lastAuthor and string-length($actAuthor)>0 ">
  4096.                                             <xsl:call-template name="templ_prop_Chicago_SameAuthor"/>
  4097.                                         </xsl:when>
  4098.                                         <xsl:otherwise>
  4099.                                             <xsl:call-template name="formatMain"/>
  4100.                                         </xsl:otherwise>
  4101.                                     </xsl:choose>
  4102.                                 </xsl:variable>
  4103.  
  4104.                                 <xsl:variable name="author">
  4105.                                     <xsl:call-template name="formatAuthor"/>
  4106.                                 </xsl:variable>
  4107.  
  4108.  
  4109.  
  4110.  
  4111.  
  4112.                                 <xsl:variable name="compiler">
  4113.                                     <xsl:call-template name="formatCompiler"/>
  4114.                                 </xsl:variable>
  4115.  
  4116.                                 <xsl:variable name="compilerLF">
  4117.                                     <xsl:call-template name="formatCompilerLF"/>
  4118.                                 </xsl:variable>
  4119.  
  4120.                                 <xsl:variable name="editor">
  4121.                                     <xsl:call-template name="formatEditor"/>
  4122.                                 </xsl:variable>
  4123.  
  4124.                                 <xsl:variable name="editorLF">
  4125.                                     <xsl:call-template name="formatEditorLF"/>
  4126.                                 </xsl:variable>
  4127.  
  4128.                                 <xsl:variable name="translator">
  4129.                                     <xsl:call-template name="formatTranslator"/>
  4130.                                 </xsl:variable>
  4131.  
  4132.                                 <xsl:variable name="translatorLF">
  4133.                                     <xsl:call-template name="formatTranslatorLF"/>
  4134.                                 </xsl:variable>
  4135.  
  4136.                                 <xsl:variable name="performer">
  4137.                                     <xsl:call-template name="formatPerformer"/>
  4138.                                 </xsl:variable>
  4139.  
  4140.                                 <xsl:variable name="intervieweeLF">
  4141.                                     <xsl:call-template name="formatIntervieweeLF"/>
  4142.                                 </xsl:variable>
  4143.  
  4144.                                 <xsl:variable name="producerName">
  4145.                                     <xsl:call-template name="formatProducerName"/>
  4146.                                 </xsl:variable>
  4147.  
  4148.                                 <xsl:variable name="interviewer">
  4149.                                     <xsl:call-template name="formatInterviewer"/>
  4150.                                 </xsl:variable>
  4151.  
  4152.                                 <xsl:variable name="interviewerLF">
  4153.                                     <xsl:call-template name="formatInterviewerLF"/>
  4154.                                 </xsl:variable>
  4155.  
  4156.                                 <xsl:variable name="writer">
  4157.                                     <xsl:call-template name="formatWriter"/>
  4158.                                 </xsl:variable>
  4159.  
  4160.                                 <xsl:variable name="writerLF">
  4161.                                     <xsl:call-template name="formatWriterLF"/>
  4162.                                 </xsl:variable>
  4163.  
  4164.                                 <xsl:variable name="director">
  4165.                                     <xsl:call-template name="formatDirector"/>
  4166.                                 </xsl:variable>
  4167.  
  4168.                                 <xsl:variable name="inventorLF">
  4169.                                     <xsl:call-template name="formatInventorLF"/>
  4170.                                 </xsl:variable>
  4171.  
  4172.                                 <xsl:variable name="bookAuthor">
  4173.                                     <xsl:call-template name="formatBookAuthor"/>
  4174.                                 </xsl:variable>
  4175.  
  4176.                                 <xsl:variable name="sectionAuthor">
  4177.                                     <xsl:call-template name="formatAuthor"/>
  4178.                                 </xsl:variable>
  4179.  
  4180.                                 <xsl:variable name="performerLF">
  4181.                                     <xsl:call-template name="formatPerformerLF"/>
  4182.                                 </xsl:variable>
  4183.  
  4184.                                 <xsl:variable name="conductorLF">
  4185.                                     <xsl:call-template name="formatConductorLF"/>
  4186.                                 </xsl:variable>
  4187.  
  4188.                                 <xsl:variable name="conductor">
  4189.                                     <xsl:call-template name="formatConductor"/>
  4190.                                 </xsl:variable>
  4191.  
  4192.                                 <xsl:variable name="composerLF">
  4193.                                     <xsl:call-template name="formatComposerLF"/>
  4194.                                 </xsl:variable>
  4195.  
  4196.                                 <xsl:variable name="composer">
  4197.                                     <xsl:call-template name="formatComposer"/>
  4198.                                 </xsl:variable>
  4199.  
  4200.                                 <xsl:variable name="artist">
  4201.                                     <xsl:call-template name="formatArtistLF"/>
  4202.                                 </xsl:variable>
  4203.  
  4204.                                 <xsl:variable name="writerLFDot">
  4205.                                     <xsl:call-template name="appendField_Dot">
  4206.                                         <xsl:with-param name="field" select="$writerLF"/>
  4207.                                     </xsl:call-template>
  4208.                                 </xsl:variable>
  4209.  
  4210.  
  4211.  
  4212.  
  4213.                                 <xsl:variable name="date">
  4214.                                     <xsl:call-template name="formatDate"/>
  4215.                                 </xsl:variable>
  4216.  
  4217.                                 <xsl:variable name="dateDot">
  4218.                                     <xsl:call-template name="appendField_Dot">
  4219.                                         <xsl:with-param name="field" select="$date"/>
  4220.                                     </xsl:call-template>
  4221.                                 </xsl:variable>
  4222.  
  4223.                                 <xsl:variable name="dateAccessed">
  4224.                                     <xsl:call-template name="formatDateAccessed"/>
  4225.                                 </xsl:variable>
  4226.  
  4227.                                 <xsl:variable name="dateAccessedDot">
  4228.                                     <xsl:call-template name="appendField_Dot">
  4229.                                         <xsl:with-param name="field" select="$dateAccessed"/>
  4230.                                     </xsl:call-template>
  4231.                                 </xsl:variable>
  4232.  
  4233.                                 <xsl:variable name="tempCPY">
  4234.                                     <xsl:call-template name="templateCPY"/>
  4235.                                 </xsl:variable>
  4236.  
  4237.                                 <xsl:variable name="tempRICPY">
  4238.                                     <xsl:call-template name="templateRICPY"/>
  4239.                                 </xsl:variable>
  4240.  
  4241.                                 <xsl:variable name="tempCPDMY">
  4242.                                     <xsl:call-template name="templateCPDMY"/>
  4243.                                 </xsl:variable>
  4244.  
  4245.                                 <xsl:variable name="tempDEP">
  4246.                                     <xsl:call-template name="templateDEP"/>
  4247.                                 </xsl:variable>
  4248.  
  4249.                                 <xsl:variable name="tempRYM">
  4250.                                     <xsl:call-template name="templateRYM"/>
  4251.                                 </xsl:variable>
  4252.  
  4253.                                 <xsl:variable name="tempTC">
  4254.                                     <xsl:call-template name="templateTC"/>
  4255.                                 </xsl:variable>
  4256.  
  4257.                                 <xsl:variable name="tempIC">
  4258.                                     <xsl:call-template name="templateIC"/>
  4259.                                 </xsl:variable>
  4260.  
  4261.                                 <xsl:variable name="tempDY">
  4262.                                     <xsl:call-template name="templateDY"/>
  4263.                                 </xsl:variable>
  4264.  
  4265.                                 <xsl:variable name="tempCPD">
  4266.                                     <xsl:call-template name="templateCPD"/>
  4267.                                 </xsl:variable>
  4268.  
  4269.                                 <xsl:variable name="tempSC">
  4270.                                     <xsl:call-template name="templateSC"/>
  4271.                                 </xsl:variable>
  4272.  
  4273.                                 <xsl:variable name="tempCP">
  4274.                                     <xsl:call-template name="templateCP"/>
  4275.                                 </xsl:variable>
  4276.  
  4277.                                 <xsl:variable name="tempCCD">
  4278.                                     <xsl:call-template name="templateCCD"/>
  4279.                                 </xsl:variable>
  4280.  
  4281.                                 <xsl:variable name="tempVIYP">
  4282.                                     <xsl:call-template name="templateVIYP"/>
  4283.                                 </xsl:variable>
  4284.  
  4285.                                 <xsl:variable name="tempDaU">
  4286.                                     <xsl:variable name="temporaryDaU">
  4287.                                         <xsl:call-template name="templateDACURL"/>
  4288.                                     </xsl:variable>
  4289.  
  4290.                                     <xsl:call-template name="appendFieldNoHandleSpaces_Dot">
  4291.                                         <xsl:with-param name="field" select="$temporaryDaU"/>
  4292.                                     </xsl:call-template>        
  4293.                                 </xsl:variable>
  4294.  
  4295.  
  4296.  
  4297.  
  4298.  
  4299.  
  4300.  
  4301.                                 <xsl:variable name="titleDot">
  4302.                                     <xsl:call-template name="appendField_Dot">
  4303.                                         <xsl:with-param name="field" select="b:Title"/>
  4304.                                     </xsl:call-template>
  4305.                                 </xsl:variable>
  4306.  
  4307.                                 <xsl:variable name="albumTitleDot">
  4308.                                     <xsl:call-template name="appendField_Dot">
  4309.                                         <xsl:with-param name="field" select="b:AlbumTitle"/>
  4310.                                     </xsl:call-template>
  4311.                                 </xsl:variable>
  4312.  
  4313.                                 <xsl:variable name="pagesDot">
  4314.                                     <xsl:call-template name="appendField_Dot">
  4315.                                         <xsl:with-param name="field" select="b:Pages"/>
  4316.                                     </xsl:call-template>
  4317.                                 </xsl:variable>
  4318.  
  4319.                                 <xsl:variable name="bookTitleDot">
  4320.                                     <xsl:call-template name="appendField_Dot">
  4321.                                         <xsl:with-param name="field" select="b:BookTitle"/>
  4322.                                     </xsl:call-template>
  4323.                                 </xsl:variable>
  4324.  
  4325.                                 <xsl:variable name="conferenceNameDot">
  4326.                                     <xsl:call-template name="appendField_Dot">
  4327.                                         <xsl:with-param name="field" select="b:ConferenceName"/>
  4328.                                     </xsl:call-template>
  4329.                                 </xsl:variable>
  4330.  
  4331.                                 <xsl:variable name="broadcasterDot">
  4332.                                     <xsl:call-template name="appendField_Dot">
  4333.                                         <xsl:with-param name="field" select="b:Broadcaster"/>
  4334.                                     </xsl:call-template>
  4335.                                 </xsl:variable>
  4336.  
  4337.                                 <xsl:variable name="interviewTitle">
  4338.                                     <xsl:call-template name="handleSpaces">
  4339.                                         <xsl:with-param name="field" select="b:Title"/>
  4340.                                     </xsl:call-template>
  4341.                                 </xsl:variable>
  4342.  
  4343.                                 <xsl:variable name="publisher">
  4344.                                     <xsl:call-template name="handleSpaces">
  4345.                                         <xsl:with-param name="field" select="b:Publisher"/>
  4346.                                     </xsl:call-template>
  4347.                                 </xsl:variable>
  4348.  
  4349.                                 <xsl:variable name="interviewTitleDot">
  4350.                                     <xsl:call-template name="appendField_Dot">
  4351.                                         <xsl:with-param name="field" select="b:Title"/>
  4352.                                     </xsl:call-template>
  4353.                                 </xsl:variable>
  4354.  
  4355.                                 <xsl:variable name="publicationTitle">
  4356.                                     <xsl:call-template name="handleSpaces">
  4357.                                         <xsl:with-param name="field" select="b:PublicationTitle"/>
  4358.                                     </xsl:call-template>
  4359.                                 </xsl:variable>
  4360.  
  4361.                                 <xsl:variable name="publicationTitleDot">
  4362.                                     <xsl:call-template name="appendField_Dot">
  4363.                                         <xsl:with-param name="field" select="b:PublicationTitle"/>
  4364.                                     </xsl:call-template>
  4365.                                 </xsl:variable>
  4366.  
  4367.                                 <xsl:variable name="URL">
  4368.                                     <xsl:value-of select="b:URL"/>
  4369.                                 </xsl:variable>
  4370.  
  4371.                                 <xsl:variable name="cityDot">
  4372.                                     <xsl:call-template name="appendField_Dot">
  4373.                                         <xsl:with-param name="field" select="b:City"/>
  4374.                                     </xsl:call-template>
  4375.                                 </xsl:variable>
  4376.  
  4377.                                 <xsl:variable name="institutionDot">
  4378.                                     <xsl:call-template name="appendField_Dot">
  4379.                                         <xsl:with-param name="field" select="b:Institution"/>
  4380.                                     </xsl:call-template>
  4381.                                 </xsl:variable>
  4382.                                 
  4383.                                 <xsl:variable name="courtDot">
  4384.                                     <xsl:call-template name="appendField_Dot">
  4385.                                         <xsl:with-param name="field" select="b:Court"/>
  4386.                                     </xsl:call-template>
  4387.                                 </xsl:variable>
  4388.                                 
  4389.                                 <xsl:variable name="thesisTypeDot">
  4390.                                     <xsl:call-template name="appendField_Dot">
  4391.                                         <xsl:with-param name="field" select="b:ThesisType"/>
  4392.                                     </xsl:call-template>
  4393.                                 </xsl:variable>
  4394.                                 
  4395.                                 <xsl:variable name="journalNameDot">
  4396.                                     <xsl:call-template name="appendField_Dot">
  4397.                                         <xsl:with-param name="field" select="b:JournalName"/>
  4398.                                     </xsl:call-template>
  4399.                                 </xsl:variable>
  4400.                                 
  4401.                                 <xsl:variable name="journalName">
  4402.                                     <xsl:call-template name="handleSpaces">
  4403.                                         <xsl:with-param name="field" select="b:JournalName"/>
  4404.                                     </xsl:call-template>
  4405.                                 </xsl:variable>
  4406.  
  4407.                                 <xsl:variable name="internetSiteTitleDot">
  4408.                                     <xsl:call-template name="appendField_Dot">
  4409.                                         <xsl:with-param name="field" select="b:InternetSiteTitle"/>
  4410.                                     </xsl:call-template>
  4411.                                 </xsl:variable>
  4412.                                 
  4413.                                 <xsl:variable name="mediumDot">
  4414.                                     <xsl:call-template name="appendField_Dot">
  4415.                                         <xsl:with-param name="field" select="b:Medium"/>
  4416.                                     </xsl:call-template>
  4417.                                 </xsl:variable>
  4418.                                 
  4419.                                 <xsl:variable name="issueDot">
  4420.                                     <xsl:call-template name="appendField_Dot">
  4421.                                         <xsl:with-param name="field" select="b:Issue"/>
  4422.                                     </xsl:call-template>
  4423.                                 </xsl:variable>
  4424.  
  4425.                                 <xsl:variable name="numberVolumesDot">
  4426.                                     <xsl:if test="string-length(b:NumberVolumes) > 0">
  4427.                                         <xsl:call-template name="appendField_Dot">
  4428.                                             <xsl:with-param name="field">
  4429.                                                 <xsl:call-template name="StringFormat">
  4430.                                                     <xsl:with-param name="format">
  4431.                                                         <xsl:call-template name="templ_str_VolumesAfterShortUnCap"/>
  4432.                                                     </xsl:with-param>
  4433.                                                     <xsl:with-param name="parameters">
  4434.                                                         <t:params>
  4435.                                                             <t:param>
  4436.                                                                 <xsl:value-of select="b:NumberVolumes"/>
  4437.                                                             </t:param>
  4438.                                                         </t:params>
  4439.                                                     </xsl:with-param>
  4440.                                                 </xsl:call-template>
  4441.                                             </xsl:with-param>
  4442.                                         </xsl:call-template>
  4443.                                     </xsl:if>
  4444.                                 </xsl:variable>
  4445.  
  4446.                                 <xsl:variable name="str_NumberShortUnCap">
  4447.                                     <xsl:call-template name="templ_str_NumberShortUnCap"/>
  4448.                                 </xsl:variable>
  4449.  
  4450.                                 <xsl:variable name="noIssueDot">
  4451.                                   <xsl:if test="string-length(b:Issue) > 0">
  4452.                                     <xsl:call-template name="appendField_Dot">
  4453.                                         <xsl:with-param name="field">
  4454.                                             <xsl:call-template name="StringFormat">
  4455.                                                   <xsl:with-param name="format" select="$str_NumberShortUnCap"/>
  4456.                                                   <xsl:with-param name="parameters">
  4457.                                                       <t:params>
  4458.                                                           <t:param>
  4459.                                                             <xsl:value-of select="b:Issue"/>
  4460.                                                         </t:param>
  4461.                                                       </t:params>
  4462.                                                   </xsl:with-param>
  4463.                                             </xsl:call-template>
  4464.                                         </xsl:with-param>                                
  4465.                                     </xsl:call-template>
  4466.                                   </xsl:if>
  4467.                                 </xsl:variable>
  4468.                                 
  4469.                                 <xsl:variable name="productionCompanyDot">
  4470.                                     <xsl:call-template name="appendField_Dot">
  4471.                                         <xsl:with-param name="field" select="b:ProductionCompany"/>
  4472.                                     </xsl:call-template>
  4473.                                 </xsl:variable>
  4474.                                 
  4475.                                 <xsl:variable name="editionDot">
  4476.                                     <xsl:call-template name="appendField_Dot">
  4477.                                         <xsl:with-param name="field" select="b:Edition"/>
  4478.                                     </xsl:call-template>
  4479.                                 </xsl:variable>
  4480.                                 
  4481.                                 <xsl:variable name="broadcastTitle">
  4482.                                     <xsl:call-template name="handleSpaces">
  4483.                                         <xsl:with-param name="field" select="b:BroadcastTitle"/>
  4484.                                     </xsl:call-template>
  4485.                                 </xsl:variable>
  4486.                                 
  4487.                                 <xsl:variable name="versionDot">
  4488.                                     <xsl:call-template name="appendField_Dot">
  4489.                                         <xsl:with-param name="field" select="b:Version"/>
  4490.                                     </xsl:call-template>
  4491.                                 </xsl:variable>
  4492.  
  4493.                                 <xsl:variable name="broadcastTitleDot">
  4494.                                     <xsl:call-template name="appendField_Dot">
  4495.                                         <xsl:with-param name="field" select="b:BroadcastTitle"/>
  4496.                                     </xsl:call-template>
  4497.                                 </xsl:variable>
  4498.  
  4499.                                 <xsl:variable name="periodicalTitleDot">
  4500.                                     <xsl:call-template name="appendField_Dot">
  4501.                                         <xsl:with-param name="field" select="b:PeriodicalTitle"/>
  4502.                                     </xsl:call-template>
  4503.                                 </xsl:variable>
  4504.  
  4505.                                 <xsl:variable name="periodicalTitle">
  4506.                                     <xsl:call-template name="handleSpaces">
  4507.                                         <xsl:with-param name="field" select="b:PeriodicalTitle"/>
  4508.                                     </xsl:call-template>
  4509.                                 </xsl:variable>
  4510.  
  4511.                                 <xsl:variable name="productionCompany">
  4512.                                     <xsl:call-template name="handleSpaces">
  4513.                                         <xsl:with-param name="field" select="b:ProductionCompany"/>
  4514.                                     </xsl:call-template>
  4515.                                 </xsl:variable>
  4516.  
  4517.                                 <xsl:variable name="caseNumber">
  4518.                                     <xsl:call-template name="handleSpaces">
  4519.                                         <xsl:with-param name="field" select="b:CaseNumber"/>
  4520.                                     </xsl:call-template>
  4521.                                 </xsl:variable>
  4522.                                 
  4523.                                 <xsl:variable name="broadcaster">
  4524.                                     <xsl:call-template name="handleSpaces">
  4525.                                         <xsl:with-param name="field" select="b:Broadcaster"/>
  4526.                                     </xsl:call-template>
  4527.                                 </xsl:variable>
  4528.                                 
  4529.                                 <xsl:variable name="volume">
  4530.                                     <xsl:call-template name="handleSpaces">
  4531.                                         <xsl:with-param name="field" select="b:Volume"/>
  4532.                                     </xsl:call-template>
  4533.                                 </xsl:variable>
  4534.                                 
  4535.                                 
  4536.  
  4537.  
  4538.                                 <xsl:variable name="prefixVersionDot">
  4539.                                     <xsl:if test="string-length($versionDot)>0">
  4540.                                         <xsl:call-template name="templ_str_VersionShortCap"/>
  4541.                                         <xsl:call-template name="templ_prop_Space"/>
  4542.                                         <xsl:value-of select="$versionDot"/>
  4543.                                     </xsl:if>
  4544.                                 </xsl:variable>
  4545.  
  4546.                                 <xsl:variable name="prefixEditorDot">
  4547.                                     <xsl:if test="string-length($editor)>0">
  4548.                                         <xsl:if test="$cEditors > 1">
  4549.                                             
  4550.                                             <xsl:call-template name="templ_str_EditorShortCap"/>
  4551.                                         </xsl:if>
  4552.                                         <xsl:if test="$cEditors = 1">
  4553.                                             <xsl:call-template name="templ_str_EditorShortCap"/>
  4554.                                         </xsl:if>
  4555.                                         <xsl:call-template name="templ_prop_Space"/>
  4556.                                         <xsl:call-template name="appendField_Dot">
  4557.                                             <xsl:with-param name="field" select="$editor"/>
  4558.                                         </xsl:call-template>
  4559.                                     </xsl:if>
  4560.                                 </xsl:variable>
  4561.  
  4562.                                 <xsl:variable name="prefixTranslatorDot">
  4563.                                     <xsl:if test="string-length($translator)>0">
  4564.                                         <xsl:if test="$cTranslators > 1">
  4565.                                             <xsl:call-template name="templ_str_TranslatorsShortCap"/>
  4566.                                         </xsl:if>
  4567.                                         <xsl:if test="$cTranslators = 1">
  4568.                                             <xsl:call-template name="templ_str_TranslatorShortCap"/>
  4569.                                         </xsl:if>
  4570.                                         <xsl:call-template name="templ_prop_Space"/>
  4571.                                         <xsl:call-template name="appendField_Dot">
  4572.                                             <xsl:with-param name="field" select="$translator"/>
  4573.                                         </xsl:call-template>
  4574.                                     </xsl:if>
  4575.                                 </xsl:variable>
  4576.  
  4577.                                 <xsl:variable name="prefixDirectorDot">
  4578.                                     <xsl:if test="string-length($director)>0">
  4579.                                         <xsl:if test="$cDirectors > 1">
  4580.                                             <xsl:call-template name="templ_str_DirectorsShortCap"/>
  4581.                                         </xsl:if>
  4582.                                         <xsl:if test="$cDirectors = 1">
  4583.                                             <xsl:call-template name="templ_str_DirectorShortCap"/>
  4584.                                         </xsl:if>
  4585.                                         <xsl:call-template name="templ_prop_Space"/>
  4586.                                         <xsl:call-template name="appendField_Dot">
  4587.                                             <xsl:with-param name="field" select="$director"/>
  4588.                                         </xsl:call-template>
  4589.                                     </xsl:if>
  4590.                                 </xsl:variable>
  4591.  
  4592.                                 <xsl:variable name="prefixPerformerDot">
  4593.                                     <xsl:if test="string-length($performer)>0">
  4594.                                         <xsl:if test="$cPerformers > 1">
  4595.                                             
  4596.                                             <xsl:call-template name="templ_str_PerformerShortCap"/>
  4597.                                         </xsl:if>
  4598.                                         <xsl:if test="$cPerformers = 1">
  4599.                                             <xsl:call-template name="templ_str_PerformerShortCap"/>
  4600.                                         </xsl:if>
  4601.                                         <xsl:call-template name="templ_prop_Space"/>
  4602.                                         <xsl:call-template name="appendField_Dot">
  4603.                                             <xsl:with-param name="field" select="$performer"/>
  4604.                                         </xsl:call-template>
  4605.                                     </xsl:if>
  4606.                                 </xsl:variable>
  4607.  
  4608.                                 <xsl:variable name="sufixEditorLFDot">
  4609.                                     <xsl:if test="string-length($editorLF)>0">
  4610.                                         <xsl:value-of select="$editorLF"/>
  4611.                                         <xsl:call-template name="templ_prop_ListSeparator"/>
  4612.                                         <xsl:if test="$cEditors > 1">
  4613.                                             <xsl:call-template name="templ_str_EditorsShortUnCap"/>
  4614.                                         </xsl:if>
  4615.                                         <xsl:if test="$cEditors = 1">
  4616.                                             <xsl:call-template name="templ_str_EditorShortUnCap"/>
  4617.                                         </xsl:if>
  4618.                                     </xsl:if>
  4619.                                 </xsl:variable>
  4620.  
  4621.                                 <xsl:variable name="prefixConductorDot">
  4622.                                     <xsl:if test="string-length($conductor)>0">
  4623.                                         <xsl:if test="$cConductors > 1">
  4624.                                             <xsl:call-template name="templ_str_ConductorsShortCap"/>
  4625.                                         </xsl:if>
  4626.                                         <xsl:if test="$cConductors = 1">
  4627.                                             <xsl:call-template name="templ_str_ConductorShortCap"/>
  4628.                                         </xsl:if>
  4629.                                         <xsl:call-template name="templ_prop_Space"/>
  4630.                                         <xsl:call-template name="appendField_Dot">
  4631.                                             <xsl:with-param name="field" select="$conductor"/>
  4632.                                         </xsl:call-template>
  4633.                                     </xsl:if>
  4634.                                 </xsl:variable>
  4635.  
  4636.                                 <xsl:variable name="prefixComposerDot">
  4637.                                     <xsl:if test="string-length($composer)>0">
  4638.                                         <xsl:if test="$cComposers > 1">
  4639.                                             <xsl:call-template name="templ_str_ComposersShortCap"/>
  4640.                                         </xsl:if>
  4641.                                         <xsl:if test="$cComposers = 1">
  4642.                                             <xsl:call-template name="templ_str_ComposerShortCap"/>
  4643.                                         </xsl:if>
  4644.                                         <xsl:call-template name="templ_prop_Space"/>
  4645.                                         <xsl:call-template name="appendField_Dot">
  4646.                                             <xsl:with-param name="field" select="$composer"/>
  4647.                                         </xsl:call-template>
  4648.                                     </xsl:if>
  4649.                                 </xsl:variable>
  4650.  
  4651.                                 <xsl:variable name="prefixCompilerDot">
  4652.                                     <xsl:if test="string-length($compiler)>0">
  4653.                                         <xsl:if test="$cCompilers > 1">
  4654.                                             <xsl:call-template name="templ_str_CompilersShortCap"/>
  4655.                                         </xsl:if>
  4656.                                         <xsl:if test="$cCompilers = 1">
  4657.                                             <xsl:call-template name="templ_str_CompilerShortCap"/>
  4658.                                         </xsl:if>
  4659.                                         <xsl:call-template name="templ_prop_Space"/>
  4660.                                         <xsl:call-template name="appendField_Dot">
  4661.                                             <xsl:with-param name="field" select="$compiler"/>
  4662.                                         </xsl:call-template>
  4663.                                     </xsl:if>
  4664.                                 </xsl:variable>
  4665.  
  4666.                                 <xsl:variable name="sufixCompilerLFDot">
  4667.                                     <xsl:if test="string-length($compilerLF)>0">
  4668.                                         <xsl:value-of select="$compilerLF"/>
  4669.                                         <xsl:call-template name="templ_prop_ListSeparator"/>
  4670.                                         <xsl:if test="$cCompilers > 1">
  4671.                                             <xsl:call-template name="templ_str_CompilersShortUnCap"/>
  4672.                                         </xsl:if>
  4673.                                         <xsl:if test="$cCompilers = 1">
  4674.                                             <xsl:call-template name="templ_str_CompilerShortUnCap"/>
  4675.                                         </xsl:if>
  4676.                                     </xsl:if>
  4677.                                 </xsl:variable>
  4678.                         
  4679.                             <xsl:variable name="prop_APA_Hyphens">
  4680.                               <xsl:call-template name="templ_prop_Hyphens"/>
  4681.                             </xsl:variable>
  4682.  
  4683.  
  4684.                                 <xsl:variable name="prefixVolume">
  4685.                                     <xsl:if test="string-length($volume)>0">
  4686.                                         <xsl:call-template name="StringFormat">
  4687.                                                 <xsl:with-param name="format">
  4688.                                               <xsl:choose>
  4689.                                                 <xsl:when test="not(string-length($volume)=string-length(translate($volume, ',', '')))">
  4690.                                                   <xsl:call-template name="templ_str_VolumesShortCap"/>
  4691.                                                 </xsl:when>
  4692.                                                 <xsl:when test="string-length($volume)=string-length(translate($volume, $prop_APA_Hyphens, ''))">
  4693.                                                   <xsl:call-template name="templ_str_VolumeShortCap"/>
  4694.                                                 </xsl:when>
  4695.                                                 <xsl:otherwise>
  4696.                                                   <xsl:call-template name="templ_str_VolumesShortCap"/>
  4697.                                                 </xsl:otherwise>
  4698.                                               </xsl:choose>
  4699.                                                 </xsl:with-param>
  4700.                                                 <xsl:with-param name="parameters">
  4701.                                                     <t:params>
  4702.                                                         <t:param>
  4703.                                                         <xsl:value-of select="$volume"/>
  4704.                                                     </t:param>
  4705.                                                     </t:params>
  4706.                                                 </xsl:with-param>
  4707.                                         </xsl:call-template>    
  4708.                                     </xsl:if>
  4709.                                 </xsl:variable>
  4710.                             
  4711.                                 <xsl:variable name="prefixVolumeDot">
  4712.                                     <xsl:if test="string-length($prefixVolume)>0">
  4713.                                         <xsl:call-template name="appendField_Dot">
  4714.                                             <xsl:with-param name="field">
  4715.                                                 <xsl:value-of select="$prefixVolume" />
  4716.                                             </xsl:with-param>
  4717.                                         </xsl:call-template>
  4718.                                     </xsl:if>
  4719.                                 </xsl:variable>
  4720.  
  4721.                                 <xsl:variable name="i_volumeBookTitle">
  4722.                                     <xsl:value-of select="$prefixVolume"/>
  4723.  
  4724.                                   <xsl:if test="(string-length($bookTitleDot)>0 or string-length(b:ChapterNumber) > 0) and string-length($prefixVolumeDot)>0">
  4725.                                       <xsl:call-template name="templ_prop_ListSeparator"/>
  4726.                                   </xsl:if>
  4727.                                   
  4728.                                 <xsl:call-template name="StringFormat">
  4729.                                     <xsl:with-param name="format">
  4730.                                         <xsl:if test="(string-length($bookTitleDot)>0 or string-length(b:ChapterNumber) > 0) and string-length($prefixVolumeDot)>0">
  4731.                                             <xsl:choose>
  4732.                                                 <xsl:when test = "string-length(b:BookTitle) > 0 and string-length(b:ChapterNumber) > 0">
  4733.                                                     <xsl:call-template name="templ_str_ChapterInUnCap"/>
  4734.                                                 </xsl:when>
  4735.                                                 <xsl:when test = "string-length(b:BookTitle)">
  4736.                                                     <xsl:call-template name="templ_str_InNameUnCap"/>
  4737.                                                 </xsl:when>
  4738.                                                 <xsl:when test = "string-length(b:ChapterNumber) > 0">
  4739.                                                     <xsl:call-template name="templ_str_ChapterUnCap"/>
  4740.                                                 </xsl:when>
  4741.                                             </xsl:choose>
  4742.                                         </xsl:if>
  4743.                                         <xsl:if test="not((string-length($bookTitleDot)>0 or string-length(b:ChapterNumber) > 0) and string-length($prefixVolumeDot)>0)">
  4744.                                             <xsl:choose>
  4745.                                                 <xsl:when test = "string-length(b:BookTitle) > 0 and string-length(b:ChapterNumber) > 0">
  4746.                                                     <xsl:call-template name="templ_str_ChapterInCap"/>
  4747.                                                 </xsl:when>
  4748.                                                 <xsl:when test = "string-length(b:BookTitle)">
  4749.                                                     <xsl:call-template name="templ_str_InNameCap"/>
  4750.                                                 </xsl:when>
  4751.                                                 <xsl:when test = "string-length(b:ChapterNumber) > 0">
  4752.                                                     <xsl:call-template name="templ_str_ChapterCap"/>
  4753.                                                 </xsl:when>
  4754.                                             </xsl:choose>
  4755.                                         </xsl:if>
  4756.                                     </xsl:with-param>
  4757.  
  4758.                                     <xsl:with-param name="parameters">
  4759.                                         <t:params>
  4760.                                             <xsl:if test = "string-length(b:ChapterNumber) > 0">
  4761.                                                 <t:param>
  4762.                                                     <xsl:value-of select="b:ChapterNumber"/>
  4763.                                                 </t:param>
  4764.                                             </xsl:if>                                                                                        
  4765.                                             <xsl:if test = "string-length(b:BookTitle)">
  4766.                                                 <t:param>
  4767.                                                     <xsl:call-template name = "ApplyItalicTitleNS">
  4768.                                                      <xsl:with-param name = "data">
  4769.                                                         <xsl:value-of select="b:BookTitle"/>
  4770.                                                      </xsl:with-param>
  4771.                                                     </xsl:call-template>
  4772.                                                 </t:param>
  4773.                                             </xsl:if>
  4774.                                         </t:params>
  4775.                                     </xsl:with-param>
  4776.                                 </xsl:call-template>
  4777.                                 </xsl:variable>
  4778.  
  4779.                                 <xsl:variable name="i_volumeBookTitleDot">
  4780.                                       <xsl:if test="string-length($i_volumeBookTitle)>0">
  4781.                                           <xsl:copy-of select="$i_volumeBookTitle"/>
  4782.                                         <xsl:call-template name="need_Dot">
  4783.                                             <xsl:with-param name="field" select ="$i_volumeBookTitle"/>
  4784.                                         </xsl:call-template>
  4785.                                       </xsl:if>
  4786.                                 </xsl:variable>
  4787.  
  4788.                                 <xsl:variable name="theCapShortPrefixVolumeDot">
  4789.                                     <xsl:if test="string-length($volume)>0">
  4790.                                         <xsl:call-template name="appendField_Dot">
  4791.                                             <xsl:with-param name="field">
  4792.                                                 <xsl:call-template name="StringFormat">
  4793.                                                       <xsl:with-param name="format">
  4794.                                                       <xsl:choose>
  4795.                                                         <xsl:when test="not(string-length($volume)=string-length(translate($volume, ',', '')))">
  4796.                                                           <xsl:call-template name="templ_str_VolumesShortCap"/>
  4797.                                                         </xsl:when>
  4798.                                                         <xsl:when test="string-length($volume)=string-length(translate($volume, $prop_APA_Hyphens, ''))">
  4799.                                                           <xsl:call-template name="templ_str_VolumeShortCap"/>
  4800.                                                         </xsl:when>
  4801.                                                         <xsl:otherwise>
  4802.                                                           <xsl:call-template name="templ_str_VolumesShortCap"/>
  4803.                                                         </xsl:otherwise>
  4804.                                                       </xsl:choose>
  4805.                                                       </xsl:with-param>
  4806.                                                       <xsl:with-param name="parameters">
  4807.                                                           <t:params>
  4808.                                                               <t:param>
  4809.                                                                 <xsl:value-of select="$volume"/>
  4810.                                                             </t:param>
  4811.                                                           </t:params>
  4812.                                                       </xsl:with-param>
  4813.                                                 </xsl:call-template>    
  4814.                                             </xsl:with-param>
  4815.                                         </xsl:call-template>
  4816.                                     </xsl:if>
  4817.                                 </xsl:variable>
  4818.  
  4819.                                 <xsl:variable name="sufixTranslatorLFDot">
  4820.                                     <xsl:if test="string-length($translatorLF)>0">
  4821.                                         <xsl:value-of select="$translatorLF"/>
  4822.                                         <xsl:call-template name="templ_prop_ListSeparator"/>
  4823.                                         <xsl:if test="$cTranslators > 1">
  4824.                                             <xsl:call-template name="templ_str_TranslatorsShortUnCap"/>
  4825.                                         </xsl:if>
  4826.                                         <xsl:if test="$cTranslators = 1">
  4827.                                             <xsl:call-template name="templ_str_TranslatorShortUnCap"/>
  4828.                                         </xsl:if>
  4829.                                     </xsl:if>
  4830.                                 </xsl:variable>
  4831.  
  4832.                                 <xsl:variable name="caseNoDot">
  4833.                                     <xsl:value-of select="$caseNumber"/>
  4834.                                 </xsl:variable>
  4835.  
  4836.                                 <xsl:variable name="existProd">
  4837.                                     <xsl:if test="string-length(normalize-space($producerName))>0">
  4838.                                             <xsl:text>N</xsl:text>
  4839.                                     </xsl:if>
  4840.                                     <xsl:if test="string-length(normalize-space(b:ProductionCompany))">
  4841.                                             <xsl:text>C</xsl:text>
  4842.                                     </xsl:if>
  4843.                                 </xsl:variable>
  4844.  
  4845.                                 <xsl:variable name="prodDot">
  4846.                                     <xsl:if test="string-length($producerName)>0">
  4847.                                         <xsl:call-template name="appendField_Dot">
  4848.                                             <xsl:with-param name="field" select="$producerName"/>
  4849.                                         </xsl:call-template>
  4850.                                     </xsl:if>
  4851.  
  4852.                                     <xsl:if test="string-length($producerName)=0 and string-length($productionCompany)">
  4853.                                         <xsl:call-template name="appendField_Dot">
  4854.                                             <xsl:with-param name="field" select="$productionCompany"/>
  4855.                                         </xsl:call-template>
  4856.                                     </xsl:if>
  4857.                                 </xsl:variable>
  4858.  
  4859.                                 <xsl:variable name="prod">
  4860.                                     <xsl:if test="string-length($producerName)>0">
  4861.                                         <xsl:value-of select="$producerName"/>
  4862.                                     </xsl:if>
  4863.  
  4864.                                     <xsl:if test="string-length($producerName)=0 and string-length($productionCompany)">
  4865.                                         <xsl:value-of select="$productionCompany"/>
  4866.                                     </xsl:if>
  4867.                                 </xsl:variable>
  4868.  
  4869.                                 <xsl:variable name="prefixProdDot">
  4870.                                     <xsl:if test="string-length($producerName)>0 or string-length($productionCompany)>0">
  4871.                                         <xsl:if test="$cProducers > 1">
  4872.                                             <xsl:call-template name="templ_str_ProducersShortCap"/>
  4873.                                             <xsl:call-template name="templ_prop_Space"/>
  4874.                                         </xsl:if>
  4875.                                         <xsl:if test="$cProducers = 1">
  4876.                                             <xsl:call-template name="templ_str_ProducerShortCap"/>
  4877.                                             <xsl:call-template name="templ_prop_Space"/>
  4878.                                         </xsl:if>
  4879.  
  4880.                                         <xsl:value-of select="$prodDot"/>
  4881.                                     </xsl:if>
  4882.                                 </xsl:variable>
  4883.  
  4884.  
  4885.  
  4886.                                 <xsl:variable name="authorDot">
  4887.                                     <xsl:call-template name="appendField_Dot">
  4888.                                         <xsl:with-param name="field" select="$author"/>
  4889.                                     </xsl:call-template>
  4890.                                 </xsl:variable>
  4891.  
  4892.                                 <xsl:variable name="sectionAuthorDot">
  4893.                                     <xsl:call-template name="appendField_Dot">
  4894.                                         <xsl:with-param name="field" select="$sectionAuthor"/>
  4895.                                     </xsl:call-template>
  4896.                                 </xsl:variable>
  4897.  
  4898.                                 <xsl:variable name="bookAuthorDot">
  4899.                                     <xsl:call-template name="appendField_Dot">
  4900.                                         <xsl:with-param name="field" select="$bookAuthor"/>
  4901.                                     </xsl:call-template>
  4902.                                 </xsl:variable>
  4903.  
  4904.                                 <xsl:variable name="performerLFDot">
  4905.                                     <xsl:call-template name="appendField_Dot">
  4906.                                         <xsl:with-param name="field" select="$performerLF"/>
  4907.                                     </xsl:call-template>
  4908.                                 </xsl:variable>
  4909.  
  4910.                                 <xsl:variable name="artistDot">
  4911.                                     <xsl:call-template name="appendField_Dot">
  4912.                                         <xsl:with-param name="field" select="$artist"/>
  4913.                                     </xsl:call-template>
  4914.                                 </xsl:variable>
  4915.  
  4916.                                 <xsl:variable name="interviewerDot">
  4917.                                     <xsl:call-template name="appendField_Dot">
  4918.                                         <xsl:with-param name="field" select="$interviewer"/>
  4919.                                     </xsl:call-template>
  4920.                                 </xsl:variable>
  4921.  
  4922.                                 <xsl:variable name="intervieweeLFDot">
  4923.                                     <xsl:call-template name="appendField_Dot">
  4924.                                         <xsl:with-param name="field" select="$intervieweeLF"/>
  4925.                                     </xsl:call-template>
  4926.                                 </xsl:variable>
  4927.  
  4928.                                 <xsl:variable name="conductorLFDot">
  4929.                                     <xsl:call-template name="appendField_Dot">
  4930.                                         <xsl:with-param name="field" select="$conductorLF"/>
  4931.                                     </xsl:call-template>
  4932.                                 </xsl:variable>
  4933.  
  4934.                                 <xsl:variable name="inventorLFDot">
  4935.                                     <xsl:call-template name="appendField_Dot">
  4936.                                         <xsl:with-param name="field" select="$inventorLF"/>
  4937.                                     </xsl:call-template>
  4938.                                 </xsl:variable>
  4939.  
  4940.                                 <xsl:variable name="producerNameDot">
  4941.                                     <xsl:call-template name="appendField_Dot">
  4942.                                         <xsl:with-param name="field" select="$producerName"/>
  4943.                                     </xsl:call-template>
  4944.                                 </xsl:variable>
  4945.  
  4946.  
  4947.                                 <xsl:variable name="writerDot">
  4948.                                     <xsl:call-template name="appendField_Dot">
  4949.                                         <xsl:with-param name="field" select="$writer"/>
  4950.                                     </xsl:call-template>
  4951.                                 </xsl:variable>
  4952.  
  4953.                                 <xsl:variable name="composerLFDot">
  4954.                                     <xsl:call-template name="appendField_Dot">
  4955.                                         <xsl:with-param name="field" select="$composerLF"/>
  4956.                                     </xsl:call-template>
  4957.                                 </xsl:variable>
  4958.  
  4959.  
  4960.                                 <xsl:variable name="theAuthorSufix">
  4961.                                     <xsl:choose>
  4962.                                         <xsl:when test="string-length($author)>0">
  4963.                                             <xsl:value-of select="$authorMain"/>
  4964.                                         </xsl:when>
  4965.                                         <xsl:when test="string-length($editorLF)>0 and (b:SourceType='Book' or b:SourceType='Misc' or b:SourceType='ArticleInAPeriodical' or b:SourceType='ConferenceProceedings' or b:SourceType='InternetSite' or b:SourceType='DocumentFromInternetSite')">
  4966.                                             <xsl:value-of select="$editorLF"/>
  4967.                                             <xsl:call-template name="templ_prop_ListSeparator"/>
  4968.                                             <xsl:if test="$cEditors=1">
  4969.                                                 <xsl:call-template name="templ_str_EditorShortUnCap"/>
  4970.                                             </xsl:if>
  4971.                                             <xsl:if test="$cEditors>1">
  4972.                                                 <xsl:call-template name="templ_str_EditorsShortUnCap"/>
  4973.                                             </xsl:if>
  4974.                                         </xsl:when>
  4975.                                         <xsl:when test="string-length($compilerLF)>0 and (b:SourceType='Misc')">
  4976.                                             <xsl:value-of select="$compilerLF"/>
  4977.                                             <xsl:call-template name="templ_prop_ListSeparator"/>
  4978.                                             <xsl:if test="$cCompilers=1">
  4979.                                                 <xsl:call-template name="templ_str_CompilerShortUnCap"/>
  4980.                                             </xsl:if>
  4981.                                             <xsl:if test="$cCompilers>1">
  4982.                                                 <xsl:call-template name="templ_str_CompilersShortUnCap"/>
  4983.                                             </xsl:if>
  4984.                                         </xsl:when>
  4985.                                         <xsl:when test="string-length($translatorLF)>0 and (b:SourceType='Book' or b:SourceType='Misc')">
  4986.                                             <xsl:value-of select="$translatorLF"/>
  4987.                                             <xsl:call-template name="templ_prop_ListSeparator"/>
  4988.                                             <xsl:if test="$cTranslators=1">
  4989.                                                 <xsl:call-template name="templ_str_TranslatorShortUnCap"/>
  4990.                                             </xsl:if>
  4991.                                             <xsl:if test="$cTranslators>1">
  4992.                                                 <xsl:call-template name="templ_str_TranslatorsShortUnCap"/>
  4993.                                             </xsl:if>
  4994.                                         </xsl:when>
  4995.                                     </xsl:choose>
  4996.                                 </xsl:variable>
  4997.  
  4998.                                 <xsl:variable name="theAuthorSufixDot">
  4999.                                     <xsl:call-template name="appendField_Dot">
  5000.                                         <xsl:with-param name="field" select="$theAuthorSufix"/>
  5001.                                     </xsl:call-template>
  5002.                                 </xsl:variable>
  5003.  
  5004.  
  5005.                 <xsl:variable name="str_ByUnCap">
  5006.                   <xsl:call-template name="templ_str_ByUnCap"/>
  5007.                 </xsl:variable>
  5008.  
  5009.                 <xsl:variable name="theUnCapLongByAuthor">
  5010.                     <xsl:if test="string-length($bookAuthor)>0">
  5011.                         <xsl:call-template name="StringFormat">
  5012.                                 <xsl:with-param name="format" select="$str_ByUnCap"/>
  5013.                                 <xsl:with-param name="parameters">
  5014.                                     <t:params>
  5015.                                         <t:param>
  5016.                                         <xsl:value-of select="$bookAuthor"/>
  5017.                                     </t:param>
  5018.                                     </t:params>
  5019.                                 </xsl:with-param>
  5020.                         </xsl:call-template>
  5021.                     </xsl:if>
  5022.                 </xsl:variable>
  5023.  
  5024.                 <xsl:variable name="str_ByCap">
  5025.                   <xsl:call-template name="templ_str_ByCap"/>
  5026.                 </xsl:variable>
  5027.  
  5028.                 <xsl:variable name="theCapLongByAuthor">
  5029.                     <xsl:if test="string-length($bookAuthor)>0">
  5030.                         <xsl:call-template name="StringFormat">
  5031.                                 <xsl:with-param name="format" select="$str_ByCap"/>
  5032.                                 <xsl:with-param name="parameters">
  5033.                                     <t:params>
  5034.                                         <t:param>
  5035.                                         <xsl:value-of select="$bookAuthor"/>
  5036.                                     </t:param>
  5037.                                     </t:params>
  5038.                                 </xsl:with-param>
  5039.                         </xsl:call-template>
  5040.                     </xsl:if>
  5041.                 </xsl:variable>
  5042.                 
  5043.                 <xsl:variable name="str_EditedByCap">
  5044.                   <xsl:call-template name="templ_str_EditedByCap"/>
  5045.                 </xsl:variable>
  5046.  
  5047.                 <xsl:variable name="theCapLongPrefixEditor">
  5048.                                     <xsl:if test="string-length($editor)>0 and string-length($author)>0">
  5049.                                         <xsl:call-template name="StringFormat">
  5050.                                               <xsl:with-param name="format" select="$str_EditedByCap"/>
  5051.                                               <xsl:with-param name="parameters">
  5052.                                                   <t:params>
  5053.                                                       <t:param>
  5054.                                                         <xsl:value-of select="$editor"/>
  5055.                                                     </t:param>
  5056.                                                   </t:params>
  5057.                                               </xsl:with-param>
  5058.                                         </xsl:call-template>
  5059.                                     </xsl:if>
  5060.                                 </xsl:variable>
  5061.  
  5062.                                 <xsl:variable name="theCapLongPrefixEditorDot">
  5063.                                     <xsl:call-template name="appendField_Dot">
  5064.                                         <xsl:with-param name="field" select="$theCapLongPrefixEditor"/>
  5065.                                     </xsl:call-template>
  5066.                                 </xsl:variable>
  5067.  
  5068.                 <xsl:variable name="str_CompiledByCap">
  5069.                   <xsl:call-template name="templ_str_CompiledByCap"/>
  5070.                 </xsl:variable>
  5071.  
  5072.                 <xsl:variable name="theCapLongPrefixCompiler">
  5073.                                     <xsl:if test="string-length($compiler)>0 and (string-length($author)>0 or string-length($editor)>0)">
  5074.                                         <xsl:call-template name="StringFormat">
  5075.                                               <xsl:with-param name="format" select="$str_CompiledByCap"/>
  5076.                                               <xsl:with-param name="parameters">
  5077.                                                   <t:params>
  5078.                                                       <t:param>
  5079.                                                         <xsl:value-of select="$compiler"/>
  5080.                                                     </t:param>
  5081.                                                   </t:params>
  5082.                                               </xsl:with-param>
  5083.                                         </xsl:call-template>
  5084.                                     </xsl:if>
  5085.                                 </xsl:variable>
  5086.  
  5087.                                 <xsl:variable name="theCapLongPrefixCompilerDot">
  5088.                                     <xsl:call-template name="appendField_Dot">
  5089.                                         <xsl:with-param name="field" select="$theCapLongPrefixCompiler"/>
  5090.                                     </xsl:call-template>
  5091.                                 </xsl:variable>
  5092.                 
  5093.                 <xsl:variable name="str_TranslatedByCap">
  5094.                   <xsl:call-template name="templ_str_TranslatedByCap"/>
  5095.                 </xsl:variable>
  5096.  
  5097.                 <xsl:variable name="theCapLongPrefixTranslator">
  5098.                                     <xsl:if test="string-length($translator)>0 and (string-length($author)>0 or string-length($editor)>0 or string-length($compiler)>0)">
  5099.                                         <xsl:call-template name="StringFormat">
  5100.                                               <xsl:with-param name="format" select="$str_TranslatedByCap"/>
  5101.                                               <xsl:with-param name="parameters">
  5102.                                                   <t:params>
  5103.                                                       <t:param>
  5104.                                                         <xsl:value-of select="$translator"/>
  5105.                                                     </t:param>
  5106.                                                   </t:params>
  5107.                                               </xsl:with-param>
  5108.                                         </xsl:call-template>
  5109.                                     </xsl:if>
  5110.                                 </xsl:variable>
  5111.  
  5112.                                 <xsl:variable name="theCapLongPrefixTranslatorDot">
  5113.                                     <xsl:call-template name="appendField_Dot">
  5114.                                         <xsl:with-param name="field" select="$theCapLongPrefixTranslator"/>
  5115.                                     </xsl:call-template>
  5116.                                 </xsl:variable>
  5117.  
  5118.                 <xsl:variable name="theCapLongPrefixEditedBy">
  5119.                                     <xsl:if test="string-length($editor)>0">
  5120.                                         <xsl:call-template name="StringFormat">
  5121.                                               <xsl:with-param name="format" select="$str_EditedByCap"/>
  5122.                                               <xsl:with-param name="parameters">
  5123.                                                   <t:params>
  5124.                                                       <t:param>
  5125.                                                         <xsl:value-of select="$editor"/>
  5126.                                                     </t:param>
  5127.                                                   </t:params>
  5128.                                               </xsl:with-param>
  5129.                                         </xsl:call-template>
  5130.                                     </xsl:if>
  5131.                                 </xsl:variable>
  5132.  
  5133.                                 <xsl:variable name="theCapLongPrefixEditedByDot">
  5134.                                     <xsl:call-template name="appendField_Dot">
  5135.                                         <xsl:with-param name="field" select="$theCapLongPrefixEditedBy"/>
  5136.                                     </xsl:call-template>
  5137.                                 </xsl:variable>
  5138.  
  5139.                 <xsl:variable name="str_EditedByUnCap">
  5140.                   <xsl:call-template name="templ_str_EditedByUnCap"/>
  5141.                 </xsl:variable>
  5142.  
  5143.  
  5144.                 <xsl:variable name="theUnCapLongPrefixEditedBy">
  5145.                                     <xsl:if test="string-length($editor)>0">
  5146.                                         <xsl:call-template name="StringFormat">
  5147.                                               <xsl:with-param name="format" select="$str_EditedByUnCap"/>
  5148.                                               <xsl:with-param name="parameters">
  5149.                                                   <t:params>
  5150.                                                       <t:param>
  5151.                                                         <xsl:value-of select="$editor"/>
  5152.                                                     </t:param>
  5153.                                                   </t:params>
  5154.                                               </xsl:with-param>
  5155.                                         </xsl:call-template>
  5156.                                     </xsl:if>
  5157.                                 </xsl:variable>
  5158.  
  5159.                                 <xsl:variable name="theUnCapLongPrefixEditedByDot">
  5160.                                     <xsl:call-template name="appendField_Dot">
  5161.                                         <xsl:with-param name="field" select="$theUnCapLongPrefixEditedBy"/>
  5162.                                     </xsl:call-template>
  5163.                                 </xsl:variable>
  5164.  
  5165.                 <xsl:variable name="theCapLongPrefixTranslatedBy">
  5166.                                     <xsl:if test="string-length($translator)>0">
  5167.                                         <xsl:call-template name="StringFormat">
  5168.                                               <xsl:with-param name="format" select="$str_TranslatedByCap"/>
  5169.                                               <xsl:with-param name="parameters">
  5170.                                                   <t:params>
  5171.                                                       <t:param>
  5172.                                                         <xsl:value-of select="$translator"/>
  5173.                                                     </t:param>
  5174.                                                   </t:params>
  5175.                                               </xsl:with-param>
  5176.                                         </xsl:call-template>
  5177.                                     </xsl:if>
  5178.                                 </xsl:variable>
  5179.  
  5180.                                 <xsl:variable name="theCapLongPrefixTranslatedByDot">
  5181.                                     <xsl:call-template name="appendField_Dot">
  5182.                                         <xsl:with-param name="field" select="$theCapLongPrefixTranslatedBy"/>
  5183.                                     </xsl:call-template>
  5184.                                 </xsl:variable>
  5185.  
  5186.                 <xsl:variable name="str_TranslatedByUnCap">
  5187.                   <xsl:call-template name="templ_str_TranslatedByUnCap"/>
  5188.                 </xsl:variable>
  5189.  
  5190.  
  5191.                 <xsl:variable name="theUnCapLongPrefixTranslatedBy">
  5192.                                     <xsl:if test="string-length($translator)>0">
  5193.                                         <xsl:call-template name="StringFormat">
  5194.                                               <xsl:with-param name="format" select="$str_TranslatedByUnCap"/>
  5195.                                               <xsl:with-param name="parameters">
  5196.                                                   <t:params>
  5197.                                                       <t:param>
  5198.                                                         <xsl:value-of select="$translator"/>
  5199.                                                     </t:param>
  5200.                                                   </t:params>
  5201.                                               </xsl:with-param>
  5202.                                         </xsl:call-template>
  5203.                                     </xsl:if>
  5204.                                 </xsl:variable>
  5205.  
  5206.                                 <xsl:variable name="theUnCapLongPrefixTranslatedByDot">
  5207.                                     <xsl:call-template name="appendField_Dot">
  5208.                                         <xsl:with-param name="field" select="$theUnCapLongPrefixTranslatedBy"/>
  5209.                                     </xsl:call-template>
  5210.                                 </xsl:variable>
  5211.  
  5212.  
  5213.  
  5214.  
  5215.  
  5216.                                 <xsl:variable name="theCPAuthorSufix">
  5217.                                     <xsl:choose>
  5218.                                         <xsl:when test="string-length($author)>0">
  5219.                                             <xsl:value-of select="$authorMain"/>
  5220.                                         </xsl:when>
  5221.                                         <xsl:when test="string-length($editorLF)>0">
  5222.                                             <xsl:value-of select="$editorLF"/>
  5223.                                             <xsl:call-template name="templ_prop_ListSeparator"/>
  5224.                                             <xsl:if test="$cEditors=1">
  5225.                                                 <xsl:call-template name="templ_str_EditorShortUnCap"/>
  5226.                                             </xsl:if>
  5227.                                             <xsl:if test="$cEditors>1">
  5228.                                                 <xsl:call-template name="templ_str_EditorsShortUnCap"/>
  5229.                                             </xsl:if>
  5230.                                         </xsl:when>
  5231.                                     </xsl:choose>
  5232.                                 </xsl:variable>
  5233.  
  5234.                                 <xsl:variable name="theCPAuthorSufixDot">
  5235.                                     <xsl:call-template name="appendField_Dot">
  5236.                                         <xsl:with-param name="field" select="$theCPAuthorSufix"/>
  5237.                                     </xsl:call-template>
  5238.                                 </xsl:variable>
  5239.  
  5240.                 <xsl:variable name="theCPCapLongPrefixEditor">
  5241.                                     <xsl:if test="string-length($editor)>0 and string-length($author)>0">
  5242.                                         <xsl:call-template name="StringFormat">
  5243.                                               <xsl:with-param name="format" select="$str_EditedByCap"/>
  5244.                                               <xsl:with-param name="parameters">
  5245.                                                   <t:params>
  5246.                                                       <t:param>
  5247.                                                         <xsl:value-of select="$editor"/>
  5248.                                                     </t:param>
  5249.                                                   </t:params>
  5250.                                               </xsl:with-param>
  5251.                                         </xsl:call-template>
  5252.                                     </xsl:if>
  5253.                                 </xsl:variable>
  5254.  
  5255.                                 <xsl:variable name="theCPCapLongPrefixEditorDot">
  5256.                                     <xsl:call-template name="appendField_Dot">
  5257.                                         <xsl:with-param name="field" select="$theCapLongPrefixEditor"/>
  5258.                                     </xsl:call-template>
  5259.                                 </xsl:variable>
  5260.  
  5261.                 <xsl:variable name="str_DirectedByCap">
  5262.                   <xsl:call-template name="templ_str_DirectedByCap"/>
  5263.                 </xsl:variable>
  5264.  
  5265.                 <xsl:variable name="theCapLongPrefixDirectedBy">
  5266.                                     <xsl:if test="string-length($director)>0">
  5267.                                         <xsl:call-template name="StringFormat">
  5268.                                               <xsl:with-param name="format" select="$str_DirectedByCap"/>
  5269.                                               <xsl:with-param name="parameters">
  5270.                                                   <t:params>
  5271.                                                       <t:param>
  5272.                                                         <xsl:value-of select="$director"/>
  5273.                                                     </t:param>
  5274.                                                   </t:params>
  5275.                                               </xsl:with-param>
  5276.                                         </xsl:call-template>
  5277.                                     </xsl:if>
  5278.                                 </xsl:variable>
  5279.  
  5280.                                 <xsl:variable name="theCapLongPrefixDirectedByDot">
  5281.                                     <xsl:call-template name="appendField_Dot">
  5282.                                         <xsl:with-param name="field" select="$theCapLongPrefixDirectedBy"/>
  5283.                                     </xsl:call-template>
  5284.                                 </xsl:variable>
  5285.  
  5286.                 <xsl:variable name="str_PerformedByCap">
  5287.                   <xsl:call-template name="templ_str_PerformedByCap"/>
  5288.                 </xsl:variable>
  5289.  
  5290.                 <xsl:variable name="theCapLongPrefixPerformedBy">
  5291.                                     <xsl:if test="string-length($performer)>0">
  5292.                                         <xsl:call-template name="StringFormat">
  5293.                                               <xsl:with-param name="format" select="$str_PerformedByCap"/>
  5294.                                               <xsl:with-param name="parameters">
  5295.                                                   <t:params>
  5296.                                                       <t:param>
  5297.                                                         <xsl:value-of select="$performer"/>
  5298.                                                     </t:param>
  5299.                                                   </t:params>
  5300.                                               </xsl:with-param>
  5301.                                         </xsl:call-template>
  5302.                                     </xsl:if>
  5303.                                 </xsl:variable>
  5304.  
  5305.                                 <xsl:variable name="theCapLongPrefixPerformedByDot">
  5306.                                     <xsl:call-template name="appendField_Dot">
  5307.                                         <xsl:with-param name="field" select="$theCapLongPrefixPerformedBy"/>
  5308.                                     </xsl:call-template>
  5309.                                 </xsl:variable>
  5310.  
  5311.                 <xsl:variable name="str_ProducedByCap">
  5312.                   <xsl:call-template name="templ_str_ProducedByCap"/>
  5313.                 </xsl:variable>
  5314.  
  5315.                 <xsl:variable name="theCapLongPrefixProducedBy">
  5316.                                     <xsl:if test="string-length($prod)>0">
  5317.                                         <xsl:call-template name="StringFormat">
  5318.                                               <xsl:with-param name="format" select="$str_ProducedByCap"/>
  5319.                                               <xsl:with-param name="parameters">
  5320.                                                   <t:params>
  5321.                                                       <t:param>
  5322.                                                         <xsl:value-of select="$prod"/>
  5323.                                                     </t:param>
  5324.                                                   </t:params>
  5325.                                               </xsl:with-param>
  5326.                                         </xsl:call-template>
  5327.                                     </xsl:if>
  5328.                                 </xsl:variable>
  5329.  
  5330.                                 <xsl:variable name="theCapLongPrefixProducedByDot">
  5331.                                     <xsl:call-template name="appendField_Dot">
  5332.                                         <xsl:with-param name="field" select="$theCapLongPrefixProducedBy"/>
  5333.                                     </xsl:call-template>
  5334.                                 </xsl:variable>
  5335.  
  5336.  
  5337.  
  5338.  
  5339.  
  5340.                                 <xsl:choose>
  5341.                                     <xsl:when test="b:SourceType='Book'">
  5342.                                     
  5343.                                         <xsl:if test="string-length($theAuthorSufixDot)>0">
  5344.                                             <xsl:value-of select="$theAuthorSufixDot"/>
  5345.                                         </xsl:if>
  5346.                                         
  5347.                                         <xsl:if test="string-length($titleDot)>0">
  5348.                                             <xsl:if test="string-length($theAuthorSufixDot)>0">
  5349.                                                 <xsl:call-template name="templ_prop_Space"/>
  5350.                                             </xsl:if>
  5351.  
  5352.                                             <xsl:call-template name = "ApplyItalicTitleNS">
  5353.                                              <xsl:with-param name = "data">
  5354.                                             <xsl:value-of select="$titleDot"/>
  5355.                                              </xsl:with-param>
  5356.                                             </xsl:call-template>
  5357.                                         </xsl:if>
  5358.                                         
  5359.                                         <xsl:if test="string-length($editionDot)>0">
  5360.                                             <xsl:if test="string-length($theAuthorSufixDot)>0 or string-length($titleDot)>0">
  5361.                                                 <xsl:call-template name="templ_prop_Space"/>
  5362.                                             </xsl:if>
  5363.  
  5364.                                             <xsl:value-of select="$editionDot"/>
  5365.                                         </xsl:if>
  5366.  
  5367.                                         <xsl:if test="string-length($theCapLongPrefixEditorDot)>0">
  5368.                                             <xsl:if test="string-length($theAuthorSufixDot)>0 or string-length($titleDot)>0 or string-length($editionDot)>0">
  5369.                                                 <xsl:call-template name="templ_prop_Space"/>
  5370.                                             </xsl:if>
  5371.  
  5372.                                             <xsl:value-of select="$theCapLongPrefixEditorDot"/>
  5373.                                         </xsl:if>
  5374.                                     
  5375.                                         <xsl:if test="string-length($theCapLongPrefixTranslatorDot)>0">
  5376.                                             <xsl:if test="string-length($theAuthorSufixDot)>0 or string-length($titleDot)>0 or string-length($theCapLongPrefixEditorDot)>0 or string-length($editionDot)>0">
  5377.                                                 <xsl:call-template name="templ_prop_Space"/>
  5378.                                             </xsl:if>
  5379.  
  5380.                                             <xsl:value-of select="$theCapLongPrefixTranslatorDot"/>
  5381.                                         </xsl:if>
  5382.                                     
  5383.                                         <xsl:if test="string-length($theCapShortPrefixVolumeDot)>0">
  5384.                                             <xsl:if test="string-length($theAuthorSufixDot)>0 or string-length($titleDot)>0 or string-length($theCapLongPrefixEditorDot)>0 or string-length($theCapLongPrefixTranslatorDot)>0 or string-length($editionDot)>0">
  5385.                                                 <xsl:call-template name="templ_prop_Space"/>
  5386.                                             </xsl:if>
  5387.  
  5388.                                             <xsl:value-of select="$theCapShortPrefixVolumeDot"/>
  5389.                                         </xsl:if>
  5390.  
  5391.                                         <xsl:if test="string-length($numberVolumesDot)>0">
  5392.                                             <xsl:if test="string-length($theAuthorSufixDot)>0 or string-length($titleDot)>0 or string-length($theCapLongPrefixEditorDot)>0 or string-length($theCapLongPrefixTranslatorDot)>0 or string-length($theCapShortPrefixVolumeDot)>0 or string-length($editionDot)>0">
  5393.                                                 <xsl:call-template name="templ_prop_Space"/>
  5394.                                             </xsl:if>
  5395.  
  5396.                                             <xsl:value-of select="$numberVolumesDot"/>
  5397.                                         </xsl:if>
  5398.  
  5399.                                         <xsl:if test="string-length($tempCPY)>0">
  5400.                                             <xsl:if test="string-length($theAuthorSufixDot)>0 or string-length($titleDot)>0 or string-length($theCapLongPrefixEditorDot)>0 or string-length($theCapLongPrefixTranslatorDot)>0 or string-length($theCapShortPrefixVolumeDot)>0 or string-length($editionDot)>0 or string-length($numberVolumesDot)>0">
  5401.                                                 <xsl:call-template name="templ_prop_Space"/>
  5402.                                             </xsl:if>
  5403.  
  5404.                                             <xsl:value-of select="$tempCPY"/>
  5405.                                         </xsl:if>
  5406.                                     
  5407.                                     </xsl:when>
  5408.  
  5409.  
  5410.                                     <xsl:when test="b:SourceType='ConferenceProceedings'">
  5411.                                     
  5412.                                         <xsl:if test="string-length($theCPAuthorSufixDot)>0">
  5413.                                             <xsl:value-of select="$theCPAuthorSufixDot"/>
  5414.                                         </xsl:if>
  5415.                                         
  5416.                                         <xsl:if test="string-length($titleDot)>0">
  5417.                                             <xsl:if test="string-length($theCPAuthorSufixDot)>0">
  5418.                                                 <xsl:call-template name="templ_prop_Space"/>
  5419.                                             </xsl:if>
  5420.  
  5421.                                             <xsl:call-template name="templ_prop_OpenQuote"/>
  5422.                                             <xsl:value-of select="$titleDot"/>
  5423.                                             <xsl:call-template name="templ_prop_CloseQuote"/>
  5424.                                         </xsl:if>
  5425.                                         
  5426.                                         <xsl:if test="string-length($theCPCapLongPrefixEditorDot)>0">
  5427.                                             <xsl:if test="string-length($theCPAuthorSufixDot)>0 or string-length($titleDot)>0">
  5428.                                                 <xsl:call-template name="templ_prop_Space"/>
  5429.                                             </xsl:if>
  5430.  
  5431.                                             <xsl:value-of select="$theCPCapLongPrefixEditorDot"/>
  5432.                                         </xsl:if>
  5433.                                     
  5434.                                     
  5435.                                         <xsl:if test="string-length($conferenceNameDot)>0">
  5436.                                             <xsl:if test="string-length($theCPAuthorSufixDot)>0 or string-length($titleDot)>0 or string-length($theCPCapLongPrefixEditorDot)>0">
  5437.                                                 <xsl:call-template name="templ_prop_Space"/>
  5438.                                             </xsl:if>
  5439.  
  5440.                                             <xsl:call-template name = "ApplyItalicTitleNS">
  5441.                                              <xsl:with-param name = "data">
  5442.                                             <xsl:value-of select="$conferenceNameDot"/>
  5443.                                              </xsl:with-param>
  5444.                                             </xsl:call-template>
  5445.                                         </xsl:if>
  5446.  
  5447.                                         <xsl:if test="string-length($tempCPY)>0">
  5448.                                             <xsl:if test="string-length($theCPAuthorSufixDot)>0 or string-length($titleDot)>0 or string-length($theCPCapLongPrefixEditorDot)>0 or string-length($conferenceNameDot)>0">
  5449.                                                 <xsl:call-template name="templ_prop_Space"/>
  5450.                                             </xsl:if>
  5451.  
  5452.                                             <xsl:value-of select="$tempCPY"/>
  5453.                                         </xsl:if>
  5454.                                     
  5455.                                         <xsl:if test="string-length($pagesDot)>0">
  5456.                                             <xsl:if test="string-length($theCPAuthorSufixDot)>0 or string-length($titleDot)>0 or string-length($theCPCapLongPrefixEditorDot)>0 or string-length($conferenceNameDot)>0 or string-length($tempCPY)>0">
  5457.                                                 <xsl:call-template name="templ_prop_Space"/>
  5458.                                             </xsl:if>
  5459.  
  5460.                                             <xsl:value-of select="$pagesDot"/>
  5461.                                         </xsl:if>
  5462.  
  5463.                                     </xsl:when>
  5464.  
  5465.  
  5466.  
  5467.                                     
  5468.                                     <xsl:when test="b:SourceType='BookSection'">
  5469.                                                 <xsl:if test="string-length($sectionAuthorDot)>0">
  5470.                                                     <xsl:value-of select="$sectionAuthorDot"/>
  5471.                                                 </xsl:if>
  5472.  
  5473.                                                 <xsl:choose>
  5474.                                                     <xsl:when test = "string-length($volume)>0">
  5475.                                                         <xsl:if test="string-length($titleDot)>0">
  5476.                                                             <xsl:if test="string-length($sectionAuthorDot)>0">
  5477.                                                                 <xsl:call-template name="templ_prop_Space"/>
  5478.                                                             </xsl:if>
  5479.  
  5480.                                                             <xsl:call-template name = "ApplyItalicTitleNS">
  5481.                                                              <xsl:with-param name = "data">
  5482.                                                                 <xsl:value-of select="$titleDot"/>
  5483.                                                              </xsl:with-param>
  5484.                                                             </xsl:call-template>
  5485.                                                             <xsl:if test="string-length($sectionAuthorDot)>0 or string-length($titleDot)>0 or string-length($bookAuthorDot)>0">
  5486.                                                                 <xsl:call-template name="templ_prop_Space"/>
  5487.                                                             </xsl:if>
  5488.                                                         </xsl:if>
  5489.                                                     </xsl:when>
  5490.                                                     
  5491.                                                     <xsl:otherwise>
  5492.                                                         <xsl:if test="string-length($titleDot)>0">
  5493.                                                             <xsl:if test="string-length($sectionAuthorDot)>0">
  5494.                                                                 <xsl:call-template name="templ_prop_Space"/>
  5495.                                                             </xsl:if>
  5496.  
  5497.                                                             <xsl:call-template name="templ_prop_OpenQuote"/>
  5498.                                                             
  5499.                                                             <xsl:value-of select="$titleDot"/>
  5500.                                                             
  5501.                                                             <xsl:call-template name="templ_prop_CloseQuote"/>
  5502.                                                         </xsl:if>
  5503.                                                         <xsl:if test="string-length($sectionAuthorDot)>0 or string-length($titleDot)>0 or string-length($bookAuthorDot)>0">
  5504.                                                             <xsl:call-template name="templ_prop_Space"/>
  5505.                                                         </xsl:if>
  5506.                                                         
  5507.                                                     </xsl:otherwise>
  5508.                                                 </xsl:choose>
  5509.  
  5510.  
  5511.  
  5512.  
  5513.                                                 <xsl:call-template name='PrintSpaceAndList'>
  5514.                                                     <xsl:with-param name="list">
  5515.                                                         <Items>
  5516.                                                             <CopyItem>
  5517.  
  5518.                                                                 <xsl:choose>
  5519.                                                                     <xsl:when test = "string-length($volume)>0">
  5520.                                                                         <xsl:if test="string-length($i_volumeBookTitleDot)>0">
  5521.                                                                             <xsl:copy-of select="$i_volumeBookTitle"/>
  5522.                                                                         </xsl:if>
  5523.                                                                     </xsl:when>
  5524.                                                                     
  5525.                                                                     <xsl:otherwise>
  5526.                                                                         <xsl:call-template name="StringFormat">
  5527.                                                                             <xsl:with-param name="format">
  5528.                                                                                 <xsl:choose>
  5529.                                                                                     <xsl:when test = "string-length(b:BookTitle) > 0 and string-length(b:ChapterNumber) > 0">
  5530.                                                                                         <xsl:call-template name="templ_str_ChapterInCap"/>
  5531.                                                                                     </xsl:when>
  5532.                                                                                     <xsl:when test = "string-length(b:BookTitle)">
  5533.                                                                                         <xsl:call-template name="templ_str_InNameCap"/>
  5534.                                                                                     </xsl:when>
  5535.                                                                                     <xsl:when test = "string-length(b:ChapterNumber) > 0">
  5536.                                                                                         <xsl:call-template name="templ_str_ChapterCap"/>
  5537.                                                                                     </xsl:when>
  5538.                                                                                 </xsl:choose>
  5539.                                                                             </xsl:with-param>
  5540.  
  5541.                                                                             <xsl:with-param name="parameters">
  5542.                                                                                 <t:params>
  5543.                                                                                     <xsl:if test = "string-length(b:ChapterNumber) > 0">
  5544.                                                                                         <t:param>
  5545.                                                                                             <xsl:value-of select="b:ChapterNumber"/>
  5546.                                                                                         </t:param>
  5547.                                                                                     </xsl:if>                                                                                        
  5548.                                                                                     <xsl:if test = "string-length(b:BookTitle)">
  5549.                                                                                         <t:param>
  5550.                                                                                             <xsl:call-template name = "ApplyItalicTitleNS">
  5551.                                                                                              <xsl:with-param name = "data">
  5552.                                                                                                 <xsl:value-of select="b:BookTitle"/>
  5553.                                                                                              </xsl:with-param>
  5554.                                                                                             </xsl:call-template>
  5555.                                                                                         </t:param>
  5556.                                                                                     </xsl:if>
  5557.                                                                                 </t:params>
  5558.                                                                             </xsl:with-param>
  5559.                                                                         </xsl:call-template>
  5560.                                                                     </xsl:otherwise>
  5561.                                                                 </xsl:choose>
  5562.                                                             </CopyItem>
  5563.                                                             <TextItem>
  5564.                                                                 <xsl:choose>
  5565.                                                                     <xsl:when test = "string-length(b:ChapterNumber)=0 and string-length($volume)=0 and string-length($bookTitleDot)=0">
  5566.                                                                         <xsl:value-of select="$theCapLongByAuthor"/>
  5567.                                                                     </xsl:when>
  5568.                                                                     <xsl:otherwise>
  5569.                                                                         <xsl:value-of select="$theUnCapLongByAuthor"/>
  5570.                                                                     </xsl:otherwise>
  5571.                                                                 </xsl:choose>
  5572.                                                             </TextItem>
  5573.                                                             <TextItem>
  5574.                                                                 <xsl:choose>
  5575.                                                                     <xsl:when test = "string-length(b:ChapterNumber)=0 and string-length($volume)=0 and string-length($bookTitleDot)=0 and string-length($theCapLongByAuthor)=0">
  5576.                                                                         <xsl:value-of select="$theCapLongPrefixEditedBy"/>
  5577.                                                                     </xsl:when>
  5578.                                                                     <xsl:otherwise>
  5579.                                                                         <xsl:value-of select="$theUnCapLongPrefixEditedBy"/>
  5580.                                                                     </xsl:otherwise>
  5581.                                                                 </xsl:choose>
  5582.                                                             </TextItem>
  5583.                                                             <TextItem>
  5584.                                                                 <xsl:choose>
  5585.                                                                     <xsl:when test = "string-length(b:ChapterNumber)=0 and string-length($volume)=0 and string-length($bookTitleDot)=0 and string-length($theCapLongByAuthor)=0 and string-length($theCapLongPrefixEditedBy)=0">
  5586.                                                                         <xsl:value-of select="$theUnCapLongPrefixTranslatedBy"/>
  5587.                                                                     </xsl:when>
  5588.                                                                     <xsl:otherwise>
  5589.                                                                         <xsl:value-of select="$theUnCapLongPrefixTranslatedBy"/>
  5590.                                                                     </xsl:otherwise>
  5591.                                                                 </xsl:choose>
  5592.                                                             </TextItem>
  5593.                                                             <TextItem>
  5594.                                                                 <xsl:value-of select="b:Pages"/>
  5595.                                                             </TextItem>
  5596.                                                         </Items>
  5597.                                                     </xsl:with-param>
  5598.                                                 </xsl:call-template>
  5599.  
  5600.                                                 <xsl:if test="string-length($tempCPY)>0">
  5601.                                                     <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($volume)>0">
  5602.                                                         <xsl:call-template name="templ_prop_Space"/>
  5603.                                                     </xsl:if>
  5604.  
  5605.                                                     <xsl:value-of select="$tempCPY"/>
  5606.                                                 </xsl:if>
  5607.                                     </xsl:when>
  5608.                                     
  5609.  
  5610.                                     <xsl:when test="b:SourceType='JournalArticle'">
  5611.  
  5612.                                                 <xsl:if test="string-length($authorDot)>0">
  5613.                                                     <xsl:value-of select="$authorDot"/>
  5614.                                                 </xsl:if>
  5615.  
  5616.                                                 <xsl:if test="string-length($authorDot)=0 and string-length($sufixEditorLFDot)>0">
  5617.                                                     <xsl:value-of select="$sufixEditorLFDot"/>
  5618.                                                 </xsl:if>
  5619.  
  5620.                                                 <xsl:if test="string-length($titleDot)>0">
  5621.                                                     <xsl:if test="string-length($authorDot)>0 or string-length($sufixEditorLFDot)>0">
  5622.                                                         <xsl:call-template name="templ_prop_Space"/>
  5623.                                                     </xsl:if>
  5624.  
  5625.                                                     <xsl:call-template name="templ_prop_OpenQuote"/>
  5626.                                                     
  5627.                                                     <xsl:value-of select="$titleDot"/>
  5628.                                                     
  5629.                                                     <xsl:call-template name="templ_prop_CloseQuote"/>
  5630.                                                 </xsl:if>
  5631.  
  5632.                                                 <xsl:if test="string-length($theCPCapLongPrefixEditorDot)>0 and string-length($authorDot)>0">
  5633.                                                     <xsl:if test="string-length($authorDot)>0 or string-length($titleDot)>0 or string-length($sufixEditorLFDot)>0">
  5634.                                                         <xsl:call-template name="templ_prop_Space"/>
  5635.                                                     </xsl:if>
  5636.  
  5637.                                                     <xsl:value-of select="$theCPCapLongPrefixEditorDot"/>
  5638.                                                 </xsl:if>
  5639.  
  5640.                                                 <xsl:if test="string-length($journalName)>0">
  5641.                                                     <xsl:if test="string-length($authorDot)>0 or string-length($titleDot)>0 or string-length($sufixEditorLFDot)>0">
  5642.                                                         <xsl:call-template name="templ_prop_Space"/>
  5643.                                                     </xsl:if>
  5644.  
  5645.                                                     <xsl:call-template name = "ApplyItalicTitleNS">
  5646.                                                      <xsl:with-param name = "data">
  5647.                                                     <xsl:if test="string-length($tempVIYP)>0">
  5648.                                                         <xsl:value-of select="$journalName"/>
  5649.                                                     </xsl:if>
  5650.                                                     <xsl:if test="string-length($tempVIYP)=0">
  5651.                                                         <xsl:value-of select="$journalNameDot"/>
  5652.                                                     </xsl:if>
  5653.                                                    </xsl:with-param>
  5654.                                                   </xsl:call-template>
  5655.                                                 </xsl:if>
  5656.                                             
  5657.                                                 <xsl:if test="string-length($tempVIYP)>0">
  5658.                                                     <xsl:if test="string-length($journalName)=0 and (string-length($authorDot)>0 or string-length($titleDot)>0 or string-length($journalName)>0 or string-length($sufixEditorLFDot)>0)">
  5659.                                                         <xsl:call-template name="templ_prop_Space"/>
  5660.                                                     </xsl:if>
  5661.  
  5662.                                                     <xsl:value-of select="$tempVIYP"/>
  5663.                                                 </xsl:if>
  5664.                                                 
  5665.                                     </xsl:when>
  5666.  
  5667.                                     <xsl:when test="b:SourceType='Report'">
  5668.  
  5669.                                         <xsl:choose>
  5670.                                         
  5671.                                             <xsl:when test="string-length($publisher)>0">
  5672.  
  5673.  
  5674.                                                 <xsl:if test="string-length($authorDot)>0">
  5675.                                                     <xsl:value-of select="$authorDot"/>
  5676.                                                 </xsl:if>
  5677.  
  5678.                                                 <xsl:if test="string-length($titleDot)>0">
  5679.                                                     <xsl:if test="string-length($authorDot)>0">
  5680.                                                         <xsl:call-template name="templ_prop_Space"/>
  5681.                                                     </xsl:if>
  5682.  
  5683.                                                     <xsl:call-template name = "ApplyItalicTitleNS">
  5684.                                                      <xsl:with-param name = "data">
  5685.                                                     <xsl:value-of select="$titleDot"/>
  5686.                                                      </xsl:with-param>
  5687.                                                     </xsl:call-template>
  5688.                                                 </xsl:if>
  5689.  
  5690.                                                 <xsl:if test="string-length($tempRICPY)>0">
  5691.                                                     <xsl:if test="string-length($authorDot)>0 or string-length($titleDot)>0">
  5692.                                                         <xsl:call-template name="templ_prop_Space"/>
  5693.                                                     </xsl:if>
  5694.  
  5695.                                                     <xsl:value-of select="$tempRICPY"/>
  5696.                                                 </xsl:if>
  5697.  
  5698.                                             </xsl:when>
  5699.  
  5700.  
  5701.                                         
  5702.                                             <xsl:otherwise>
  5703.                                                 <xsl:if test="string-length($authorDot)>0">
  5704.                                                     <xsl:value-of select="$authorDot"/>
  5705.                                                 </xsl:if>
  5706.  
  5707.                                                 <xsl:if test="string-length($titleDot)>0">
  5708.                                                     <xsl:if test="string-length($authorDot)>0">
  5709.                                                         <xsl:call-template name="templ_prop_Space"/>
  5710.                                                     </xsl:if>
  5711.  
  5712.                                                     <xsl:call-template name="templ_prop_OpenQuote"/>
  5713.                                                     
  5714.                                                     <xsl:value-of select="$titleDot"/>
  5715.                                                     
  5716.                                                     <xsl:call-template name="templ_prop_CloseQuote"/>
  5717.                                                 </xsl:if>
  5718.                                             
  5719.                                                 <xsl:if test="string-length($tempRICPY)>0">
  5720.                                                     <xsl:if test="string-length($authorDot)>0 or string-length($titleDot)>0">
  5721.                                                         <xsl:call-template name="templ_prop_Space"/>
  5722.                                                     </xsl:if>
  5723.  
  5724.                                                     <xsl:value-of select="$tempRICPY"/>
  5725.                                                 </xsl:if>
  5726.  
  5727.                                             </xsl:otherwise>
  5728.  
  5729.  
  5730.                                         </xsl:choose>
  5731.                                     </xsl:when>
  5732.                                     
  5733.                                     
  5734.  
  5735.                                     <xsl:when test="b:SourceType='SoundRecording'">
  5736.  
  5737.  
  5738.  
  5739.                                         <xsl:choose>
  5740.                                         
  5741.                                             <xsl:when test="string-length($performerLF)>0">
  5742.  
  5743.                                                 <xsl:value-of select="$performerLFDot"/>
  5744.  
  5745.                                                 <xsl:if test="string-length($titleDot)>0 and string-length($albumTitleDot)>0">
  5746.                                                     <xsl:call-template name="templ_prop_Space"/>
  5747.  
  5748.                                                     <xsl:call-template name="templ_prop_OpenQuote"/>
  5749.                                                     <xsl:value-of select="$titleDot"/>
  5750.                                                     <xsl:call-template name="templ_prop_CloseQuote"/>
  5751.                                                 </xsl:if>
  5752.  
  5753.                                                 <xsl:if test="string-length($titleDot)>0 and string-length($albumTitleDot)=0">
  5754.                                                     <xsl:call-template name="templ_prop_Space"/>
  5755.             
  5756.                                                     <xsl:call-template name = "ApplyItalicTitleNS">
  5757.                                                      <xsl:with-param name = "data">
  5758.                                                     <xsl:value-of select="$titleDot"/>
  5759.                                                      </xsl:with-param>
  5760.                                                     </xsl:call-template>
  5761.                                                 </xsl:if>
  5762.  
  5763.                                                 <xsl:if test="string-length($albumTitleDot)>0">
  5764.                                                     <xsl:call-template name="templ_prop_Space"/>
  5765.  
  5766.                                                     <xsl:call-template name = "ApplyItalicTitleNS">
  5767.                                                      <xsl:with-param name = "data">
  5768.                                                     <xsl:value-of select="$albumTitleDot"/>
  5769.                                                      </xsl:with-param>
  5770.                                                     </xsl:call-template>
  5771.                                                 </xsl:if>
  5772.  
  5773.                                                 <xsl:if test="string-length($prefixConductorDot)>0">
  5774.                                                     <xsl:call-template name="templ_prop_Space"/>
  5775.  
  5776.                                                     <xsl:value-of select="$prefixConductorDot"/>
  5777.                                                 </xsl:if>
  5778.  
  5779.                                                 <xsl:if test="string-length($prefixComposerDot)>0">
  5780.                                                     <xsl:call-template name="templ_prop_Space"/>
  5781.  
  5782.                                                     <xsl:value-of select="$prefixComposerDot"/>
  5783.                                                 </xsl:if>
  5784.  
  5785.                                                 <xsl:if test="string-length($tempRYM)>0">
  5786.                                                     <xsl:call-template name="templ_prop_Space"/>
  5787.  
  5788.                                                     <xsl:value-of select="$tempRYM"/>
  5789.                                                 </xsl:if>
  5790.  
  5791.                                             </xsl:when>
  5792.  
  5793.                                         
  5794.                                             <xsl:when test="string-length($conductorLFDot)>0">
  5795.  
  5796.                                                 <xsl:value-of select="$conductorLFDot"/>
  5797.  
  5798.                                                 <xsl:if test="string-length($titleDot)>0 and string-length($albumTitleDot)>0">
  5799.                                                     <xsl:call-template name="templ_prop_Space"/>
  5800.  
  5801.                                                     <xsl:call-template name="templ_prop_OpenQuote"/>
  5802.                                                     <xsl:value-of select="$titleDot"/>
  5803.                                                     <xsl:call-template name="templ_prop_CloseQuote"/>
  5804.                                                 </xsl:if>
  5805.  
  5806.                                                 <xsl:if test="string-length($titleDot)>0 and string-length($albumTitleDot)=0">
  5807.                                                     <xsl:call-template name="templ_prop_Space"/>
  5808.             
  5809.                                                     <xsl:call-template name = "ApplyItalicTitleNS">
  5810.                                                      <xsl:with-param name = "data">
  5811.                                                     <xsl:value-of select="$titleDot"/>
  5812.                                                      </xsl:with-param>
  5813.                                                     </xsl:call-template>
  5814.                                                 </xsl:if>
  5815.  
  5816.                                                 <xsl:if test="string-length($albumTitleDot)>0">
  5817.                                                     <xsl:call-template name="templ_prop_Space"/>
  5818.  
  5819.                                                     <xsl:call-template name = "ApplyItalicTitleNS">
  5820.                                                      <xsl:with-param name = "data">
  5821.                                                     <xsl:value-of select="$albumTitleDot"/>
  5822.                                                      </xsl:with-param>
  5823.                                                     </xsl:call-template>
  5824.                                                 </xsl:if>
  5825.  
  5826.                                                 <xsl:if test="string-length($prefixComposerDot)>0">
  5827.                                                     <xsl:call-template name="templ_prop_Space"/>
  5828.  
  5829.                                                     <xsl:value-of select="$prefixComposerDot"/>
  5830.                                                 </xsl:if>
  5831.  
  5832.                                                 <xsl:if test="string-length($tempRYM)>0">
  5833.                                                     <xsl:call-template name="templ_prop_Space"/>
  5834.  
  5835.                                                     <xsl:value-of select="$tempRYM"/>
  5836.                                                 </xsl:if>
  5837.  
  5838.                                             </xsl:when>
  5839.  
  5840.                                         
  5841.                                             <xsl:otherwise>
  5842.  
  5843.                                                 <xsl:if test="string-length($composerLFDot)>0">
  5844.                                                     <xsl:value-of select="$composerLFDot"/>
  5845.                                                 </xsl:if>
  5846.  
  5847.                                             
  5848.                                                 <xsl:if test="string-length($titleDot)>0 and string-length($albumTitleDot)>0">
  5849.                                                     <xsl:if test="string-length($composerLFDot)>0">
  5850.                                                         <xsl:call-template name="templ_prop_Space"/>
  5851.                                                     </xsl:if>
  5852.  
  5853.                                                     <xsl:call-template name="templ_prop_OpenQuote"/>
  5854.                                                     <xsl:value-of select="$titleDot"/>
  5855.                                                     <xsl:call-template name="templ_prop_CloseQuote"/>
  5856.                                                 </xsl:if>
  5857.  
  5858.                                                 <xsl:if test="string-length($titleDot)>0 and string-length($albumTitleDot)=0">
  5859.                                                     <xsl:if test="string-length($composerLFDot)>0">
  5860.                                                         <xsl:call-template name="templ_prop_Space"/>
  5861.                                                     </xsl:if>
  5862.             
  5863.                                                     <xsl:call-template name = "ApplyItalicTitleNS">
  5864.                                                      <xsl:with-param name = "data">
  5865.                                                     <xsl:value-of select="$titleDot"/>
  5866.                                                      </xsl:with-param>
  5867.                                                     </xsl:call-template>
  5868.                                                 </xsl:if>
  5869.  
  5870.                                                 <xsl:if test="string-length($albumTitleDot)>0">
  5871.                                                     <xsl:if test="string-length($composerLFDot)>0 or string-length($titleDot)>0">
  5872.                                                         <xsl:call-template name="templ_prop_Space"/>
  5873.                                                     </xsl:if>
  5874.  
  5875.                                                     <xsl:call-template name = "ApplyItalicTitleNS">
  5876.                                                      <xsl:with-param name = "data">
  5877.                                                     <xsl:value-of select="$albumTitleDot"/>
  5878.                                                      </xsl:with-param>
  5879.                                                     </xsl:call-template>
  5880.                                                 </xsl:if>
  5881.  
  5882.  
  5883.                                                 <xsl:if test="string-length($tempRYM)>0">
  5884.                                                     <xsl:if test="string-length($composerLFDot)>0 or string-length($titleDot)>0 or string-length($albumTitleDot)>0">
  5885.                                                         <xsl:call-template name="templ_prop_Space"/>
  5886.                                                     </xsl:if>
  5887.  
  5888.                                                     <xsl:value-of select="$tempRYM"/>
  5889.                                                 </xsl:if>
  5890.  
  5891.                                             </xsl:otherwise>
  5892.  
  5893.  
  5894.  
  5895.                                         </xsl:choose>
  5896.                                     </xsl:when>
  5897.  
  5898.  
  5899.                                     <xsl:when test="b:SourceType='Performance'">
  5900.  
  5901.                                                 <xsl:if test="string-length($writerLFDot)>0">
  5902.                                                     <xsl:call-template name="templ_prop_Space"/>
  5903.                                                     <xsl:value-of select="$writerLFDot"/>
  5904.                                                 </xsl:if>
  5905.  
  5906.                                                 <xsl:if test="string-length($titleDot)>0">
  5907.                                                     <xsl:if test="string-length($writerLFDot)>0">
  5908.                                                         <xsl:call-template name="templ_prop_Space"/>
  5909.                                                     </xsl:if>
  5910.                                                     <xsl:call-template name = "ApplyItalicTitleNS">
  5911.                                                      <xsl:with-param name = "data">
  5912.                                                     <xsl:value-of select="$titleDot"/>
  5913.                                                      </xsl:with-param>
  5914.                                                     </xsl:call-template>
  5915.                                                 </xsl:if>
  5916.  
  5917.                                                 <xsl:if test="string-length($theCapLongPrefixDirectedByDot)>0">
  5918.                                                     <xsl:if test="string-length($titleDot)>0 or string-length($writerDot)>0">
  5919.                                                         <xsl:call-template name="templ_prop_Space"/>
  5920.                                                     </xsl:if>
  5921.  
  5922.                                                     <xsl:value-of select="$theCapLongPrefixDirectedByDot"/>
  5923.                                                 </xsl:if>
  5924.  
  5925.                                                 <xsl:if test="string-length($theCapLongPrefixPerformedByDot)>0">
  5926.                                                     <xsl:if test="string-length($titleDot)>0 or string-length($writerDot)>0 or string-length($theCapLongPrefixDirectedByDot)>0">
  5927.                                                         <xsl:call-template name="templ_prop_Space"/>
  5928.                                                     </xsl:if>
  5929.  
  5930.                                                     <xsl:value-of select="$theCapLongPrefixPerformedByDot"/>
  5931.                                                 </xsl:if>
  5932.  
  5933.                                                 <xsl:if test="string-length($tempTC)>0">
  5934.                                                     <xsl:if test="string-length($titleDot)>0 or string-length($writerDot)>0 or string-length($theCapLongPrefixDirectedByDot)>0 or string-length($theCapLongPrefixPerformedByDot)>0">
  5935.                                                         <xsl:call-template name="templ_prop_Space"/>
  5936.                                                     </xsl:if>
  5937.  
  5938.                                                     <xsl:value-of select="$tempTC"/>
  5939.                                                 </xsl:if>
  5940.  
  5941.  
  5942.                                                 <xsl:if test="string-length($dateDot)>0">
  5943.                                                     <xsl:if test="string-length($titleDot)>0 or string-length($writerDot)>0 or string-length($theCapLongPrefixDirectedByDot)>0 or string-length($theCapLongPrefixPerformedByDot)>0 or string-length($tempTC)>0">
  5944.                                                         <xsl:call-template name="templ_prop_Space"/>
  5945.                                                     </xsl:if>
  5946.  
  5947.                                                     <xsl:value-of select="$dateDot"/>
  5948.                                                 </xsl:if>
  5949.  
  5950.  
  5951.                                 </xsl:when>
  5952.  
  5953.  
  5954.                                     <xsl:when test="b:SourceType='Art'">
  5955.  
  5956.  
  5957.                                         <xsl:choose>
  5958.                                             
  5959.                                             <xsl:when test="string-length($publicationTitle)>0">
  5960.  
  5961.                                                 <xsl:if test="string-length($artistDot)>0">
  5962.                                                     <xsl:value-of select="normalize-space($artistDot)"/>
  5963.                                                 </xsl:if>
  5964.  
  5965.                                                 <xsl:if test="string-length($titleDot)>0">
  5966.                                                     <xsl:if test="string-length($artistDot)>0">
  5967.                                                         <xsl:call-template name="templ_prop_Space"/>
  5968.                                                     </xsl:if>
  5969.  
  5970.                                                     <xsl:call-template name="templ_prop_OpenQuote"/>
  5971.                                                     <xsl:value-of select="$titleDot"/>
  5972.                                                     <xsl:call-template name="templ_prop_CloseQuote"/>
  5973.                                                 </xsl:if>
  5974.  
  5975.                                                 <xsl:if test="string-length($institutionDot)>0">
  5976.                                                     <xsl:if test="string-length($artistDot)>0 or string-length($titleDot)>0">
  5977.                                                         <xsl:call-template name="templ_prop_Space"/>
  5978.                                                     </xsl:if>
  5979.  
  5980.                                                     <xsl:value-of select="$institutionDot"/>
  5981.                                                 </xsl:if>
  5982.  
  5983.                                                 <xsl:if test="string-length($publicationTitleDot)>0">
  5984.                                                     <xsl:if test="string-length($artistDot)>0 or string-length($titleDot)>0 or string-length($institutionDot)>0">
  5985.                                                         <xsl:call-template name="templ_prop_Space"/>
  5986.                                                     </xsl:if>
  5987.  
  5988.                                                     <xsl:call-template name = "ApplyItalicTitleNS">
  5989.                                                      <xsl:with-param name = "data">
  5990.                                                     <xsl:value-of select="$publicationTitleDot"/>
  5991.                                                      </xsl:with-param>
  5992.                                                     </xsl:call-template>
  5993.                                                 </xsl:if>
  5994.  
  5995.                                                 <xsl:if test="string-length($tempCPY)>0">
  5996.                                                     <xsl:if test="string-length($artistDot)>0 or string-length($titleDot)>0 or string-length($institutionDot)>0 or string-length($publicationTitle)>0">
  5997.                                                         <xsl:call-template name="templ_prop_Space"/>
  5998.                                                     </xsl:if>
  5999.  
  6000.                                                     <xsl:value-of select="$tempCPY"/>
  6001.                                                 </xsl:if>
  6002.  
  6003.                                             </xsl:when>
  6004.                                             
  6005.                                             
  6006.                                             <xsl:otherwise>
  6007.                                             
  6008.                                                 <xsl:if test="string-length($artistDot)>0">
  6009.                                                     <xsl:value-of select="normalize-space($artistDot)"/>
  6010.                                                 </xsl:if>
  6011.  
  6012.                                                 
  6013.                                                 <xsl:if test="string-length($titleDot)>0">
  6014.                                                     <xsl:if test="string-length($artistDot)>0">
  6015.                                                         <xsl:call-template name="templ_prop_Space"/>
  6016.                                                     </xsl:if>
  6017.  
  6018.                                                     <xsl:call-template name = "ApplyItalicTitleNS">
  6019.                                                      <xsl:with-param name = "data">
  6020.                                                     <xsl:value-of select="$titleDot"/>
  6021.                                                      </xsl:with-param>
  6022.                                                     </xsl:call-template>
  6023.                                                 </xsl:if>
  6024.  
  6025.                                                 <xsl:if test="string-length($tempIC)>0">
  6026.                                                     <xsl:if test="string-length($artistDot)>0 or string-length($titleDot)>0">
  6027.                                                         <xsl:call-template name="templ_prop_Space"/>
  6028.                                                     </xsl:if>
  6029.  
  6030.                                                     <xsl:value-of select="$tempIC"/>
  6031.                                                 </xsl:if>
  6032.  
  6033.                                             </xsl:otherwise>
  6034.                                             
  6035.                                         </xsl:choose>
  6036.  
  6037.  
  6038.  
  6039.                                     </xsl:when>
  6040.  
  6041.                                     <xsl:when test="b:SourceType='DocumentFromInternetSite'">
  6042.  
  6043.  
  6044.     
  6045.                                                 <xsl:if test="string-length($theAuthorSufixDot)>0">
  6046.                                                     <xsl:value-of select="$theAuthorSufixDot"/>
  6047.                                                 </xsl:if>
  6048.  
  6049.                                             
  6050.                                                 <xsl:if test="string-length($titleDot)>0">
  6051.                                                     <xsl:if test="string-length($theAuthorSufixDot)>0">
  6052.                                                         <xsl:call-template name="templ_prop_Space"/>
  6053.                                                     </xsl:if>
  6054.  
  6055.                                                     <xsl:call-template name="templ_prop_OpenQuote"/>
  6056.                                                     <xsl:value-of select="$titleDot"/>
  6057.                                                     <xsl:call-template name="templ_prop_CloseQuote"/>
  6058.                                                 </xsl:if>
  6059.  
  6060.                                                 <xsl:if test="string-length($prefixVersionDot)>0">
  6061.                                                     <xsl:if test="string-length($theAuthorSufixDot)>0 or string-length($titleDot)>0">
  6062.                                                         <xsl:call-template name="templ_prop_Space"/>
  6063.                                                     </xsl:if>
  6064.                                                     <xsl:value-of select="$prefixVersionDot"/>
  6065.                                                 </xsl:if>
  6066.  
  6067.                                                 <xsl:if test="string-length($internetSiteTitleDot)>0">
  6068.                                                     <xsl:if test="string-length($theAuthorSufixDot)>0 or string-length($titleDot)>0 or string-length($versionDot)>0">
  6069.                                                         <xsl:call-template name="templ_prop_Space"/>
  6070.                                                     </xsl:if>
  6071.  
  6072.                                                     <xsl:call-template name = "ApplyItalicTitleNS">
  6073.                                                      <xsl:with-param name = "data">
  6074.                                                     <xsl:value-of select="$internetSiteTitleDot"/>
  6075.                                                      </xsl:with-param>
  6076.                                                     </xsl:call-template>
  6077.                                                 </xsl:if>
  6078.  
  6079.  
  6080.                                                 <xsl:if test="string-length($theCPCapLongPrefixEditorDot)>0">
  6081.                                                     <xsl:if test="string-length($theAuthorSufixDot)>0 or string-length($titleDot)>0 or string-length($versionDot)>0 or string-length($internetSiteTitleDot)>0">
  6082.                                                         <xsl:call-template name="templ_prop_Space"/>
  6083.                                                     </xsl:if>
  6084.  
  6085.                                                     <xsl:value-of select="$theCPCapLongPrefixEditorDot"/>
  6086.                                                 </xsl:if>
  6087.  
  6088.                                                 <xsl:if test="string-length($prodDot)>0">
  6089.                                                     <xsl:if test="string-length($theAuthorSufixDot)>0 or string-length($titleDot)>0 or string-length($versionDot)>0 or string-length($internetSiteTitleDot)>0 or string-length($theCPCapLongPrefixEditorDot)>0">
  6090.                                                         <xsl:call-template name="templ_prop_Space"/>
  6091.                                                     </xsl:if>
  6092.  
  6093.                                                     <xsl:value-of select="$prodDot"/>
  6094.                                                 </xsl:if>
  6095.  
  6096.                                                 <xsl:if test="string-length($dateDot)>0">
  6097.                                                     <xsl:if test="string-length($theAuthorSufixDot)>0 or string-length($titleDot)>0 or string-length($versionDot)>0 or string-length($internetSiteTitleDot)>0 or string-length($theCPCapLongPrefixEditorDot)>0 or string-length($prodDot)>0">
  6098.                                                         <xsl:call-template name="templ_prop_Space"/>
  6099.                                                     </xsl:if>
  6100.  
  6101.                                                     <xsl:value-of select="$dateDot"/>
  6102.                                                 </xsl:if>
  6103.  
  6104.                                                 <xsl:if test="string-length($tempDaU)>0">
  6105.                                                     <xsl:if test="string-length($theAuthorSufixDot)>0 or string-length($titleDot)>0 or string-length($versionDot)>0 or string-length($internetSiteTitleDot)>0 or string-length($theCPCapLongPrefixEditorDot)>0 or string-length($prodDot)>0 or string-length($dateDot)>0">
  6106.                                                         <xsl:call-template name="templ_prop_Space"/>
  6107.                                                     </xsl:if>
  6108.  
  6109.                                                     <xsl:value-of select="$tempDaU"/>
  6110.                                                 </xsl:if>
  6111.  
  6112.                                     </xsl:when>
  6113.  
  6114.  
  6115.                             
  6116.  
  6117.                                     <xsl:when test="b:SourceType='InternetSite'">
  6118.  
  6119.                                                 <xsl:if test="string-length($theAuthorSufixDot)>0">
  6120.                                                     <xsl:value-of select="$theAuthorSufixDot"/>
  6121.                                                 </xsl:if>
  6122.  
  6123.                                             
  6124.                                                 <xsl:if test="string-length($titleDot)>0">
  6125.                                                     <xsl:if test="string-length($theAuthorSufixDot)>0">
  6126.                                                         <xsl:call-template name="templ_prop_Space"/>
  6127.                                                     </xsl:if>
  6128.  
  6129.                                                     <xsl:call-template name = "ApplyItalicTitleNS">
  6130.                                                      <xsl:with-param name = "data">
  6131.                                                     <xsl:value-of select="$titleDot"/>
  6132.                                                      </xsl:with-param>
  6133.                                                     </xsl:call-template>
  6134.                                                 </xsl:if>
  6135.  
  6136.                                                 <xsl:if test="string-length($theCPCapLongPrefixEditorDot)>0">
  6137.                                                     <xsl:if test="string-length($theAuthorSufixDot)>0 or string-length($titleDot)>0">
  6138.                                                         <xsl:call-template name="templ_prop_Space"/>
  6139.                                                     </xsl:if>
  6140.  
  6141.                                                     <xsl:value-of select="$theCPCapLongPrefixEditorDot"/>
  6142.                                                 </xsl:if>
  6143.  
  6144.                                                 <xsl:if test="string-length($prefixVersionDot)>0">
  6145.                                                     <xsl:if test="string-length($theAuthorSufixDot)>0 or string-length($titleDot)>0 or string-length($theCPCapLongPrefixEditorDot)>0">
  6146.                                                         <xsl:call-template name="templ_prop_Space"/>
  6147.                                                     </xsl:if>
  6148.  
  6149.                                                     <xsl:value-of select="$prefixVersionDot"/>
  6150.                                                 </xsl:if>
  6151.  
  6152.  
  6153.                                                 <xsl:if test="string-length($prodDot)>0">
  6154.                                                     <xsl:if test="string-length($theAuthorSufixDot)>0 or string-length($titleDot)>0 or string-length($theCPCapLongPrefixEditorDot)>0 or string-length($versionDot)>0">
  6155.                                                         <xsl:call-template name="templ_prop_Space"/>
  6156.                                                     </xsl:if>
  6157.  
  6158.                                                     <xsl:value-of select="$prodDot"/>
  6159.                                                 </xsl:if>
  6160.  
  6161.                                                 <xsl:if test="string-length($dateDot)>0">
  6162.                                                     <xsl:if test="string-length($theAuthorSufixDot)>0 or string-length($titleDot)>0 or string-length($theCPCapLongPrefixEditorDot)>0 or string-length($versionDot)>0 or string-length($prodDot)>0">
  6163.                                                         <xsl:call-template name="templ_prop_Space"/>
  6164.                                                     </xsl:if>
  6165.  
  6166.                                                     <xsl:value-of select="$dateDot"/>
  6167.                                                 </xsl:if>
  6168.  
  6169.                                                 <xsl:if test="string-length($tempDaU)>0">
  6170.                                                     <xsl:if test="string-length($theAuthorSufixDot)>0 or string-length($titleDot)>0 or string-length($theCPCapLongPrefixEditorDot)>0 or string-length($versionDot)>0 or string-length($dateDot)>0 or string-length($prodDot)>0">
  6171.                                                         <xsl:call-template name="templ_prop_Space"/>
  6172.                                                     </xsl:if>
  6173.  
  6174.                                                     <xsl:value-of select="$tempDaU"/>
  6175.                                                 </xsl:if>
  6176.  
  6177.                                     </xsl:when>
  6178.  
  6179.  
  6180.  
  6181.  
  6182.                                     <xsl:when test="b:SourceType='Patent'">
  6183.  
  6184.  
  6185.  
  6186.                                                 <xsl:if test="string-length($inventorLFDot)>0">
  6187.                                                     <xsl:value-of select="$inventorLFDot"/>
  6188.                                                 </xsl:if>
  6189.  
  6190.                                             
  6191.                                                 <xsl:if test="string-length($titleDot)>0">
  6192.                                                     <xsl:if test="string-length($inventorLFDot)>0">
  6193.                                                         <xsl:call-template name="templ_prop_Space"/>
  6194.                                                     </xsl:if>
  6195.                                                     
  6196.                                                     <xsl:value-of select="$titleDot"/>
  6197.                                                 </xsl:if>
  6198.  
  6199.                                                 <xsl:if test="string-length($prefixEditorDot)>0">
  6200.                                                     <xsl:if test="string-length($inventorLFDot)>0 or string-length($titleDot)>0">
  6201.                                                         <xsl:call-template name="templ_prop_Space"/>
  6202.                                                     </xsl:if>
  6203.  
  6204.                                                     <xsl:value-of select="$prefixEditorDot"/>
  6205.                                                 </xsl:if>
  6206.  
  6207.                                                 <xsl:if test="string-length($prefixTranslatorDot)>0">
  6208.                                                     <xsl:if test="string-length($inventorLFDot)>0 or string-length($titleDot)>0 or string-length($prefixEditorDot)>0">
  6209.                                                         <xsl:call-template name="templ_prop_Space"/>
  6210.                                                     </xsl:if>
  6211.  
  6212.                                                     <xsl:value-of select="$prefixTranslatorDot"/>
  6213.                                                 </xsl:if>
  6214.  
  6215.                                                 <xsl:if test="string-length($tempCP)>0">
  6216.                                                     <xsl:if test="string-length($inventorLFDot)>0 or string-length($titleDot)>0 or string-length($prefixEditorDot)>0 or string-length($prefixTranslatorDot)>0">
  6217.                                                         <xsl:call-template name="templ_prop_Space"/>
  6218.                                                     </xsl:if>
  6219.  
  6220.                                                     <xsl:value-of select="$tempCP"/>
  6221.                                                 </xsl:if>
  6222.  
  6223.                                                 <xsl:if test="string-length($dateDot)>0">
  6224.                                                     <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">
  6225.                                                         <xsl:call-template name="templ_prop_Space"/>
  6226.                                                     </xsl:if>
  6227.  
  6228.                                                     <xsl:value-of select="$dateDot"/>
  6229.                                                 </xsl:if>
  6230.  
  6231.                                     </xsl:when>
  6232.  
  6233.  
  6234.  
  6235.                                     <xsl:when test="b:SourceType='Case'">
  6236.  
  6237.  
  6238.                                                 <xsl:if test="string-length($titleDot)>0">
  6239.                                                     <xsl:call-template name = "ApplyItalicTitleNS">
  6240.                                                      <xsl:with-param name = "data">
  6241.                                                         <xsl:value-of select="$titleDot"/>
  6242.                                                      </xsl:with-param>
  6243.                                                     </xsl:call-template>
  6244.                                                 </xsl:if>
  6245.  
  6246.                                                 <xsl:if test="string-length($caseNoDot)>0">
  6247.                                                     <xsl:if test="string-length($titleDot)>0">
  6248.                                                         <xsl:call-template name="templ_prop_Space"/>
  6249.                                                     </xsl:if>
  6250.     
  6251.                                                     <xsl:value-of select="$caseNoDot"/>
  6252.                                                 </xsl:if>
  6253.  
  6254.                                                 <xsl:if test="string-length($tempCCD)>0">
  6255.                                                     <xsl:if test="string-length($titleDot)>0 or string-length($caseNoDot)>0">
  6256.                                                         <xsl:call-template name="templ_prop_Space"/>
  6257.                                                     </xsl:if>
  6258.     
  6259.                                                     <xsl:value-of select="$tempCCD"/>
  6260.                                                 </xsl:if>
  6261.  
  6262.                                     </xsl:when>
  6263.  
  6264.  
  6265.  
  6266.                                     <xsl:when test="b:SourceType='Misc'">
  6267.  
  6268.                                                 <xsl:if test="string-length($theAuthorSufixDot)>0">
  6269.                                                     <xsl:value-of select="$theAuthorSufixDot"/>
  6270.                                                 </xsl:if>
  6271.  
  6272.                                                 <xsl:if test="string-length($titleDot)>0">
  6273.                                                     <xsl:if test="string-length($theAuthorSufixDot)>0">
  6274.                                                         <xsl:call-template name="templ_prop_Space"/>
  6275.                                                     </xsl:if>
  6276.  
  6277.                                                     <xsl:call-template name="templ_prop_OpenQuote"/>
  6278.                                                     <xsl:value-of select="$titleDot"/>
  6279.                                                     <xsl:call-template name="templ_prop_CloseQuote"/>
  6280.                                                 </xsl:if>
  6281.  
  6282.                                                 <xsl:if test="string-length($publicationTitleDot)>0">
  6283.                                                     <xsl:if test="string-length($theAuthorSufixDot)>0 or string-length($titleDot)>0">
  6284.                                                         <xsl:call-template name="templ_prop_Space"/>
  6285.                                                     </xsl:if>
  6286.  
  6287.                                                     <xsl:call-template name = "ApplyItalicTitleNS">
  6288.                                                      <xsl:with-param name = "data">
  6289.                                                     <xsl:value-of select="$publicationTitleDot"/>
  6290.                                                      </xsl:with-param>
  6291.                                                     </xsl:call-template>
  6292.                                                 </xsl:if>
  6293.  
  6294.                                                 <xsl:if test="string-length($prefixVolumeDot)>0">
  6295.                                                     <xsl:if test="string-length($theAuthorSufixDot)>0 or string-length($titleDot)>0 or string-length($publicationTitleDot)>0">
  6296.                                                         <xsl:call-template name="templ_prop_Space"/>
  6297.                                                     </xsl:if>
  6298.  
  6299.                                                     <xsl:value-of select="$prefixVolumeDot"/>
  6300.                                                 </xsl:if>
  6301.  
  6302.  
  6303.                                                 <xsl:if test="string-length($noIssueDot)>0">
  6304.                                                     <xsl:if test="string-length($theAuthorSufixDot)>0 or string-length($titleDot)>0 or string-length($publicationTitleDot)>0 or string-length($prefixVolumeDot)>0">
  6305.                                                         <xsl:call-template name="templ_prop_Space"/>
  6306.                                                     </xsl:if>
  6307.  
  6308.                                                     <xsl:value-of select="$noIssueDot"/>
  6309.                                                 </xsl:if>
  6310.  
  6311.                                                 <xsl:if test="string-length($theCPCapLongPrefixEditorDot)>0">
  6312.                                                     <xsl:if test="string-length($theAuthorSufixDot)>0 or string-length($titleDot)>0 or string-length($publicationTitleDot)>0 or string-length($prefixVolumeDot)>0 or string-length($issueDot)>0">
  6313.                                                         <xsl:call-template name="templ_prop_Space"/>
  6314.                                                     </xsl:if>
  6315.  
  6316.                                                     <xsl:value-of select="$theCPCapLongPrefixEditorDot"/>
  6317.                                                 </xsl:if>
  6318.  
  6319.                                                 <xsl:if test="string-length($theCapLongPrefixTranslatorDot)>0">
  6320.                                                     <xsl:if test="string-length($theAuthorSufixDot)>0 or string-length($titleDot)>0 or string-length($publicationTitleDot)>0 or string-length($prefixVolumeDot)>0 or string-length($issueDot)>0 or string-length($theCPCapLongPrefixEditorDot)>0">
  6321.                                                         <xsl:call-template name="templ_prop_Space"/>
  6322.                                                     </xsl:if>
  6323.  
  6324.                                                     <xsl:value-of select="$theCapLongPrefixTranslatorDot"/>
  6325.                                                 </xsl:if>
  6326.  
  6327.                                                 <xsl:if test="string-length($theCapLongPrefixCompilerDot)>0">
  6328.                                                     <xsl:if test="string-length($theAuthorSufixDot)>0 or string-length($titleDot)>0 or string-length($publicationTitleDot)>0 or string-length($prefixVolumeDot)>0 or string-length($issueDot)>0 or string-length($theCPCapLongPrefixEditorDot)>0 or string-length($theCapLongPrefixTranslatorDot)>0">
  6329.                                                         <xsl:call-template name="templ_prop_Space"/>
  6330.                                                     </xsl:if>
  6331.  
  6332.                                                     <xsl:value-of select="$theCapLongPrefixCompilerDot"/>
  6333.                                                 </xsl:if>
  6334.  
  6335.  
  6336.                                                 <xsl:if test="string-length($tempCPD)>0">
  6337.                                                     <xsl:if test="string-length($theAuthorSufixDot)>0 or string-length($titleDot)>0 or string-length($publicationTitleDot)>0 or string-length($prefixVolumeDot)>0 or string-length($issueDot)>0 or string-length($theCPCapLongPrefixEditorDot)>0 or string-length($theCapLongPrefixTranslatorDot)>0 or string-length($theCapLongPrefixCompilerDot)>0">
  6338.                                                         <xsl:call-template name="templ_prop_Space"/>
  6339.                                                     </xsl:if>
  6340.  
  6341.                                                     <xsl:value-of select="$tempCPD"/>
  6342.                                                 </xsl:if>
  6343.  
  6344.                                                 <xsl:if test="string-length($pagesDot)>0">
  6345.                                                     <xsl:if test="string-length($theAuthorSufixDot)>0 or string-length($titleDot)>0 or string-length($publicationTitleDot)>0 or string-length($prefixVolumeDot)>0 or string-length($issueDot)>0 or string-length($theCPCapLongPrefixEditorDot)>0 or string-length($theCapLongPrefixTranslatorDot)>0 or string-length($theCapLongPrefixCompilerDot)>0 or string-length($tempCPD)>0">
  6346.                                                         <xsl:call-template name="templ_prop_Space"/>
  6347.                                                     </xsl:if>
  6348.  
  6349.                                                     <xsl:value-of select="$pagesDot"/>
  6350.                                                 </xsl:if>
  6351.  
  6352.  
  6353.                                     </xsl:when>
  6354.  
  6355.  
  6356.  
  6357.  
  6358.                                     <xsl:when test="b:SourceType='ElectronicSource'">
  6359.  
  6360.                                                 <xsl:variable name="lfAuthor">
  6361.                                                     <xsl:if test="string-length($authorDot)>0">
  6362.                                                         <xsl:value-of select="$authorDot"/>
  6363.                                                     </xsl:if>
  6364.  
  6365.  
  6366.                                                     <xsl:if test="string-length($authorDot)=0 and string-length($sufixEditorLFDot)>0">
  6367.                                                         <xsl:value-of select="$sufixEditorLFDot"/>
  6368.                                                     </xsl:if>
  6369.  
  6370.                                                     <xsl:if test="string-length($authorDot)=0 and string-length($sufixEditorLFDot)=0 and string-length($sufixTranslatorLFDot)>0">
  6371.                                                         <xsl:value-of select="$sufixTranslatorLFDot"/>
  6372.                                                     </xsl:if>
  6373.  
  6374.                                                     <xsl:if test="string-length($authorDot)=0 and string-length($sufixEditorLFDot)=0 and string-length($sufixTranslatorLFDot)=0 and string-length($sufixCompilerLFDot)>0">
  6375.                                                         <xsl:value-of select="$sufixCompilerLFDot"/>
  6376.                                                     </xsl:if>
  6377.                                                 </xsl:variable>
  6378.  
  6379.                                                 <xsl:value-of select="$lfAuthor"/>
  6380.                                                 
  6381.                                                 <xsl:if test="string-length($titleDot)>0 and string-length($publicationTitleDot)>0">
  6382.                                                     <xsl:if test="string-length($lfAuthor)>0">
  6383.                                                         <xsl:call-template name="templ_prop_Space"/>
  6384.                                                     </xsl:if>
  6385.  
  6386.                                                     <xsl:call-template name="templ_prop_OpenQuote"/>
  6387.                                                     <xsl:value-of select="$titleDot"/>
  6388.                                                     <xsl:call-template name="templ_prop_CloseQuote"/>
  6389.                                                 </xsl:if>
  6390.  
  6391.                                                 <xsl:if test="string-length($titleDot)>0 and string-length($publicationTitleDot)=0">
  6392.                                                     <xsl:if test="string-length($lfAuthor)>0">
  6393.                                                         <xsl:call-template name="templ_prop_Space"/>
  6394.                                                     </xsl:if>
  6395.             
  6396.                                                     <xsl:call-template name = "ApplyItalicTitleNS">
  6397.                                                      <xsl:with-param name = "data">
  6398.                                                     <xsl:value-of select="$titleDot"/>
  6399.                                                      </xsl:with-param>
  6400.                                                     </xsl:call-template>
  6401.                                                 </xsl:if>
  6402.  
  6403.                                                 <xsl:if test="string-length($publicationTitleDot)>0">
  6404.                                                     <xsl:if test="string-length($lfAuthor)>0 or string-length($titleDot)>0">
  6405.                                                         <xsl:call-template name="templ_prop_Space"/>
  6406.                                                     </xsl:if>
  6407.  
  6408.                                                     <xsl:call-template name = "ApplyItalicTitleNS">
  6409.                                                      <xsl:with-param name = "data">
  6410.                                                     <xsl:value-of select="$publicationTitleDot"/>
  6411.                                                      </xsl:with-param>
  6412.                                                     </xsl:call-template>
  6413.                                                 </xsl:if>
  6414.  
  6415.                                                 <xsl:if test="string-length($editionDot)>0">
  6416.                                                     <xsl:if test="string-length($lfAuthor)>0 or string-length($titleDot)>0 or string-length($publicationTitleDot)>0">
  6417.                                                         <xsl:call-template name="templ_prop_Space"/>
  6418.                                                     </xsl:if>
  6419.  
  6420.                                                     <xsl:value-of select="$editionDot"/>
  6421.                                                 </xsl:if>
  6422.  
  6423.                                                 <xsl:if test="string-length($prefixVolumeDot)>0">
  6424.                                                     <xsl:if test="string-length($lfAuthor)>0 or string-length($titleDot)>0 or string-length($publicationTitleDot)>0 or string-length($editionDot)>0">
  6425.                                                         <xsl:call-template name="templ_prop_Space"/>
  6426.                                                     </xsl:if>
  6427.  
  6428.                                                     <xsl:value-of select="$prefixVolumeDot"/>
  6429.                                                 </xsl:if>
  6430.  
  6431.                                                 <xsl:if test="string-length($mediumDot)>0">
  6432.                                                     <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">
  6433.                                                         <xsl:call-template name="templ_prop_Space"/>
  6434.                                                     </xsl:if>
  6435.  
  6436.                                                     <xsl:value-of select="$mediumDot"/>
  6437.                                                 </xsl:if>
  6438.  
  6439.  
  6440.                                                 <xsl:if test="string-length($authorDot)>0 and string-length($theCPCapLongPrefixEditorDot)>0">
  6441.                                                     <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">
  6442.                                                         <xsl:call-template name="templ_prop_Space"/>
  6443.                                                     </xsl:if>
  6444.  
  6445.                                                     <xsl:value-of select="$theCPCapLongPrefixEditorDot"/>
  6446.                                                 </xsl:if>
  6447.  
  6448.                                                 <xsl:if test="string-length($theCapLongPrefixTranslatorDot)>0 and (string-length($authorDot)>0 or (string-length($authorDot)=0 and  string-length($sufixEditorLFDot)>0 ))">
  6449.                                                     <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">
  6450.                                                         <xsl:call-template name="templ_prop_Space"/>
  6451.                                                     </xsl:if>
  6452.  
  6453.                                                     <xsl:value-of select="$theCapLongPrefixTranslatorDot"/>
  6454.                                                 </xsl:if>
  6455.                                                 
  6456.                                                 <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)))">
  6457.                                                     <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">
  6458.                                                         <xsl:call-template name="templ_prop_Space"/>
  6459.                                                     </xsl:if>
  6460.  
  6461.                                                     <xsl:value-of select="$prefixCompilerDot"/>
  6462.                                                 </xsl:if>
  6463.                                                 
  6464.                                                 <xsl:if test="string-length($prefixProdDot)>0">
  6465.                                                     <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">
  6466.                                                         <xsl:call-template name="templ_prop_Space"/>
  6467.                                                     </xsl:if>
  6468.  
  6469.                                                     <xsl:value-of select="$prefixProdDot"/>
  6470.                                                 </xsl:if>
  6471.  
  6472.                                                 <xsl:if test="string-length($tempCPD)>0">
  6473.                                                     <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">
  6474.                                                         <xsl:call-template name="templ_prop_Space"/>
  6475.                                                     </xsl:if>
  6476.  
  6477.                                                     <xsl:value-of select="$tempCPD"/>
  6478.                                                 </xsl:if>
  6479.  
  6480.  
  6481.  
  6482.                                     </xsl:when>
  6483.  
  6484.  
  6485.                                     <xsl:when test="b:SourceType='ArticleInAPeriodical'">
  6486.  
  6487.  
  6488.                                                 <xsl:if test="string-length($theAuthorSufixDot)>0">
  6489.                                                     <xsl:value-of select="$theAuthorSufixDot"/>
  6490.                                                 </xsl:if>
  6491.  
  6492.                                                 <xsl:if test="string-length($periodicalTitle)>0 and string-length($theAuthorSufixDot) = 0">
  6493.                                                     <xsl:call-template name = "ApplyItalicTitleNS">
  6494.                                                      <xsl:with-param name = "data">
  6495.                                                         <xsl:value-of select="$periodicalTitleDot"/>
  6496.                                                      </xsl:with-param>
  6497.                                                     </xsl:call-template>
  6498.                                                 </xsl:if>
  6499.                                                 
  6500.                                                 <xsl:if test="string-length($titleDot)>0">
  6501.                                                     <xsl:if test="string-length($theAuthorSufixDot)>0 or string-length($periodicalTitle)>0">
  6502.                                                         <xsl:call-template name="templ_prop_Space"/>
  6503.                                                     </xsl:if>
  6504.  
  6505.                                                     <xsl:call-template name="templ_prop_OpenQuote"/>
  6506.                                                     
  6507.                                                     <xsl:value-of select="$titleDot"/>
  6508.                                                     
  6509.                                                     <xsl:call-template name="templ_prop_CloseQuote"/>
  6510.                                                 </xsl:if>
  6511.  
  6512.                                                 <xsl:if test="string-length($periodicalTitle)>0 and string-length($theAuthorSufixDot)>0">
  6513.                                                     <xsl:if test="string-length($theAuthorSufixDot)>0 or string-length($titleDot)>0">
  6514.                                                         <xsl:call-template name="templ_prop_Space"/>
  6515.                                                     </xsl:if>
  6516.  
  6517.                                                     <xsl:call-template name = "ApplyItalicTitleNS">
  6518.                                                      <xsl:with-param name = "data">
  6519.                                                     <xsl:if test="string-length($tempDEP)>0">
  6520.                                                         <xsl:value-of select="$periodicalTitle"/>
  6521.                                                     </xsl:if>
  6522.                                                     <xsl:if test="string-length($tempDEP)=0">
  6523.                                                         <xsl:value-of select="$periodicalTitleDot"/>
  6524.                                                     </xsl:if>
  6525.                                                      </xsl:with-param>
  6526.                                                     </xsl:call-template>
  6527.                                                 </xsl:if>
  6528.  
  6529.                                                 <xsl:if test="string-length($tempDEP)>0">
  6530.                                                     <xsl:choose>
  6531.                                                         <xsl:when test="string-length($theAuthorSufixDot)>0 and string-length($periodicalTitle)>0">
  6532.                                                             <xsl:call-template name="templ_prop_ListSeparator"/>
  6533.                                                         </xsl:when>
  6534.                                                         <xsl:when test="((string-length($theAuthorSufixDot)>0 or string-length($titleDot)>0) and string-length($periodicalTitle)=0) or (string-length($theAuthorSufixDot)=0 and string-length($titleDot)>0)">
  6535.                                                             <xsl:call-template name="templ_prop_Space"/>
  6536.                                                         </xsl:when>
  6537.                                                     </xsl:choose>
  6538.     
  6539.                                                     <xsl:value-of select="$tempDEP"/>
  6540.                                                 </xsl:if>
  6541.  
  6542.                                     </xsl:when>
  6543.  
  6544.  
  6545.                                     <xsl:when test="b:SourceType='Film'">
  6546.                                     
  6547.                                                 <xsl:if test="string-length($writerDot)>0">
  6548.                                                     <xsl:value-of select="$writerLFDot"/>
  6549.                                                 </xsl:if>
  6550.  
  6551.                                                 <xsl:if test="string-length($titleDot)>0">
  6552.                                                     <xsl:if test="string-length($writerDot)>0">
  6553.                                                         <xsl:call-template name="templ_prop_Space"/>
  6554.                                                     </xsl:if>
  6555.                                                     <xsl:call-template name = "ApplyItalicTitleNS">
  6556.                                                      <xsl:with-param name = "data">
  6557.                                                     <xsl:value-of select="$titleDot"/>
  6558.                                                      </xsl:with-param>
  6559.                                                     </xsl:call-template>
  6560.                                                 </xsl:if>
  6561.                                     
  6562.                                                 <xsl:if test="string-length($mediumDot)>0">
  6563.                                                     <xsl:if test="string-length($titleDot)>0 or string-length($writerDot)>0">
  6564.                                                         <xsl:call-template name="templ_prop_Space"/>
  6565.                                                     </xsl:if>
  6566.                                                     
  6567.                                                     <xsl:value-of select="$mediumDot"/>
  6568.                                                 </xsl:if>
  6569.  
  6570.                                                 <xsl:if test="string-length($theCapLongPrefixDirectedByDot)>0">
  6571.                                                     <xsl:if test="string-length($titleDot)>0 or string-length($writerDot)>0 or string-length($mediumDot)>0">
  6572.                                                         <xsl:call-template name="templ_prop_Space"/>
  6573.                                                     </xsl:if>
  6574.  
  6575.                                                     <xsl:value-of select="$theCapLongPrefixDirectedByDot"/>
  6576.                                                 </xsl:if>
  6577.  
  6578.                                                 <xsl:if test="string-length($theCapLongPrefixProducedByDot)>0">
  6579.                                                     <xsl:if test="string-length($titleDot)>0 or string-length($writerDot)>0 or string-length($theCapLongPrefixDirectedByDot)>0 or string-length($mediumDot)>0">
  6580.                                                         <xsl:call-template name="templ_prop_Space"/>
  6581.                                                     </xsl:if>
  6582.  
  6583.                                                     <xsl:value-of select="$theCapLongPrefixProducedByDot"/>
  6584.                                                 </xsl:if>
  6585.  
  6586.                                                 <xsl:if test="string-length($theCapLongPrefixPerformedByDot)>0">
  6587.                                                     <xsl:if test="string-length($titleDot)>0 or string-length($writerDot)>0 or string-length($theCapLongPrefixDirectedByDot)>0 or string-length($theCapLongPrefixProducedByDot)>0 or string-length($mediumDot)>0">
  6588.                                                         <xsl:call-template name="templ_prop_Space"/>
  6589.                                                     </xsl:if>
  6590.  
  6591.                                                     <xsl:value-of select="$theCapLongPrefixPerformedByDot"/>
  6592.                                                 </xsl:if>
  6593.  
  6594.                                                 <xsl:if test="string-length($tempDY)>0">
  6595.                                                     <xsl:if test="string-length($titleDot)>0 or string-length($writerDot)>0 or string-length($theCapLongPrefixDirectedByDot)>0 or string-length($theCapLongPrefixProducedByDot)>0 or string-length($theCapLongPrefixPerformedByDot)>0 or string-length($mediumDot)>0">
  6596.                                                         <xsl:call-template name="templ_prop_Space"/>
  6597.                                                     </xsl:if>
  6598.  
  6599.                                                     <xsl:value-of select="$tempDY"/>
  6600.                                                 </xsl:if>
  6601.                                     
  6602.                                     </xsl:when>
  6603.  
  6604.  
  6605.                                     <xsl:when test="b:SourceType='Interview'">
  6606.  
  6607.                                         <xsl:choose>
  6608.                                         
  6609.                                             <xsl:when test="string-length($broadcaster)>0">
  6610.  
  6611.                                                 <xsl:if test="string-length($intervieweeLFDot)>0">
  6612.                                                     <xsl:if test="string-length($interviewerDot)=0">
  6613.                                                         <xsl:value-of select="$intervieweeLFDot"/>
  6614.                                                     </xsl:if>
  6615.                                                     <xsl:if test="string-length($interviewerDot)>0">
  6616.                                                         <xsl:value-of select="$intervieweeLF"/>
  6617.                                                     </xsl:if>
  6618.                                                 </xsl:if>
  6619.  
  6620.                                                 <xsl:if test="string-length($interviewerDot)>0">
  6621.                                                     <xsl:if test="string-length($intervieweeLFDot)>0">
  6622.                                                         <xsl:call-template name="templ_prop_ListSeparator"/>
  6623.                                                     </xsl:if>
  6624.  
  6625.                                                     <xsl:call-template name="StringFormatDot">
  6626.                                                           <xsl:with-param name="format">
  6627.                                                             <xsl:if test="string-length($intervieweeLFDot)>0">
  6628.                                                                 <xsl:call-template name="templ_str_InterviewByUnCap"/>
  6629.                                                             </xsl:if>
  6630.                                                             <xsl:if test="string-length($intervieweeLFDot)=0">
  6631.                                                                 <xsl:call-template name="templ_str_InterviewByCap"/>
  6632.                                                             </xsl:if>
  6633.                                                           </xsl:with-param>
  6634.                                                           <xsl:with-param name="parameters">
  6635.                                                               <t:params>
  6636.                                                                   <t:param>
  6637.                                                                     <xsl:value-of select="$interviewer"/>
  6638.                                                                 </t:param>
  6639.                                                               </t:params>
  6640.                                                           </xsl:with-param>
  6641.                                                     </xsl:call-template>
  6642.                                                 </xsl:if>
  6643.                                                 
  6644.                                                 <xsl:if test="string-length($interviewTitle)>0">
  6645.                                                     <xsl:if test="string-length($interviewerDot)>0 or string-length($intervieweeLFDot)>0">
  6646.                                                         <xsl:call-template name="templ_prop_Space"/>
  6647.                                                     </xsl:if>
  6648.  
  6649.                                                     <xsl:if test="string-length($broadcastTitleDot)>0">
  6650.                                                         <xsl:if test="string-length($intervieweeLFDot)>0">
  6651.                                                             <xsl:call-template name="templ_prop_Space"/>
  6652.                                                         </xsl:if>
  6653.  
  6654.                                                         <xsl:call-template name="templ_prop_OpenQuote"/>
  6655.                                                         <xsl:value-of select="$interviewTitleDot"/>
  6656.                                                         <xsl:call-template name="templ_prop_CloseQuote"/>
  6657.                                                     </xsl:if>
  6658.  
  6659.  
  6660.                                                     <xsl:if test="string-length($broadcastTitleDot)=0">
  6661.                                                         <xsl:if test="string-length($intervieweeLFDot)>0 or string-length($broadcastTitleDot)>0">
  6662.                                                             <xsl:call-template name="templ_prop_Space"/>
  6663.                                                         </xsl:if>
  6664.  
  6665.                                                         <xsl:call-template name = "ApplyItalicTitleNS">
  6666.                                                          <xsl:with-param name = "data">
  6667.                                                         <xsl:value-of select="$interviewTitle"/>
  6668.                                                          </xsl:with-param>
  6669.                                                         </xsl:call-template>
  6670.                                                     </xsl:if>
  6671.                                                 </xsl:if>
  6672.  
  6673.                                                 <xsl:if test="string-length($broadcastTitleDot)>0">
  6674.                                                     <xsl:if test="string-length($interviewerDot)>0 or string-length($intervieweeLFDot)>0 or string-length($interviewTitle)>0">
  6675.                                                         <xsl:call-template name="templ_prop_Space"/>
  6676.                                                     </xsl:if>
  6677.  
  6678.                                                     <xsl:call-template name = "ApplyItalicTitleNS">
  6679.                                                      <xsl:with-param name = "data">
  6680.                                                     <xsl:value-of select="$broadcastTitleDot"/>
  6681.                                                      </xsl:with-param>
  6682.                                                     </xsl:call-template>
  6683.                                                 </xsl:if>
  6684.  
  6685.                                                 <xsl:if test="string-length($broadcasterDot)>0">
  6686.                                                     <xsl:if test="string-length($interviewerDot)>0 or string-length($intervieweeLFDot)>0 or string-length($interviewTitle)>0 or string-length($broadcastTitleDot)>0">
  6687.                                                         <xsl:call-template name="templ_prop_Space"/>
  6688.                                                     </xsl:if>
  6689.                                                     <xsl:value-of select="$broadcasterDot"/>
  6690.                                                 </xsl:if>
  6691.  
  6692.                                                 <xsl:if test="string-length($tempSC)>0">
  6693.                                                     <xsl:if test="string-length($interviewerDot)>0 or string-length($intervieweeLFDot)>0 or string-length($interviewTitle)>0 or string-length($broadcastTitleDot)>0 or string-length($broadcasterDot)>0">
  6694.                                                         <xsl:call-template name="templ_prop_Space"/>
  6695.                                                     </xsl:if>
  6696.                                                     <xsl:value-of select="$tempSC"/>
  6697.                                                 </xsl:if>
  6698.  
  6699.                                                 <xsl:if test="string-length($dateDot)>0">
  6700.                                                     <xsl:if test="string-length($interviewerDot)>0 or string-length($intervieweeLFDot)>0 or string-length($interviewTitle)>0 or string-length($broadcastTitleDot)>0 or string-length($broadcasterDot)>0 or string-length($tempSC)>0">
  6701.                                                         <xsl:call-template name="templ_prop_Space"/>
  6702.                                                     </xsl:if>
  6703.                                                     <xsl:value-of select="$dateDot"/>
  6704.                                                 </xsl:if>
  6705.                                             
  6706.                                             </xsl:when>
  6707.                                             
  6708.                                             
  6709.                                             <xsl:otherwise>
  6710.                                             
  6711.                                                 <xsl:if test="string-length($intervieweeLFDot)>0">
  6712.                                                     <xsl:if test="string-length($interviewerDot)=0">
  6713.                                                         <xsl:value-of select="$intervieweeLFDot"/>
  6714.                                                     </xsl:if>
  6715.                                                     <xsl:if test="string-length($interviewerDot)>0">
  6716.                                                         <xsl:value-of select="$intervieweeLF"/>
  6717.                                                     </xsl:if>
  6718.                                                 </xsl:if>
  6719.  
  6720.                                                 <xsl:if test="string-length($interviewerDot)>0">
  6721.                                                     <xsl:if test="string-length($intervieweeLFDot)>0">
  6722.                                                         <xsl:call-template name="templ_prop_ListSeparator"/>
  6723.                                                     </xsl:if>
  6724.                                                     
  6725.                                                     <xsl:call-template name="StringFormatDot">
  6726.                                                           <xsl:with-param name="format">
  6727.                                                             <xsl:if test="string-length($intervieweeLFDot)>0">
  6728.                                                                 <xsl:call-template name="templ_str_InterviewByUnCap"/>
  6729.                                                             </xsl:if>
  6730.                                                             <xsl:if test="string-length($intervieweeLFDot)=0">
  6731.                                                                 <xsl:call-template name="templ_str_InterviewByCap"/>
  6732.                                                             </xsl:if>
  6733.                                                           </xsl:with-param>
  6734.                                                           <xsl:with-param name="parameters">
  6735.                                                               <t:params>
  6736.                                                                   <t:param>
  6737.                                                                     <xsl:value-of select="$interviewer"/>
  6738.                                                                 </t:param>
  6739.                                                               </t:params>
  6740.                                                           </xsl:with-param>
  6741.                                                     </xsl:call-template>
  6742.                                                 </xsl:if>
  6743.  
  6744.                                                 <xsl:if test="string-length($interviewTitle)>0">
  6745.  
  6746.                                                     <xsl:if test="string-length($interviewerDot)>0 or string-length($intervieweeLFDot)>0">
  6747.                                                         <xsl:call-template name="templ_prop_Space"/>
  6748.                                                     </xsl:if>
  6749.  
  6750.                                                     <xsl:if test="string-length($broadcastTitleDot)>0">
  6751.                                                         <xsl:if test="string-length($intervieweeLFDot)>0">
  6752.                                                             <xsl:call-template name="templ_prop_Space"/>
  6753.                                                         </xsl:if>
  6754.  
  6755.                                                         <xsl:call-template name="templ_prop_OpenQuote"/>
  6756.                                                         <xsl:value-of select="$interviewTitleDot"/>
  6757.                                                         <xsl:call-template name="templ_prop_CloseQuote"/>
  6758.                                                     </xsl:if>
  6759.  
  6760.  
  6761.                                                     <xsl:if test="string-length($broadcastTitleDot)=0">
  6762.                                                         <xsl:if test="string-length($intervieweeLFDot)>0 or string-length($broadcastTitleDot)>0">
  6763.                                                             <xsl:call-template name="templ_prop_Space"/>
  6764.                                                         </xsl:if>
  6765.  
  6766.                                                         <xsl:call-template name = "ApplyItalicTitleNS">
  6767.                                                          <xsl:with-param name = "data">
  6768.                                                         <xsl:value-of select="$interviewTitle"/>
  6769.                                                           </xsl:with-param>
  6770.                                                          </xsl:call-template>
  6771.                                                     </xsl:if>
  6772.                                                 </xsl:if>
  6773.  
  6774.                                                 <xsl:if test="string-length($broadcastTitleDot)>0">
  6775.                                                     <xsl:if test="string-length($interviewerDot)>0 or string-length($intervieweeLFDot)>0 or string-length($interviewTitle)>0">
  6776.                                                         <xsl:call-template name="templ_prop_Space"/>
  6777.                                                     </xsl:if>
  6778.                                                     
  6779.                                                     <xsl:call-template name = "ApplyItalicTitleNS">
  6780.                                                      <xsl:with-param name = "data">
  6781.                                                     <xsl:if test="string-length($editor)>0 or string-length($translator)>0">
  6782.                                                         <xsl:value-of select="$broadcastTitle"/>
  6783.                                                     </xsl:if>
  6784.                                                     <xsl:if test="string-length($editor)=0 and string-length($translator)=0">
  6785.                                                         <xsl:value-of select="$broadcastTitleDot"/>
  6786.                                                     </xsl:if>
  6787.                                                      </xsl:with-param>
  6788.                                                     </xsl:call-template>
  6789.                                                 </xsl:if>
  6790.  
  6791.  
  6792.                                                 <xsl:if test="string-length($theCapLongPrefixEditedByDot)>0">
  6793.                                                     <xsl:if test="string-length($broadcastTitleDot)>0">
  6794.                                                         <xsl:call-template name="templ_prop_ListSeparator"/>
  6795.                                                         <xsl:if test="string-length($theCapLongPrefixTranslatedByDot)>0">
  6796.                                                             <xsl:value-of select="$theUnCapLongPrefixEditedBy"/>
  6797.                                                         </xsl:if>
  6798.                                                         <xsl:if test="string-length($theCapLongPrefixTranslatedByDot)=0">
  6799.                                                             <xsl:value-of select="$theUnCapLongPrefixEditedByDot"/>
  6800.                                                         </xsl:if>
  6801.                                                     </xsl:if>
  6802.                                                     <xsl:if test="string-length($broadcastTitleDot)=0">
  6803.                                                         <xsl:if test="string-length($theCapLongPrefixTranslatedByDot)>0">
  6804.                                                             <xsl:value-of select="$theCapLongPrefixEditedBy"/>
  6805.                                                         </xsl:if>
  6806.                                                         <xsl:if test="string-length($theCapLongPrefixTranslatedByDot)=0">
  6807.                                                             <xsl:value-of select="$theCapLongPrefixEditedByDot"/>
  6808.                                                         </xsl:if>
  6809.                                                     </xsl:if>
  6810.                                                 </xsl:if>
  6811.  
  6812.                                                 <xsl:if test="string-length($theCapLongPrefixTranslatedByDot)>0">
  6813.                                                     <xsl:if test="string-length($broadcastTitleDot)>0 or string-length($theCapLongPrefixEditedByDot)>0">
  6814.                                                         <xsl:call-template name="templ_prop_ListSeparator"/>
  6815.                                                         <xsl:value-of select="$theUnCapLongPrefixTranslatedByDot"/>
  6816.                                                     </xsl:if>
  6817.                                                     <xsl:if test="string-length($broadcastTitleDot)=0 and string-length($theCapLongPrefixEditedByDot)=0">
  6818.                                                         <xsl:value-of select="$theCapLongPrefixTranslatedByDot"/>
  6819.                                                     </xsl:if>
  6820.                                                 </xsl:if>
  6821.  
  6822.                                                 <xsl:if test="string-length($tempCPDMY)>0">
  6823.                                                     <xsl:if test="string-length($interviewerDot)>0 or string-length($intervieweeLFDot)>0 or string-length($interviewTitle)>0 or string-length($broadcastTitleDot)>0 or string-length($theCapLongPrefixTranslatedByDot)>0 or string-length($theCapLongPrefixEditedByDot)>0">
  6824.                                                         <xsl:call-template name="templ_prop_Space"/>
  6825.                                                     </xsl:if>
  6826.  
  6827.                                                     <xsl:value-of select="$tempCPDMY"/>
  6828.                                                 </xsl:if>
  6829.                                             </xsl:otherwise>
  6830.                                         </xsl:choose>
  6831.                                         
  6832.  
  6833.                                     </xsl:when>
  6834.  
  6835.  
  6836.                                     
  6837.  
  6838.  
  6839.  
  6840.                                     
  6841.                                 </xsl:choose>
  6842.                             </xsl:element>
  6843.                         </xsl:for-each>
  6844.                     </body>
  6845.                 </html>
  6846.             </xsl:when>
  6847.         </xsl:choose>
  6848.     </xsl:template>
  6849.     
  6850.     
  6851.     <xsl:template name="sortedList">
  6852.         <xsl:param name="sourceRoot"/>    
  6853.         <xsl:apply-templates select="msxsl:node-set($sourceRoot)/*">    
  6854.             <xsl:sort select="b:SortingString" />                
  6855.         </xsl:apply-templates>    
  6856.     </xsl:template>
  6857.  
  6858.     
  6859.     <xsl:template match="*">
  6860.     
  6861.         <xsl:element name="{name()}" namespace="{namespace-uri()}">
  6862.             <xsl:for-each select="@*">
  6863.                 <xsl:attribute name="{name()}" namespace="{namespace-uri()}">
  6864.                     <xsl:value-of select="."/>
  6865.                 </xsl:attribute>
  6866.             </xsl:for-each>
  6867.             <xsl:apply-templates>
  6868.                 <xsl:sort select="b:SortingString" />                
  6869.             </xsl:apply-templates>
  6870.         </xsl:element>
  6871.     </xsl:template>
  6872.     
  6873.     <xsl:template match="text()">
  6874.         <xsl:value-of select="."/>
  6875.     </xsl:template>
  6876.     
  6877.     <xsl:template name="formatMainAuthor">
  6878.         <xsl:call-template name="formatNameCore">
  6879.             <xsl:with-param name="FML"><xsl:call-template name="templ_prop_Chicago_MainAuthor_FML"/></xsl:with-param>
  6880.             <xsl:with-param name="FM"><xsl:call-template name="templ_prop_Chicago_MainAuthor_FM"/></xsl:with-param>
  6881.             <xsl:with-param name="ML"><xsl:call-template name="templ_prop_Chicago_MainAuthor_ML"/></xsl:with-param>
  6882.             <xsl:with-param name="FL"><xsl:call-template name="templ_prop_Chicago_MainAuthor_FL"/></xsl:with-param>
  6883.         </xsl:call-template>
  6884.     </xsl:template>
  6885.  
  6886.     
  6887.     <xsl:template name="formatSecondaryName">
  6888.         <xsl:call-template name="formatNameCore">
  6889.             <xsl:with-param name="FML"><xsl:call-template name="templ_prop_Chicago_SecondaryAuthors_FML"/></xsl:with-param>
  6890.             <xsl:with-param name="FM"><xsl:call-template name="templ_prop_Chicago_SecondaryAuthors_FM"/></xsl:with-param>
  6891.             <xsl:with-param name="ML"><xsl:call-template name="templ_prop_Chicago_SecondaryAuthors_ML"/></xsl:with-param>
  6892.             <xsl:with-param name="FL"><xsl:call-template name="templ_prop_Chicago_SecondaryAuthors_FL"/></xsl:with-param>
  6893.         </xsl:call-template>
  6894.     </xsl:template>
  6895.  
  6896.  
  6897.     <xsl:template name="formatOtherAuthors">
  6898.         <xsl:call-template name="formatNameCore">
  6899.             <xsl:with-param name="FML"><xsl:call-template name="templ_prop_Chicago_OtherAuthors_FML"/></xsl:with-param>
  6900.             <xsl:with-param name="FM"><xsl:call-template name="templ_prop_Chicago_OtherAuthors_FM"/></xsl:with-param>
  6901.             <xsl:with-param name="ML"><xsl:call-template name="templ_prop_Chicago_OtherAuthors_ML"/></xsl:with-param>
  6902.             <xsl:with-param name="FL"><xsl:call-template name="templ_prop_Chicago_OtherAuthors_FL"/></xsl:with-param>
  6903.         </xsl:call-template>
  6904.     </xsl:template>
  6905.  
  6906.  
  6907.     <xsl:template name="formatPersonSeperator">
  6908.  
  6909.         <xsl:choose>
  6910.             <xsl:when test="count(../b:Person) > 6 and position() = 1">
  6911.         <xsl:variable name="noCommaBeforeAnd">
  6912.           <xsl:call-template name="templ_prop_NoCommaBeforeAnd" />
  6913.         </xsl:variable>
  6914.         <xsl:choose>
  6915.           <xsl:when test="$noCommaBeforeAnd != 'yes'">
  6916.             <xsl:call-template name="templ_prop_ListSeparator"/>
  6917.           </xsl:when>
  6918.           <xsl:otherwise>
  6919.             <xsl:call-template name="templ_prop_Space"/>
  6920.           </xsl:otherwise>
  6921.         </xsl:choose>
  6922.         <xsl:call-template name="templ_str_AndOthersUnCap"/>
  6923.             </xsl:when>
  6924.             <xsl:when test="count(../b:Person) > 6 and position() >= 2">
  6925.             </xsl:when>
  6926.             <xsl:when test="6 >= count(../b:Person) and position() = count(../b:Person) - 1">
  6927.         <xsl:variable name="noCommaBeforeAnd">
  6928.           <xsl:call-template name="templ_prop_NoCommaBeforeAnd" />
  6929.         </xsl:variable>
  6930.         <xsl:choose>
  6931.           <xsl:when test="$noCommaBeforeAnd != 'yes'">
  6932.             <xsl:call-template name="templ_prop_ListSeparator"/>
  6933.           </xsl:when>
  6934.           <xsl:otherwise>
  6935.             <xsl:call-template name="templ_prop_Space"/>
  6936.           </xsl:otherwise>
  6937.         </xsl:choose>
  6938.  
  6939.         <xsl:variable name="noAndBeforeLastAuthor">
  6940.                     <xsl:call-template name="templ_prop_NoAndBeforeLastAuthor"/>
  6941.                 </xsl:variable>
  6942.                 <xsl:if test="$noAndBeforeLastAuthor != 'yes'">
  6943.                     <xsl:call-template name="templ_str_AndUnCap"/>
  6944.                     <xsl:call-template name="templ_prop_Space"/>
  6945.                 </xsl:if>
  6946.             </xsl:when>
  6947.             <xsl:when test="position() = count(../b:Person)">
  6948.                 <xsl:text></xsl:text>
  6949.             </xsl:when>
  6950.             <xsl:when test="6 > position()">
  6951.                 <xsl:call-template name="templ_prop_ListSeparator"/>
  6952.             </xsl:when>
  6953.         </xsl:choose>
  6954.     </xsl:template>
  6955.     
  6956.     <xsl:template name="formatPersonSeperator2">
  6957.  
  6958.         <xsl:choose>
  6959.             <xsl:when test="count(../b:Person) > 6 and position() = 1">
  6960.         <xsl:variable name="noCommaBeforeAnd">
  6961.           <xsl:call-template name="templ_prop_NoCommaBeforeAnd" />
  6962.         </xsl:variable>
  6963.         <xsl:choose>
  6964.           <xsl:when test="$noCommaBeforeAnd != 'yes'">
  6965.             <xsl:call-template name="templ_prop_ListSeparator"/>
  6966.           </xsl:when>
  6967.           <xsl:otherwise>
  6968.             <xsl:call-template name="templ_prop_Space"/>
  6969.           </xsl:otherwise>
  6970.         </xsl:choose>
  6971.         <xsl:call-template name="templ_str_AndOthersUnCap"/>
  6972.             </xsl:when>
  6973.             <xsl:when test="count(../b:Person) > 6 and position() >= 2">
  6974.             </xsl:when>
  6975.             <xsl:when test="6 >= count(../b:Person) and position() = count(../b:Person) - 1">
  6976.                 <xsl:variable name="noAndBeforeLastAuthor">
  6977.                     <xsl:call-template name="templ_prop_NoAndBeforeLastAuthor"/>
  6978.                 </xsl:variable>
  6979.  
  6980.                 <xsl:if test="$noAndBeforeLastAuthor != 'yes'">
  6981.                     <xsl:call-template name="templ_prop_Space"/>
  6982.                     <xsl:call-template name="templ_str_AndUnCap"/>
  6983.                     <xsl:call-template name="templ_prop_Space"/>
  6984.                 </xsl:if>
  6985.                 <xsl:if test="$noAndBeforeLastAuthor = 'yes'">
  6986.                     <xsl:call-template name="templ_prop_AuthorsSeparator"/>
  6987.                 </xsl:if>
  6988.             </xsl:when>
  6989.             <xsl:when test="position() = count(../b:Person)">
  6990.                 <xsl:text></xsl:text>
  6991.             </xsl:when>
  6992.             <xsl:when test="6 > position()">
  6993.                 <xsl:call-template name="templ_prop_ListSeparator"/>
  6994.             </xsl:when>
  6995.         </xsl:choose>
  6996.     </xsl:template>
  6997.  
  6998.     <xsl:template name="formatPersonsAuthor">
  6999.         <xsl:if test="string-length(b:Corporate)=0">
  7000.             <xsl:for-each select="b:NameList/b:Person">
  7001.                 <xsl:if test="position() = 1">
  7002.                     <xsl:call-template name="formatMainAuthor"/>
  7003.                 </xsl:if>
  7004.                 <xsl:if test="6 >= count(../b:Person) and 6 >= position() and position() != 1">
  7005.                     <xsl:call-template name="formatOtherAuthors"/>
  7006.                 </xsl:if>
  7007.                 <xsl:call-template name="formatPersonSeperator"/>
  7008.             </xsl:for-each>
  7009.         </xsl:if>
  7010.  
  7011.         <xsl:if test="string-length(b:Corporate)>0">
  7012.             <xsl:value-of select="b:Corporate"/>
  7013.         </xsl:if>
  7014.     </xsl:template>
  7015.     
  7016.     <xsl:template name="formatPersons">
  7017.         <xsl:if test="string-length(b:Corporate)=0">
  7018.             <xsl:for-each select="b:NameList/b:Person">
  7019.                 <xsl:if test="(count(../b:Person) > 6 and 1 = position()) or (6 >= count(../b:Person))">
  7020.                     <xsl:call-template name="formatSecondaryName"/>
  7021.                 </xsl:if>
  7022.                 <xsl:call-template name="formatPersonSeperator2"/>
  7023.             </xsl:for-each>
  7024.         </xsl:if>
  7025.  
  7026.         <xsl:if test="string-length(b:Corporate)>0">
  7027.             <xsl:value-of select="b:Corporate"/>
  7028.         </xsl:if>
  7029.     </xsl:template>
  7030.     
  7031.     <xsl:template name="formatAuthor">
  7032.         <xsl:for-each select="b:Author/b:Author">
  7033.             <xsl:call-template name="formatPersonsAuthor"/>
  7034.         </xsl:for-each>
  7035.     </xsl:template>
  7036.  
  7037.     <xsl:template name="formatMain">
  7038.         <xsl:for-each select="b:Author/b:Main">
  7039.             <xsl:call-template name="formatPersonsAuthor"/>
  7040.         </xsl:for-each>
  7041.     </xsl:template>
  7042.  
  7043.  
  7044.     <xsl:template name="formatBookAuthor">
  7045.         <xsl:for-each select="b:Author/b:BookAuthor">
  7046.             <xsl:call-template name="formatPersons"/>
  7047.         </xsl:for-each>
  7048.     </xsl:template>
  7049.     
  7050.     <xsl:template name="formatEditorLF">
  7051.         <xsl:for-each select="b:Author/b:Editor">
  7052.             <xsl:call-template name="formatPersonsAuthor"/>
  7053.         </xsl:for-each>
  7054.     </xsl:template>
  7055.  
  7056.     <xsl:template name="formatTranslatorLF">
  7057.         <xsl:for-each select="b:Author/b:Translator">
  7058.             <xsl:call-template name="formatPersonsAuthor"/>
  7059.         </xsl:for-each>
  7060.     </xsl:template>
  7061.  
  7062.  
  7063.     <xsl:template name="formatPerformerLF">
  7064.         <xsl:for-each select="b:Author/b:Performer">
  7065.             <xsl:call-template name="formatPersonsAuthor"/>
  7066.         </xsl:for-each>
  7067.     </xsl:template>
  7068.  
  7069.     <xsl:template name="formatConductorLF">
  7070.         <xsl:for-each select="b:Author/b:Conductor">
  7071.             <xsl:call-template name="formatPersonsAuthor"/>
  7072.         </xsl:for-each>
  7073.     </xsl:template>
  7074.  
  7075.     <xsl:template name="formatComposerLF">
  7076.         <xsl:for-each select="b:Author/b:Composer">
  7077.             <xsl:call-template name="formatPersonsAuthor"/>
  7078.         </xsl:for-each>
  7079.     </xsl:template>
  7080.  
  7081.     <xsl:template name="formatArtistLF">
  7082.         <xsl:for-each select="b:Author/b:Artist">
  7083.             <xsl:call-template name="formatPersonsAuthor"/>
  7084.         </xsl:for-each>
  7085.     </xsl:template>
  7086.  
  7087.  
  7088.     <xsl:template name="formatInventorLF">
  7089.         <xsl:for-each select="b:Author/b:Inventor">
  7090.             <xsl:call-template name="formatPersonsAuthor"/>
  7091.         </xsl:for-each>
  7092.     </xsl:template>
  7093.  
  7094.  
  7095.     <xsl:template name="formatIntervieweeLF">
  7096.         <xsl:for-each select="b:Author/b:Interviewee">
  7097.             <xsl:call-template name="formatPersonsAuthor"/>
  7098.         </xsl:for-each>
  7099.     </xsl:template>
  7100.  
  7101.  
  7102.     <xsl:template name="formatInterviewerLF">
  7103.         <xsl:for-each select="b:Author/b:Interviewer">
  7104.             <xsl:call-template name="formatPersonsAuthor"/>
  7105.         </xsl:for-each>
  7106.     </xsl:template>
  7107.  
  7108.  
  7109.     <xsl:template name="formatCompilerLF">
  7110.         <xsl:for-each select="b:Author/b:Compiler">
  7111.             <xsl:call-template name="formatPersonsAuthor"/>
  7112.         </xsl:for-each>
  7113.     </xsl:template>
  7114.  
  7115.  
  7116.     <xsl:template name="formatWriterLF">
  7117.         <xsl:for-each select="b:Author/b:Writer">
  7118.             <xsl:call-template name="formatPersonsAuthor"/>
  7119.         </xsl:for-each>
  7120.     </xsl:template>
  7121.  
  7122.  
  7123.  
  7124.  
  7125.  
  7126.  
  7127.  
  7128.  
  7129.  
  7130.  
  7131.     <xsl:template name="formatEditor">
  7132.         <xsl:for-each select="b:Author/b:Editor">
  7133.             <xsl:call-template name="formatPersons"/>
  7134.         </xsl:for-each>
  7135.     </xsl:template>
  7136.     
  7137.     <xsl:template name="formatTranslator">
  7138.         <xsl:for-each select="b:Author/b:Translator">
  7139.             <xsl:call-template name="formatPersons"/>
  7140.         </xsl:for-each>
  7141.     </xsl:template>
  7142.     
  7143.  
  7144.     <xsl:template name="formatPerformer">
  7145.         <xsl:for-each select="b:Author/b:Performer">
  7146.             <xsl:call-template name="formatPersons"/>
  7147.         </xsl:for-each>
  7148.     </xsl:template>
  7149.     
  7150.     
  7151.  
  7152.     <xsl:template name="formatConductor">
  7153.         <xsl:for-each select="b:Author/b:Conductor">
  7154.             <xsl:call-template name="formatPersons"/>
  7155.         </xsl:for-each>
  7156.     </xsl:template>
  7157.     
  7158.  
  7159.     <xsl:template name="formatComposer">
  7160.         <xsl:for-each select="b:Author/b:Composer">
  7161.             <xsl:call-template name="formatPersons"/>
  7162.         </xsl:for-each>
  7163.     </xsl:template>        
  7164.     
  7165.     <xsl:template name="formatInterviewer">
  7166.         <xsl:for-each select="b:Author/b:Interviewer">
  7167.             <xsl:call-template name="formatPersons"/>
  7168.         </xsl:for-each>
  7169.     </xsl:template>        
  7170.     
  7171.  
  7172.     <xsl:template name="formatWriter">
  7173.         <xsl:for-each select="b:Author/b:Writer">
  7174.             <xsl:call-template name="formatPersons"/>
  7175.         </xsl:for-each>
  7176.     </xsl:template>
  7177.     
  7178.  
  7179.     <xsl:template name="formatDirector">
  7180.         <xsl:for-each select="b:Author/b:Director">
  7181.             <xsl:call-template name="formatPersons"/>
  7182.         </xsl:for-each>
  7183.     </xsl:template>        
  7184.     
  7185.     <xsl:template name="formatProducerName">
  7186.         <xsl:for-each select="b:Author/b:ProducerName">
  7187.             <xsl:call-template name="formatPersons"/>
  7188.         </xsl:for-each>
  7189.     </xsl:template>        
  7190.  
  7191.     <xsl:template name="formatCompiler">
  7192.         <xsl:for-each select="b:Author/b:Compiler">
  7193.             <xsl:call-template name="formatPersons"/>
  7194.         </xsl:for-each>
  7195.     </xsl:template>
  7196.  
  7197.     <xsl:template name="formatDate">
  7198.         <xsl:param name="appendSpace"/>
  7199.         <xsl:call-template name="formatDateCore">
  7200.             <xsl:with-param name="day">
  7201.                 <xsl:call-template name="handleSpaces">
  7202.                     <xsl:with-param name="field" select="b:Day"/>
  7203.                 </xsl:call-template>
  7204.             </xsl:with-param>
  7205.  
  7206.             <xsl:with-param name="month">
  7207.                 <xsl:call-template name="handleSpaces">
  7208.                     <xsl:with-param name="field" select="b:Month"/>
  7209.                 </xsl:call-template>
  7210.             </xsl:with-param>
  7211.  
  7212.             <xsl:with-param name="year">
  7213.                 <xsl:call-template name="handleSpaces">
  7214.                     <xsl:with-param name="field" select="b:Year"/>
  7215.                 </xsl:call-template>
  7216.             </xsl:with-param>
  7217.  
  7218.             <xsl:with-param name="DMY"><xsl:call-template name="templ_prop_Chicago_Date_DMY"/></xsl:with-param>
  7219.             <xsl:with-param name="DM"><xsl:call-template name="templ_prop_Chicago_Date_DM"/></xsl:with-param>
  7220.             <xsl:with-param name="MY"><xsl:call-template name="templ_prop_Chicago_Date_MY"/></xsl:with-param>
  7221.             <xsl:with-param name="DY"><xsl:call-template name="templ_prop_Chicago_Date_DY"/></xsl:with-param>
  7222.  
  7223.             <xsl:with-param name="displayND">yes</xsl:with-param>
  7224.         </xsl:call-template>
  7225.     </xsl:template>
  7226.  
  7227.     <xsl:template name="formatDateAccessed">
  7228.         <xsl:call-template name="formatDateCore">
  7229.             <xsl:with-param name="day">
  7230.                 <xsl:call-template name="handleSpaces">
  7231.                     <xsl:with-param name="field" select="b:DayAccessed"/>
  7232.                 </xsl:call-template>
  7233.             </xsl:with-param>
  7234.             <xsl:with-param name="month">
  7235.                 <xsl:call-template name="handleSpaces">
  7236.                     <xsl:with-param name="field" select="b:MonthAccessed"/>
  7237.                 </xsl:call-template>
  7238.             </xsl:with-param>
  7239.             <xsl:with-param name="year">
  7240.                 <xsl:call-template name="handleSpaces">
  7241.                     <xsl:with-param name="field" select="b:YearAccessed"/>
  7242.                 </xsl:call-template>
  7243.             </xsl:with-param>
  7244.             
  7245.             <xsl:with-param name="DMY"><xsl:call-template name="templ_prop_APA_DateAccessed_DMY"/></xsl:with-param>
  7246.             <xsl:with-param name="DM"><xsl:call-template name="templ_prop_APA_DateAccessed_DM"/></xsl:with-param>
  7247.             <xsl:with-param name="MY"><xsl:call-template name="templ_prop_APA_DateAccessed_MY"/></xsl:with-param>
  7248.             <xsl:with-param name="DY"><xsl:call-template name="templ_prop_APA_DateAccessed_DY"/></xsl:with-param>
  7249.  
  7250.             <xsl:with-param name="displayND">no</xsl:with-param>
  7251.         </xsl:call-template>
  7252.     </xsl:template>
  7253.     
  7254.     
  7255.         
  7256.         
  7257.         
  7258.         
  7259.     <xsl:template name="MainContributors">
  7260.         <xsl:param name="SourceRoot"/>
  7261.         <xsl:choose>
  7262.             <xsl:when test="./b:SourceType='Book'">
  7263.                 <xsl:choose>
  7264.                     <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  7265.                     <xsl:when test="string-length(./b:Author/b:Editor)>0">Editor</xsl:when>
  7266.                     <xsl:when test="string-length(./b:Author/b:Translator)>0">Translator</xsl:when>
  7267.                 </xsl:choose>
  7268.             </xsl:when>
  7269.             
  7270.             <xsl:when test="./b:SourceType='BookSection'">
  7271.                 <xsl:choose>
  7272.                     <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  7273.                     <xsl:when test="string-length(./b:Author/b:BookAuthor)>0">BookAuthor</xsl:when>
  7274.                 </xsl:choose>
  7275.             </xsl:when>
  7276.             
  7277.             <xsl:when test="./b:SourceType='JournalArticle'">
  7278.                 <xsl:choose>
  7279.                     <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  7280.                     <xsl:when test="string-length(./b:Author/b:Editor)>0">Editor</xsl:when>
  7281.                 </xsl:choose>
  7282.             </xsl:when>
  7283.             
  7284.             <xsl:when test="./b:SourceType='ArticleInAPeriodical'">
  7285.                 <xsl:choose>
  7286.                     <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  7287.                     <xsl:when test="string-length(./b:Author/b:Editor)>0">Editor</xsl:when>
  7288.                 </xsl:choose>
  7289.             </xsl:when>
  7290.             
  7291.             <xsl:when test="./b:SourceType='ConferenceProceedings'">
  7292.                 <xsl:choose>
  7293.                     <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  7294.                 </xsl:choose>
  7295.             </xsl:when>
  7296.             
  7297.             <xsl:when test="./b:SourceType='Report'">
  7298.                 <xsl:choose>
  7299.                     <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  7300.                 </xsl:choose>
  7301.             </xsl:when>
  7302.             
  7303.             <xsl:when test="./b:SourceType='SoundRecording'">
  7304.                 <xsl:choose>
  7305.                     <xsl:when test="string-length(./b:Author/b:Performer)>0">Performer</xsl:when>
  7306.                     <xsl:when test="string-length(./b:Author/b:Conductor)>0">Conductor</xsl:when>
  7307.                     <xsl:when test="string-length(./b:Author/b:Composer)>0">Composer</xsl:when>
  7308.                     <xsl:when test="string-length(./b:Author/b:Artist)>0">Artist</xsl:when>
  7309.                 </xsl:choose>
  7310.             </xsl:when>
  7311.                         
  7312.             <xsl:when test="./b:SourceType='Performance'">
  7313.                 <xsl:choose>
  7314.                     <xsl:when test="string-length(./b:Author/b:Writer)>0">Writer</xsl:when>
  7315.                     <xsl:when test="string-length(./b:Author/b:Performer)>0">Performer</xsl:when>
  7316.                     <xsl:when test="string-length(./b:Author/b:Director)>0">Director</xsl:when>
  7317.                 </xsl:choose>
  7318.             </xsl:when>
  7319.                         
  7320.             <xsl:when test="./b:SourceType='Art'">
  7321.                 <xsl:choose>
  7322.                     <xsl:when test="string-length(./b:Author/b:Artist)>0">Artist</xsl:when>
  7323.                 </xsl:choose>
  7324.             </xsl:when>
  7325.                                     
  7326.             <xsl:when test="./b:SourceType='DocumentFromInternetSite'">
  7327.                 <xsl:choose>
  7328.                     <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  7329.                 </xsl:choose>
  7330.             </xsl:when>
  7331.                                     
  7332.             <xsl:when test="./b:SourceType='InternetSite'">
  7333.                 <xsl:choose>
  7334.                     <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  7335.                 </xsl:choose>
  7336.             </xsl:when>
  7337.                                     
  7338.             <xsl:when test="./b:SourceType='Film'">
  7339.                 <xsl:choose>
  7340.                     <xsl:when test="string-length(./b:Author/b:Writer)>0">Writer</xsl:when>
  7341.                     <xsl:when test="string-length(./b:Author/b:Performer)>0">Performer</xsl:when>
  7342.                     <xsl:when test="string-length(./b:Author/b:Director)>0">Director</xsl:when>
  7343.                 </xsl:choose>
  7344.             </xsl:when>
  7345.                                     
  7346.             <xsl:when test="./b:SourceType='Interview'">
  7347.                 <xsl:choose>
  7348.                     <xsl:when test="string-length(./b:Author/b:Interviewee)>0">Interviewee</xsl:when>
  7349.                     <xsl:when test="string-length(./b:Author/b:Editor)>0">Editor</xsl:when>
  7350.                     <xsl:when test="string-length(./b:Author/b:Translator)>0">Translator</xsl:when>
  7351.                 </xsl:choose>
  7352.             </xsl:when>
  7353.                                     
  7354.             <xsl:when test="./b:SourceType='Patent'">
  7355.                 <xsl:choose>
  7356.                     <xsl:when test="string-length(./b:Author/b:Inventor)>0">Inventor</xsl:when>
  7357.                     <xsl:when test="string-length(./b:Author/b:Editor)>0">Editor</xsl:when>
  7358.                     <xsl:when test="string-length(./b:Author/b:Translator)>0">Translator</xsl:when>
  7359.                 </xsl:choose>
  7360.             </xsl:when>
  7361.                                     
  7362.             <xsl:when test="./b:SourceType='ElectronicSource'">
  7363.                 <xsl:choose>
  7364.                     <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  7365.                     <xsl:when test="string-length(./b:Author/b:Editor)>0">Editor</xsl:when>
  7366.                 </xsl:choose>
  7367.             </xsl:when>
  7368.                                     
  7369.             <xsl:when test="./b:SourceType='Case'">
  7370.                 <xsl:choose>
  7371.                     <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  7372.                 </xsl:choose>
  7373.             </xsl:when>
  7374.                                                 
  7375.             <xsl:when test="./b:SourceType='Misc'">
  7376.                 <xsl:choose>
  7377.                     <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  7378.                     <xsl:when test="string-length(./b:Author/b:Editor)>0">Editor</xsl:when>
  7379.                     <xsl:when test="string-length(./b:Author/b:Compiler)>0">Compiler</xsl:when>
  7380.                     <xsl:when test="string-length(./b:Author/b:Translator)>0">Translator</xsl:when>
  7381.                 </xsl:choose>
  7382.             </xsl:when>    
  7383.         </xsl:choose>
  7384.     </xsl:template>
  7385.     
  7386.     
  7387.     
  7388.     <xsl:template name="populateMain">
  7389.         <xsl:param name="Type"/>    
  7390.         <xsl:element name="{$Type}">    
  7391.         
  7392.         <xsl:for-each select="/*[$Type]/b:Source">        
  7393.             <xsl:variable name="MostImportantAuthorLocalName">    
  7394.                 <xsl:call-template name="MainContributors"/>
  7395.             </xsl:variable>
  7396.             <xsl:element name="{'b:Source'}">    
  7397.         <xsl:if test="$Type='b:Citation'">
  7398.           
  7399.           <b:Title>
  7400.             
  7401.             <xsl:if test="string-length(b:Title)>0">
  7402.               <xsl:value-of select="b:Title"/>
  7403.             </xsl:if>
  7404.             
  7405.             <xsl:if test="string-length(b:Title)=0">
  7406.               <xsl:choose>
  7407.                 <xsl:when test="b:SourceType='Book' or
  7408.                                   b:SourceType='JournalArticle' or
  7409.                                   b:SourceType='ConferenceProceedings' or
  7410.                                   b:SourceType='Report' or
  7411.                                   b:SourceType='Performance' or
  7412.                                   b:SourceType='Film' or
  7413.                                   b:SourceType='Patent' or
  7414.                                   b:SourceType='Case'">
  7415.  
  7416.                   <xsl:value-of select="b:ShortTitle"/>
  7417.                 </xsl:when>
  7418.  
  7419.                 <xsl:when test="b:SourceType='BookSection'">
  7420.                   <xsl:variable name="shortTitle" select="b:ShortTitle"/>
  7421.                   <xsl:variable name="bookTitle" select="b:BookTitle"/>
  7422.  
  7423.                   <xsl:choose>
  7424.                     <xsl:when test="string-length($shortTitle)>0">
  7425.                       <xsl:value-of select="$shortTitle"/>
  7426.                     </xsl:when>
  7427.                     <xsl:when test="string-length($bookTitle)>0">
  7428.                       <xsl:value-of select="$bookTitle"/>
  7429.                     </xsl:when>
  7430.                   </xsl:choose>
  7431.  
  7432.                 </xsl:when>
  7433.  
  7434.                 <xsl:when test="b:SourceType='ArticleInAPeriodical'">
  7435.                   <xsl:variable name="shortTitle" select="b:ShortTitle"/>
  7436.                   <xsl:variable name="periodicalTitle" select="b:PeriodicalTitle"/>
  7437.  
  7438.                   <xsl:choose>
  7439.                     <xsl:when test="string-length($shortTitle)>0">
  7440.                       <xsl:value-of select="$shortTitle"/>
  7441.                     </xsl:when>
  7442.                     <xsl:when test="string-length($periodicalTitle)>0">
  7443.                       <xsl:value-of select="$periodicalTitle"/>
  7444.                     </xsl:when>
  7445.                   </xsl:choose>
  7446.                 </xsl:when>
  7447.  
  7448.                 <xsl:when test="b:SourceType='InternetSite' or
  7449.                                   b:SourceType='DocumentFromInternetSite'">
  7450.                   <xsl:variable name="shortTitle" select="b:ShortTitle"/>
  7451.                   <xsl:variable name="internetSiteTitle" select="b:InternetSiteTitle"/>
  7452.  
  7453.                   <xsl:choose>
  7454.                     <xsl:when test="string-length($shortTitle)>0">
  7455.                       <xsl:value-of select="$shortTitle"/>
  7456.                     </xsl:when>
  7457.                     <xsl:when test="string-length($internetSiteTitle)>0">
  7458.                       <xsl:value-of select="$internetSiteTitle"/>
  7459.                     </xsl:when>
  7460.                   </xsl:choose>
  7461.                 </xsl:when>
  7462.  
  7463.                 <xsl:when test="b:SourceType='ElectronicSource' or
  7464.                                   b:SourceType='Art' or
  7465.                                   b:SourceType='Misc'">
  7466.                   <xsl:variable name="shortTitle" select="b:ShortTitle"/>
  7467.                   <xsl:variable name="publicationTitle" select="b:PublicationTitle"/>
  7468.  
  7469.                   <xsl:choose>
  7470.                     <xsl:when test="string-length($shortTitle)>0">
  7471.                       <xsl:value-of select="$shortTitle"/>
  7472.                     </xsl:when>
  7473.                     <xsl:when test="string-length($publicationTitle)>0">
  7474.                       <xsl:value-of select="$publicationTitle"/>
  7475.                     </xsl:when>
  7476.                   </xsl:choose>
  7477.                 </xsl:when>
  7478.  
  7479.                 <xsl:when test="b:SourceType='SoundRecording'">
  7480.                   <xsl:variable name="shortTitle" select="b:ShortTitle"/>
  7481.                   <xsl:variable name="albumTitle" select="b:AlbumTitle"/>
  7482.  
  7483.                   <xsl:choose>
  7484.                     <xsl:when test="string-length($shortTitle)>0">
  7485.                       <xsl:value-of select="$shortTitle"/>
  7486.                     </xsl:when>
  7487.                     <xsl:when test="string-length($albumTitle)>0">
  7488.                       <xsl:value-of select="$albumTitle"/>
  7489.                     </xsl:when>
  7490.                   </xsl:choose>
  7491.                 </xsl:when>
  7492.  
  7493.                 <xsl:when test="b:SourceType='Interview'">
  7494.                   <xsl:variable name="shortTitle" select="b:ShortTitle"/>
  7495.                   
  7496.                   <xsl:variable name="broadcastTitle" select="b:BroadcastTitle"/>
  7497.                   
  7498.  
  7499.                   <xsl:choose>
  7500.                     <xsl:when test="string-length($shortTitle)>0">
  7501.                       <xsl:value-of select="$shortTitle"/>
  7502.                     </xsl:when>
  7503.                     
  7504.                     <xsl:when test="string-length($broadcastTitle)>0">
  7505.                       <xsl:value-of select="$broadcastTitle"/>
  7506.                     </xsl:when>
  7507.                     
  7508.                   </xsl:choose>
  7509.                 </xsl:when>
  7510.  
  7511.               </xsl:choose>
  7512.             </xsl:if>
  7513.           </b:Title>
  7514.         </xsl:if>
  7515.         <b:SortingString>
  7516.         
  7517.                       <xsl:variable name = "author0">
  7518.                       <xsl:for-each select="./b:Author/*[local-name()=$MostImportantAuthorLocalName]">
  7519.                         <xsl:call-template name="formatPersonsAuthor"/>
  7520.                       </xsl:for-each>
  7521.                     </xsl:variable>
  7522.  
  7523.                       <xsl:variable name = "author">
  7524.                         <xsl:choose>
  7525.                             <xsl:when test="string-length(./b:Author/*[local-name()=$MostImportantAuthorLocalName]/b:Corporate) > 0">
  7526.                                 <xsl:value-of select="./b:Author/*[local-name()=$MostImportantAuthorLocalName]/b:Corporate"/>
  7527.                             </xsl:when>
  7528.                             <xsl:when test="string-length($author0) > 0">
  7529.                                 <xsl:value-of select="$author0"/>
  7530.                             </xsl:when>
  7531.                         </xsl:choose>
  7532.                     </xsl:variable>
  7533.  
  7534.                     <xsl:if test="string-length($author) > 0 and b:SourceType != 'Case'">
  7535.                         <xsl:text> </xsl:text>
  7536.                         <xsl:value-of select="$author"/>
  7537.                     </xsl:if>
  7538.  
  7539.                     <xsl:if test="string-length(b:PeriodicalTitle) > 0 and b:SourceType = 'ArticleInAPeriodical'">
  7540.                         <xsl:text> </xsl:text>
  7541.                         <xsl:value-of select="b:PeriodicalTitle"/>
  7542.                     </xsl:if>
  7543.  
  7544.                     <xsl:if test="string-length(b:Title) > 0">
  7545.                         <xsl:text> </xsl:text>
  7546.                         <xsl:value-of select="b:Title"/>
  7547.                     </xsl:if>
  7548.                     
  7549.                     <xsl:variable name="order">    
  7550.                         <xsl:choose>
  7551.                             <xsl:when test="$MostImportantAuthorLocalName='Author'"><xsl:text>1</xsl:text></xsl:when>
  7552.                             <xsl:when test="$MostImportantAuthorLocalName='Editor'"><xsl:text>2</xsl:text></xsl:when>
  7553.                             <xsl:when test="$MostImportantAuthorLocalName='Compiler'"><xsl:text>3</xsl:text></xsl:when>
  7554.                             <xsl:when test="$MostImportantAuthorLocalName='Translator'"><xsl:text>4</xsl:text></xsl:when>
  7555.                             <xsl:otherwise><xsl:text>1</xsl:text></xsl:otherwise>
  7556.                         </xsl:choose>
  7557.                     </xsl:variable>
  7558.                     
  7559.                     <xsl:text> </xsl:text><xsl:value-of select="$order"/>
  7560.                 </b:SortingString>
  7561.                 <b:Author>        
  7562.                     <b:Main>
  7563.                         <xsl:if test="string-length(./b:Author/*[local-name()=$MostImportantAuthorLocalName]/b:Corporate)=0">
  7564.                             <b:NameList>
  7565.                                 <xsl:for-each select="./b:Author/*[local-name()=$MostImportantAuthorLocalName]/b:NameList/b:Person">    
  7566.                                     <b:Person>        
  7567.                                         <b:Last><xsl:value-of select="./b:Last"/></b:Last>
  7568.                                         <b:First><xsl:value-of select="./b:First"/></b:First>
  7569.                                         <b:Middle><xsl:value-of select="./b:Middle"/></b:Middle>
  7570.                                     </b:Person>
  7571.                                 </xsl:for-each>
  7572.                             </b:NameList>
  7573.                         </xsl:if>
  7574.                         <xsl:if test="string-length(./b:Author/*[local-name()=$MostImportantAuthorLocalName]/b:Corporate)>0">
  7575.                             <b:Corporate>
  7576.                               <xsl:value-of select="./b:Author/*[local-name()=$MostImportantAuthorLocalName]/b:Corporate"/>
  7577.                             </b:Corporate>
  7578.                         </xsl:if>
  7579.                     </b:Main>
  7580.                     <xsl:for-each select="./b:Author/*">    
  7581.                         
  7582.                             <xsl:element name="{name()}" namespace="{namespace-uri()}">
  7583.                                 <xsl:call-template name="copyNameNodes"/>    
  7584.                             </xsl:element>
  7585.                         
  7586.                     </xsl:for-each>
  7587.                 </b:Author>
  7588.                 <xsl:for-each select="*">    
  7589.             <xsl:if test="name()!='Author' and not(name()='Title' and $Type='b:Citation')">
  7590.               <xsl:element name="{name()}" namespace="{namespace-uri()}">
  7591.                                 <xsl:call-template name="copyNodes"/>    
  7592.                             </xsl:element>
  7593.                         </xsl:if>
  7594.                 </xsl:for-each>
  7595.             </xsl:element>
  7596.             <xsl:for-each select="../*">    
  7597.                         <xsl:if test="local-name()!='Source' and namespace-uri()='http://schemas.openxmlformats.org/officeDocument/2006/bibliography'">
  7598.                             <xsl:element name="{name()}" namespace="{namespace-uri()}">
  7599.                                 <xsl:call-template name="copyNodes"/>    
  7600.                             </xsl:element>
  7601.                         </xsl:if>
  7602.             </xsl:for-each>
  7603.         </xsl:for-each>
  7604.         
  7605.       <xsl:copy-of select="/*[$Type]/b:Locals"/>
  7606.     </xsl:element>
  7607.   </xsl:template>
  7608.  
  7609.   
  7610.     <xsl:template name="copyNameNodes">
  7611.         <xsl:if test="string-length(b:Corporate)=0">
  7612.             <b:NameList>
  7613.                 <xsl:for-each select="b:NameList/b:Person">    
  7614.                     <b:Person>            
  7615.                             <xsl:if test="string-length(./b:Last)>0">    
  7616.                             <b:Last>
  7617.                                 <xsl:value-of select="./b:Last"/>
  7618.                             </b:Last>
  7619.                         </xsl:if>
  7620.                         <xsl:if test="string-length(./b:First)>0">
  7621.                             <b:First>
  7622.                                 <xsl:value-of select="./b:First"/>
  7623.                             </b:First>
  7624.                         </xsl:if>
  7625.                         <xsl:if test="string-length(./b:Middle)>0">
  7626.                             <b:Middle>
  7627.                                 <xsl:value-of select="./b:Middle"/>
  7628.                             </b:Middle>
  7629.                         </xsl:if>
  7630.                     </b:Person>
  7631.                 </xsl:for-each>
  7632.             </b:NameList>
  7633.         </xsl:if>
  7634.         <xsl:if test="string-length(b:Corporate)>0">
  7635.             <b:Corporate>
  7636.               <xsl:value-of select="b:Corporate"/>
  7637.             </b:Corporate>
  7638.         </xsl:if>
  7639.     </xsl:template>
  7640.     
  7641.     
  7642.     <xsl:template name="copyNodes">
  7643.         <xsl:value-of select="."/>
  7644.  
  7645.     </xsl:template>
  7646.  
  7647.     <xsl:template name="copyNodes2">
  7648.             <xsl:for-each select="@*">
  7649.                 <xsl:attribute name="{name()}" namespace="{namespace-uri()}">
  7650.                     <xsl:value-of select="."/>
  7651.                 </xsl:attribute>
  7652.             </xsl:for-each>
  7653.             <xsl:for-each select="*">
  7654.                 <xsl:element name="{name()}" namespace="{namespace-uri()}">
  7655.                     <xsl:call-template name="copyNodes2"/>    
  7656.                 </xsl:element>
  7657.             </xsl:for-each>
  7658.  
  7659.     </xsl:template>
  7660.  
  7661.  
  7662.     <xsl:template name="handleSpaces">
  7663.         <xsl:param name="field"/>
  7664.  
  7665.     <xsl:variable name="prop_NormalizeSpace">
  7666.       <xsl:call-template name="templ_prop_NormalizeSpace"/>
  7667.     </xsl:variable>
  7668.  
  7669.     <xsl:choose>
  7670.             <xsl:when test="$prop_NormalizeSpace='yes'">
  7671.                 <xsl:value-of select="normalize-space($field)"/>
  7672.             </xsl:when>
  7673.             <xsl:otherwise>
  7674.                 <xsl:value-of select="$field"/>
  7675.             </xsl:otherwise>
  7676.         </xsl:choose>
  7677.     </xsl:template>
  7678.     
  7679.     
  7680.     
  7681.     <xsl:template name="appendField_Dot">
  7682.         <xsl:param name="field"/>
  7683.         
  7684.         <xsl:variable name="temp">
  7685.             <xsl:call-template name="handleSpaces">
  7686.                 <xsl:with-param name="field" select="$field"/>
  7687.             </xsl:call-template>
  7688.         </xsl:variable>
  7689.  
  7690.         <xsl:variable name="lastChar">
  7691.             <xsl:value-of select="substring($temp, string-length($temp))"/>
  7692.         </xsl:variable>
  7693.  
  7694.     <xsl:variable name="prop_EndChars">
  7695.       <xsl:call-template name="templ_prop_EndChars"/>
  7696.     </xsl:variable>
  7697.  
  7698.     <xsl:choose>
  7699.             <xsl:when test="string-length($temp) = 0">
  7700.             </xsl:when>
  7701.             <xsl:when test="contains($prop_EndChars, $lastChar)">
  7702.                 <xsl:value-of select="$temp"/>
  7703.             </xsl:when>
  7704.             <xsl:otherwise>
  7705.                 <xsl:value-of select="$temp"/>
  7706.                 <xsl:call-template name="templ_prop_Dot"/>
  7707.             </xsl:otherwise>
  7708.         </xsl:choose>
  7709.         
  7710.     </xsl:template>
  7711.     
  7712.     <xsl:template name="need_Dot">
  7713.         <xsl:param name="field"/>
  7714.         
  7715.         <xsl:variable name="temp">
  7716.             <xsl:call-template name="handleSpaces">
  7717.                 <xsl:with-param name="field" select="$field"/>
  7718.             </xsl:call-template>
  7719.         </xsl:variable>
  7720.  
  7721.         <xsl:variable name="lastChar">
  7722.             <xsl:value-of select="substring($temp, string-length($temp))"/>
  7723.         </xsl:variable>
  7724.     
  7725.     <xsl:variable name="prop_EndChars">
  7726.       <xsl:call-template name="templ_prop_EndChars"/>
  7727.     </xsl:variable>
  7728.  
  7729.     <xsl:choose>
  7730.             <xsl:when test="string-length($temp) = 0">
  7731.             </xsl:when>
  7732.             <xsl:when test="contains($prop_EndChars, $lastChar)">
  7733.             </xsl:when>
  7734.             <xsl:otherwise>
  7735.                 <xsl:call-template name="templ_prop_Dot"/>
  7736.             </xsl:otherwise>
  7737.         </xsl:choose>
  7738.     </xsl:template>
  7739.  
  7740.     <xsl:template name="appendFieldNoHandleSpaces_Dot">
  7741.         <xsl:param name="field"/>
  7742.         
  7743.         <xsl:variable name="lastChar">
  7744.             <xsl:value-of select="substring($field, string-length($field))"/>
  7745.         </xsl:variable>
  7746.     
  7747.     <xsl:variable name="prop_EndChars">
  7748.       <xsl:call-template name="templ_prop_EndChars"/>
  7749.     </xsl:variable>
  7750.  
  7751.     <xsl:choose>
  7752.             <xsl:when test="string-length($field) = 0">
  7753.             </xsl:when>
  7754.             <xsl:when test="contains($prop_EndChars, $lastChar)">
  7755.                 <xsl:value-of select="$field"/>
  7756.             </xsl:when>
  7757.             <xsl:otherwise>
  7758.                 <xsl:value-of select="$field"/>
  7759.                 <xsl:call-template name="templ_prop_Dot"/>
  7760.             </xsl:otherwise>
  7761.         </xsl:choose>
  7762.         
  7763.     </xsl:template>
  7764.  
  7765.  
  7766.     <xsl:template name="templateA">
  7767.         <xsl:param name="first"/>
  7768.         <xsl:param name="second"/>
  7769.         <xsl:param name="third"/>
  7770.         
  7771.         <xsl:variable name="tempFirst">
  7772.             <xsl:call-template name="handleSpaces">
  7773.                 <xsl:with-param name="field" select="$first"/>
  7774.             </xsl:call-template>
  7775.         </xsl:variable>
  7776.         
  7777.         <xsl:variable name="tempSecond">
  7778.             <xsl:call-template name="handleSpaces">
  7779.                 <xsl:with-param name="field" select="$second"/>
  7780.             </xsl:call-template>
  7781.         </xsl:variable>
  7782.  
  7783.         <xsl:variable name="tempThird">
  7784.             <xsl:call-template name="handleSpaces">
  7785.                 <xsl:with-param name="field" select="$third"/>
  7786.             </xsl:call-template>
  7787.         </xsl:variable>
  7788.  
  7789.         <xsl:variable name="temp">
  7790.             <xsl:if test="string-length($tempFirst)>0">
  7791.                 <xsl:value-of select="$tempFirst"/>
  7792.             </xsl:if>
  7793.  
  7794.             <xsl:if test="string-length($tempFirst)>0 and string-length($tempSecond)>0">
  7795.                 <xsl:call-template name="templ_prop_EnumSeparator"/>
  7796.             </xsl:if>
  7797.  
  7798.             <xsl:if test="string-length($tempSecond)>0">
  7799.                 <xsl:value-of select="$tempSecond"/>
  7800.             </xsl:if>
  7801.  
  7802.             <xsl:if test="(string-length($tempFirst)>0 or string-length($tempSecond)>0) and string-length($tempThird)>0">
  7803.                 <xsl:call-template name="templ_prop_ListSeparator"/>
  7804.             </xsl:if>
  7805.  
  7806.             <xsl:if test="string-length($tempThird)>0">
  7807.                 <xsl:value-of select="$tempThird"/>
  7808.             </xsl:if>
  7809.         </xsl:variable>
  7810.  
  7811.         <xsl:call-template name="appendFieldNoHandleSpaces_Dot">
  7812.             <xsl:with-param name="field" select="$temp"/>
  7813.         </xsl:call-template>        
  7814.     </xsl:template>
  7815.  
  7816.     <xsl:template name="templateANoDot">
  7817.         <xsl:param name="first"/>
  7818.         <xsl:param name="second"/>
  7819.         <xsl:param name="third"/>
  7820.         
  7821.         <xsl:variable name="tempFirst">
  7822.             <xsl:call-template name="handleSpaces">
  7823.                 <xsl:with-param name="field" select="$first"/>
  7824.             </xsl:call-template>
  7825.         </xsl:variable>
  7826.         
  7827.         <xsl:variable name="tempSecond">
  7828.             <xsl:call-template name="handleSpaces">
  7829.                 <xsl:with-param name="field" select="$second"/>
  7830.             </xsl:call-template>
  7831.         </xsl:variable>
  7832.  
  7833.         <xsl:variable name="tempThird">
  7834.             <xsl:call-template name="handleSpaces">
  7835.                 <xsl:with-param name="field" select="$third"/>
  7836.             </xsl:call-template>
  7837.         </xsl:variable>
  7838.  
  7839.         <xsl:if test="string-length($tempFirst)>0">
  7840.             <xsl:value-of select="$tempFirst"/>
  7841.         </xsl:if>
  7842.  
  7843.         <xsl:if test="string-length($tempFirst)>0 and string-length($tempSecond)>0">
  7844.             <xsl:call-template name="templ_prop_EnumSeparator"/>
  7845.         </xsl:if>
  7846.  
  7847.         <xsl:if test="string-length($tempSecond)>0">
  7848.             <xsl:value-of select="$tempSecond"/>
  7849.         </xsl:if>
  7850.  
  7851.         <xsl:if test="(string-length($tempFirst)>0 or string-length($tempSecond)>0) and string-length($tempThird)>0">
  7852.             <xsl:call-template name="templ_prop_ListSeparator"/>
  7853.         </xsl:if>
  7854.  
  7855.         <xsl:if test="string-length($tempThird)>0">
  7856.             <xsl:value-of select="$tempThird"/>
  7857.         </xsl:if>
  7858.  
  7859.     </xsl:template>
  7860.  
  7861.     <xsl:template name="templateB">
  7862.         <xsl:param name="first"/>
  7863.         <xsl:param name="second"/>
  7864.         
  7865.         <xsl:variable name="tempFirst">
  7866.             <xsl:call-template name="handleSpaces">
  7867.                 <xsl:with-param name="field" select="$first"/>
  7868.             </xsl:call-template>
  7869.         </xsl:variable>
  7870.         
  7871.         <xsl:variable name="tempSecond">
  7872.             <xsl:call-template name="handleSpaces">
  7873.                 <xsl:with-param name="field" select="$second"/>
  7874.             </xsl:call-template>
  7875.         </xsl:variable>
  7876.  
  7877.         <xsl:variable name="temp">
  7878.             <xsl:if test="string-length($tempFirst)>0">
  7879.                 <xsl:value-of select="$tempFirst"/>
  7880.             </xsl:if>
  7881.  
  7882.             <xsl:if test="string-length($tempFirst)>0 and string-length($tempSecond)>0">
  7883.                 <xsl:call-template name="templ_prop_EnumSeparator"/>
  7884.             </xsl:if>
  7885.  
  7886.             <xsl:if test="string-length($tempSecond)>0">
  7887.                 <xsl:value-of select="$tempSecond"/>
  7888.             </xsl:if>
  7889.  
  7890.         </xsl:variable>
  7891.  
  7892.         <xsl:call-template name="appendFieldNoHandleSpaces_Dot">
  7893.             <xsl:with-param name="field" select="$temp"/>
  7894.         </xsl:call-template>
  7895.         
  7896.     </xsl:template>
  7897.  
  7898.     <xsl:template name="templateSpaceAB">
  7899.         <xsl:param name="first"/>
  7900.         <xsl:param name="second"/>
  7901.         
  7902.         <xsl:variable name="tempFirst">
  7903.             <xsl:call-template name="handleSpaces">
  7904.                 <xsl:with-param name="field" select="$first"/>
  7905.             </xsl:call-template>
  7906.         </xsl:variable>
  7907.         
  7908.         <xsl:variable name="tempSecond">
  7909.             <xsl:call-template name="handleSpaces">
  7910.                 <xsl:with-param name="field" select="$second"/>
  7911.             </xsl:call-template>
  7912.         </xsl:variable>
  7913.  
  7914.         <xsl:variable name="temp">
  7915.             <xsl:if test="string-length($tempFirst)>0">
  7916.                 <xsl:value-of select="$tempFirst"/>
  7917.             </xsl:if>
  7918.  
  7919.             <xsl:if test="string-length($tempFirst)>0 and string-length($tempSecond)>0">
  7920.                 <xsl:call-template name="templ_prop_Space"/>
  7921.             </xsl:if>
  7922.  
  7923.             <xsl:if test="string-length($tempSecond)>0">
  7924.                 <xsl:value-of select="$tempSecond"/>
  7925.             </xsl:if>
  7926.  
  7927.         </xsl:variable>
  7928.  
  7929.         <xsl:call-template name="appendFieldNoHandleSpaces_Dot">
  7930.             <xsl:with-param name="field" select="$temp"/>
  7931.         </xsl:call-template>
  7932.         
  7933.     </xsl:template>
  7934.  
  7935.  
  7936.     <xsl:template name="templateC">
  7937.         <xsl:param name="first"/>
  7938.         <xsl:param name="second"/>
  7939.         
  7940.         <xsl:variable name="tempFirst">
  7941.             <xsl:call-template name="handleSpaces">
  7942.                 <xsl:with-param name="field" select="$first"/>
  7943.             </xsl:call-template>
  7944.         </xsl:variable>
  7945.         
  7946.         <xsl:variable name="tempSecond">
  7947.             <xsl:call-template name="handleSpaces">
  7948.                 <xsl:with-param name="field" select="$second"/>
  7949.             </xsl:call-template>
  7950.         </xsl:variable>
  7951.  
  7952.         <xsl:variable name="temp">
  7953.             <xsl:if test="string-length($tempFirst)>0">
  7954.                 <xsl:value-of select="$tempFirst"/>
  7955.             </xsl:if>
  7956.  
  7957.             <xsl:if test="string-length($tempFirst)>0 and string-length($tempSecond)>0">
  7958.                 <xsl:call-template name="templ_prop_ListSeparator"/>
  7959.             </xsl:if>
  7960.  
  7961.             <xsl:if test="string-length($tempSecond)>0">
  7962.                 <xsl:value-of select="$tempSecond"/>
  7963.             </xsl:if>
  7964.  
  7965.         </xsl:variable>
  7966.  
  7967.         <xsl:call-template name="appendFieldNoHandleSpaces_Dot">
  7968.             <xsl:with-param name="field" select="$temp"/>
  7969.         </xsl:call-template>
  7970.     </xsl:template>
  7971.  
  7972.  
  7973.     <xsl:template name="templateE">
  7974.         <xsl:param name="first"/>
  7975.         <xsl:param name="second"/>
  7976.         <xsl:param name="third"/>
  7977.         
  7978.         <xsl:variable name="tempFirst">
  7979.             <xsl:call-template name="handleSpaces">
  7980.                 <xsl:with-param name="field" select="$first"/>
  7981.             </xsl:call-template>
  7982.         </xsl:variable>
  7983.         
  7984.         <xsl:variable name="tempSecond">
  7985.             <xsl:call-template name="handleSpaces">
  7986.                 <xsl:with-param name="field" select="$second"/>
  7987.             </xsl:call-template>
  7988.         </xsl:variable>
  7989.  
  7990.         <xsl:variable name="tempThird">
  7991.             <xsl:call-template name="handleSpaces">
  7992.                 <xsl:with-param name="field" select="$third"/>
  7993.             </xsl:call-template>
  7994.         </xsl:variable>
  7995.  
  7996.         <xsl:variable name="temp">
  7997.             <xsl:if test="string-length($tempFirst)>0">
  7998.                 <xsl:value-of select="$tempFirst"/>
  7999.             </xsl:if>
  8000.  
  8001.             <xsl:if test="string-length($tempFirst)>0 and string-length($tempSecond)>0">
  8002.                 <xsl:call-template name="templ_prop_ListSeparator"/>
  8003.             </xsl:if>
  8004.  
  8005.             <xsl:if test="string-length($tempSecond)>0">
  8006.                 <xsl:value-of select="$tempSecond"/>
  8007.             </xsl:if>
  8008.  
  8009.             <xsl:if test="(string-length($tempFirst)>0 or string-length($tempSecond)>0) and string-length($tempThird)>0">
  8010.                 <xsl:call-template name="templ_prop_EnumSeparator"/>
  8011.             </xsl:if>
  8012.  
  8013.             <xsl:if test="string-length($tempThird)>0">
  8014.                 <xsl:value-of select="$tempThird"/>
  8015.             </xsl:if>
  8016.         </xsl:variable>
  8017.  
  8018.         <xsl:call-template name="appendFieldNoHandleSpaces_Dot">
  8019.             <xsl:with-param name="field" select="$temp"/>
  8020.         </xsl:call-template>        
  8021.     </xsl:template>
  8022.  
  8023.     <xsl:template name="templateCityStateProvince">
  8024.         <xsl:value-of select="b:City"/>
  8025.  
  8026.         <xsl:if test="string-length(b:City)>0 and string-length(b:StateProvince)>0">
  8027.             <xsl:call-template name="templ_prop_ListSeparator"/>
  8028.         </xsl:if>
  8029.  
  8030.         <xsl:value-of select="b:StateProvince"/>
  8031.     </xsl:template>
  8032.  
  8033.     <xsl:template name="templateCPY">
  8034.         <xsl:call-template name="templateA">
  8035.             <xsl:with-param name="first">
  8036.                 <xsl:call-template name="templateCityStateProvince" />
  8037.             </xsl:with-param>
  8038.             <xsl:with-param name="second" select="b:Publisher"/>
  8039.             <xsl:with-param name="third">
  8040.                 <xsl:call-template name="getYear" />
  8041.             </xsl:with-param>
  8042.         </xsl:call-template>
  8043.     </xsl:template>
  8044.  
  8045.     <xsl:template name="templateCPYNoDot">
  8046.         <xsl:call-template name="templateANoDot">
  8047.             <xsl:with-param name="first">
  8048.                 <xsl:call-template name="templateCityStateProvince" />
  8049.             </xsl:with-param>
  8050.             <xsl:with-param name="second" select="b:Publisher"/>
  8051.             <xsl:with-param name="third">
  8052.                 <xsl:call-template name="getYear" />
  8053.             </xsl:with-param>
  8054.         </xsl:call-template>
  8055.     </xsl:template>
  8056.  
  8057.     <xsl:template name="templateDEP">
  8058.  
  8059.         <xsl:variable name="date">
  8060.             <xsl:call-template name="formatDate"/>
  8061.         </xsl:variable>
  8062.         
  8063.         <xsl:variable name="editionTemp">
  8064.             <xsl:call-template name="handleSpaces">
  8065.                 <xsl:with-param name="field" select="b:Edition"/>
  8066.             </xsl:call-template>
  8067.         </xsl:variable>
  8068.  
  8069.         <xsl:variable name="edition">
  8070.             <xsl:choose>
  8071.                 <xsl:when test="string-length($editionTemp)>0">
  8072.                     <xsl:call-template name="StringFormat">
  8073.                           <xsl:with-param name="format">
  8074.                             <xsl:call-template name="templ_str_EditionShortUnCap"/>
  8075.                           </xsl:with-param>
  8076.                           <xsl:with-param name="parameters">
  8077.                               <t:params>
  8078.                                   <t:param>
  8079.                                     <xsl:value-of select="$editionTemp"/>
  8080.                                 </t:param>
  8081.                               </t:params>
  8082.                           </xsl:with-param>
  8083.                     </xsl:call-template>
  8084.                 </xsl:when>
  8085.             </xsl:choose>
  8086.         </xsl:variable>
  8087.     
  8088.         <xsl:call-template name="templateE">
  8089.             <xsl:with-param name="first" select="$date"/>
  8090.             <xsl:with-param name="second" select="$edition"/>
  8091.             <xsl:with-param name="third" select="b:Pages"/>
  8092.         </xsl:call-template>        
  8093.     </xsl:template>
  8094.  
  8095.     <xsl:template name="templateRYM">
  8096.         <xsl:call-template name="appendField_Dot">
  8097.             <xsl:with-param name="field" select="b:RecordingNumber"/>
  8098.         </xsl:call-template>
  8099.  
  8100.         <xsl:variable name="year">
  8101.             <xsl:call-template name="getYear"/>
  8102.         </xsl:variable>
  8103.  
  8104.         <xsl:if test="string-length(b:RecordingNumber) > 0 and (string-length($year) > 0 or string-length(b:Medium) > 0)">
  8105.             <xsl:call-template name="templ_prop_Space"/>
  8106.         </xsl:if>
  8107.  
  8108.         <xsl:call-template name="appendField_Dot">
  8109.             <xsl:with-param name="field" select="$year"/>
  8110.         </xsl:call-template>
  8111.  
  8112.         <xsl:if test="(string-length($year) > 0 and string-length(b:Medium) > 0)">
  8113.             <xsl:call-template name="templ_prop_Space"/>
  8114.         </xsl:if>
  8115.  
  8116.         <xsl:call-template name="appendField_Dot">
  8117.             <xsl:with-param name="field" select="b:Medium"/>
  8118.         </xsl:call-template>
  8119.     </xsl:template>
  8120.  
  8121.     <xsl:template name="templateTC">
  8122.         <xsl:call-template name="templateC">
  8123.             <xsl:with-param name="first" select="b:Theater"/>
  8124.             <xsl:with-param name="second" select="b:City"/>
  8125.         </xsl:call-template>        
  8126.     </xsl:template>
  8127.  
  8128.     <xsl:template name="templateIC">
  8129.         <xsl:call-template name="templateC">
  8130.             <xsl:with-param name="first" select="b:Institution"/>
  8131.             <xsl:with-param name="second" select="b:City"/>
  8132.         </xsl:call-template>        
  8133.     </xsl:template>
  8134.  
  8135.     <xsl:template name="templateDY">
  8136.         <xsl:call-template name="templateC">
  8137.             <xsl:with-param name="first" select="b:Distributor"/>
  8138.             <xsl:with-param name="second">
  8139.                 <xsl:call-template name="getYear" />
  8140.             </xsl:with-param>
  8141.         </xsl:call-template>
  8142.     </xsl:template>
  8143.     
  8144.     <xsl:template name="templateCPD">
  8145.         <xsl:variable name="date">
  8146.             <xsl:call-template name="formatDate"/>
  8147.         </xsl:variable>
  8148.         
  8149.         <xsl:call-template name="templateA">
  8150.             <xsl:with-param name="first">
  8151.                 <xsl:call-template name="templateCityStateProvince" />
  8152.             </xsl:with-param>
  8153.             <xsl:with-param name="second" select="b:Publisher"/>
  8154.             <xsl:with-param name="third" select="$date"/>
  8155.         </xsl:call-template>        
  8156.     </xsl:template>
  8157.     
  8158.     <xsl:template name="templateSC">
  8159.         <xsl:call-template name="templateC">
  8160.             <xsl:with-param name="first" select="b:Station"/>
  8161.             <xsl:with-param name="second" select="b:City"/>
  8162.         </xsl:call-template>        
  8163.     </xsl:template>
  8164.     
  8165.  
  8166.     <xsl:template name="templateCP">
  8167.         <xsl:variable name="patentTemp">
  8168.             <xsl:call-template name="handleSpaces">
  8169.                 <xsl:with-param name="field" select="b:PatentNumber"/>
  8170.             </xsl:call-template>
  8171.         </xsl:variable>
  8172.     <xsl:variable name="str_PatentCap">
  8173.       <xsl:call-template name="templ_str_PatentCap"/>
  8174.     </xsl:variable>
  8175.  
  8176.     <xsl:variable name="patent">
  8177.             <xsl:choose>
  8178.                 <xsl:when test="string-length($patentTemp)>0">
  8179.                     <xsl:call-template name="StringFormat">
  8180.                           <xsl:with-param name="format" select="$str_PatentCap"/>
  8181.                           <xsl:with-param name="parameters">
  8182.                               <t:params>
  8183.                                   <t:param>
  8184.                                     <xsl:value-of select="$patentTemp"/>
  8185.                                 </t:param>
  8186.                               </t:params>
  8187.                           </xsl:with-param>
  8188.                     </xsl:call-template>
  8189.                 </xsl:when>
  8190.             </xsl:choose>
  8191.         </xsl:variable>
  8192.         <xsl:call-template name="templateSpaceAB">
  8193.             <xsl:with-param name="first" select="b:CountryRegion"/>
  8194.             <xsl:with-param name="second" select="$patent"/>
  8195.         </xsl:call-template>        
  8196.     </xsl:template>
  8197.  
  8198.  
  8199.     <xsl:template name="templateCCD">
  8200.         <xsl:variable name="date">
  8201.             <xsl:call-template name="formatDate"/>
  8202.         </xsl:variable>
  8203.         
  8204.         <xsl:variable name="temp">
  8205.             <xsl:if test = "string-length(b:Court)>0 or string-length(b:City)>0 or string-length($date)>0">
  8206.                 <xsl:call-template name="templ_prop_OpenBracket"/>
  8207.                 <xsl:value-of select="b:Court"/>
  8208.                 <xsl:if test = "string-length(b:Court)>0 and (string-length(b:City)>0 or string-length($date)>0)">
  8209.                     <xsl:call-template name="templ_prop_ListSeparator"/>
  8210.                 </xsl:if>
  8211.                 <xsl:if test = "string-length(b:City)>0 or string-length($date)>0">
  8212.                     <xsl:value-of select="b:City"/>
  8213.                     <xsl:if test = "string-length(b:City)>0 and string-length($date)>0">
  8214.                         <xsl:call-template name="templ_prop_Space"/>
  8215.                     </xsl:if>
  8216.                     <xsl:value-of select="$date"/>
  8217.                 </xsl:if>
  8218.                 <xsl:call-template name="templ_prop_CloseBracket"/>
  8219.             </xsl:if>
  8220.         </xsl:variable>
  8221.  
  8222.         <xsl:call-template name="appendField_Dot">
  8223.             <xsl:with-param name="field" select="$temp"/>
  8224.         </xsl:call-template>
  8225.     </xsl:template>
  8226.  
  8227.     <xsl:template name="templateVIYP">
  8228.  
  8229.         <xsl:variable name="volume">
  8230.             <xsl:call-template name="handleSpaces">
  8231.                 <xsl:with-param name="field" select="b:Volume"/>
  8232.             </xsl:call-template>
  8233.         </xsl:variable>
  8234.  
  8235.         <xsl:variable name="issue">
  8236.             <xsl:call-template name="handleSpaces">
  8237.                 <xsl:with-param name="field" select="b:Issue"/>
  8238.             </xsl:call-template>
  8239.         </xsl:variable>
  8240.  
  8241.         <xsl:variable name="year">
  8242.             <xsl:call-template name="handleSpaces">
  8243.                 <xsl:with-param name="field">
  8244.                     <xsl:call-template name="getYear" />
  8245.                 </xsl:with-param>
  8246.             </xsl:call-template>
  8247.         </xsl:variable>
  8248.  
  8249.         <xsl:variable name="month">
  8250.             <xsl:call-template name="handleSpaces">
  8251.                 <xsl:with-param name="field" select="b:Month"/>
  8252.             </xsl:call-template>
  8253.         </xsl:variable>
  8254.  
  8255.         <xsl:variable name="monthYear">
  8256.             <xsl:if test="string-length(b:Year)>0">
  8257.                 <xsl:value-of select="$month" />
  8258.                 <xsl:if test="string-length($month) > 0">
  8259.                     <xsl:call-template name="templ_prop_Space"/>
  8260.                 </xsl:if>
  8261.             </xsl:if>
  8262.             <xsl:value-of select="$year" />
  8263.         </xsl:variable>
  8264.  
  8265.         <xsl:variable name="pages">
  8266.             <xsl:call-template name="handleSpaces">
  8267.                 <xsl:with-param name="field" select="b:Pages"/>
  8268.             </xsl:call-template>
  8269.         </xsl:variable>
  8270.  
  8271.         <xsl:variable name="temp">
  8272.         
  8273.             <xsl:if test="string-length(b:Publisher)>0">
  8274.                 <xsl:if test="string-length(b:JournalName)>0">
  8275.                     <xsl:call-template name="templ_prop_Space"/>
  8276.                 </xsl:if>
  8277.                 <xsl:call-template name="templ_prop_OpenBracket"/>
  8278.                 <xsl:value-of select="b:Publisher"/>
  8279.                 <xsl:call-template name="templ_prop_CloseBracket"/>
  8280.             </xsl:if>
  8281.  
  8282.             <xsl:if test="string-length($volume)>0">
  8283.                 <xsl:if test="string-length(b:JournalName)>0 or string-length(b:Publisher)>0">
  8284.                     <xsl:call-template name="templ_prop_Space"/>
  8285.                 </xsl:if>
  8286.                 <xsl:value-of select="$volume"/>
  8287.             </xsl:if>
  8288.  
  8289.             <xsl:if test="((string-length(b:JournalName)>0 or string-length(b:Publisher)>0 or string-length($volume)>0) and string-length($issue)>0) or ((string-length($volume)=0 and string-length($issue)=0) and (string-length(b:JournalName)>0 and string-length($monthYear)>0))">
  8290.                 <xsl:call-template name="templ_prop_ListSeparator"/>
  8291.             </xsl:if>
  8292.             
  8293.             <xsl:variable name="str_NumberShortUnCap">
  8294.                 <xsl:call-template name="templ_str_NumberShortUnCap"/>
  8295.             </xsl:variable>
  8296.  
  8297.             <xsl:if test="string-length($issue)>0">
  8298.                 <xsl:call-template name="StringFormat">
  8299.                       <xsl:with-param name="format" select="$str_NumberShortUnCap"/>
  8300.                       <xsl:with-param name="parameters">
  8301.                           <t:params>
  8302.                               <t:param>
  8303.                                 <xsl:value-of select="$issue"/>
  8304.                             </t:param>
  8305.                           </t:params>
  8306.                       </xsl:with-param>
  8307.                 </xsl:call-template>
  8308.             </xsl:if>
  8309.  
  8310.             <xsl:if test="string-length($monthYear)>0">
  8311.                 <xsl:call-template name="templ_prop_Space"/>
  8312.                 
  8313.                 <xsl:if test="string-length($volume)>0 or string-length($issue)>0">
  8314.                     <xsl:call-template name="templ_prop_OpenBracket"/>
  8315.                 </xsl:if>
  8316.                 
  8317.                 <xsl:value-of select="$monthYear"/>
  8318.  
  8319.                 <xsl:if test="string-length($volume)>0 or string-length($issue)>0">
  8320.                     <xsl:call-template name="templ_prop_CloseBracket"/>
  8321.                 </xsl:if>
  8322.             </xsl:if>
  8323.             
  8324.             <xsl:if test="(string-length($volume)>0 or string-length($issue)>0 or string-length($monthYear)>0) and (string-length($pages)>0)">
  8325.                 <xsl:call-template name="templ_prop_EnumSeparator"/>
  8326.             </xsl:if>
  8327.  
  8328.             <xsl:if test="string-length($pages)>0">
  8329.                 <xsl:if test="(string-length(b:JournalName)>0 or string-length(b:Publisher)>0)and not((string-length($volume)>0 or string-length($issue)>0 or string-length($monthYear)>0))">
  8330.                     <xsl:call-template name="templ_prop_Space"/>
  8331.                 </xsl:if>
  8332.                 <xsl:value-of select="$pages"/>
  8333.             </xsl:if>
  8334.         </xsl:variable>
  8335.         
  8336.         <xsl:call-template name="appendField_Dot">
  8337.             <xsl:with-param name="field" select="$temp"/>
  8338.         </xsl:call-template>
  8339.         
  8340.         
  8341.     </xsl:template>
  8342.  
  8343.     <xsl:template match="*" mode="outputHtml">
  8344.         <xsl:element name="{name()}" namespace="{namespace-uri()}">
  8345.             <xsl:for-each select="@*">
  8346.                 <xsl:attribute name="{name()}" namespace="{namespace-uri()}">
  8347.                     <xsl:value-of select="." />
  8348.                 </xsl:attribute>
  8349.             </xsl:for-each>
  8350.             <xsl:apply-templates mode="outputHtml"/>        
  8351.         </xsl:element>
  8352.     </xsl:template>
  8353.  
  8354.     
  8355.     <xsl:template name="templateVI">
  8356.  
  8357.         <xsl:variable name="volume">
  8358.             <xsl:call-template name="handleSpaces">
  8359.                 <xsl:with-param name="field" select="b:Volume"/>
  8360.             </xsl:call-template>
  8361.         </xsl:variable>
  8362.  
  8363.         <xsl:variable name="issue">
  8364.             <xsl:call-template name="handleSpaces">
  8365.                 <xsl:with-param name="field" select="b:Issue"/>
  8366.             </xsl:call-template>
  8367.         </xsl:variable>
  8368.     
  8369.         <xsl:variable name="prop_APA_Hyphens">
  8370.           <xsl:call-template name="templ_prop_Hyphens"/>
  8371.         </xsl:variable>
  8372.         
  8373.             <xsl:variable name="theVolume">
  8374.             <xsl:if test="string-length($volume)>0">
  8375.                 <xsl:call-template name="StringFormat">
  8376.                     <xsl:with-param name="format">
  8377.                       <xsl:choose>
  8378.                         <xsl:when test="not(string-length($volume)=string-length(translate($volume, ',', '')))">
  8379.                           <xsl:call-template name="templ_str_VolumesShortCap"/>
  8380.                         </xsl:when>
  8381.                         <xsl:when test="string-length($volume)=string-length(translate($volume, $prop_APA_Hyphens, ''))">
  8382.                           <xsl:call-template name="templ_str_VolumeShortCap"/>
  8383.                         </xsl:when>
  8384.                         <xsl:otherwise>
  8385.                           <xsl:call-template name="templ_str_VolumesShortCap"/>
  8386.                         </xsl:otherwise>
  8387.                       </xsl:choose>
  8388.                     </xsl:with-param>
  8389.                     <xsl:with-param name="parameters">
  8390.                         <t:params>
  8391.                             <t:param>
  8392.                                 <xsl:value-of select="$volume"/>
  8393.                             </t:param>
  8394.                         </t:params>
  8395.                     </xsl:with-param>
  8396.                 </xsl:call-template>    
  8397.             </xsl:if>
  8398.         </xsl:variable>
  8399.  
  8400.     <xsl:variable name="str_NumberShortUnCap">
  8401.       <xsl:call-template name="templ_str_NumberShortUnCap"/>
  8402.     </xsl:variable>
  8403.     <xsl:variable name="str_NumberShortCap">
  8404.       <xsl:call-template name="templ_str_NumberShortCap"/>
  8405.     </xsl:variable>
  8406.  
  8407.     <xsl:variable name="theIssue">
  8408.             <xsl:if test="string-length($issue)>0">
  8409.                 <xsl:if test="string-length($volume)>0">
  8410.                     <xsl:call-template name="StringFormat">
  8411.                           <xsl:with-param name="format" select="$str_NumberShortUnCap"/>
  8412.                           <xsl:with-param name="parameters">
  8413.                               <t:params>
  8414.                                   <t:param>
  8415.                                     <xsl:value-of select="$issue"/>
  8416.                                 </t:param>
  8417.                               </t:params>
  8418.                           </xsl:with-param>
  8419.                     </xsl:call-template>
  8420.                 </xsl:if>
  8421.                 <xsl:if test="string-length($volume)=0">
  8422.                     <xsl:call-template name="StringFormat">
  8423.                           <xsl:with-param name="format" select="$str_NumberShortCap"/>
  8424.                           <xsl:with-param name="parameters">
  8425.                               <t:params>
  8426.                                   <t:param>
  8427.                                     <xsl:value-of select="$issue"/>
  8428.                                 </t:param>
  8429.                               </t:params>
  8430.                           </xsl:with-param>
  8431.                     </xsl:call-template>
  8432.                 </xsl:if>
  8433.             </xsl:if>
  8434.         </xsl:variable>
  8435.  
  8436.  
  8437.         <xsl:call-template name="templateB">
  8438.             <xsl:with-param name="first" select="$theVolume"/>
  8439.             <xsl:with-param name="second" select="$theIssue"/>
  8440.         </xsl:call-template>        
  8441.     </xsl:template>
  8442.  
  8443.     <xsl:template name="templateCPDMY">
  8444.  
  8445.         <xsl:variable name="date">
  8446.             <xsl:call-template name="formatDate"/>
  8447.         </xsl:variable>
  8448.  
  8449.         <xsl:variable name = "temp">
  8450.             <xsl:call-template name="templateA">
  8451.                 <xsl:with-param name="first">
  8452.                     <xsl:call-template name="templateCityStateProvince" />
  8453.                 </xsl:with-param>
  8454.                 <xsl:with-param name="second" select="b:Publisher"/>
  8455.                 <xsl:with-param name="third">
  8456.                     <xsl:if test = "string-length($date) > 0">
  8457.                         <xsl:call-template name="templ_prop_OpenBracket"/>
  8458.                         <xsl:value-of select="$date"/>
  8459.                         <xsl:call-template name="templ_prop_CloseBracket"/>
  8460.                     </xsl:if>
  8461.  
  8462.                     <xsl:if test = "string-length(b:Pages) > 0 and string-length($date) > 0">
  8463.                         <xsl:call-template name="templ_prop_EnumSeparator"/>
  8464.                         <xsl:value-of select="b:Pages"/>
  8465.                     </xsl:if>
  8466.                 </xsl:with-param>
  8467.             </xsl:call-template>    
  8468.         </xsl:variable>
  8469.  
  8470.         <xsl:if test = "string-length($temp) > 0">
  8471.             <xsl:value-of select="$temp"/>
  8472.         </xsl:if>
  8473.         
  8474.         <xsl:if test = "string-length(b:Pages) > 0 and string-length($date) = 0">
  8475.             <xsl:if test = "string-length($temp) > 0">
  8476.                 <xsl:call-template name="templ_prop_Space"/>
  8477.             </xsl:if>
  8478.  
  8479.             <xsl:call-template name="appendField_Dot">
  8480.                 <xsl:with-param name="field" select="b:Pages"/>
  8481.             </xsl:call-template>
  8482.         </xsl:if>
  8483.     </xsl:template>
  8484.  
  8485.     <xsl:template name="templateDACURL">
  8486.  
  8487.         <xsl:variable name="date">
  8488.             <xsl:call-template name="formatDateAccessed"/>
  8489.         </xsl:variable>
  8490.  
  8491.         <xsl:if test = "string-length(b:URL) > 0">
  8492.             <xsl:value-of select="b:URL"/>
  8493.         </xsl:if>
  8494.         
  8495.         <xsl:if test = "string-length(b:URL) > 0 and string-length($date) > 0">
  8496.             <xsl:call-template name="templ_prop_Space"/>
  8497.         </xsl:if>
  8498.  
  8499.         <xsl:if test = "string-length($date) > 0">
  8500.             <xsl:call-template name="templ_prop_OpenBracket"/>
  8501.             <xsl:call-template name="StringFormat">
  8502.                 <xsl:with-param name="format">
  8503.                     <xsl:call-template name="templ_str_AccessedUnCap"/>
  8504.                 </xsl:with-param>
  8505.                 <xsl:with-param name="parameters">
  8506.                     <t:params>
  8507.                         <t:param>
  8508.                             <xsl:value-of select="$date"/>
  8509.                         </t:param>
  8510.                     </t:params>
  8511.                 </xsl:with-param>
  8512.             </xsl:call-template>
  8513.             <xsl:call-template name="templ_prop_CloseBracket"/>
  8514.         </xsl:if>
  8515.     </xsl:template>
  8516.  
  8517.     <xsl:template name="templateRICPY">
  8518.         <xsl:variable name="tempCPY">
  8519.             <xsl:call-template name="templateCPYNoDot"/>
  8520.         </xsl:variable>
  8521.  
  8522.         <xsl:call-template name='PrintList'>
  8523.             <xsl:with-param name="list">
  8524.                 <Items>
  8525.                     <TextItem>
  8526.                         <xsl:value-of select ="b:ThesisType"/>
  8527.                     </TextItem>
  8528.                     <TextItem>
  8529.                         <xsl:value-of select ="b:Department"/>
  8530.                     </TextItem>
  8531.                     <TextItem>
  8532.                         <xsl:value-of select ="b:Institution"/>
  8533.                     </TextItem>
  8534.                     <TextItem>
  8535.                         <xsl:value-of select ="$tempCPY"/>
  8536.                     </TextItem>
  8537.                     <TextItem>
  8538.                         <xsl:value-of select ="b:Pages"/>
  8539.                     </TextItem>
  8540.                 </Items>
  8541.             </xsl:with-param>
  8542.         </xsl:call-template>
  8543.     
  8544.     </xsl:template>
  8545.  
  8546.     <xsl:template name="templatePR">
  8547.  
  8548.         <xsl:variable name="producerName">
  8549.             <xsl:call-template name="formatProducerName"/>
  8550.         </xsl:variable>
  8551.  
  8552.         <xsl:variable name="productionCompany">
  8553.             <xsl:call-template name="handleSpaces">
  8554.                 <xsl:with-param name="field" select="b:ProductionCompany"/>
  8555.             </xsl:call-template>
  8556.         </xsl:variable>
  8557.  
  8558.  
  8559.         <xsl:variable name="prod">
  8560.             <xsl:if test="string-length($producerName)>0">
  8561.                 <xsl:value-of select="$producerName"/>
  8562.             </xsl:if>
  8563.  
  8564.             <xsl:if test="string-length($producerName)=0 and string-length($productionCompany)">
  8565.                 <xsl:value-of select="$productionCompany"/>
  8566.             </xsl:if>
  8567.         </xsl:variable>
  8568.  
  8569.         <xsl:call-template name="templateC">
  8570.             <xsl:with-param name="first" select="$prod"/>
  8571.             <xsl:with-param name="second" select="b:RecordingNumber"/>
  8572.         </xsl:call-template>        
  8573.     </xsl:template>
  8574.  
  8575.     <xsl:template name="formatNameCore">
  8576.         <xsl:param name="FML"/>
  8577.         <xsl:param name="FM"/>
  8578.         <xsl:param name="ML"/>
  8579.         <xsl:param name="FL"/>
  8580.         <xsl:param name="upperLast"/>
  8581.         <xsl:param name="withDot"/>
  8582.  
  8583.         <xsl:variable name="first">
  8584.             <xsl:call-template name="handleSpaces">
  8585.                 <xsl:with-param name="field" select="b:First"/>
  8586.             </xsl:call-template>
  8587.         </xsl:variable>
  8588.  
  8589.         <xsl:variable name="middle">
  8590.             <xsl:call-template name="handleSpaces">
  8591.                 <xsl:with-param name="field" select="b:Middle"/>
  8592.             </xsl:call-template>
  8593.         </xsl:variable>
  8594.  
  8595.         <xsl:variable name="last">
  8596.             <xsl:call-template name="handleSpaces">
  8597.                 <xsl:with-param name="field" select="b:Last"/>
  8598.             </xsl:call-template>
  8599.         </xsl:variable>
  8600.         
  8601.         <xsl:variable name="format">
  8602.             <xsl:choose>
  8603.                 <xsl:when test="string-length($first) = 0 and string-length($middle) = 0 and string-length($last) = 0 ">
  8604.                 </xsl:when>
  8605.                 <xsl:when test="string-length($first) = 0 and string-length($middle) = 0 and string-length($last) != 0 ">
  8606.                     <xsl:call-template name="templ_prop_SimpleAuthor_L" />
  8607.                 </xsl:when>
  8608.                 <xsl:when test="string-length($first) = 0 and string-length($middle) != 0 and string-length($last) = 0 ">
  8609.           <xsl:call-template name="templ_prop_SimpleAuthor_M" />
  8610.                 </xsl:when>
  8611.                 <xsl:when test="string-length($first) = 0 and string-length($middle) != 0 and string-length($last) != 0 ">
  8612.                     <xsl:value-of select="$ML"/>
  8613.                 </xsl:when>
  8614.                 <xsl:when test="string-length($first) != 0 and string-length($middle) = 0 and string-length($last) = 0 ">
  8615.                     <xsl:call-template name="templ_prop_SimpleAuthor_F" />
  8616.                 </xsl:when>
  8617.                 <xsl:when test="string-length($first) != 0 and string-length($middle) = 0 and string-length($last) != 0 ">
  8618.                     <xsl:value-of select="$FL"/>
  8619.                 </xsl:when>
  8620.                 <xsl:when test="string-length($first) != 0 and string-length($middle) != 0 and string-length($last) = 0 ">
  8621.                     <xsl:value-of select="$FM"/>
  8622.                 </xsl:when>
  8623.                 <xsl:when test="string-length($first) != 0 and string-length($middle) != 0 and string-length($last) != 0 ">
  8624.                     <xsl:value-of select="$FML"/>
  8625.                 </xsl:when>
  8626.             </xsl:choose>
  8627.         </xsl:variable>
  8628.         
  8629.         <xsl:call-template name="StringFormatName">
  8630.             <xsl:with-param name="format" select="$format"/>
  8631.             <xsl:with-param name="upperLast" select="$upperLast"/>
  8632.             <xsl:with-param name="withDot" select="$withDot"/>
  8633.         </xsl:call-template>
  8634.         
  8635.     </xsl:template>
  8636.  
  8637.     <xsl:template name="formatDateCorePrivate">
  8638.         <xsl:param name="DMY"/>
  8639.         <xsl:param name="DM"/>
  8640.         <xsl:param name="MY"/>
  8641.         <xsl:param name="DY"/>
  8642.  
  8643.         <xsl:param name="day"/>
  8644.         <xsl:param name="month"/>
  8645.         <xsl:param name="year"/>
  8646.         
  8647.         <xsl:param name="withDot"/>
  8648.         
  8649.         <xsl:variable name="format">
  8650.             <xsl:choose>
  8651.                 <xsl:when test="string-length($day) = 0 and string-length($month) = 0 and string-length($year) = 0 ">
  8652.                 </xsl:when>
  8653.                 <xsl:when test="string-length($day) = 0 and string-length($month) = 0 and string-length($year) != 0 ">
  8654.                     <xsl:call-template name="templ_prop_SimpleDate_Y" />
  8655.                 </xsl:when>
  8656.                 <xsl:when test="string-length($day) = 0 and string-length($month) != 0 and string-length($year) = 0 ">
  8657.                 </xsl:when>
  8658.                 <xsl:when test="string-length($day) = 0 and string-length($month) != 0 and string-length($year) != 0 ">
  8659.                     <xsl:value-of select="$MY"/>
  8660.                 </xsl:when>
  8661.                 <xsl:when test="string-length($day) != 0 and string-length($month) = 0 and string-length($year) = 0 ">
  8662.                 </xsl:when>
  8663.                 <xsl:when test="string-length($day) != 0 and string-length($month) = 0 and string-length($year) != 0 ">
  8664.                     <xsl:call-template name="templ_prop_SimpleDate_Y" />
  8665.                 </xsl:when>
  8666.                 <xsl:when test="string-length($day) != 0 and string-length($month) != 0 and string-length($year) = 0 ">
  8667.                 </xsl:when>
  8668.                 <xsl:when test="string-length($day) != 0 and string-length($month) != 0 and string-length($year) != 0 ">
  8669.                     <xsl:value-of select="$DMY"/>
  8670.                 </xsl:when>
  8671.             </xsl:choose>
  8672.         </xsl:variable>
  8673.         
  8674.         <xsl:call-template name="StringFormatDate">
  8675.             <xsl:with-param name="format" select="$format"/>
  8676.  
  8677.             <xsl:with-param name="day" select="$day"/>
  8678.             <xsl:with-param name="month" select="$month"/>
  8679.             <xsl:with-param name="year" select="$year"/>
  8680.  
  8681.             <xsl:with-param name="withDot" select="$withDot"/>
  8682.         </xsl:call-template>
  8683.         
  8684.     </xsl:template>
  8685.  
  8686.     <xsl:template name="StringFormatName">
  8687.         <xsl:param name="format" />
  8688.         <xsl:param name="withDot" />
  8689.         <xsl:param name="upperLast"/>
  8690.  
  8691.     <xsl:variable name="prop_EndChars">
  8692.       <xsl:call-template name="templ_prop_EndChars"/>
  8693.     </xsl:variable>
  8694.  
  8695.     <xsl:choose>
  8696.             <xsl:when test="$format = ''"></xsl:when>
  8697.             <xsl:when test="substring($format, 1, 2) = '%%'">
  8698.                 <xsl:text>%</xsl:text>
  8699.                 <xsl:call-template name="StringFormatName">
  8700.                     <xsl:with-param name="format" select="substring($format, 3)" />
  8701.                     <xsl:with-param name="withDot" select="$withDot" />
  8702.                     <xsl:with-param name="upperLast" select="$upperLast" />
  8703.                 </xsl:call-template>
  8704.                 <xsl:if test="string-length($format)=2 and withDot = 'yes' and not(contains($prop_EndChars, '%'))">
  8705.                     <xsl:call-template name="templ_prop_Dot"/>
  8706.                 </xsl:if>
  8707.             </xsl:when>
  8708.             <xsl:when test="substring($format, 1, 1) = '%'">
  8709.                 <xsl:variable name="what" select="substring($format, 2, 1)" />
  8710.                 
  8711.                 <xsl:choose>
  8712.                     <xsl:when test="(what = 'l' or what = 'L') and upperLast = 'yes'">
  8713.                         <span style='text-transform: uppercase;'>
  8714.                             <xsl:call-template name="formatNameOneItem">
  8715.                                 <xsl:with-param name="format" select="$what"/>
  8716.                             </xsl:call-template>
  8717.                         </span>
  8718.                     </xsl:when>
  8719.                     <xsl:otherwise>
  8720.                         <xsl:call-template name="formatNameOneItem">
  8721.                             <xsl:with-param name="format" select="$what"/>
  8722.                         </xsl:call-template>
  8723.                     </xsl:otherwise>
  8724.                 </xsl:choose>
  8725.                 <xsl:call-template name="StringFormatName">
  8726.                     <xsl:with-param name="format" select="substring($format, 3)" />
  8727.                     <xsl:with-param name="withDot" select="$withDot" />
  8728.                     <xsl:with-param name="upperLast" select="$upperLast" />
  8729.                 </xsl:call-template>
  8730.                 <xsl:if test="string-length($format)=2 and withDot='yes'">
  8731.                     <xsl:variable name="temp2">
  8732.                         <xsl:call-template name="handleSpaces">
  8733.                             <xsl:with-param name="field">
  8734.                                 <xsl:call-template name="formatNameOneItem">
  8735.                                     <xsl:with-param name="format" select="$what"/>
  8736.                                 </xsl:call-template>
  8737.                             </xsl:with-param>
  8738.                         </xsl:call-template>
  8739.                     </xsl:variable>                
  8740.                     <xsl:variable name="lastChar">
  8741.                         <xsl:value-of select="substring($temp2, string-length($temp2))"/>
  8742.                     </xsl:variable>
  8743.                     <xsl:if test="not(contains($prop_EndChars, $lastChar))">
  8744.                         <xsl:call-template name="templ_prop_Dot"/>
  8745.                     </xsl:if>
  8746.                 </xsl:if>
  8747.             </xsl:when>
  8748.             <xsl:otherwise>
  8749.                 <xsl:value-of select="substring($format, 1, 1)" />
  8750.                 <xsl:call-template name="StringFormatName">
  8751.                     <xsl:with-param name="format" select="substring($format, 2)" />
  8752.                     <xsl:with-param name="withDot" select="$withDot" />
  8753.                     <xsl:with-param name="upperLast" select="$upperLast" />
  8754.                 </xsl:call-template>
  8755.                 <xsl:if test="string-length($format)=1">
  8756.                     <xsl:if test="withDot = 'yes' and not(contains($prop_EndChars, $format))">
  8757.                         <xsl:call-template name="templ_prop_Dot"/>
  8758.                     </xsl:if>
  8759.                 </xsl:if>
  8760.             </xsl:otherwise>
  8761.         </xsl:choose>
  8762.     </xsl:template>    
  8763.  
  8764.     <xsl:template name="StringFormatDate">
  8765.         <xsl:param name="format" />
  8766.         
  8767.         <xsl:param name="day"/>
  8768.         <xsl:param name="month"/>
  8769.         <xsl:param name="year"/>        
  8770.         
  8771.         <xsl:param name="withDot" />
  8772.  
  8773.     <xsl:variable name="prop_EndChars">
  8774.       <xsl:call-template name="templ_prop_EndChars"/>
  8775.     </xsl:variable>
  8776.  
  8777.     <xsl:choose>
  8778.             <xsl:when test="$format = ''"></xsl:when>
  8779.             <xsl:when test="substring($format, 1, 2) = '%%'">
  8780.                 <xsl:text>%</xsl:text>
  8781.                 <xsl:call-template name="StringFormatDate">
  8782.                     <xsl:with-param name="format" select="substring($format, 3)" />
  8783.                     <xsl:with-param name="day" select="$day"/>
  8784.                     <xsl:with-param name="month" select="$month"/>
  8785.                     <xsl:with-param name="year" select="$year"/>
  8786.                     <xsl:with-param name="withDot" select="$withDot" />
  8787.                 </xsl:call-template>
  8788.                 <xsl:if test="string-length($format)=2 and withDot = 'yes' and not(contains($prop_EndChars, '%'))">
  8789.                     <xsl:call-template name="templ_prop_Dot"/>
  8790.                 </xsl:if>
  8791.             </xsl:when>
  8792.             <xsl:when test="substring($format, 1, 1) = '%'">
  8793.                 <xsl:variable name="what" select="substring($format, 2, 1)" />
  8794.                 <xsl:choose>
  8795.                     <xsl:when test="$what = 'D'">
  8796.                         <xsl:value-of select="$day"/>
  8797.                     </xsl:when>
  8798.                     <xsl:when test="$what = 'M'">
  8799.                         <xsl:value-of select="$month"/>
  8800.                     </xsl:when>
  8801.                     <xsl:when test="$what = 'Y'">
  8802.                         <xsl:value-of select="$year"/>
  8803.                     </xsl:when>
  8804.                 </xsl:choose>
  8805.                 <xsl:call-template name="StringFormatDate">
  8806.                     <xsl:with-param name="format" select="substring($format, 3)" />
  8807.                     <xsl:with-param name="day" select="$day"/>
  8808.                     <xsl:with-param name="month" select="$month"/>
  8809.                     <xsl:with-param name="year" select="$year"/>
  8810.                     <xsl:with-param name="withDot" select="$withDot" />
  8811.                 </xsl:call-template>
  8812.                 <xsl:if test="string-length($format)=2 and withDot='yes'">
  8813.                     <xsl:variable name="temp2">
  8814.                         <xsl:call-template name="handleSpaces">
  8815.                             <xsl:with-param name="field">
  8816.                                 <xsl:call-template name="formatNameOneItem">
  8817.                                     <xsl:with-param name="format" select="$what"/>
  8818.                                 </xsl:call-template>
  8819.                             </xsl:with-param>
  8820.                         </xsl:call-template>
  8821.                     </xsl:variable>                
  8822.                     <xsl:variable name="lastChar">
  8823.                         <xsl:value-of select="substring($temp2, string-length($temp2))"/>
  8824.                     </xsl:variable>
  8825.                     <xsl:if test="not(contains($prop_EndChars, $lastChar))">
  8826.                         <xsl:call-template name="templ_prop_Dot"/>
  8827.                     </xsl:if>
  8828.                 </xsl:if>
  8829.             </xsl:when>
  8830.             <xsl:otherwise>
  8831.                 <xsl:value-of select="substring($format, 1, 1)" />
  8832.                 <xsl:call-template name="StringFormatDate">
  8833.                     <xsl:with-param name="format" select="substring($format, 2)" />
  8834.                     <xsl:with-param name="day" select="$day"/>
  8835.                     <xsl:with-param name="month" select="$month"/>
  8836.                     <xsl:with-param name="year" select="$year"/>
  8837.                     <xsl:with-param name="withDot" select="$withDot" />
  8838.                 </xsl:call-template>
  8839.                 <xsl:if test="string-length($format)=1">
  8840.                     <xsl:if test="withDot = 'yes' and not(contains($prop_EndChars, $format))">
  8841.                         <xsl:call-template name="templ_prop_Dot"/>
  8842.                     </xsl:if>
  8843.                 </xsl:if>
  8844.             </xsl:otherwise>
  8845.         </xsl:choose>
  8846.     </xsl:template>
  8847.  
  8848.     <xsl:template name="getYear">
  8849.         <xsl:choose>
  8850.             <xsl:when test="string-length(b:Year)=0">
  8851.                 <xsl:call-template name="templ_str_NoDateShortUnCap"/>
  8852.             </xsl:when>
  8853.             <xsl:otherwise>
  8854.                 <xsl:value-of select="b:Year"/>
  8855.             </xsl:otherwise>
  8856.         </xsl:choose>
  8857.     </xsl:template>
  8858.  
  8859.     <xsl:template name="formatDateCore">
  8860.         <xsl:param name="day"/>
  8861.         <xsl:param name="month"/>
  8862.         <xsl:param name="year"/>
  8863.         <xsl:param name="displayND"/>
  8864.         
  8865.         <xsl:param name="DMY"/>
  8866.         <xsl:param name="DM"/>
  8867.         <xsl:param name="MY"/>
  8868.         <xsl:param name="DY"/>
  8869.     
  8870.         <xsl:choose>
  8871.             <xsl:when test="string-length($year)=0">
  8872.                 <xsl:if test="$displayND = 'yes'">
  8873.                     <xsl:call-template name="templ_str_NoDateShortUnCap"/>
  8874.                 </xsl:if>
  8875.             </xsl:when>
  8876.             <xsl:otherwise>
  8877.                 <xsl:call-template name="formatDateCorePrivate">
  8878.                     <xsl:with-param name="day" select="$day"/>
  8879.                     <xsl:with-param name="month" select="$month"/>
  8880.                     <xsl:with-param name="year" select="$year"/>
  8881.                     
  8882.                     <xsl:with-param name="DMY" select="$DMY"/>
  8883.                     <xsl:with-param name="DM" select="$DM"/>
  8884.                     <xsl:with-param name="MY" select="$MY"/>
  8885.                     <xsl:with-param name="DY" select="$DY"/>
  8886.                 </xsl:call-template>
  8887.             </xsl:otherwise>
  8888.         </xsl:choose>
  8889.     
  8890.     </xsl:template>
  8891.     
  8892.     <xsl:template name="formatNameOneItem">
  8893.         <xsl:param name="format"/>
  8894.  
  8895.         <xsl:choose>
  8896.             <xsl:when test="$format = 'F'">
  8897.                 <xsl:value-of select="b:First"/>
  8898.             </xsl:when>
  8899.             <xsl:when test="$format = 'L'">
  8900.                 <xsl:value-of select="b:Last"/>
  8901.             </xsl:when>
  8902.             <xsl:when test="$format = 'M'">
  8903.                 <xsl:value-of select="b:Middle"/>
  8904.             </xsl:when>
  8905.             <xsl:when test="$format = 'f'">
  8906.                 <xsl:call-template name="formatNameInitial">
  8907.                     <xsl:with-param name="name" select="b:First"/>
  8908.                 </xsl:call-template>
  8909.             </xsl:when>
  8910.             <xsl:when test="$format = 'm'">
  8911.                 <xsl:call-template name="formatNameInitial">
  8912.                     <xsl:with-param name="name" select="b:Middle"/>
  8913.                 </xsl:call-template>
  8914.             </xsl:when>
  8915.             <xsl:when test="$format = 'l'">
  8916.                 <xsl:call-template name="formatNameInitial">
  8917.                     <xsl:with-param name="name" select="b:Last"/>
  8918.                 </xsl:call-template>
  8919.             </xsl:when>
  8920.         </xsl:choose>
  8921.  
  8922.     </xsl:template>
  8923.     
  8924.     <xsl:template name="formatNameInitial">
  8925.         <xsl:param name="name"/>
  8926.         <xsl:variable name="temp">
  8927.             <xsl:call-template name="handleSpaces">
  8928.                 <xsl:with-param name="field" select="$name"/>
  8929.             </xsl:call-template>
  8930.         </xsl:variable>
  8931.  
  8932.     <xsl:variable name="prop_APA_Hyphens">
  8933.       <xsl:call-template name="templ_prop_Hyphens"/>
  8934.     </xsl:variable>
  8935.  
  8936.     <xsl:if test="string-length($temp)>0">
  8937.  
  8938.             <xsl:variable name="tempWithoutSpaces">
  8939.                 <xsl:value-of select="translate($temp, '  ', '')"/>
  8940.             </xsl:variable>
  8941.  
  8942.             <xsl:if test="not(contains($prop_APA_Hyphens, substring($tempWithoutSpaces, 1, 1)))">
  8943.                 <xsl:value-of select="substring($tempWithoutSpaces, 1, 1)"/>
  8944.                 <xsl:call-template name="templ_prop_DotInitial"/>
  8945.             </xsl:if>
  8946.  
  8947.             <xsl:call-template name="handleHyphens">
  8948.                 <xsl:with-param name="name" select="$tempWithoutSpaces"/>
  8949.             </xsl:call-template>
  8950.         </xsl:if>
  8951.     </xsl:template>
  8952.     
  8953.     <xsl:template name="handleHyphens">
  8954.         <xsl:param name="name"/>
  8955.  
  8956.     <xsl:variable name="prop_APA_Hyphens">
  8957.       <xsl:call-template name="templ_prop_Hyphens"/>
  8958.     </xsl:variable>
  8959.  
  8960.     <xsl:if test="string-length($name)>=2">
  8961.             <xsl:choose>
  8962.                 <xsl:when test="contains($prop_APA_Hyphens, substring($name, 1, 1))">
  8963.                     <xsl:value-of select="substring($name, 1, 2)"/>
  8964.                     <xsl:call-template name="templ_prop_DotInitial"/>
  8965.                     
  8966.                     <xsl:call-template name="handleHyphens">
  8967.                         <xsl:with-param name="name" select="substring($name, 3)"/>
  8968.                     </xsl:call-template>
  8969.                 </xsl:when>
  8970.                 
  8971.                 <xsl:otherwise>
  8972.                     <xsl:call-template name="handleHyphens">
  8973.                         <xsl:with-param name="name" select="substring($name, 2)"/>
  8974.                     </xsl:call-template>
  8975.                 </xsl:otherwise>
  8976.             </xsl:choose>
  8977.             
  8978.         </xsl:if>
  8979.  
  8980.     </xsl:template>
  8981.  
  8982.     <xsl:template name="PrintSpaceAndList">
  8983.         <xsl:param name="list"/>
  8984.  
  8985.         <xsl:variable name="result">
  8986.             <xsl:call-template name="PrintList">
  8987.                 <xsl:with-param name="list" select="$list" />
  8988.             </xsl:call-template>
  8989.         </xsl:variable>
  8990.  
  8991.         <xsl:if test="string-length($result) > 0">
  8992.             <xsl:call-template name="templ_prop_Space" />
  8993.             <xsl:copy-of select="$result" />
  8994.         </xsl:if>
  8995.     </xsl:template>
  8996.  
  8997.     <xsl:template name="PrintList">
  8998.         <xsl:param name="list"/>
  8999.  
  9000.         <xsl:call-template name="PrintList2">
  9001.             <xsl:with-param name="list" select="$list" />
  9002.             <xsl:with-param name="index" select="'1'" />
  9003.             <xsl:with-param name="nextSeparator">
  9004.                 <xsl:call-template name="templ_prop_ListSeparator"/>
  9005.             </xsl:with-param>
  9006.             <xsl:with-param name="textDisplayed" select="''" />
  9007.         </xsl:call-template>
  9008.     </xsl:template>
  9009.  
  9010.     <xsl:template name="PrintList2">
  9011.         <xsl:param name="list"/>
  9012.         <xsl:param name="index"/>
  9013.         <xsl:param name="nextSeparator"/>
  9014.         <xsl:param name="lastTextDisplayed"/>
  9015.  
  9016.         
  9017.  
  9018.         <xsl:choose>
  9019.             <xsl:when test="$index > count(msxsl:node-set($list)/*/*)">
  9020.                 <xsl:call-template name="need_Dot">
  9021.                     <xsl:with-param name="field" select ="$lastTextDisplayed"/>
  9022.                 </xsl:call-template>
  9023.             </xsl:when>
  9024.             <xsl:when test="local-name(msxsl:node-set($list)/*/*[$index]) = 'TextItem'">
  9025.                 <xsl:variable name="item">
  9026.                     <xsl:value-of select="msxsl:node-set($list)/*/*[$index]" />
  9027.                 </xsl:variable>
  9028.  
  9029.                 <xsl:if test="string-length($item) > 0 and string-length($lastTextDisplayed) > 0">
  9030.                     <xsl:value-of select = "$nextSeparator" />
  9031.                 </xsl:if>
  9032.  
  9033.                 <xsl:if test="string-length($item) > 0">
  9034.                     <xsl:value-of select = "$item" />
  9035.                 </xsl:if>
  9036.  
  9037.                 <xsl:call-template name="PrintList2">
  9038.                     <xsl:with-param name="list" select="$list" />
  9039.                     <xsl:with-param name="index" select="$index + 1" />
  9040.                     <xsl:with-param name="nextSeparator">
  9041.                         <xsl:choose>
  9042.                             <xsl:when test="string-length($item) > 0 and string-length($lastTextDisplayed) > 0">
  9043.                                 <xsl:call-template name="templ_prop_ListSeparator"/>
  9044.                             </xsl:when>
  9045.                             <xsl:otherwise>
  9046.                                 <xsl:value-of select="$nextSeparator" />
  9047.                             </xsl:otherwise>
  9048.                         </xsl:choose>
  9049.                     </xsl:with-param>
  9050.                     <xsl:with-param name="lastTextDisplayed">
  9051.                         <xsl:choose>
  9052.                             <xsl:when test="string-length($item) > 0">
  9053.                                 <xsl:value-of select="$item" />
  9054.                             </xsl:when>
  9055.                             <xsl:otherwise>
  9056.                                 <xsl:value-of select="$lastTextDisplayed" />
  9057.                             </xsl:otherwise>
  9058.                         </xsl:choose>
  9059.                     </xsl:with-param>
  9060.                 </xsl:call-template>                    
  9061.             </xsl:when>
  9062.             <xsl:when test="local-name(msxsl:node-set($list)/*/*[$index]) = 'GroupSeparator'">
  9063.                 <xsl:call-template name="PrintList2">
  9064.                     <xsl:with-param name="list" select="$list" />
  9065.                     <xsl:with-param name="index" select="$index + 1" />
  9066.                     <xsl:with-param name="nextSeparator">
  9067.                         <xsl:call-template name="templ_prop_GroupSeparator"/>
  9068.                     </xsl:with-param>
  9069.                     <xsl:with-param name="lastTextDisplayed" select="$lastTextDisplayed" />
  9070.                 </xsl:call-template>            
  9071.             </xsl:when>
  9072.             <xsl:when test="local-name(msxsl:node-set($list)/*/*[$index]) = 'CopyItem'">
  9073.                 <xsl:variable name="item">
  9074.                     <xsl:copy-of select="msxsl:node-set($list)/*/*[$index]" />
  9075.                 </xsl:variable>
  9076.  
  9077.                 <xsl:if test="string-length($item) > 0 and string-length($lastTextDisplayed) > 0">
  9078.                     <xsl:value-of select = "$nextSeparator" />
  9079.                 </xsl:if>
  9080.  
  9081.                 <xsl:if test="string-length($item) > 0">
  9082.                     <xsl:copy-of select = "msxsl:node-set($item)/*[1]" />
  9083.                 </xsl:if>
  9084.  
  9085.                 <xsl:call-template name="PrintList2">
  9086.                     <xsl:with-param name="list" select="$list" />
  9087.                     <xsl:with-param name="index" select="$index + 1" />
  9088.                     <xsl:with-param name="nextSeparator">
  9089.                         <xsl:choose>
  9090.                             <xsl:when test="string-length($item) > 0 and string-length($lastTextDisplayed) > 0">
  9091.                                 <xsl:call-template name="templ_prop_ListSeparator"/>
  9092.                             </xsl:when>
  9093.                             <xsl:otherwise>
  9094.                                 <xsl:value-of select="$nextSeparator" />
  9095.                             </xsl:otherwise>
  9096.                         </xsl:choose>
  9097.                     </xsl:with-param>
  9098.                     <xsl:with-param name="lastTextDisplayed">
  9099.                         <xsl:choose>
  9100.                             <xsl:when test="string-length(msxsl:node-set($item)/*[1]) > 0">
  9101.                                 <xsl:value-of select="msxsl:node-set($item)/*[1]" />
  9102.                             </xsl:when>
  9103.                             <xsl:otherwise>
  9104.                                 <xsl:value-of select="$lastTextDisplayed" />
  9105.                             </xsl:otherwise>
  9106.                         </xsl:choose>
  9107.                     </xsl:with-param>
  9108.                 </xsl:call-template>
  9109.             </xsl:when>
  9110.         </xsl:choose>
  9111.  
  9112.     </xsl:template>
  9113.  
  9114.     <xsl:template name="ApplyItalicTitleNS">
  9115.         <xsl:param name="data" />
  9116.  
  9117.         <xsl:variable name="prop_NoItalics">
  9118.           <xsl:call-template name="templ_prop_NoItalics"/>
  9119.         </xsl:variable>
  9120.  
  9121.         <xsl:choose>
  9122.             <xsl:when test = "$prop_NoItalics = 'yes'">
  9123.                 <xsl:variable name = "prop_TitleOpen">
  9124.                       <xsl:call-template name="templ_prop_TitleOpen"/>
  9125.                 </xsl:variable>
  9126.                 <xsl:variable name = "prop_TitleClose">
  9127.                       <xsl:call-template name="templ_prop_TitleClose"/>
  9128.                 </xsl:variable>
  9129.                 <xsl:variable name = "prop_OpenQuote">
  9130.                       <xsl:call-template name="templ_prop_OpenQuote"/>
  9131.                 </xsl:variable>
  9132.                 <xsl:variable name = "prop_CloseQuote">
  9133.                       <xsl:call-template name="templ_prop_CloseQuote"/>
  9134.                 </xsl:variable>
  9135.                 <xsl:choose>
  9136.                     <xsl:when test = "string-length($prop_TitleOpen) > 0 and string-length($prop_TitleClose) > 0 and string-length($prop_OpenQuote) > 0 and string-length($prop_CloseQuote) > 0 and 
  9137.                                   not(starts-with($data, $prop_TitleOpen) or (substring($data, string-length($data) - string-length($prop_TitleClose)) = $prop_TitleClose) or starts-with($data, $prop_OpenQuote) or (substring($data, string-length($data) - string-length($prop_CloseQuote)) = $prop_CloseQuote))">
  9138.                           <xsl:call-template name="templ_prop_TitleOpen"/>
  9139.                         <xsl:copy-of select="msxsl:node-set($data)" />
  9140.                         <xsl:call-template name="templ_prop_TitleClose"/>
  9141.                     </xsl:when>
  9142.                     <xsl:when test = "string-length($prop_TitleOpen) > 0 and string-length($prop_TitleClose) > 0 and 
  9143.                                   not(starts-with($data, $prop_TitleOpen) or (substring($data, string-length($data) - string-length($prop_TitleClose)) = $prop_TitleClose))">
  9144.                           <xsl:call-template name="templ_prop_TitleOpen"/>
  9145.                         <xsl:copy-of select="msxsl:node-set($data)" />
  9146.                         <xsl:call-template name="templ_prop_TitleClose"/>
  9147.                     </xsl:when>
  9148.                       <xsl:otherwise>
  9149.                         <xsl:copy-of select="msxsl:node-set($data)" />
  9150.                     </xsl:otherwise>
  9151.                 </xsl:choose>
  9152.             </xsl:when>
  9153.             <xsl:otherwise>
  9154.                 <i xmlns="http://www.w3.org/TR/REC-html40">
  9155.                     <xsl:copy-of select="msxsl:node-set($data)" />
  9156.                 </i>
  9157.             </xsl:otherwise>
  9158.         </xsl:choose>
  9159.     </xsl:template>
  9160.  
  9161.     <xsl:template name="ApplyItalicFieldNS">
  9162.         <xsl:param name="data" />
  9163.  
  9164.         <xsl:variable name="prop_NoItalics">
  9165.           <xsl:call-template name="templ_prop_NoItalics"/>
  9166.         </xsl:variable>
  9167.  
  9168.         <xsl:choose>
  9169.             <xsl:when test = "$prop_NoItalics = 'yes'">
  9170.                 <xsl:copy-of select="msxsl:node-set($data)" />
  9171.             </xsl:when>
  9172.             <xsl:otherwise>
  9173.                 <i xmlns="http://www.w3.org/TR/REC-html40">
  9174.                 <xsl:copy-of select="msxsl:node-set($data)" />
  9175.                 </i>
  9176.             </xsl:otherwise>
  9177.         </xsl:choose>
  9178.     </xsl:template>
  9179.     
  9180. </xsl:stylesheet>
  9181.