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

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