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