Advertisement
Guest User

APA - Thai Compatible

a guest
Aug 20th, 2016
612
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 372.90 KB | None | 0 0
  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  2.  
  3.  
  4. <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:b="http://schemas.openxmlformats.org/officeDocument/2006/bibliography" xmlns:t="http://www.microsoft.com/temp">
  5.     <xsl:output method="html" encoding="us-ascii"/>
  6.  
  7.    
  8.     <xsl:template match="*" mode="outputHtml2">
  9.             <xsl:apply-templates mode="outputHtml"/>       
  10.     </xsl:template>
  11.  
  12.     <xsl:template name="StringFormatDot">
  13.         <xsl:param name="format" />
  14.         <xsl:param name="parameters" />
  15.  
  16.     <xsl:variable name="prop_EndChars">
  17.       <xsl:call-template name="templ_prop_EndChars"/>
  18.     </xsl:variable>
  19.  
  20.     <xsl:choose>
  21.       <xsl:when test="$format = ''"></xsl:when>
  22.       <xsl:when test="substring($format, 1, 2) = '%%'">
  23.         <xsl:text>%</xsl:text>
  24.         <xsl:call-template name="StringFormatDot">
  25.           <xsl:with-param name="format" select="substring($format, 3)" />
  26.           <xsl:with-param name="parameters" select="$parameters" />
  27.         </xsl:call-template>
  28.         <xsl:if test="string-length($format)=2">
  29.           <xsl:call-template name="templ_prop_Dot"/>
  30.         </xsl:if>
  31.       </xsl:when>
  32.       <xsl:when test="substring($format, 1, 1) = '%'">
  33.         <xsl:variable name="pos" select="substring($format, 2, 1)" />
  34.         <xsl:apply-templates select="msxsl:node-set($parameters)/t:params/t:param[position() = $pos]" mode="outputHtml2"/>
  35.         <xsl:call-template name="StringFormatDot">
  36.           <xsl:with-param name="format" select="substring($format, 3)" />
  37.           <xsl:with-param name="parameters" select="$parameters" />
  38.         </xsl:call-template>
  39.         <xsl:if test="string-length($format)=2">
  40.           <xsl:variable name="temp2">
  41.             <xsl:call-template name="handleSpaces">
  42.               <xsl:with-param name="field" select="msxsl:node-set($parameters)/t:params/t:param[position() = $pos]"/>
  43.             </xsl:call-template>
  44.                     </xsl:variable>            
  45.                     <xsl:variable name="lastChar">
  46.                         <xsl:value-of select="substring($temp2, string-length($temp2))"/>
  47.                     </xsl:variable>
  48.          
  49.           <xsl:if test="not(contains($prop_EndChars, $lastChar))">
  50.                         <xsl:call-template name="templ_prop_Dot"/>
  51.                     </xsl:if>
  52.                 </xsl:if>
  53.             </xsl:when>
  54.             <xsl:otherwise>
  55.                 <xsl:value-of select="substring($format, 1, 1)" />
  56.                 <xsl:call-template name="StringFormatDot">
  57.                     <xsl:with-param name="format" select="substring($format, 2)" />
  58.                     <xsl:with-param name="parameters" select="$parameters" />
  59.                 </xsl:call-template>
  60.                 <xsl:if test="string-length($format)=1">
  61.                     <xsl:if test="not(contains($prop_EndChars, $format))">
  62.                         <xsl:call-template name="templ_prop_Dot"/>
  63.                     </xsl:if>
  64.                 </xsl:if>
  65.             </xsl:otherwise>
  66.         </xsl:choose>
  67.     </xsl:template>
  68.  
  69.     <xsl:template name="StringFormat">
  70.         <xsl:param name="format" />
  71.         <xsl:param name="parameters" />
  72.         <xsl:choose>
  73.             <xsl:when test="$format = ''"></xsl:when>
  74.             <xsl:when test="substring($format, 1, 2) = '%%'">
  75.                 <xsl:text>%</xsl:text>
  76.                 <xsl:call-template name="StringFormat">
  77.                     <xsl:with-param name="format" select="substring($format, 3)" />
  78.                     <xsl:with-param name="parameters" select="$parameters" />
  79.                 </xsl:call-template>
  80.             </xsl:when>
  81.             <xsl:when test="substring($format, 1, 1) = '%'">
  82.                 <xsl:variable name="pos" select="substring($format, 2, 1)" />
  83.                 <xsl:apply-templates select="msxsl:node-set($parameters)/t:params/t:param[position() = $pos]" mode="outputHtml2"/>
  84.                 <xsl:call-template name="StringFormat">
  85.                     <xsl:with-param name="format" select="substring($format, 3)" />
  86.                     <xsl:with-param name="parameters" select="$parameters" />
  87.                 </xsl:call-template>
  88.             </xsl:when>
  89.             <xsl:otherwise>
  90.                 <xsl:value-of select="substring($format, 1, 1)" />
  91.                 <xsl:call-template name="StringFormat">
  92.                     <xsl:with-param name="format" select="substring($format, 2)" />
  93.                     <xsl:with-param name="parameters" select="$parameters" />
  94.                 </xsl:call-template>
  95.             </xsl:otherwise>
  96.         </xsl:choose>
  97.     </xsl:template>
  98.  
  99.              
  100.              
  101.  
  102.  
  103.  
  104.   <xsl:template name="localLCID">
  105.     <xsl:param name="LCID"/>
  106.  
  107.     <xsl:variable name="_LCID1">
  108.       <xsl:choose>
  109.         <xsl:when test="$LCID!='0' and $LCID!=''">
  110.           <xsl:value-of select="$LCID"/>
  111.         </xsl:when>
  112.         <xsl:when test="/b:Citation">
  113.           <xsl:value-of select="/*/b:Locals/b:DefaultLCID"/>
  114.         </xsl:when>
  115.         <xsl:when test="b:LCID">
  116.           <xsl:value-of select="b:LCID"/>
  117.         </xsl:when>
  118.         <xsl:when test="../b:LCID">
  119.           <xsl:value-of select="../b:LCID"/>
  120.         </xsl:when>
  121.         <xsl:when test="../../b:LCID">
  122.           <xsl:value-of select="../../b:LCID"/>
  123.         </xsl:when>
  124.         <xsl:when test="../../../b:LCID">
  125.           <xsl:value-of select="../../../b:LCID"/>
  126.         </xsl:when>
  127.         <xsl:when test="../../../../b:LCID">
  128.           <xsl:value-of select="../../../../b:LCID"/>
  129.         </xsl:when>
  130.         <xsl:when test="../../../../b:LCID">
  131.           <xsl:value-of select="../../../../b:LCID"/>
  132.         </xsl:when>
  133.         <xsl:when test="../../../../../b:LCID">
  134.           <xsl:value-of select="../../../../../b:LCID"/>
  135.         </xsl:when>
  136.         <xsl:otherwise>
  137.           <xsl:value-of select="/*/b:Locals/b:DefaultLCID"/>
  138.         </xsl:otherwise>
  139.       </xsl:choose>
  140.     </xsl:variable>
  141.  
  142.     <xsl:choose>
  143.       <xsl:when test="$_LCID1!='0' and string-length($_LCID1)>0">
  144.         <xsl:value-of select="$_LCID1"/>
  145.       </xsl:when>
  146.       <xsl:otherwise>
  147.         <xsl:value-of select="/*/b:Locals/b:DefaultLCID"/>
  148.       </xsl:otherwise>
  149.     </xsl:choose>
  150.  
  151.   </xsl:template>
  152.  
  153.  
  154.   <xsl:template name="templ_prop_MLA_CitationLong_FML" >
  155.     <xsl:param name="LCID" />
  156.     <xsl:variable name="_LCID">
  157.       <xsl:call-template name="localLCID">
  158.         <xsl:with-param name="LCID" select="$LCID"/>
  159.       </xsl:call-template>
  160.     </xsl:variable>
  161.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:CitationLong/b:FML"/>
  162.   </xsl:template>
  163.  
  164.  
  165.   <xsl:template name="templ_prop_MLA_CitationLong_FM" >
  166.     <xsl:param name="LCID" />
  167.     <xsl:variable name="_LCID">
  168.       <xsl:call-template name="localLCID">
  169.         <xsl:with-param name="LCID" select="$LCID"/>
  170.       </xsl:call-template>
  171.     </xsl:variable>
  172.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:CitationLong/b:FM"/>
  173.   </xsl:template>
  174.  
  175.  
  176.   <xsl:template name="templ_prop_MLA_CitationLong_ML" >
  177.     <xsl:param name="LCID" />
  178.     <xsl:variable name="_LCID">
  179.       <xsl:call-template name="localLCID">
  180.         <xsl:with-param name="LCID" select="$LCID"/>
  181.       </xsl:call-template>
  182.     </xsl:variable>
  183.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:CitationLong/b:ML"/>
  184.   </xsl:template>
  185.  
  186.  
  187.   <xsl:template name="templ_prop_MLA_CitationLong_FL" >
  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:FL"/>
  195.   </xsl:template>
  196.  
  197.  
  198.   <xsl:template name="templ_prop_MLA_CitationShort_FML" >
  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:CitationShort/b:FML"/>
  206.   </xsl:template>
  207.  
  208.  
  209.   <xsl:template name="templ_prop_MLA_CitationShort_FM" >
  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:CitationShort/b:FM"/>
  217.   </xsl:template>
  218.  
  219.  
  220.   <xsl:template name="templ_prop_MLA_CitationShort_ML" >
  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:CitationShort/b:ML"/>
  228.   </xsl:template>
  229.  
  230.  
  231.   <xsl:template name="templ_prop_MLA_CitationShort_FL" >
  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:FL"/>
  239.   </xsl:template>
  240.  
  241.  
  242.   <xsl:template name="templ_prop_APA_CitationLong_FML" >
  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.     <!-- Original Line
  250.    <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:CitationLong/b:FML"/>
  251.     -->
  252.     <xsl:choose>
  253.         <xsl:when test="$_LCID='1054'">
  254.             <xsl:value-of select="'%F %M %L'"/>
  255.         </xsl:when>
  256.         <xsl:otherwise>
  257.             <xsl:value-of select="'%L, %F %M'"/>
  258.         </xsl:otherwise>
  259.     </xsl:choose>
  260.   </xsl:template>
  261.  
  262.  
  263.   <xsl:template name="templ_prop_APA_CitationLong_FM" >
  264.     <xsl:param name="LCID" />
  265.     <xsl:variable name="_LCID">
  266.       <xsl:call-template name="localLCID">
  267.         <xsl:with-param name="LCID" select="$LCID"/>
  268.       </xsl:call-template>
  269.     </xsl:variable>
  270.     <!-- Original Line
  271.    <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:CitationLong/b:FM"/>
  272.     -->
  273.     <xsl:choose>
  274.         <xsl:when test="$_LCID='1054'">
  275.             <xsl:value-of select="'%F %M'"/>
  276.         </xsl:when>
  277.         <xsl:otherwise>
  278.             <xsl:value-of select="'%F %M'"/>
  279.         </xsl:otherwise>
  280.     </xsl:choose>
  281.   </xsl:template>
  282.  
  283.  
  284.   <xsl:template name="templ_prop_APA_CitationLong_ML" >
  285.     <xsl:param name="LCID" />
  286.     <xsl:variable name="_LCID">
  287.       <xsl:call-template name="localLCID">
  288.         <xsl:with-param name="LCID" select="$LCID"/>
  289.       </xsl:call-template>
  290.     </xsl:variable>
  291.     <!-- Original Line
  292.    <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:CitationLong/b:ML"/>
  293.     -->
  294.     <xsl:choose>
  295.         <xsl:when test="$_LCID='1054'">
  296.             <xsl:value-of select="'%M %L'"/>
  297.         </xsl:when>
  298.         <xsl:otherwise>
  299.             <xsl:value-of select="'%L, %M'"/>
  300.         </xsl:otherwise>
  301.     </xsl:choose>
  302.   </xsl:template>
  303.  
  304.  
  305.   <xsl:template name="templ_prop_APA_CitationLong_FL" >
  306.     <xsl:param name="LCID" />
  307.     <xsl:variable name="_LCID">
  308.       <xsl:call-template name="localLCID">
  309.         <xsl:with-param name="LCID" select="$LCID"/>
  310.       </xsl:call-template>
  311.     </xsl:variable>
  312.     <!-- Original Line
  313.    <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:CitationLong/b:FL"/>
  314.     -->
  315.     <xsl:choose>
  316.         <xsl:when test="$_LCID='1054'">
  317.             <xsl:value-of select="'%F %L'"/>
  318.         </xsl:when>
  319.         <xsl:otherwise>
  320.             <xsl:value-of select="'%L, %F'"/>
  321.         </xsl:otherwise>
  322.     </xsl:choose>
  323.   </xsl:template>
  324.  
  325.  
  326.   <xsl:template name="templ_prop_APA_CitationShort_FML" >
  327.     <xsl:param name="LCID" />
  328.     <xsl:variable name="_LCID">
  329.       <xsl:call-template name="localLCID">
  330.         <xsl:with-param name="LCID" select="$LCID"/>
  331.       </xsl:call-template>
  332.     </xsl:variable>
  333.     <!-- Original Line
  334.    <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:CitationShort/b:FML"/>
  335.     -->
  336.     <xsl:choose>
  337.         <xsl:when test="$_LCID='1054'">
  338.             <xsl:value-of select="'%F %M %L'"/>
  339.         </xsl:when>
  340.         <xsl:otherwise>
  341.             <xsl:value-of select="'%L'"/>
  342.         </xsl:otherwise>
  343.     </xsl:choose>
  344.   </xsl:template>
  345.  
  346.  
  347.   <xsl:template name="templ_prop_APA_CitationShort_FM" >
  348.     <xsl:param name="LCID" />
  349.     <xsl:variable name="_LCID">
  350.       <xsl:call-template name="localLCID">
  351.         <xsl:with-param name="LCID" select="$LCID"/>
  352.       </xsl:call-template>
  353.     </xsl:variable>
  354.     <!-- Original Line
  355.    <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:CitationShort/b:FM"/>
  356.     -->
  357.     <xsl:choose>
  358.         <xsl:when test="$_LCID='1054'">
  359.             <xsl:value-of select="'%F %M'"/>
  360.         </xsl:when>
  361.         <xsl:otherwise>
  362.             <xsl:value-of select="'%F'"/>
  363.         </xsl:otherwise>
  364.     </xsl:choose>
  365.   </xsl:template>
  366.  
  367.  
  368.   <xsl:template name="templ_prop_APA_CitationShort_ML" >
  369.     <xsl:param name="LCID" />
  370.     <xsl:variable name="_LCID">
  371.       <xsl:call-template name="localLCID">
  372.         <xsl:with-param name="LCID" select="$LCID"/>
  373.       </xsl:call-template>
  374.     </xsl:variable>
  375.     <!-- Original Line
  376.    <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:CitationShort/b:ML"/>
  377.     -->
  378.     <xsl:choose>
  379.         <xsl:when test="$_LCID='1054'">
  380.             <xsl:value-of select="'%M %L'"/>
  381.         </xsl:when>
  382.         <xsl:otherwise>
  383.             <xsl:value-of select="'%L'"/>
  384.         </xsl:otherwise>
  385.     </xsl:choose>
  386.   </xsl:template>
  387.  
  388.  
  389.   <xsl:template name="templ_prop_APA_CitationShort_FL" >
  390.     <xsl:param name="LCID" />
  391.     <xsl:variable name="_LCID">
  392.       <xsl:call-template name="localLCID">
  393.         <xsl:with-param name="LCID" select="$LCID"/>
  394.       </xsl:call-template>
  395.     </xsl:variable>
  396.     <!-- Original Line
  397.    <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:CitationShort/b:FL"/>
  398.     -->
  399.     <xsl:choose>
  400.         <xsl:when test="$_LCID='1054'">
  401.             <xsl:value-of select="'%F %L'"/>
  402.         </xsl:when>
  403.         <xsl:otherwise>
  404.             <xsl:value-of select="'%L'"/>
  405.         </xsl:otherwise>
  406.     </xsl:choose>
  407.   </xsl:template>
  408.  
  409.  
  410.   <xsl:template name="templ_prop_Chicago_CitationLong_FML" >
  411.     <xsl:param name="LCID" />
  412.     <xsl:variable name="_LCID">
  413.       <xsl:call-template name="localLCID">
  414.         <xsl:with-param name="LCID" select="$LCID"/>
  415.       </xsl:call-template>
  416.     </xsl:variable>
  417.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:CitationLong/b:FML"/>
  418.   </xsl:template>
  419.  
  420.  
  421.   <xsl:template name="templ_prop_Chicago_CitationLong_FM" >
  422.     <xsl:param name="LCID" />
  423.     <xsl:variable name="_LCID">
  424.       <xsl:call-template name="localLCID">
  425.         <xsl:with-param name="LCID" select="$LCID"/>
  426.       </xsl:call-template>
  427.     </xsl:variable>
  428.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:CitationLong/b:FM"/>
  429.   </xsl:template>
  430.  
  431.  
  432.   <xsl:template name="templ_prop_Chicago_CitationLong_ML" >
  433.     <xsl:param name="LCID" />
  434.     <xsl:variable name="_LCID">
  435.       <xsl:call-template name="localLCID">
  436.         <xsl:with-param name="LCID" select="$LCID"/>
  437.       </xsl:call-template>
  438.     </xsl:variable>
  439.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:CitationLong/b:ML"/>
  440.   </xsl:template>
  441.  
  442.  
  443.   <xsl:template name="templ_prop_Chicago_CitationLong_FL" >
  444.     <xsl:param name="LCID" />
  445.     <xsl:variable name="_LCID">
  446.       <xsl:call-template name="localLCID">
  447.         <xsl:with-param name="LCID" select="$LCID"/>
  448.       </xsl:call-template>
  449.     </xsl:variable>
  450.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:CitationLong/b:FL"/>
  451.   </xsl:template>
  452.  
  453.  
  454.   <xsl:template name="templ_prop_Chicago_CitationShort_FML" >
  455.     <xsl:param name="LCID" />
  456.     <xsl:variable name="_LCID">
  457.       <xsl:call-template name="localLCID">
  458.         <xsl:with-param name="LCID" select="$LCID"/>
  459.       </xsl:call-template>
  460.     </xsl:variable>
  461.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:CitationShort/b:FML"/>
  462.   </xsl:template>
  463.  
  464.  
  465.   <xsl:template name="templ_prop_Chicago_CitationShort_FM" >
  466.     <xsl:param name="LCID" />
  467.     <xsl:variable name="_LCID">
  468.       <xsl:call-template name="localLCID">
  469.         <xsl:with-param name="LCID" select="$LCID"/>
  470.       </xsl:call-template>
  471.     </xsl:variable>
  472.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:CitationShort/b:FM"/>
  473.   </xsl:template>
  474.  
  475.  
  476.   <xsl:template name="templ_prop_Chicago_CitationShort_ML" >
  477.     <xsl:param name="LCID" />
  478.     <xsl:variable name="_LCID">
  479.       <xsl:call-template name="localLCID">
  480.         <xsl:with-param name="LCID" select="$LCID"/>
  481.       </xsl:call-template>
  482.     </xsl:variable>
  483.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:CitationShort/b:ML"/>
  484.   </xsl:template>
  485.  
  486.  
  487.   <xsl:template name="templ_prop_Chicago_CitationShort_FL" >
  488.     <xsl:param name="LCID" />
  489.     <xsl:variable name="_LCID">
  490.       <xsl:call-template name="localLCID">
  491.         <xsl:with-param name="LCID" select="$LCID"/>
  492.       </xsl:call-template>
  493.     </xsl:variable>
  494.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:CitationShort/b:FL"/>
  495.   </xsl:template>
  496.  
  497.  
  498.   <xsl:template name="templ_prop_Gost_CitationLong_FML" >
  499.     <xsl:param name="LCID" />
  500.     <xsl:variable name="_LCID">
  501.       <xsl:call-template name="localLCID">
  502.         <xsl:with-param name="LCID" select="$LCID"/>
  503.       </xsl:call-template>
  504.     </xsl:variable>
  505.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:CitationLong/b:FML"/>
  506.   </xsl:template>
  507.  
  508.  
  509.   <xsl:template name="templ_prop_Gost_CitationLong_FM" >
  510.     <xsl:param name="LCID" />
  511.     <xsl:variable name="_LCID">
  512.       <xsl:call-template name="localLCID">
  513.         <xsl:with-param name="LCID" select="$LCID"/>
  514.       </xsl:call-template>
  515.     </xsl:variable>
  516.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:CitationLong/b:FM"/>
  517.   </xsl:template>
  518.  
  519.  
  520.   <xsl:template name="templ_prop_Gost_CitationLong_ML" >
  521.     <xsl:param name="LCID" />
  522.     <xsl:variable name="_LCID">
  523.       <xsl:call-template name="localLCID">
  524.         <xsl:with-param name="LCID" select="$LCID"/>
  525.       </xsl:call-template>
  526.     </xsl:variable>
  527.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:CitationLong/b:ML"/>
  528.   </xsl:template>
  529.  
  530.  
  531.   <xsl:template name="templ_prop_Gost_CitationLong_FL" >
  532.     <xsl:param name="LCID" />
  533.     <xsl:variable name="_LCID">
  534.       <xsl:call-template name="localLCID">
  535.         <xsl:with-param name="LCID" select="$LCID"/>
  536.       </xsl:call-template>
  537.     </xsl:variable>
  538.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:CitationLong/b:FL"/>
  539.   </xsl:template>
  540.  
  541.  
  542.   <xsl:template name="templ_prop_Gost_CitationShort_FML" >
  543.     <xsl:param name="LCID" />
  544.     <xsl:variable name="_LCID">
  545.       <xsl:call-template name="localLCID">
  546.         <xsl:with-param name="LCID" select="$LCID"/>
  547.       </xsl:call-template>
  548.     </xsl:variable>
  549.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:CitationShort/b:FML"/>
  550.   </xsl:template>
  551.  
  552.  
  553.   <xsl:template name="templ_prop_Gost_CitationShort_FM" >
  554.     <xsl:param name="LCID" />
  555.     <xsl:variable name="_LCID">
  556.       <xsl:call-template name="localLCID">
  557.         <xsl:with-param name="LCID" select="$LCID"/>
  558.       </xsl:call-template>
  559.     </xsl:variable>
  560.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:CitationShort/b:FM"/>
  561.   </xsl:template>
  562.  
  563.  
  564.   <xsl:template name="templ_prop_Gost_CitationShort_ML" >
  565.     <xsl:param name="LCID" />
  566.     <xsl:variable name="_LCID">
  567.       <xsl:call-template name="localLCID">
  568.         <xsl:with-param name="LCID" select="$LCID"/>
  569.       </xsl:call-template>
  570.     </xsl:variable>
  571.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:CitationShort/b:ML"/>
  572.   </xsl:template>
  573.  
  574.  
  575.   <xsl:template name="templ_prop_Gost_CitationShort_FL" >
  576.     <xsl:param name="LCID" />
  577.     <xsl:variable name="_LCID">
  578.       <xsl:call-template name="localLCID">
  579.         <xsl:with-param name="LCID" select="$LCID"/>
  580.       </xsl:call-template>
  581.     </xsl:variable>
  582.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:CitationShort/b:FL"/>
  583.   </xsl:template>
  584.  
  585.  
  586.   <xsl:template name="templ_prop_ISO690_CitationLong_FML" >
  587.     <xsl:param name="LCID" />
  588.     <xsl:variable name="_LCID">
  589.       <xsl:call-template name="localLCID">
  590.         <xsl:with-param name="LCID" select="$LCID"/>
  591.       </xsl:call-template>
  592.     </xsl:variable>
  593.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:CitationLong/b:FML"/>
  594.   </xsl:template>
  595.  
  596.  
  597.   <xsl:template name="templ_prop_ISO690_CitationLong_FM" >
  598.     <xsl:param name="LCID" />
  599.     <xsl:variable name="_LCID">
  600.       <xsl:call-template name="localLCID">
  601.         <xsl:with-param name="LCID" select="$LCID"/>
  602.       </xsl:call-template>
  603.     </xsl:variable>
  604.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:CitationLong/b:FM"/>
  605.   </xsl:template>
  606.  
  607.  
  608.   <xsl:template name="templ_prop_ISO690_CitationLong_ML" >
  609.     <xsl:param name="LCID" />
  610.     <xsl:variable name="_LCID">
  611.       <xsl:call-template name="localLCID">
  612.         <xsl:with-param name="LCID" select="$LCID"/>
  613.       </xsl:call-template>
  614.     </xsl:variable>
  615.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:CitationLong/b:ML"/>
  616.   </xsl:template>
  617.  
  618.  
  619.   <xsl:template name="templ_prop_ISO690_CitationLong_FL" >
  620.     <xsl:param name="LCID" />
  621.     <xsl:variable name="_LCID">
  622.       <xsl:call-template name="localLCID">
  623.         <xsl:with-param name="LCID" select="$LCID"/>
  624.       </xsl:call-template>
  625.     </xsl:variable>
  626.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:CitationLong/b:FL"/>
  627.   </xsl:template>
  628.  
  629.  
  630.   <xsl:template name="templ_prop_ISO690_CitationShort_FML" >
  631.     <xsl:param name="LCID" />
  632.     <xsl:variable name="_LCID">
  633.       <xsl:call-template name="localLCID">
  634.         <xsl:with-param name="LCID" select="$LCID"/>
  635.       </xsl:call-template>
  636.     </xsl:variable>
  637.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:CitationShort/b:FML"/>
  638.   </xsl:template>
  639.  
  640.  
  641.   <xsl:template name="templ_prop_ISO690_CitationShort_FM" >
  642.     <xsl:param name="LCID" />
  643.     <xsl:variable name="_LCID">
  644.       <xsl:call-template name="localLCID">
  645.         <xsl:with-param name="LCID" select="$LCID"/>
  646.       </xsl:call-template>
  647.     </xsl:variable>
  648.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:CitationShort/b:FM"/>
  649.   </xsl:template>
  650.  
  651.  
  652.   <xsl:template name="templ_prop_ISO690_CitationShort_ML" >
  653.     <xsl:param name="LCID" />
  654.     <xsl:variable name="_LCID">
  655.       <xsl:call-template name="localLCID">
  656.         <xsl:with-param name="LCID" select="$LCID"/>
  657.       </xsl:call-template>
  658.     </xsl:variable>
  659.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:CitationShort/b:ML"/>
  660.   </xsl:template>
  661.  
  662.  
  663.   <xsl:template name="templ_prop_ISO690_CitationShort_FL" >
  664.     <xsl:param name="LCID" />
  665.     <xsl:variable name="_LCID">
  666.       <xsl:call-template name="localLCID">
  667.         <xsl:with-param name="LCID" select="$LCID"/>
  668.       </xsl:call-template>
  669.     </xsl:variable>
  670.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:CitationShort/b:FL"/>
  671.   </xsl:template>
  672.  
  673.  
  674.   <xsl:template name="templ_str_OnlineCap" >
  675.     <xsl:param name="LCID" />
  676.     <xsl:variable name="_LCID">
  677.       <xsl:call-template name="localLCID">
  678.         <xsl:with-param name="LCID" select="$LCID"/>
  679.       </xsl:call-template>
  680.     </xsl:variable>
  681.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:OnlineCap"/>
  682.   </xsl:template>
  683.  
  684.  
  685.   <xsl:template name="templ_str_OnlineUnCap" >
  686.     <xsl:param name="LCID" />
  687.     <xsl:variable name="_LCID">
  688.       <xsl:call-template name="localLCID">
  689.         <xsl:with-param name="LCID" select="$LCID"/>
  690.       </xsl:call-template>
  691.     </xsl:variable>
  692.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:OnlineUnCap"/>
  693.   </xsl:template>
  694.  
  695.  
  696.   <xsl:template name="templ_str_FiledCap" >
  697.     <xsl:param name="LCID" />
  698.     <xsl:variable name="_LCID">
  699.       <xsl:call-template name="localLCID">
  700.         <xsl:with-param name="LCID" select="$LCID"/>
  701.       </xsl:call-template>
  702.     </xsl:variable>
  703.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:FiledCap"/>
  704.   </xsl:template>
  705.  
  706.  
  707.   <xsl:template name="templ_str_PatentFiledCap" >
  708.     <xsl:param name="LCID" />
  709.     <xsl:variable name="_LCID">
  710.       <xsl:call-template name="localLCID">
  711.         <xsl:with-param name="LCID" select="$LCID"/>
  712.       </xsl:call-template>
  713.     </xsl:variable>
  714.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PatentFiledCap"/>
  715.   </xsl:template>
  716.  
  717.  
  718.   <xsl:template name="templ_str_InCap" >
  719.     <xsl:param name="LCID" />
  720.     <xsl:variable name="_LCID">
  721.       <xsl:call-template name="localLCID">
  722.         <xsl:with-param name="LCID" select="$LCID"/>
  723.       </xsl:call-template>
  724.     </xsl:variable>
  725.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:InCap"/>
  726.   </xsl:template>
  727.  
  728.  
  729.   <xsl:template name="templ_str_OnAlbumTitleCap" >
  730.     <xsl:param name="LCID" />
  731.     <xsl:variable name="_LCID">
  732.       <xsl:call-template name="localLCID">
  733.         <xsl:with-param name="LCID" select="$LCID"/>
  734.       </xsl:call-template>
  735.     </xsl:variable>
  736.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:OnAlbumTitleCap"/>
  737.   </xsl:template>
  738.  
  739.  
  740.  
  741.   <xsl:template name="templ_str_InNameCap" >
  742.     <xsl:param name="LCID" />
  743.     <xsl:variable name="_LCID">
  744.       <xsl:call-template name="localLCID">
  745.         <xsl:with-param name="LCID" select="$LCID"/>
  746.       </xsl:call-template>
  747.     </xsl:variable>
  748.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:InNameCap"/>
  749.   </xsl:template>
  750.  
  751.  
  752.   <xsl:template name="templ_str_WithUnCap" >
  753.     <xsl:param name="LCID" />
  754.     <xsl:variable name="_LCID">
  755.       <xsl:call-template name="localLCID">
  756.         <xsl:with-param name="LCID" select="$LCID"/>
  757.       </xsl:call-template>
  758.     </xsl:variable>
  759.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:WithUnCap"/>
  760.   </xsl:template>
  761.  
  762.  
  763.   <xsl:template name="templ_str_VersionShortCap" >
  764.     <xsl:param name="LCID" />
  765.     <xsl:variable name="_LCID">
  766.       <xsl:call-template name="localLCID">
  767.         <xsl:with-param name="LCID" select="$LCID"/>
  768.       </xsl:call-template>
  769.     </xsl:variable>
  770.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:VersionShortCap"/>
  771.   </xsl:template>
  772.  
  773.  
  774.   <xsl:template name="templ_str_InterviewCap" >
  775.     <xsl:param name="LCID" />
  776.     <xsl:variable name="_LCID">
  777.       <xsl:call-template name="localLCID">
  778.         <xsl:with-param name="LCID" select="$LCID"/>
  779.       </xsl:call-template>
  780.     </xsl:variable>
  781.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:InterviewCap"/>
  782.   </xsl:template>
  783.  
  784.  
  785.   <xsl:template name="templ_str_InterviewWithCap" >
  786.     <xsl:param name="LCID" />
  787.     <xsl:variable name="_LCID">
  788.       <xsl:call-template name="localLCID">
  789.         <xsl:with-param name="LCID" select="$LCID"/>
  790.       </xsl:call-template>
  791.     </xsl:variable>
  792.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:InterviewWithCap"/>
  793.   </xsl:template>
  794.  
  795.  
  796.   <xsl:template name="templ_str_InterviewByCap" >
  797.     <xsl:param name="LCID" />
  798.     <xsl:variable name="_LCID">
  799.       <xsl:call-template name="localLCID">
  800.         <xsl:with-param name="LCID" select="$LCID"/>
  801.       </xsl:call-template>
  802.     </xsl:variable>
  803.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:InterviewByCap"/>
  804.   </xsl:template>
  805.  
  806.  
  807.   <xsl:template name="templ_str_ByCap" >
  808.     <xsl:param name="LCID" />
  809.     <xsl:variable name="_LCID">
  810.       <xsl:call-template name="localLCID">
  811.         <xsl:with-param name="LCID" select="$LCID"/>
  812.       </xsl:call-template>
  813.     </xsl:variable>
  814.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ByCap"/>
  815.   </xsl:template>
  816.  
  817.  
  818.   <xsl:template name="templ_str_AndUnCap" >
  819.     <xsl:param name="LCID" />
  820.     <xsl:variable name="_LCID">
  821.       <xsl:call-template name="localLCID">
  822.         <xsl:with-param name="LCID" select="$LCID"/>
  823.       </xsl:call-template>
  824.     </xsl:variable>
  825.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:AndUnCap"/>
  826.   </xsl:template>
  827.  
  828.  
  829.   <xsl:template name="templ_str_AndOthersUnCap" >
  830.     <xsl:param name="LCID" />
  831.     <xsl:variable name="_LCID">
  832.       <xsl:call-template name="localLCID">
  833.         <xsl:with-param name="LCID" select="$LCID"/>
  834.       </xsl:call-template>
  835.     </xsl:variable>
  836.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:AndOthersUnCap"/>
  837.   </xsl:template>
  838.  
  839.  
  840.   <xsl:template name="templ_str_MotionPictureCap" >
  841.     <xsl:param name="LCID" />
  842.     <xsl:variable name="_LCID">
  843.       <xsl:call-template name="localLCID">
  844.         <xsl:with-param name="LCID" select="$LCID"/>
  845.       </xsl:call-template>
  846.     </xsl:variable>
  847.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:MotionPictureCap"/>
  848.   </xsl:template>
  849.  
  850.  
  851.   <xsl:template name="templ_str_PatentCap" >
  852.     <xsl:param name="LCID" />
  853.     <xsl:variable name="_LCID">
  854.       <xsl:call-template name="localLCID">
  855.         <xsl:with-param name="LCID" select="$LCID"/>
  856.       </xsl:call-template>
  857.     </xsl:variable>
  858.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PatentCap"/>
  859.   </xsl:template>
  860.  
  861.  
  862.   <xsl:template name="templ_str_EditionShortUnCap" >
  863.     <xsl:param name="LCID" />
  864.     <xsl:variable name="_LCID">
  865.       <xsl:call-template name="localLCID">
  866.         <xsl:with-param name="LCID" select="$LCID"/>
  867.       </xsl:call-template>
  868.     </xsl:variable>
  869.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:EditionShortUnCap"/>
  870.   </xsl:template>
  871.  
  872.  
  873.   <xsl:template name="templ_str_EditionUnCap" >
  874.     <xsl:param name="LCID" />
  875.     <xsl:variable name="_LCID">
  876.       <xsl:call-template name="localLCID">
  877.         <xsl:with-param name="LCID" select="$LCID"/>
  878.       </xsl:call-template>
  879.     </xsl:variable>
  880.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:EditionUnCap"/>
  881.   </xsl:template>
  882.  
  883.  
  884.   <xsl:template name="templ_str_RetrievedFromCap" >
  885.     <xsl:param name="LCID" />
  886.     <xsl:variable name="_LCID">
  887.       <xsl:call-template name="localLCID">
  888.         <xsl:with-param name="LCID" select="$LCID"/>
  889.       </xsl:call-template>
  890.     </xsl:variable>
  891.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:RetrievedFromCap"/>
  892.   </xsl:template>
  893.  
  894.  
  895.   <xsl:template name="templ_str_RetrievedCap" >
  896.     <xsl:param name="LCID" />
  897.     <xsl:variable name="_LCID">
  898.       <xsl:call-template name="localLCID">
  899.         <xsl:with-param name="LCID" select="$LCID"/>
  900.       </xsl:call-template>
  901.     </xsl:variable>
  902.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:RetrievedCap"/>
  903.   </xsl:template>
  904.  
  905.  
  906.   <xsl:template name="templ_str_FromCap" >
  907.     <xsl:param name="LCID" />
  908.     <xsl:variable name="_LCID">
  909.       <xsl:call-template name="localLCID">
  910.         <xsl:with-param name="LCID" select="$LCID"/>
  911.       </xsl:call-template>
  912.     </xsl:variable>
  913.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:FromCap"/>
  914.   </xsl:template>
  915.  
  916.  
  917.   <xsl:template name="templ_str_FromUnCap" >
  918.     <xsl:param name="LCID" />
  919.     <xsl:variable name="_LCID">
  920.       <xsl:call-template name="localLCID">
  921.         <xsl:with-param name="LCID" select="$LCID"/>
  922.       </xsl:call-template>
  923.     </xsl:variable>
  924.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:FromUnCap"/>
  925.   </xsl:template>
  926.  
  927.  
  928.   <xsl:template name="templ_str_NoDateShortUnCap" >
  929.     <xsl:param name="LCID" />
  930.     <xsl:variable name="_LCID">
  931.       <xsl:call-template name="localLCID">
  932.         <xsl:with-param name="LCID" select="$LCID"/>
  933.       </xsl:call-template>
  934.     </xsl:variable>
  935.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:NoDateShortUnCap"/>
  936.   </xsl:template>
  937.  
  938.  
  939.   <xsl:template name="templ_str_NumberShortCap" >
  940.     <xsl:param name="LCID" />
  941.     <xsl:variable name="_LCID">
  942.       <xsl:call-template name="localLCID">
  943.         <xsl:with-param name="LCID" select="$LCID"/>
  944.       </xsl:call-template>
  945.     </xsl:variable>
  946.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:NumberShortCap"/>
  947.   </xsl:template>
  948.  
  949.  
  950.   <xsl:template name="templ_str_NumberShortUnCap" >
  951.     <xsl:param name="LCID" />
  952.     <xsl:variable name="_LCID">
  953.       <xsl:call-template name="localLCID">
  954.         <xsl:with-param name="LCID" select="$LCID"/>
  955.       </xsl:call-template>
  956.     </xsl:variable>
  957.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:NumberShortUnCap"/>
  958.   </xsl:template>
  959.  
  960.  
  961.   <xsl:template name="templ_str_PatentNumberShortCap" >
  962.     <xsl:param name="LCID" />
  963.     <xsl:variable name="_LCID">
  964.       <xsl:call-template name="localLCID">
  965.         <xsl:with-param name="LCID" select="$LCID"/>
  966.       </xsl:call-template>
  967.     </xsl:variable>
  968.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PatentNumberShortCap"/>
  969.   </xsl:template>
  970.  
  971.  
  972.   <xsl:template name="templ_str_PagesCountinousShort" >
  973.     <xsl:param name="LCID" />
  974.     <xsl:variable name="_LCID">
  975.       <xsl:call-template name="localLCID">
  976.         <xsl:with-param name="LCID" select="$LCID"/>
  977.       </xsl:call-template>
  978.     </xsl:variable>
  979.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PagesCountinousShort"/>
  980.   </xsl:template>
  981.  
  982.  
  983.   <xsl:template name="templ_str_PageShort" >
  984.     <xsl:param name="LCID" />
  985.     <xsl:variable name="_LCID">
  986.       <xsl:call-template name="localLCID">
  987.         <xsl:with-param name="LCID" select="$LCID"/>
  988.       </xsl:call-template>
  989.     </xsl:variable>
  990.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PageShort"/>
  991.   </xsl:template>
  992.  
  993.  
  994.   <xsl:template name="templ_str_SineNomineShort" >
  995.     <xsl:param name="LCID" />
  996.     <xsl:variable name="_LCID">
  997.       <xsl:call-template name="localLCID">
  998.         <xsl:with-param name="LCID" select="$LCID"/>
  999.       </xsl:call-template>
  1000.     </xsl:variable>
  1001.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:SineNomineShort"/>
  1002.   </xsl:template>
  1003.  
  1004.  
  1005.   <xsl:template name="templ_str_SineLocoShort" >
  1006.     <xsl:param name="LCID" />
  1007.     <xsl:variable name="_LCID">
  1008.       <xsl:call-template name="localLCID">
  1009.         <xsl:with-param name="LCID" select="$LCID"/>
  1010.       </xsl:call-template>
  1011.     </xsl:variable>
  1012.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:SineLocoShort"/>
  1013.   </xsl:template>
  1014.  
  1015.  
  1016.   <xsl:template name="templ_str_SineLocoSineNomineShort" >
  1017.     <xsl:param name="LCID" />
  1018.     <xsl:variable name="_LCID">
  1019.       <xsl:call-template name="localLCID">
  1020.         <xsl:with-param name="LCID" select="$LCID"/>
  1021.       </xsl:call-template>
  1022.     </xsl:variable>
  1023.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:SineLocoSineNomineShort"/>
  1024.   </xsl:template>
  1025.  
  1026.  
  1027.   <xsl:template name="templ_str_VolumeOfShortCap" >
  1028.     <xsl:param name="LCID" />
  1029.     <xsl:variable name="_LCID">
  1030.       <xsl:call-template name="localLCID">
  1031.         <xsl:with-param name="LCID" select="$LCID"/>
  1032.       </xsl:call-template>
  1033.     </xsl:variable>
  1034.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:VolumeOfShortCap"/>
  1035.   </xsl:template>
  1036.  
  1037.  
  1038.   <xsl:template name="templ_str_VolumesOfShortCap" >
  1039.     <xsl:param name="LCID" />
  1040.     <xsl:variable name="_LCID">
  1041.       <xsl:call-template name="localLCID">
  1042.         <xsl:with-param name="LCID" select="$LCID"/>
  1043.       </xsl:call-template>
  1044.     </xsl:variable>
  1045.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:VolumesOfShortCap"/>
  1046.   </xsl:template>
  1047.  
  1048.  
  1049.   <xsl:template name="templ_str_VolumeShortCap" >
  1050.     <xsl:param name="LCID" />
  1051.     <xsl:variable name="_LCID">
  1052.       <xsl:call-template name="localLCID">
  1053.         <xsl:with-param name="LCID" select="$LCID"/>
  1054.       </xsl:call-template>
  1055.     </xsl:variable>
  1056.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:VolumeShortCap"/>
  1057.   </xsl:template>
  1058.  
  1059.  
  1060.   <xsl:template name="templ_str_VolumeShortUnCap" >
  1061.     <xsl:param name="LCID" />
  1062.     <xsl:variable name="_LCID">
  1063.       <xsl:call-template name="localLCID">
  1064.         <xsl:with-param name="LCID" select="$LCID"/>
  1065.       </xsl:call-template>
  1066.     </xsl:variable>
  1067.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:VolumeShortUnCap"/>
  1068.   </xsl:template>
  1069.  
  1070.  
  1071.   <xsl:template name="templ_str_VolumesShortUnCap" >
  1072.     <xsl:param name="LCID" />
  1073.     <xsl:variable name="_LCID">
  1074.       <xsl:call-template name="localLCID">
  1075.         <xsl:with-param name="LCID" select="$LCID"/>
  1076.       </xsl:call-template>
  1077.     </xsl:variable>
  1078.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:VolumesShortUnCap"/>
  1079.   </xsl:template>
  1080.  
  1081.  
  1082.   <xsl:template name="templ_str_VolumesShortCap" >
  1083.     <xsl:param name="LCID" />
  1084.     <xsl:variable name="_LCID">
  1085.       <xsl:call-template name="localLCID">
  1086.         <xsl:with-param name="LCID" select="$LCID"/>
  1087.       </xsl:call-template>
  1088.     </xsl:variable>
  1089.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:VolumesShortCap"/>
  1090.   </xsl:template>
  1091.  
  1092.  
  1093.   <xsl:template name="templ_str_VolumeCap" >
  1094.     <xsl:param name="LCID" />
  1095.     <xsl:variable name="_LCID">
  1096.       <xsl:call-template name="localLCID">
  1097.         <xsl:with-param name="LCID" select="$LCID"/>
  1098.       </xsl:call-template>
  1099.     </xsl:variable>
  1100.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:VolumeCap"/>
  1101.   </xsl:template>
  1102.  
  1103.  
  1104.   <xsl:template name="templ_str_AuthorShortUnCap" >
  1105.     <xsl:param name="LCID" />
  1106.     <xsl:variable name="_LCID">
  1107.       <xsl:call-template name="localLCID">
  1108.         <xsl:with-param name="LCID" select="$LCID"/>
  1109.       </xsl:call-template>
  1110.     </xsl:variable>
  1111.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:AuthorShortUnCap"/>
  1112.   </xsl:template>
  1113.  
  1114.  
  1115.   <xsl:template name="templ_str_BookAuthorShortUnCap" >
  1116.     <xsl:param name="LCID" />
  1117.     <xsl:variable name="_LCID">
  1118.       <xsl:call-template name="localLCID">
  1119.         <xsl:with-param name="LCID" select="$LCID"/>
  1120.       </xsl:call-template>
  1121.     </xsl:variable>
  1122.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:BookAuthorShortUnCap"/>
  1123.   </xsl:template>
  1124.  
  1125.  
  1126.   <xsl:template name="templ_str_ArtistShortUnCap" >
  1127.     <xsl:param name="LCID" />
  1128.     <xsl:variable name="_LCID">
  1129.       <xsl:call-template name="localLCID">
  1130.         <xsl:with-param name="LCID" select="$LCID"/>
  1131.       </xsl:call-template>
  1132.     </xsl:variable>
  1133.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ArtistShortUnCap"/>
  1134.   </xsl:template>
  1135.  
  1136.  
  1137.   <xsl:template name="templ_str_WriterCap" >
  1138.     <xsl:param name="LCID" />
  1139.     <xsl:variable name="_LCID">
  1140.       <xsl:call-template name="localLCID">
  1141.         <xsl:with-param name="LCID" select="$LCID"/>
  1142.       </xsl:call-template>
  1143.     </xsl:variable>
  1144.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:WriterCap"/>
  1145.   </xsl:template>
  1146.  
  1147.  
  1148.   <xsl:template name="templ_str_WritersCap" >
  1149.     <xsl:param name="LCID" />
  1150.     <xsl:variable name="_LCID">
  1151.       <xsl:call-template name="localLCID">
  1152.         <xsl:with-param name="LCID" select="$LCID"/>
  1153.       </xsl:call-template>
  1154.     </xsl:variable>
  1155.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:WritersCap"/>
  1156.   </xsl:template>
  1157.  
  1158.  
  1159.   <xsl:template name="templ_str_WriterShortUnCap" >
  1160.     <xsl:param name="LCID" />
  1161.     <xsl:variable name="_LCID">
  1162.       <xsl:call-template name="localLCID">
  1163.         <xsl:with-param name="LCID" select="$LCID"/>
  1164.       </xsl:call-template>
  1165.     </xsl:variable>
  1166.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:WriterShortUnCap"/>
  1167.   </xsl:template>
  1168.  
  1169.  
  1170.   <xsl:template name="templ_str_ConductedByCap" >
  1171.     <xsl:param name="LCID" />
  1172.     <xsl:variable name="_LCID">
  1173.       <xsl:call-template name="localLCID">
  1174.         <xsl:with-param name="LCID" select="$LCID"/>
  1175.       </xsl:call-template>
  1176.     </xsl:variable>
  1177.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ConductedByCap"/>
  1178.   </xsl:template>
  1179.  
  1180.  
  1181.   <xsl:template name="templ_str_ConductedByUnCap" >
  1182.     <xsl:param name="LCID" />
  1183.     <xsl:variable name="_LCID">
  1184.       <xsl:call-template name="localLCID">
  1185.         <xsl:with-param name="LCID" select="$LCID"/>
  1186.       </xsl:call-template>
  1187.     </xsl:variable>
  1188.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ConductedByUnCap"/>
  1189.   </xsl:template>
  1190.  
  1191.  
  1192.   <xsl:template name="templ_str_ConductorCap" >
  1193.     <xsl:param name="LCID" />
  1194.     <xsl:variable name="_LCID">
  1195.       <xsl:call-template name="localLCID">
  1196.         <xsl:with-param name="LCID" select="$LCID"/>
  1197.       </xsl:call-template>
  1198.     </xsl:variable>
  1199.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ConductorCap"/>
  1200.   </xsl:template>
  1201.  
  1202.  
  1203.   <xsl:template name="templ_str_ConductorsCap" >
  1204.     <xsl:param name="LCID" />
  1205.     <xsl:variable name="_LCID">
  1206.       <xsl:call-template name="localLCID">
  1207.         <xsl:with-param name="LCID" select="$LCID"/>
  1208.       </xsl:call-template>
  1209.     </xsl:variable>
  1210.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ConductorsCap"/>
  1211.   </xsl:template>
  1212.  
  1213.  
  1214.   <xsl:template name="templ_str_ConductorShortCap" >
  1215.     <xsl:param name="LCID" />
  1216.     <xsl:variable name="_LCID">
  1217.       <xsl:call-template name="localLCID">
  1218.         <xsl:with-param name="LCID" select="$LCID"/>
  1219.       </xsl:call-template>
  1220.     </xsl:variable>
  1221.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ConductorShortCap"/>
  1222.   </xsl:template>
  1223.  
  1224.  
  1225.   <xsl:template name="templ_str_ConductorShortUnCap" >
  1226.     <xsl:param name="LCID" />
  1227.     <xsl:variable name="_LCID">
  1228.       <xsl:call-template name="localLCID">
  1229.         <xsl:with-param name="LCID" select="$LCID"/>
  1230.       </xsl:call-template>
  1231.     </xsl:variable>
  1232.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ConductorShortUnCap"/>
  1233.   </xsl:template>
  1234.  
  1235.  
  1236.   <xsl:template name="templ_str_ConductorsShortCap" >
  1237.     <xsl:param name="LCID" />
  1238.     <xsl:variable name="_LCID">
  1239.       <xsl:call-template name="localLCID">
  1240.         <xsl:with-param name="LCID" select="$LCID"/>
  1241.       </xsl:call-template>
  1242.     </xsl:variable>
  1243.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ConductorsShortCap"/>
  1244.   </xsl:template>
  1245.  
  1246.  
  1247.   <xsl:template name="templ_str_ConductorsShortUnCap" >
  1248.     <xsl:param name="LCID" />
  1249.     <xsl:variable name="_LCID">
  1250.       <xsl:call-template name="localLCID">
  1251.         <xsl:with-param name="LCID" select="$LCID"/>
  1252.       </xsl:call-template>
  1253.     </xsl:variable>
  1254.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ConductorsShortUnCap"/>
  1255.   </xsl:template>
  1256.  
  1257.  
  1258.   <xsl:template name="templ_str_CounselShortUnCapIso" >
  1259.     <xsl:param name="LCID" />
  1260.     <xsl:variable name="_LCID">
  1261.       <xsl:call-template name="localLCID">
  1262.         <xsl:with-param name="LCID" select="$LCID"/>
  1263.       </xsl:call-template>
  1264.     </xsl:variable>
  1265.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CounselShortUnCapIso"/>
  1266.   </xsl:template>
  1267.  
  1268.  
  1269.   <xsl:template name="templ_str_CounselShortUnCap" >
  1270.     <xsl:param name="LCID" />
  1271.     <xsl:variable name="_LCID">
  1272.       <xsl:call-template name="localLCID">
  1273.         <xsl:with-param name="LCID" select="$LCID"/>
  1274.       </xsl:call-template>
  1275.     </xsl:variable>
  1276.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CounselShortUnCap"/>
  1277.   </xsl:template>
  1278.  
  1279.  
  1280.   <xsl:template name="templ_str_DirectedByCap" >
  1281.     <xsl:param name="LCID" />
  1282.     <xsl:variable name="_LCID">
  1283.       <xsl:call-template name="localLCID">
  1284.         <xsl:with-param name="LCID" select="$LCID"/>
  1285.       </xsl:call-template>
  1286.     </xsl:variable>
  1287.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:DirectedByCap"/>
  1288.   </xsl:template>
  1289.  
  1290.  
  1291.   <xsl:template name="templ_str_DirectedByUnCap" >
  1292.     <xsl:param name="LCID" />
  1293.     <xsl:variable name="_LCID">
  1294.       <xsl:call-template name="localLCID">
  1295.         <xsl:with-param name="LCID" select="$LCID"/>
  1296.       </xsl:call-template>
  1297.     </xsl:variable>
  1298.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:DirectedByUnCap"/>
  1299.   </xsl:template>
  1300.  
  1301.  
  1302.   <xsl:template name="templ_str_DirectorCap" >
  1303.     <xsl:param name="LCID" />
  1304.     <xsl:variable name="_LCID">
  1305.       <xsl:call-template name="localLCID">
  1306.         <xsl:with-param name="LCID" select="$LCID"/>
  1307.       </xsl:call-template>
  1308.     </xsl:variable>
  1309.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:DirectorCap"/>
  1310.   </xsl:template>
  1311.  
  1312.  
  1313.   <xsl:template name="templ_str_DirectorsCap" >
  1314.     <xsl:param name="LCID" />
  1315.     <xsl:variable name="_LCID">
  1316.       <xsl:call-template name="localLCID">
  1317.         <xsl:with-param name="LCID" select="$LCID"/>
  1318.       </xsl:call-template>
  1319.     </xsl:variable>
  1320.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:DirectorsCap"/>
  1321.   </xsl:template>
  1322.  
  1323.  
  1324.   <xsl:template name="templ_str_DirectorShortCap" >
  1325.     <xsl:param name="LCID" />
  1326.     <xsl:variable name="_LCID">
  1327.       <xsl:call-template name="localLCID">
  1328.         <xsl:with-param name="LCID" select="$LCID"/>
  1329.       </xsl:call-template>
  1330.     </xsl:variable>
  1331.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:DirectorShortCap"/>
  1332.   </xsl:template>
  1333.  
  1334.  
  1335.   <xsl:template name="templ_str_DirectorShortUnCap" >
  1336.     <xsl:param name="LCID" />
  1337.     <xsl:variable name="_LCID">
  1338.       <xsl:call-template name="localLCID">
  1339.         <xsl:with-param name="LCID" select="$LCID"/>
  1340.       </xsl:call-template>
  1341.     </xsl:variable>
  1342.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:DirectorShortUnCap"/>
  1343.   </xsl:template>
  1344.  
  1345.  
  1346.   <xsl:template name="templ_str_DirectorsShortCap" >
  1347.     <xsl:param name="LCID" />
  1348.     <xsl:variable name="_LCID">
  1349.       <xsl:call-template name="localLCID">
  1350.         <xsl:with-param name="LCID" select="$LCID"/>
  1351.       </xsl:call-template>
  1352.     </xsl:variable>
  1353.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:DirectorsShortCap"/>
  1354.   </xsl:template>
  1355.  
  1356.  
  1357.   <xsl:template name="templ_str_DirectorsShortUnCap" >
  1358.     <xsl:param name="LCID" />
  1359.     <xsl:variable name="_LCID">
  1360.       <xsl:call-template name="localLCID">
  1361.         <xsl:with-param name="LCID" select="$LCID"/>
  1362.       </xsl:call-template>
  1363.     </xsl:variable>
  1364.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:DirectorsShortUnCap"/>
  1365.   </xsl:template>
  1366.  
  1367.  
  1368.   <xsl:template name="templ_str_EditedByCap" >
  1369.     <xsl:param name="LCID" />
  1370.     <xsl:variable name="_LCID">
  1371.       <xsl:call-template name="localLCID">
  1372.         <xsl:with-param name="LCID" select="$LCID"/>
  1373.       </xsl:call-template>
  1374.     </xsl:variable>
  1375.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:EditedByCap"/>
  1376.   </xsl:template>
  1377.  
  1378.  
  1379.   <xsl:template name="templ_str_EditedByUnCap" >
  1380.     <xsl:param name="LCID" />
  1381.     <xsl:variable name="_LCID">
  1382.       <xsl:call-template name="localLCID">
  1383.         <xsl:with-param name="LCID" select="$LCID"/>
  1384.       </xsl:call-template>
  1385.     </xsl:variable>
  1386.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:EditedByUnCap"/>
  1387.   </xsl:template>
  1388.  
  1389.  
  1390.   <xsl:template name="templ_str_EditorCap" >
  1391.     <xsl:param name="LCID" />
  1392.     <xsl:variable name="_LCID">
  1393.       <xsl:call-template name="localLCID">
  1394.         <xsl:with-param name="LCID" select="$LCID"/>
  1395.       </xsl:call-template>
  1396.     </xsl:variable>
  1397.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:EditorCap"/>
  1398.   </xsl:template>
  1399.  
  1400.  
  1401.   <xsl:template name="templ_str_EditorsCap" >
  1402.     <xsl:param name="LCID" />
  1403.     <xsl:variable name="_LCID">
  1404.       <xsl:call-template name="localLCID">
  1405.         <xsl:with-param name="LCID" select="$LCID"/>
  1406.       </xsl:call-template>
  1407.     </xsl:variable>
  1408.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:EditorsCap"/>
  1409.   </xsl:template>
  1410.  
  1411.  
  1412.   <xsl:template name="templ_str_EditorShortCap" >
  1413.     <xsl:param name="LCID" />
  1414.     <xsl:variable name="_LCID">
  1415.       <xsl:call-template name="localLCID">
  1416.         <xsl:with-param name="LCID" select="$LCID"/>
  1417.       </xsl:call-template>
  1418.     </xsl:variable>
  1419.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:EditorShortCap"/>
  1420.   </xsl:template>
  1421.  
  1422.  
  1423.   <xsl:template name="templ_str_EditorShortUnCap" >
  1424.     <xsl:param name="LCID" />
  1425.     <xsl:variable name="_LCID">
  1426.       <xsl:call-template name="localLCID">
  1427.         <xsl:with-param name="LCID" select="$LCID"/>
  1428.       </xsl:call-template>
  1429.     </xsl:variable>
  1430.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:EditorShortUnCap"/>
  1431.   </xsl:template>
  1432.  
  1433.  
  1434.   <xsl:template name="templ_str_EditorsShortCap" >
  1435.     <xsl:param name="LCID" />
  1436.     <xsl:variable name="_LCID">
  1437.       <xsl:call-template name="localLCID">
  1438.         <xsl:with-param name="LCID" select="$LCID"/>
  1439.       </xsl:call-template>
  1440.     </xsl:variable>
  1441.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:EditorsShortCap"/>
  1442.   </xsl:template>
  1443.  
  1444.  
  1445.   <xsl:template name="templ_str_EditorsShortUnCap" >
  1446.     <xsl:param name="LCID" />
  1447.     <xsl:variable name="_LCID">
  1448.       <xsl:call-template name="localLCID">
  1449.         <xsl:with-param name="LCID" select="$LCID"/>
  1450.       </xsl:call-template>
  1451.     </xsl:variable>
  1452.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:EditorsShortUnCap"/>
  1453.   </xsl:template>
  1454.  
  1455.  
  1456.   <xsl:template name="templ_str_IntervieweeShortUnCap" >
  1457.     <xsl:param name="LCID" />
  1458.     <xsl:variable name="_LCID">
  1459.       <xsl:call-template name="localLCID">
  1460.         <xsl:with-param name="LCID" select="$LCID"/>
  1461.       </xsl:call-template>
  1462.     </xsl:variable>
  1463.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:IntervieweeShortUnCap"/>
  1464.   </xsl:template>
  1465.  
  1466.  
  1467.   <xsl:template name="templ_str_InterviewerCap" >
  1468.     <xsl:param name="LCID" />
  1469.     <xsl:variable name="_LCID">
  1470.       <xsl:call-template name="localLCID">
  1471.         <xsl:with-param name="LCID" select="$LCID"/>
  1472.       </xsl:call-template>
  1473.     </xsl:variable>
  1474.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:InterviewerCap"/>
  1475.   </xsl:template>
  1476.  
  1477.  
  1478.   <xsl:template name="templ_str_InterviewersCap" >
  1479.     <xsl:param name="LCID" />
  1480.     <xsl:variable name="_LCID">
  1481.       <xsl:call-template name="localLCID">
  1482.         <xsl:with-param name="LCID" select="$LCID"/>
  1483.       </xsl:call-template>
  1484.     </xsl:variable>
  1485.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:InterviewersCap"/>
  1486.   </xsl:template>
  1487.  
  1488.  
  1489.   <xsl:template name="templ_str_InventorShortUnCap" >
  1490.     <xsl:param name="LCID" />
  1491.     <xsl:variable name="_LCID">
  1492.       <xsl:call-template name="localLCID">
  1493.         <xsl:with-param name="LCID" select="$LCID"/>
  1494.       </xsl:call-template>
  1495.     </xsl:variable>
  1496.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:InventorShortUnCap"/>
  1497.   </xsl:template>
  1498.  
  1499.  
  1500.   <xsl:template name="templ_str_PerformedByCap" >
  1501.     <xsl:param name="LCID" />
  1502.     <xsl:variable name="_LCID">
  1503.       <xsl:call-template name="localLCID">
  1504.         <xsl:with-param name="LCID" select="$LCID"/>
  1505.       </xsl:call-template>
  1506.     </xsl:variable>
  1507.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PerformedByCap"/>
  1508.   </xsl:template>
  1509.  
  1510.  
  1511.   <xsl:template name="templ_str_PerformedByUnCap" >
  1512.     <xsl:param name="LCID" />
  1513.     <xsl:variable name="_LCID">
  1514.       <xsl:call-template name="localLCID">
  1515.         <xsl:with-param name="LCID" select="$LCID"/>
  1516.       </xsl:call-template>
  1517.     </xsl:variable>
  1518.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PerformedByUnCap"/>
  1519.   </xsl:template>
  1520.  
  1521.  
  1522.   <xsl:template name="templ_str_PerformerCap" >
  1523.     <xsl:param name="LCID" />
  1524.     <xsl:variable name="_LCID">
  1525.       <xsl:call-template name="localLCID">
  1526.         <xsl:with-param name="LCID" select="$LCID"/>
  1527.       </xsl:call-template>
  1528.     </xsl:variable>
  1529.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PerformerCap"/>
  1530.   </xsl:template>
  1531.  
  1532.  
  1533.   <xsl:template name="templ_str_PerformersCap" >
  1534.     <xsl:param name="LCID" />
  1535.     <xsl:variable name="_LCID">
  1536.       <xsl:call-template name="localLCID">
  1537.         <xsl:with-param name="LCID" select="$LCID"/>
  1538.       </xsl:call-template>
  1539.     </xsl:variable>
  1540.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PerformersCap"/>
  1541.   </xsl:template>
  1542.  
  1543.  
  1544.   <xsl:template name="templ_str_PerformerShortCap" >
  1545.     <xsl:param name="LCID" />
  1546.     <xsl:variable name="_LCID">
  1547.       <xsl:call-template name="localLCID">
  1548.         <xsl:with-param name="LCID" select="$LCID"/>
  1549.       </xsl:call-template>
  1550.     </xsl:variable>
  1551.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PerformerShortCap"/>
  1552.   </xsl:template>
  1553.  
  1554.  
  1555.   <xsl:template name="templ_str_PerformerShortUnCap" >
  1556.     <xsl:param name="LCID" />
  1557.     <xsl:variable name="_LCID">
  1558.       <xsl:call-template name="localLCID">
  1559.         <xsl:with-param name="LCID" select="$LCID"/>
  1560.       </xsl:call-template>
  1561.     </xsl:variable>
  1562.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PerformerShortUnCap"/>
  1563.   </xsl:template>
  1564.  
  1565.  
  1566.   <xsl:template name="templ_str_PerformersShortCap" >
  1567.     <xsl:param name="LCID" />
  1568.     <xsl:variable name="_LCID">
  1569.       <xsl:call-template name="localLCID">
  1570.         <xsl:with-param name="LCID" select="$LCID"/>
  1571.       </xsl:call-template>
  1572.     </xsl:variable>
  1573.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PerformersShortCap"/>
  1574.   </xsl:template>
  1575.  
  1576.  
  1577.   <xsl:template name="templ_str_PerformersShortUnCap" >
  1578.     <xsl:param name="LCID" />
  1579.     <xsl:variable name="_LCID">
  1580.       <xsl:call-template name="localLCID">
  1581.         <xsl:with-param name="LCID" select="$LCID"/>
  1582.       </xsl:call-template>
  1583.     </xsl:variable>
  1584.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PerformersShortUnCap"/>
  1585.   </xsl:template>
  1586.  
  1587.  
  1588.   <xsl:template name="templ_str_ProducedByCap" >
  1589.     <xsl:param name="LCID" />
  1590.     <xsl:variable name="_LCID">
  1591.       <xsl:call-template name="localLCID">
  1592.         <xsl:with-param name="LCID" select="$LCID"/>
  1593.       </xsl:call-template>
  1594.     </xsl:variable>
  1595.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ProducedByCap"/>
  1596.   </xsl:template>
  1597.  
  1598.  
  1599.   <xsl:template name="templ_str_ProducedByUnCap" >
  1600.     <xsl:param name="LCID" />
  1601.     <xsl:variable name="_LCID">
  1602.       <xsl:call-template name="localLCID">
  1603.         <xsl:with-param name="LCID" select="$LCID"/>
  1604.       </xsl:call-template>
  1605.     </xsl:variable>
  1606.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ProducedByUnCap"/>
  1607.   </xsl:template>
  1608.  
  1609.  
  1610.   <xsl:template name="templ_str_ProducerCap" >
  1611.     <xsl:param name="LCID" />
  1612.     <xsl:variable name="_LCID">
  1613.       <xsl:call-template name="localLCID">
  1614.         <xsl:with-param name="LCID" select="$LCID"/>
  1615.       </xsl:call-template>
  1616.     </xsl:variable>
  1617.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ProducerCap"/>
  1618.   </xsl:template>
  1619.  
  1620.  
  1621.   <xsl:template name="templ_str_ProducersCap" >
  1622.     <xsl:param name="LCID" />
  1623.     <xsl:variable name="_LCID">
  1624.       <xsl:call-template name="localLCID">
  1625.         <xsl:with-param name="LCID" select="$LCID"/>
  1626.       </xsl:call-template>
  1627.     </xsl:variable>
  1628.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ProducersCap"/>
  1629.   </xsl:template>
  1630.  
  1631.  
  1632.   <xsl:template name="templ_str_ProductionCompanyShortCap" >
  1633.     <xsl:param name="LCID" />
  1634.     <xsl:variable name="_LCID">
  1635.       <xsl:call-template name="localLCID">
  1636.         <xsl:with-param name="LCID" select="$LCID"/>
  1637.       </xsl:call-template>
  1638.     </xsl:variable>
  1639.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ProductionCompanyShortCap"/>
  1640.   </xsl:template>
  1641.  
  1642.  
  1643.   <xsl:template name="templ_str_ProducerShortCap" >
  1644.     <xsl:param name="LCID" />
  1645.     <xsl:variable name="_LCID">
  1646.       <xsl:call-template name="localLCID">
  1647.         <xsl:with-param name="LCID" select="$LCID"/>
  1648.       </xsl:call-template>
  1649.     </xsl:variable>
  1650.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ProducerShortCap"/>
  1651.   </xsl:template>
  1652.  
  1653.  
  1654.   <xsl:template name="templ_str_ProducersShortCap" >
  1655.     <xsl:param name="LCID" />
  1656.     <xsl:variable name="_LCID">
  1657.       <xsl:call-template name="localLCID">
  1658.         <xsl:with-param name="LCID" select="$LCID"/>
  1659.       </xsl:call-template>
  1660.     </xsl:variable>
  1661.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ProducersShortCap"/>
  1662.   </xsl:template>
  1663.  
  1664.  
  1665.   <xsl:template name="templ_str_ProducerShortUnCap" >
  1666.     <xsl:param name="LCID" />
  1667.     <xsl:variable name="_LCID">
  1668.       <xsl:call-template name="localLCID">
  1669.         <xsl:with-param name="LCID" select="$LCID"/>
  1670.       </xsl:call-template>
  1671.     </xsl:variable>
  1672.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ProducerShortUnCap"/>
  1673.   </xsl:template>
  1674.  
  1675.  
  1676.   <xsl:template name="templ_str_TranslatedByCap" >
  1677.     <xsl:param name="LCID" />
  1678.     <xsl:variable name="_LCID">
  1679.       <xsl:call-template name="localLCID">
  1680.         <xsl:with-param name="LCID" select="$LCID"/>
  1681.       </xsl:call-template>
  1682.     </xsl:variable>
  1683.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:TranslatedByCap"/>
  1684.   </xsl:template>
  1685.  
  1686.  
  1687.   <xsl:template name="templ_str_TranslatedByUnCap" >
  1688.     <xsl:param name="LCID" />
  1689.     <xsl:variable name="_LCID">
  1690.       <xsl:call-template name="localLCID">
  1691.         <xsl:with-param name="LCID" select="$LCID"/>
  1692.       </xsl:call-template>
  1693.     </xsl:variable>
  1694.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:TranslatedByUnCap"/>
  1695.   </xsl:template>
  1696.  
  1697.  
  1698.   <xsl:template name="templ_str_TranslatorCap" >
  1699.     <xsl:param name="LCID" />
  1700.     <xsl:variable name="_LCID">
  1701.       <xsl:call-template name="localLCID">
  1702.         <xsl:with-param name="LCID" select="$LCID"/>
  1703.       </xsl:call-template>
  1704.     </xsl:variable>
  1705.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:TranslatorCap"/>
  1706.   </xsl:template>
  1707.  
  1708.  
  1709.   <xsl:template name="templ_str_TranslatorsCap" >
  1710.     <xsl:param name="LCID" />
  1711.     <xsl:variable name="_LCID">
  1712.       <xsl:call-template name="localLCID">
  1713.         <xsl:with-param name="LCID" select="$LCID"/>
  1714.       </xsl:call-template>
  1715.     </xsl:variable>
  1716.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:TranslatorsCap"/>
  1717.   </xsl:template>
  1718.  
  1719.  
  1720.   <xsl:template name="templ_str_TranslatorShortCap" >
  1721.     <xsl:param name="LCID" />
  1722.     <xsl:variable name="_LCID">
  1723.       <xsl:call-template name="localLCID">
  1724.         <xsl:with-param name="LCID" select="$LCID"/>
  1725.       </xsl:call-template>
  1726.     </xsl:variable>
  1727.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:TranslatorShortCap"/>
  1728.   </xsl:template>
  1729.  
  1730.  
  1731.   <xsl:template name="templ_str_TranslatorShortUnCap" >
  1732.     <xsl:param name="LCID" />
  1733.     <xsl:variable name="_LCID">
  1734.       <xsl:call-template name="localLCID">
  1735.         <xsl:with-param name="LCID" select="$LCID"/>
  1736.       </xsl:call-template>
  1737.     </xsl:variable>
  1738.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:TranslatorShortUnCap"/>
  1739.   </xsl:template>
  1740.  
  1741.  
  1742.   <xsl:template name="templ_str_TranslatorsShortCap" >
  1743.     <xsl:param name="LCID" />
  1744.     <xsl:variable name="_LCID">
  1745.       <xsl:call-template name="localLCID">
  1746.         <xsl:with-param name="LCID" select="$LCID"/>
  1747.       </xsl:call-template>
  1748.     </xsl:variable>
  1749.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:TranslatorsShortCap"/>
  1750.   </xsl:template>
  1751.  
  1752.  
  1753.   <xsl:template name="templ_str_TranslatorsShortUnCap" >
  1754.     <xsl:param name="LCID" />
  1755.     <xsl:variable name="_LCID">
  1756.       <xsl:call-template name="localLCID">
  1757.         <xsl:with-param name="LCID" select="$LCID"/>
  1758.       </xsl:call-template>
  1759.     </xsl:variable>
  1760.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:TranslatorsShortUnCap"/>
  1761.   </xsl:template>
  1762.  
  1763.  
  1764.   <xsl:template name="templ_str_ComposerCap" >
  1765.     <xsl:param name="LCID" />
  1766.     <xsl:variable name="_LCID">
  1767.       <xsl:call-template name="localLCID">
  1768.         <xsl:with-param name="LCID" select="$LCID"/>
  1769.       </xsl:call-template>
  1770.     </xsl:variable>
  1771.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ComposerCap"/>
  1772.   </xsl:template>
  1773.  
  1774.  
  1775.   <xsl:template name="templ_str_ComposersCap" >
  1776.     <xsl:param name="LCID" />
  1777.     <xsl:variable name="_LCID">
  1778.       <xsl:call-template name="localLCID">
  1779.         <xsl:with-param name="LCID" select="$LCID"/>
  1780.       </xsl:call-template>
  1781.     </xsl:variable>
  1782.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ComposersCap"/>
  1783.   </xsl:template>
  1784.  
  1785.  
  1786.   <xsl:template name="templ_str_ComposerShortCap" >
  1787.     <xsl:param name="LCID" />
  1788.     <xsl:variable name="_LCID">
  1789.       <xsl:call-template name="localLCID">
  1790.         <xsl:with-param name="LCID" select="$LCID"/>
  1791.       </xsl:call-template>
  1792.     </xsl:variable>
  1793.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ComposerShortCap"/>
  1794.   </xsl:template>
  1795.  
  1796.  
  1797.   <xsl:template name="templ_str_ComposersShortCap" >
  1798.     <xsl:param name="LCID" />
  1799.     <xsl:variable name="_LCID">
  1800.       <xsl:call-template name="localLCID">
  1801.         <xsl:with-param name="LCID" select="$LCID"/>
  1802.       </xsl:call-template>
  1803.     </xsl:variable>
  1804.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ComposersShortCap"/>
  1805.   </xsl:template>
  1806.  
  1807.  
  1808.   <xsl:template name="templ_str_ComposerShortUnCapIso" >
  1809.     <xsl:param name="LCID" />
  1810.     <xsl:variable name="_LCID">
  1811.       <xsl:call-template name="localLCID">
  1812.         <xsl:with-param name="LCID" select="$LCID"/>
  1813.       </xsl:call-template>
  1814.     </xsl:variable>
  1815.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ComposerShortUnCapIso"/>
  1816.   </xsl:template>
  1817.  
  1818.  
  1819.   <xsl:template name="templ_str_CompiledByCap" >
  1820.     <xsl:param name="LCID" />
  1821.     <xsl:variable name="_LCID">
  1822.       <xsl:call-template name="localLCID">
  1823.         <xsl:with-param name="LCID" select="$LCID"/>
  1824.       </xsl:call-template>
  1825.     </xsl:variable>
  1826.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CompiledByCap"/>
  1827.   </xsl:template>
  1828.  
  1829.  
  1830.   <xsl:template name="templ_str_CompiledByUnCap" >
  1831.     <xsl:param name="LCID" />
  1832.     <xsl:variable name="_LCID">
  1833.       <xsl:call-template name="localLCID">
  1834.         <xsl:with-param name="LCID" select="$LCID"/>
  1835.       </xsl:call-template>
  1836.     </xsl:variable>
  1837.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CompiledByUnCap"/>
  1838.   </xsl:template>
  1839.  
  1840.  
  1841.   <xsl:template name="templ_str_CompilerCap" >
  1842.     <xsl:param name="LCID" />
  1843.     <xsl:variable name="_LCID">
  1844.       <xsl:call-template name="localLCID">
  1845.         <xsl:with-param name="LCID" select="$LCID"/>
  1846.       </xsl:call-template>
  1847.     </xsl:variable>
  1848.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CompilerCap"/>
  1849.   </xsl:template>
  1850.  
  1851.  
  1852.   <xsl:template name="templ_str_CompilersCap" >
  1853.     <xsl:param name="LCID" />
  1854.     <xsl:variable name="_LCID">
  1855.       <xsl:call-template name="localLCID">
  1856.         <xsl:with-param name="LCID" select="$LCID"/>
  1857.       </xsl:call-template>
  1858.     </xsl:variable>
  1859.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CompilersCap"/>
  1860.   </xsl:template>
  1861.  
  1862.  
  1863.   <xsl:template name="templ_str_CompilerShortCap" >
  1864.     <xsl:param name="LCID" />
  1865.     <xsl:variable name="_LCID">
  1866.       <xsl:call-template name="localLCID">
  1867.         <xsl:with-param name="LCID" select="$LCID"/>
  1868.       </xsl:call-template>
  1869.     </xsl:variable>
  1870.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CompilerShortCap"/>
  1871.   </xsl:template>
  1872.  
  1873.  
  1874.   <xsl:template name="templ_str_CompilerShortUnCap" >
  1875.     <xsl:param name="LCID" />
  1876.     <xsl:variable name="_LCID">
  1877.       <xsl:call-template name="localLCID">
  1878.         <xsl:with-param name="LCID" select="$LCID"/>
  1879.       </xsl:call-template>
  1880.     </xsl:variable>
  1881.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CompilerShortUnCap"/>
  1882.   </xsl:template>
  1883.  
  1884.  
  1885.   <xsl:template name="templ_str_CompilersShortCap" >
  1886.     <xsl:param name="LCID" />
  1887.     <xsl:variable name="_LCID">
  1888.       <xsl:call-template name="localLCID">
  1889.         <xsl:with-param name="LCID" select="$LCID"/>
  1890.       </xsl:call-template>
  1891.     </xsl:variable>
  1892.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CompilersShortCap"/>
  1893.   </xsl:template>
  1894.  
  1895.  
  1896.   <xsl:template name="templ_str_CompilersShortUnCap" >
  1897.     <xsl:param name="LCID" />
  1898.     <xsl:variable name="_LCID">
  1899.       <xsl:call-template name="localLCID">
  1900.         <xsl:with-param name="LCID" select="$LCID"/>
  1901.       </xsl:call-template>
  1902.     </xsl:variable>
  1903.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CompilersShortUnCap"/>
  1904.   </xsl:template>
  1905.  
  1906.  
  1907.   <xsl:template name="templ_str_CompilerShortUnCapIso" >
  1908.     <xsl:param name="LCID" />
  1909.     <xsl:variable name="_LCID">
  1910.       <xsl:call-template name="localLCID">
  1911.         <xsl:with-param name="LCID" select="$LCID"/>
  1912.       </xsl:call-template>
  1913.     </xsl:variable>
  1914.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CompilerShortUnCapIso"/>
  1915.   </xsl:template>
  1916.  
  1917.  
  1918.  
  1919.  
  1920.  
  1921.   <xsl:template name="templ_prop_Culture" >
  1922.     <xsl:param name="LCID" />
  1923.     <xsl:variable name="_LCID">
  1924.       <xsl:call-template name="localLCID">
  1925.         <xsl:with-param name="LCID" select="$LCID"/>
  1926.       </xsl:call-template>
  1927.     </xsl:variable>
  1928.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/@Culture"/>
  1929.   </xsl:template>
  1930.  
  1931.  
  1932.   <xsl:template name="templ_prop_Direction" >
  1933.     <xsl:param name="LCID" />
  1934.     <xsl:variable name="_LCID">
  1935.       <xsl:call-template name="localLCID">
  1936.         <xsl:with-param name="LCID" select="$LCID"/>
  1937.       </xsl:call-template>
  1938.     </xsl:variable>
  1939.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Properties/b:Direction"/>
  1940.   </xsl:template>
  1941.  
  1942.  
  1943.  
  1944.  
  1945.  
  1946.   <xsl:template name="templ_prop_NoItalics" >
  1947.     <xsl:param name="LCID" />
  1948.     <xsl:variable name="_LCID">
  1949.       <xsl:call-template name="localLCID">
  1950.         <xsl:with-param name="LCID" select="$LCID"/>
  1951.       </xsl:call-template>
  1952.     </xsl:variable>
  1953.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:NoItalics"/>
  1954.   </xsl:template>
  1955.  
  1956.  
  1957.   <xsl:template name="templ_prop_TitleOpen" >
  1958.     <xsl:param name="LCID" />
  1959.     <xsl:variable name="_LCID">
  1960.       <xsl:call-template name="localLCID">
  1961.         <xsl:with-param name="LCID" select="$LCID"/>
  1962.       </xsl:call-template>
  1963.     </xsl:variable>
  1964.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:TitleOpen"/>
  1965.   </xsl:template>
  1966.  
  1967.  
  1968.   <xsl:template name="templ_prop_TitleClose" >
  1969.     <xsl:param name="LCID" />
  1970.     <xsl:variable name="_LCID">
  1971.       <xsl:call-template name="localLCID">
  1972.         <xsl:with-param name="LCID" select="$LCID"/>
  1973.       </xsl:call-template>
  1974.     </xsl:variable>
  1975.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:TitleClose"/>
  1976.   </xsl:template>  
  1977.  
  1978.  
  1979.   <xsl:template name="templ_prop_EndChars" >
  1980.     <xsl:param name="LCID" />
  1981.     <xsl:variable name="_LCID">
  1982.       <xsl:call-template name="localLCID">
  1983.         <xsl:with-param name="LCID" select="$LCID"/>
  1984.       </xsl:call-template>
  1985.     </xsl:variable>
  1986.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:EndChars"/>
  1987.   </xsl:template>
  1988.  
  1989.  
  1990.   <xsl:template name="templ_prop_NormalizeSpace" >
  1991.     <xsl:param name="LCID" />
  1992.     <xsl:variable name="_LCID">
  1993.       <xsl:call-template name="localLCID">
  1994.         <xsl:with-param name="LCID" select="$LCID"/>
  1995.       </xsl:call-template>
  1996.     </xsl:variable>
  1997.     <xsl:text>no</xsl:text>
  1998.    
  1999.   </xsl:template>
  2000.  
  2001.  
  2002.   <xsl:template name="templ_prop_Space" >
  2003.     <xsl:param name="LCID" />
  2004.     <xsl:variable name="_LCID">
  2005.       <xsl:call-template name="localLCID">
  2006.         <xsl:with-param name="LCID" select="$LCID"/>
  2007.       </xsl:call-template>
  2008.     </xsl:variable>
  2009.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:Space"/>
  2010.   </xsl:template>
  2011.  
  2012.  
  2013.   <xsl:template name="templ_prop_NonBreakingSpace" >
  2014.     <xsl:param name="LCID" />
  2015.     <xsl:variable name="_LCID">
  2016.       <xsl:call-template name="localLCID">
  2017.         <xsl:with-param name="LCID" select="$LCID"/>
  2018.       </xsl:call-template>
  2019.     </xsl:variable>
  2020.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:NonBreakingSpace"/>
  2021.   </xsl:template>
  2022.  
  2023.  
  2024.   <xsl:template name="templ_prop_ListSeparator" >
  2025.     <xsl:param name="LCID" />
  2026.     <xsl:variable name="_LCID">
  2027.       <xsl:call-template name="localLCID">
  2028.         <xsl:with-param name="LCID" select="$LCID"/>
  2029.       </xsl:call-template>
  2030.     </xsl:variable>
  2031.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:ListSeparator"/>
  2032.   </xsl:template>
  2033.  
  2034.  
  2035.   <xsl:template name="templ_prop_Dot" >
  2036.     <xsl:param name="LCID" />
  2037.     <xsl:variable name="_LCID">
  2038.       <xsl:call-template name="localLCID">
  2039.         <xsl:with-param name="LCID" select="$LCID"/>
  2040.       </xsl:call-template>
  2041.     </xsl:variable>
  2042.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:Dot"/>
  2043.   </xsl:template>
  2044.  
  2045.  
  2046.   <xsl:template name="templ_prop_DotInitial" >
  2047.     <xsl:param name="LCID" />
  2048.     <xsl:variable name="_LCID">
  2049.       <xsl:call-template name="localLCID">
  2050.         <xsl:with-param name="LCID" select="$LCID"/>
  2051.       </xsl:call-template>
  2052.     </xsl:variable>
  2053.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:DotInitial"/>
  2054.   </xsl:template>
  2055.  
  2056.  
  2057.   <xsl:template name="templ_prop_GroupSeparator" >
  2058.     <xsl:param name="LCID" />
  2059.     <xsl:variable name="_LCID">
  2060.       <xsl:call-template name="localLCID">
  2061.         <xsl:with-param name="LCID" select="$LCID"/>
  2062.       </xsl:call-template>
  2063.     </xsl:variable>
  2064.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:GroupSeparator"/>
  2065.   </xsl:template>
  2066.  
  2067.  
  2068.   <xsl:template name="templ_prop_EnumSeparator" >
  2069.     <xsl:param name="LCID" />
  2070.     <xsl:variable name="_LCID">
  2071.       <xsl:call-template name="localLCID">
  2072.         <xsl:with-param name="LCID" select="$LCID"/>
  2073.       </xsl:call-template>
  2074.     </xsl:variable>
  2075.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:EnumSeparator"/>
  2076.   </xsl:template>
  2077.  
  2078.  
  2079.   <xsl:template name="templ_prop_Equal" >
  2080.     <xsl:param name="LCID" />
  2081.     <xsl:variable name="_LCID">
  2082.       <xsl:call-template name="localLCID">
  2083.         <xsl:with-param name="LCID" select="$LCID"/>
  2084.       </xsl:call-template>
  2085.     </xsl:variable>
  2086.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:Equal"/>
  2087.   </xsl:template>
  2088.  
  2089.  
  2090.   <xsl:template name="templ_prop_Enum" >
  2091.     <xsl:param name="LCID" />
  2092.     <xsl:variable name="_LCID">
  2093.       <xsl:call-template name="localLCID">
  2094.         <xsl:with-param name="LCID" select="$LCID"/>
  2095.       </xsl:call-template>
  2096.     </xsl:variable>
  2097.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:Enum"/>
  2098.   </xsl:template>
  2099.  
  2100.  
  2101.   <xsl:template name="templ_prop_OpenQuote" >
  2102.     <xsl:param name="LCID" />
  2103.     <xsl:variable name="_LCID">
  2104.       <xsl:call-template name="localLCID">
  2105.         <xsl:with-param name="LCID" select="$LCID"/>
  2106.       </xsl:call-template>
  2107.     </xsl:variable>
  2108.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:OpenQuote"/>
  2109.   </xsl:template>
  2110.  
  2111.  
  2112.   <xsl:template name="templ_prop_CloseQuote" >
  2113.     <xsl:param name="LCID" />
  2114.     <xsl:variable name="_LCID">
  2115.       <xsl:call-template name="localLCID">
  2116.         <xsl:with-param name="LCID" select="$LCID"/>
  2117.       </xsl:call-template>
  2118.     </xsl:variable>
  2119.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:CloseQuote"/>
  2120.   </xsl:template>
  2121.  
  2122.  
  2123.   <xsl:template name="templ_prop_OpenBracket" >
  2124.     <xsl:param name="LCID" />
  2125.     <xsl:variable name="_LCID">
  2126.       <xsl:call-template name="localLCID">
  2127.         <xsl:with-param name="LCID" select="$LCID"/>
  2128.       </xsl:call-template>
  2129.     </xsl:variable>
  2130.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:OpenBracket"/>
  2131.   </xsl:template>
  2132.  
  2133.  
  2134.   <xsl:template name="templ_prop_CloseBracket" >
  2135.     <xsl:param name="LCID" />
  2136.     <xsl:variable name="_LCID">
  2137.       <xsl:call-template name="localLCID">
  2138.         <xsl:with-param name="LCID" select="$LCID"/>
  2139.       </xsl:call-template>
  2140.     </xsl:variable>
  2141.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:CloseBracket"/>
  2142.   </xsl:template>
  2143.  
  2144.  
  2145.   <xsl:template name="templ_prop_FromToDash" >
  2146.     <xsl:param name="LCID" />
  2147.     <xsl:variable name="_LCID">
  2148.       <xsl:call-template name="localLCID">
  2149.         <xsl:with-param name="LCID" select="$LCID"/>
  2150.       </xsl:call-template>
  2151.     </xsl:variable>
  2152.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:FromToDash"/>
  2153.   </xsl:template>
  2154.  
  2155.  
  2156.   <xsl:template name="templ_prop_OpenLink" >
  2157.     <xsl:param name="LCID" />
  2158.     <xsl:variable name="_LCID">
  2159.       <xsl:call-template name="localLCID">
  2160.         <xsl:with-param name="LCID" select="$LCID"/>
  2161.       </xsl:call-template>
  2162.     </xsl:variable>
  2163.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:OpenLink"/>
  2164.   </xsl:template>
  2165.  
  2166.  
  2167.   <xsl:template name="templ_prop_CloseLink" >
  2168.     <xsl:param name="LCID" />
  2169.     <xsl:variable name="_LCID">
  2170.       <xsl:call-template name="localLCID">
  2171.         <xsl:with-param name="LCID" select="$LCID"/>
  2172.       </xsl:call-template>
  2173.     </xsl:variable>
  2174.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:CloseLink"/>
  2175.   </xsl:template>
  2176.  
  2177.  
  2178.   <xsl:template name="templ_prop_AuthorsSeparator" >
  2179.     <xsl:param name="LCID" />
  2180.     <xsl:variable name="_LCID">
  2181.       <xsl:call-template name="localLCID">
  2182.         <xsl:with-param name="LCID" select="$LCID"/>
  2183.       </xsl:call-template>
  2184.     </xsl:variable>
  2185.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:AuthorsSeparator"/>
  2186.   </xsl:template>
  2187.  
  2188.  
  2189.   <xsl:template name="templ_prop_NoAndBeforeLastAuthor" >
  2190.     <xsl:param name="LCID" />
  2191.     <xsl:variable name="_LCID">
  2192.       <xsl:call-template name="localLCID">
  2193.         <xsl:with-param name="LCID" select="$LCID"/>
  2194.       </xsl:call-template>
  2195.     </xsl:variable>
  2196.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:NoAndBeforeLastAuthor"/>
  2197.   </xsl:template>
  2198.  
  2199.  
  2200.   <xsl:template name="templ_prop_NoCommaBeforeAnd" >
  2201.     <xsl:param name="LCID" />
  2202.     <xsl:variable name="_LCID">
  2203.       <xsl:call-template name="localLCID">
  2204.         <xsl:with-param name="LCID" select="$LCID"/>
  2205.       </xsl:call-template>
  2206.     </xsl:variable>
  2207.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:NoCommaBeforeAnd"/>
  2208.   </xsl:template>
  2209.  
  2210.   <xsl:template name="templ_prop_SimpleAuthor_F" >
  2211.   <xsl:text>%F</xsl:text>
  2212.  
  2213.   </xsl:template>
  2214.  
  2215.  
  2216.   <xsl:template name="templ_prop_SimpleAuthor_M" >
  2217.   <xsl:text>%M</xsl:text>
  2218.  
  2219.   </xsl:template>
  2220.  
  2221.  
  2222.   <xsl:template name="templ_prop_SimpleAuthor_L" >
  2223.   <xsl:text>%L</xsl:text>
  2224.  
  2225.   </xsl:template>
  2226.  
  2227.  
  2228.   <xsl:template name="templ_prop_SimpleDate_D" >
  2229.   <xsl:text>%D</xsl:text>
  2230.  
  2231.   </xsl:template>
  2232.  
  2233.  
  2234.   <xsl:template name="templ_prop_SimpleDate_M" >
  2235.   <xsl:text>%M</xsl:text>
  2236.  
  2237.   </xsl:template>
  2238.  
  2239.  
  2240.   <xsl:template name="templ_prop_SimpleDate_Y" >
  2241.   <xsl:text>%Y</xsl:text>
  2242.  
  2243.   </xsl:template>
  2244.  
  2245.  
  2246.   <xsl:template name="templ_prop_MLA_SameAuthor" >
  2247.     <xsl:param name="LCID" />
  2248.     <xsl:variable name="_LCID">
  2249.       <xsl:call-template name="localLCID">
  2250.         <xsl:with-param name="LCID" select="$LCID"/>
  2251.       </xsl:call-template>
  2252.     </xsl:variable>
  2253.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:SameAuthor"/>
  2254.   </xsl:template>
  2255.  
  2256.  
  2257.   <xsl:template name="templ_prop_MLA_MainAuthor_FML" >
  2258.     <xsl:param name="LCID" />
  2259.     <xsl:variable name="_LCID">
  2260.       <xsl:call-template name="localLCID">
  2261.         <xsl:with-param name="LCID" select="$LCID"/>
  2262.       </xsl:call-template>
  2263.     </xsl:variable>
  2264.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:MainAuthor/b:FML"/>
  2265.   </xsl:template>
  2266.  
  2267.  
  2268.   <xsl:template name="templ_prop_MLA_MainAuthor_FM" >
  2269.     <xsl:param name="LCID" />
  2270.     <xsl:variable name="_LCID">
  2271.       <xsl:call-template name="localLCID">
  2272.         <xsl:with-param name="LCID" select="$LCID"/>
  2273.       </xsl:call-template>
  2274.     </xsl:variable>
  2275.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:MainAuthor/b:FM"/>
  2276.   </xsl:template>
  2277.  
  2278.  
  2279.   <xsl:template name="templ_prop_MLA_MainAuthor_ML" >
  2280.     <xsl:param name="LCID" />
  2281.     <xsl:variable name="_LCID">
  2282.       <xsl:call-template name="localLCID">
  2283.         <xsl:with-param name="LCID" select="$LCID"/>
  2284.       </xsl:call-template>
  2285.     </xsl:variable>
  2286.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:MainAuthor/b:ML"/>
  2287.   </xsl:template>
  2288.  
  2289.  
  2290.   <xsl:template name="templ_prop_MLA_MainAuthor_FL" >
  2291.     <xsl:param name="LCID" />
  2292.     <xsl:variable name="_LCID">
  2293.       <xsl:call-template name="localLCID">
  2294.         <xsl:with-param name="LCID" select="$LCID"/>
  2295.       </xsl:call-template>
  2296.     </xsl:variable>
  2297.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:MainAuthor/b:FL"/>
  2298.   </xsl:template>
  2299.  
  2300.  
  2301.   <xsl:template name="templ_prop_MLA_OtherAuthors_FML" >
  2302.     <xsl:param name="LCID" />
  2303.     <xsl:variable name="_LCID">
  2304.       <xsl:call-template name="localLCID">
  2305.         <xsl:with-param name="LCID" select="$LCID"/>
  2306.       </xsl:call-template>
  2307.     </xsl:variable>
  2308.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:OtherAuthors/b:FML"/>
  2309.   </xsl:template>
  2310.  
  2311.  
  2312.   <xsl:template name="templ_prop_MLA_OtherAuthors_FM" >
  2313.     <xsl:param name="LCID" />
  2314.     <xsl:variable name="_LCID">
  2315.       <xsl:call-template name="localLCID">
  2316.         <xsl:with-param name="LCID" select="$LCID"/>
  2317.       </xsl:call-template>
  2318.     </xsl:variable>
  2319.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:OtherAuthors/b:FM"/>
  2320.   </xsl:template>
  2321.  
  2322.  
  2323.   <xsl:template name="templ_prop_MLA_OtherAuthors_ML" >
  2324.     <xsl:param name="LCID" />
  2325.     <xsl:variable name="_LCID">
  2326.       <xsl:call-template name="localLCID">
  2327.         <xsl:with-param name="LCID" select="$LCID"/>
  2328.       </xsl:call-template>
  2329.     </xsl:variable>
  2330.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:OtherAuthors/b:ML"/>
  2331.   </xsl:template>
  2332.  
  2333.  
  2334.   <xsl:template name="templ_prop_MLA_OtherAuthors_FL" >
  2335.     <xsl:param name="LCID" />
  2336.     <xsl:variable name="_LCID">
  2337.       <xsl:call-template name="localLCID">
  2338.         <xsl:with-param name="LCID" select="$LCID"/>
  2339.       </xsl:call-template>
  2340.     </xsl:variable>
  2341.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:OtherAuthors/b:FL"/>
  2342.   </xsl:template>
  2343.  
  2344.  
  2345.   <xsl:template name="templ_prop_MLA_SecondaryAuthors_FML" >
  2346.     <xsl:param name="LCID" />
  2347.     <xsl:variable name="_LCID">
  2348.       <xsl:call-template name="localLCID">
  2349.         <xsl:with-param name="LCID" select="$LCID"/>
  2350.       </xsl:call-template>
  2351.     </xsl:variable>
  2352.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:SecondaryAuthors/b:FML"/>
  2353.   </xsl:template>
  2354.  
  2355.  
  2356.   <xsl:template name="templ_prop_MLA_SecondaryAuthors_FM" >
  2357.     <xsl:param name="LCID" />
  2358.     <xsl:variable name="_LCID">
  2359.       <xsl:call-template name="localLCID">
  2360.         <xsl:with-param name="LCID" select="$LCID"/>
  2361.       </xsl:call-template>
  2362.     </xsl:variable>
  2363.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:SecondaryAuthors/b:FM"/>
  2364.   </xsl:template>
  2365.  
  2366.  
  2367.   <xsl:template name="templ_prop_MLA_SecondaryAuthors_ML" >
  2368.     <xsl:param name="LCID" />
  2369.     <xsl:variable name="_LCID">
  2370.       <xsl:call-template name="localLCID">
  2371.         <xsl:with-param name="LCID" select="$LCID"/>
  2372.       </xsl:call-template>
  2373.     </xsl:variable>
  2374.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:SecondaryAuthors/b:ML"/>
  2375.   </xsl:template>
  2376.  
  2377.  
  2378.   <xsl:template name="templ_prop_MLA_SecondaryAuthors_FL" >
  2379.     <xsl:param name="LCID" />
  2380.     <xsl:variable name="_LCID">
  2381.       <xsl:call-template name="localLCID">
  2382.         <xsl:with-param name="LCID" select="$LCID"/>
  2383.       </xsl:call-template>
  2384.     </xsl:variable>
  2385.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:SecondaryAuthors/b:FL"/>
  2386.   </xsl:template>
  2387.  
  2388.  
  2389.   <xsl:template name="templ_prop_MLA_Date_DMY" >
  2390.     <xsl:param name="LCID" />
  2391.     <xsl:variable name="_LCID">
  2392.       <xsl:call-template name="localLCID">
  2393.         <xsl:with-param name="LCID" select="$LCID"/>
  2394.       </xsl:call-template>
  2395.     </xsl:variable>
  2396.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:Date/b:DMY"/>
  2397.   </xsl:template>
  2398.  
  2399.  
  2400.   <xsl:template name="templ_prop_MLA_Date_DM" >
  2401.     <xsl:param name="LCID" />
  2402.     <xsl:variable name="_LCID">
  2403.       <xsl:call-template name="localLCID">
  2404.         <xsl:with-param name="LCID" select="$LCID"/>
  2405.       </xsl:call-template>
  2406.     </xsl:variable>
  2407.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:Date/b:DM"/>
  2408.   </xsl:template>
  2409.  
  2410.  
  2411.   <xsl:template name="templ_prop_MLA_Date_MY" >
  2412.     <xsl:param name="LCID" />
  2413.     <xsl:variable name="_LCID">
  2414.       <xsl:call-template name="localLCID">
  2415.         <xsl:with-param name="LCID" select="$LCID"/>
  2416.       </xsl:call-template>
  2417.     </xsl:variable>
  2418.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:Date/b:MY"/>
  2419.   </xsl:template>
  2420.  
  2421.  
  2422.   <xsl:template name="templ_prop_MLA_Date_DY" >
  2423.     <xsl:param name="LCID" />
  2424.     <xsl:variable name="_LCID">
  2425.       <xsl:call-template name="localLCID">
  2426.         <xsl:with-param name="LCID" select="$LCID"/>
  2427.       </xsl:call-template>
  2428.     </xsl:variable>
  2429.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:Date/b:DY"/>
  2430.   </xsl:template>
  2431.  
  2432.  
  2433.   <xsl:template name="templ_prop_APA_MainAuthors_FML" >
  2434.     <xsl:param name="LCID" />
  2435.     <xsl:variable name="_LCID">
  2436.       <xsl:call-template name="localLCID">
  2437.         <xsl:with-param name="LCID" select="$LCID"/>
  2438.       </xsl:call-template>
  2439.     </xsl:variable>
  2440.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:MainAuthors/b:FML"/>
  2441.   </xsl:template>
  2442.  
  2443.  
  2444.   <xsl:template name="templ_prop_APA_MainAuthors_FM" >
  2445.     <xsl:param name="LCID" />
  2446.     <xsl:variable name="_LCID">
  2447.       <xsl:call-template name="localLCID">
  2448.         <xsl:with-param name="LCID" select="$LCID"/>
  2449.       </xsl:call-template>
  2450.     </xsl:variable>
  2451.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:MainAuthors/b:FM"/>
  2452.   </xsl:template>
  2453.  
  2454.  
  2455.   <xsl:template name="templ_prop_APA_MainAuthors_ML" >
  2456.     <xsl:param name="LCID" />
  2457.     <xsl:variable name="_LCID">
  2458.       <xsl:call-template name="localLCID">
  2459.         <xsl:with-param name="LCID" select="$LCID"/>
  2460.       </xsl:call-template>
  2461.     </xsl:variable>
  2462.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:MainAuthors/b:ML"/>
  2463.   </xsl:template>
  2464.  
  2465.  
  2466.   <xsl:template name="templ_prop_APA_MainAuthors_FL" >
  2467.     <xsl:param name="LCID" />
  2468.     <xsl:variable name="_LCID">
  2469.       <xsl:call-template name="localLCID">
  2470.         <xsl:with-param name="LCID" select="$LCID"/>
  2471.       </xsl:call-template>
  2472.     </xsl:variable>
  2473.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:MainAuthors/b:FL"/>
  2474.   </xsl:template>
  2475.  
  2476.  
  2477.   <xsl:template name="templ_prop_APA_SecondaryAuthors_FML" >
  2478.     <xsl:param name="LCID" />
  2479.     <xsl:variable name="_LCID">
  2480.       <xsl:call-template name="localLCID">
  2481.         <xsl:with-param name="LCID" select="$LCID"/>
  2482.       </xsl:call-template>
  2483.     </xsl:variable>
  2484.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:SecondaryAuthors/b:FML"/>
  2485.   </xsl:template>
  2486.  
  2487.  
  2488.   <xsl:template name="templ_prop_APA_SecondaryAuthors_FM" >
  2489.     <xsl:param name="LCID" />
  2490.     <xsl:variable name="_LCID">
  2491.       <xsl:call-template name="localLCID">
  2492.         <xsl:with-param name="LCID" select="$LCID"/>
  2493.       </xsl:call-template>
  2494.     </xsl:variable>
  2495.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:SecondaryAuthors/b:FM"/>
  2496.   </xsl:template>
  2497.  
  2498.  
  2499.   <xsl:template name="templ_prop_APA_SecondaryAuthors_ML" >
  2500.     <xsl:param name="LCID" />
  2501.     <xsl:variable name="_LCID">
  2502.       <xsl:call-template name="localLCID">
  2503.         <xsl:with-param name="LCID" select="$LCID"/>
  2504.       </xsl:call-template>
  2505.     </xsl:variable>
  2506.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:SecondaryAuthors/b:ML"/>
  2507.   </xsl:template>
  2508.  
  2509.  
  2510.   <xsl:template name="templ_prop_APA_SecondaryAuthors_FL" >
  2511.     <xsl:param name="LCID" />
  2512.     <xsl:variable name="_LCID">
  2513.       <xsl:call-template name="localLCID">
  2514.         <xsl:with-param name="LCID" select="$LCID"/>
  2515.       </xsl:call-template>
  2516.     </xsl:variable>
  2517.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:SecondaryAuthors/b:FL"/>
  2518.   </xsl:template>
  2519.  
  2520.  
  2521.   <xsl:template name="templ_prop_APA_BeforeLastAuthor" >
  2522.     <xsl:param name="LCID" />
  2523.     <xsl:variable name="_LCID">
  2524.       <xsl:call-template name="localLCID">
  2525.         <xsl:with-param name="LCID" select="$LCID"/>
  2526.       </xsl:call-template>
  2527.     </xsl:variable>
  2528.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:BeforeLastAuthor"/>
  2529.   </xsl:template>
  2530.  
  2531.  
  2532.   <xsl:template name="templ_prop_APA_GeneralOpen" >
  2533.     <xsl:param name="LCID" />
  2534.     <xsl:variable name="_LCID">
  2535.       <xsl:call-template name="localLCID">
  2536.         <xsl:with-param name="LCID" select="$LCID"/>
  2537.       </xsl:call-template>
  2538.     </xsl:variable>
  2539.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:GeneralOpen"/>
  2540.   </xsl:template>
  2541.  
  2542.  
  2543.   <xsl:template name="templ_prop_APA_GeneralClose" >
  2544.     <xsl:param name="LCID" />
  2545.     <xsl:variable name="_LCID">
  2546.       <xsl:call-template name="localLCID">
  2547.         <xsl:with-param name="LCID" select="$LCID"/>
  2548.       </xsl:call-template>
  2549.     </xsl:variable>
  2550.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:GeneralClose"/>
  2551.   </xsl:template>
  2552.  
  2553.  
  2554.   <xsl:template name="templ_prop_APA_SecondaryOpen" >
  2555.     <xsl:param name="LCID" />
  2556.     <xsl:variable name="_LCID">
  2557.       <xsl:call-template name="localLCID">
  2558.         <xsl:with-param name="LCID" select="$LCID"/>
  2559.       </xsl:call-template>
  2560.     </xsl:variable>
  2561.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:SecondaryOpen"/>
  2562.   </xsl:template>
  2563.  
  2564.  
  2565.   <xsl:template name="templ_prop_APA_SecondaryClose" >
  2566.     <xsl:param name="LCID" />
  2567.     <xsl:variable name="_LCID">
  2568.       <xsl:call-template name="localLCID">
  2569.         <xsl:with-param name="LCID" select="$LCID"/>
  2570.       </xsl:call-template>
  2571.     </xsl:variable>
  2572.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:SecondaryClose"/>
  2573.   </xsl:template>
  2574.  
  2575.  
  2576.   <xsl:template name="templ_prop_Hyphens" >
  2577.     <xsl:param name="LCID" />
  2578.     <xsl:variable name="_LCID">
  2579.       <xsl:call-template name="localLCID">
  2580.         <xsl:with-param name="LCID" select="$LCID"/>
  2581.       </xsl:call-template>
  2582.     </xsl:variable>
  2583.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:Hyphens"/>
  2584.   </xsl:template>
  2585.  
  2586.  
  2587.   <xsl:template name="templ_prop_APA_Date_DMY" >
  2588.     <xsl:param name="LCID" />
  2589.     <xsl:variable name="_LCID">
  2590.       <xsl:call-template name="localLCID">
  2591.         <xsl:with-param name="LCID" select="$LCID"/>
  2592.       </xsl:call-template>
  2593.     </xsl:variable>
  2594.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:Date/b:DMY"/>
  2595.   </xsl:template>
  2596.  
  2597.  
  2598.   <xsl:template name="templ_prop_APA_Date_DM" >
  2599.     <xsl:param name="LCID" />
  2600.     <xsl:variable name="_LCID">
  2601.       <xsl:call-template name="localLCID">
  2602.         <xsl:with-param name="LCID" select="$LCID"/>
  2603.       </xsl:call-template>
  2604.     </xsl:variable>
  2605.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:Date/b:DM"/>
  2606.   </xsl:template>
  2607.  
  2608.  
  2609.   <xsl:template name="templ_prop_APA_Date_MY" >
  2610.     <xsl:param name="LCID" />
  2611.     <xsl:variable name="_LCID">
  2612.       <xsl:call-template name="localLCID">
  2613.         <xsl:with-param name="LCID" select="$LCID"/>
  2614.       </xsl:call-template>
  2615.     </xsl:variable>
  2616.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:Date/b:MY"/>
  2617.   </xsl:template>
  2618.  
  2619.  
  2620.   <xsl:template name="templ_prop_APA_Date_DY" >
  2621.     <xsl:param name="LCID" />
  2622.     <xsl:variable name="_LCID">
  2623.       <xsl:call-template name="localLCID">
  2624.         <xsl:with-param name="LCID" select="$LCID"/>
  2625.       </xsl:call-template>
  2626.     </xsl:variable>
  2627.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:Date/b:DY"/>
  2628.   </xsl:template>
  2629.  
  2630.  
  2631.   <xsl:template name="templ_prop_APA_DateAccessed_DMY" >
  2632.     <xsl:param name="LCID" />
  2633.     <xsl:variable name="_LCID">
  2634.       <xsl:call-template name="localLCID">
  2635.         <xsl:with-param name="LCID" select="$LCID"/>
  2636.       </xsl:call-template>
  2637.     </xsl:variable>
  2638.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:DateAccessed/b:DMY"/>
  2639.   </xsl:template>
  2640.  
  2641.  
  2642.   <xsl:template name="templ_prop_APA_DateAccessed_DM" >
  2643.     <xsl:param name="LCID" />
  2644.     <xsl:variable name="_LCID">
  2645.       <xsl:call-template name="localLCID">
  2646.         <xsl:with-param name="LCID" select="$LCID"/>
  2647.       </xsl:call-template>
  2648.     </xsl:variable>
  2649.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:DateAccessed/b:DM"/>
  2650.   </xsl:template>
  2651.  
  2652.  
  2653.   <xsl:template name="templ_prop_APA_DateAccessed_MY" >
  2654.     <xsl:param name="LCID" />
  2655.     <xsl:variable name="_LCID">
  2656.       <xsl:call-template name="localLCID">
  2657.         <xsl:with-param name="LCID" select="$LCID"/>
  2658.       </xsl:call-template>
  2659.     </xsl:variable>
  2660.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:DateAccessed/b:MY"/>
  2661.   </xsl:template>
  2662.  
  2663.  
  2664.   <xsl:template name="templ_prop_APA_DateAccessed_DY" >
  2665.     <xsl:param name="LCID" />
  2666.     <xsl:variable name="_LCID">
  2667.       <xsl:call-template name="localLCID">
  2668.         <xsl:with-param name="LCID" select="$LCID"/>
  2669.       </xsl:call-template>
  2670.     </xsl:variable>
  2671.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:DateAccessed/b:DY"/>
  2672.   </xsl:template>
  2673.  
  2674.  
  2675.   <xsl:template name="templ_prop_APA_DateCourt_DMY" >
  2676.     <xsl:param name="LCID" />
  2677.     <xsl:variable name="_LCID">
  2678.       <xsl:call-template name="localLCID">
  2679.         <xsl:with-param name="LCID" select="$LCID"/>
  2680.       </xsl:call-template>
  2681.     </xsl:variable>
  2682.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:DateCourt/b:DMY"/>
  2683.   </xsl:template>
  2684.  
  2685.  
  2686.   <xsl:template name="templ_prop_APA_DateCourt_DM" >
  2687.     <xsl:param name="LCID" />
  2688.     <xsl:variable name="_LCID">
  2689.       <xsl:call-template name="localLCID">
  2690.         <xsl:with-param name="LCID" select="$LCID"/>
  2691.       </xsl:call-template>
  2692.     </xsl:variable>
  2693.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:DateCourt/b:DM"/>
  2694.   </xsl:template>
  2695.  
  2696.  
  2697.   <xsl:template name="templ_prop_APA_DateCourt_MY" >
  2698.     <xsl:param name="LCID" />
  2699.     <xsl:variable name="_LCID">
  2700.       <xsl:call-template name="localLCID">
  2701.         <xsl:with-param name="LCID" select="$LCID"/>
  2702.       </xsl:call-template>
  2703.     </xsl:variable>
  2704.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:DateCourt/b:MY"/>
  2705.   </xsl:template>
  2706.  
  2707.  
  2708.   <xsl:template name="templ_prop_APA_DateCourt_DY" >
  2709.     <xsl:param name="LCID" />
  2710.     <xsl:variable name="_LCID">
  2711.       <xsl:call-template name="localLCID">
  2712.         <xsl:with-param name="LCID" select="$LCID"/>
  2713.       </xsl:call-template>
  2714.     </xsl:variable>
  2715.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:DateCourt/b:DY"/>
  2716.   </xsl:template>
  2717.  
  2718.  
  2719.   <xsl:template name="templ_prop_Chicago_SameAuthor" >
  2720.     <xsl:param name="LCID" />
  2721.     <xsl:variable name="_LCID">
  2722.       <xsl:call-template name="localLCID">
  2723.         <xsl:with-param name="LCID" select="$LCID"/>
  2724.       </xsl:call-template>
  2725.     </xsl:variable>
  2726.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:SameAuthor"/>
  2727.   </xsl:template>
  2728.  
  2729.  
  2730.   <xsl:template name="templ_prop_Chicago_MainAuthor_FML" >
  2731.     <xsl:param name="LCID" />
  2732.     <xsl:variable name="_LCID">
  2733.       <xsl:call-template name="localLCID">
  2734.         <xsl:with-param name="LCID" select="$LCID"/>
  2735.       </xsl:call-template>
  2736.     </xsl:variable>
  2737.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:MainAuthor/b:FML"/>
  2738.   </xsl:template>
  2739.  
  2740.  
  2741.   <xsl:template name="templ_prop_Chicago_MainAuthor_FM" >
  2742.     <xsl:param name="LCID" />
  2743.     <xsl:variable name="_LCID">
  2744.       <xsl:call-template name="localLCID">
  2745.         <xsl:with-param name="LCID" select="$LCID"/>
  2746.       </xsl:call-template>
  2747.     </xsl:variable>
  2748.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:MainAuthor/b:FM"/>
  2749.   </xsl:template>
  2750.  
  2751.  
  2752.   <xsl:template name="templ_prop_Chicago_MainAuthor_ML" >
  2753.     <xsl:param name="LCID" />
  2754.     <xsl:variable name="_LCID">
  2755.       <xsl:call-template name="localLCID">
  2756.         <xsl:with-param name="LCID" select="$LCID"/>
  2757.       </xsl:call-template>
  2758.     </xsl:variable>
  2759.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:MainAuthor/b:ML"/>
  2760.   </xsl:template>
  2761.  
  2762.  
  2763.   <xsl:template name="templ_prop_Chicago_MainAuthor_FL" >
  2764.     <xsl:param name="LCID" />
  2765.     <xsl:variable name="_LCID">
  2766.       <xsl:call-template name="localLCID">
  2767.         <xsl:with-param name="LCID" select="$LCID"/>
  2768.       </xsl:call-template>
  2769.     </xsl:variable>
  2770.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:MainAuthor/b:FL"/>
  2771.   </xsl:template>
  2772.  
  2773.  
  2774.   <xsl:template name="templ_prop_Chicago_OtherAuthors_FML" >
  2775.     <xsl:param name="LCID" />
  2776.     <xsl:variable name="_LCID">
  2777.       <xsl:call-template name="localLCID">
  2778.         <xsl:with-param name="LCID" select="$LCID"/>
  2779.       </xsl:call-template>
  2780.     </xsl:variable>
  2781.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:OtherAuthors/b:FML"/>
  2782.   </xsl:template>
  2783.  
  2784.  
  2785.   <xsl:template name="templ_prop_Chicago_OtherAuthors_FM" >
  2786.     <xsl:param name="LCID" />
  2787.     <xsl:variable name="_LCID">
  2788.       <xsl:call-template name="localLCID">
  2789.         <xsl:with-param name="LCID" select="$LCID"/>
  2790.       </xsl:call-template>
  2791.     </xsl:variable>
  2792.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:OtherAuthors/b:FM"/>
  2793.   </xsl:template>
  2794.  
  2795.  
  2796.   <xsl:template name="templ_prop_Chicago_OtherAuthors_ML" >
  2797.     <xsl:param name="LCID" />
  2798.     <xsl:variable name="_LCID">
  2799.       <xsl:call-template name="localLCID">
  2800.         <xsl:with-param name="LCID" select="$LCID"/>
  2801.       </xsl:call-template>
  2802.     </xsl:variable>
  2803.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:OtherAuthors/b:ML"/>
  2804.   </xsl:template>
  2805.  
  2806.  
  2807.   <xsl:template name="templ_prop_Chicago_OtherAuthors_FL" >
  2808.     <xsl:param name="LCID" />
  2809.     <xsl:variable name="_LCID">
  2810.       <xsl:call-template name="localLCID">
  2811.         <xsl:with-param name="LCID" select="$LCID"/>
  2812.       </xsl:call-template>
  2813.     </xsl:variable>
  2814.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:OtherAuthors/b:FL"/>
  2815.   </xsl:template>
  2816.  
  2817.  
  2818.   <xsl:template name="templ_prop_Chicago_SecondaryAuthors_FML" >
  2819.     <xsl:param name="LCID" />
  2820.     <xsl:variable name="_LCID">
  2821.       <xsl:call-template name="localLCID">
  2822.         <xsl:with-param name="LCID" select="$LCID"/>
  2823.       </xsl:call-template>
  2824.     </xsl:variable>
  2825.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:SecondaryAuthors/b:FML"/>
  2826.   </xsl:template>
  2827.  
  2828.  
  2829.   <xsl:template name="templ_prop_Chicago_SecondaryAuthors_FM" >
  2830.     <xsl:param name="LCID" />
  2831.     <xsl:variable name="_LCID">
  2832.       <xsl:call-template name="localLCID">
  2833.         <xsl:with-param name="LCID" select="$LCID"/>
  2834.       </xsl:call-template>
  2835.     </xsl:variable>
  2836.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:SecondaryAuthors/b:FM"/>
  2837.   </xsl:template>
  2838.  
  2839.  
  2840.   <xsl:template name="templ_prop_Chicago_SecondaryAuthors_ML" >
  2841.     <xsl:param name="LCID" />
  2842.     <xsl:variable name="_LCID">
  2843.       <xsl:call-template name="localLCID">
  2844.         <xsl:with-param name="LCID" select="$LCID"/>
  2845.       </xsl:call-template>
  2846.     </xsl:variable>
  2847.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:SecondaryAuthors/b:ML"/>
  2848.   </xsl:template>
  2849.  
  2850.  
  2851.   <xsl:template name="templ_prop_Chicago_SecondaryAuthors_FL" >
  2852.     <xsl:param name="LCID" />
  2853.     <xsl:variable name="_LCID">
  2854.       <xsl:call-template name="localLCID">
  2855.         <xsl:with-param name="LCID" select="$LCID"/>
  2856.       </xsl:call-template>
  2857.     </xsl:variable>
  2858.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:SecondaryAuthors/b:FL"/>
  2859.   </xsl:template>
  2860.  
  2861.  
  2862.   <xsl:template name="templ_prop_Chicago_Date_DMY" >
  2863.     <xsl:param name="LCID" />
  2864.     <xsl:variable name="_LCID">
  2865.       <xsl:call-template name="localLCID">
  2866.         <xsl:with-param name="LCID" select="$LCID"/>
  2867.       </xsl:call-template>
  2868.     </xsl:variable>
  2869.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:Date/b:DMY"/>
  2870.   </xsl:template>
  2871.  
  2872.  
  2873.   <xsl:template name="templ_prop_Chicago_Date_DM" >
  2874.     <xsl:param name="LCID" />
  2875.     <xsl:variable name="_LCID">
  2876.       <xsl:call-template name="localLCID">
  2877.         <xsl:with-param name="LCID" select="$LCID"/>
  2878.       </xsl:call-template>
  2879.     </xsl:variable>
  2880.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:Date/b:DM"/>
  2881.   </xsl:template>
  2882.  
  2883.  
  2884.   <xsl:template name="templ_prop_Chicago_Date_MY" >
  2885.     <xsl:param name="LCID" />
  2886.     <xsl:variable name="_LCID">
  2887.       <xsl:call-template name="localLCID">
  2888.         <xsl:with-param name="LCID" select="$LCID"/>
  2889.       </xsl:call-template>
  2890.     </xsl:variable>
  2891.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:Date/b:MY"/>
  2892.   </xsl:template>
  2893.  
  2894.  
  2895.   <xsl:template name="templ_prop_Chicago_Date_DY" >
  2896.     <xsl:param name="LCID" />
  2897.     <xsl:variable name="_LCID">
  2898.       <xsl:call-template name="localLCID">
  2899.         <xsl:with-param name="LCID" select="$LCID"/>
  2900.       </xsl:call-template>
  2901.     </xsl:variable>
  2902.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:Date/b:DY"/>
  2903.   </xsl:template>
  2904.  
  2905.  
  2906.   <xsl:template name="templ_prop_ISO690_MainAuthors_FML" >
  2907.     <xsl:param name="LCID" />
  2908.     <xsl:variable name="_LCID">
  2909.       <xsl:call-template name="localLCID">
  2910.         <xsl:with-param name="LCID" select="$LCID"/>
  2911.       </xsl:call-template>
  2912.     </xsl:variable>
  2913.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:MainAuthors/b:FML"/>
  2914.   </xsl:template>
  2915.  
  2916.  
  2917.   <xsl:template name="templ_prop_ISO690_MainAuthors_FM" >
  2918.     <xsl:param name="LCID" />
  2919.     <xsl:variable name="_LCID">
  2920.       <xsl:call-template name="localLCID">
  2921.         <xsl:with-param name="LCID" select="$LCID"/>
  2922.       </xsl:call-template>
  2923.     </xsl:variable>
  2924.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:MainAuthors/b:FM"/>
  2925.   </xsl:template>
  2926.  
  2927.  
  2928.   <xsl:template name="templ_prop_ISO690_MainAuthors_ML" >
  2929.     <xsl:param name="LCID" />
  2930.     <xsl:variable name="_LCID">
  2931.       <xsl:call-template name="localLCID">
  2932.         <xsl:with-param name="LCID" select="$LCID"/>
  2933.       </xsl:call-template>
  2934.     </xsl:variable>
  2935.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:MainAuthors/b:ML"/>
  2936.   </xsl:template>
  2937.  
  2938.  
  2939.   <xsl:template name="templ_prop_ISO690_MainAuthors_FL" >
  2940.     <xsl:param name="LCID" />
  2941.     <xsl:variable name="_LCID">
  2942.       <xsl:call-template name="localLCID">
  2943.         <xsl:with-param name="LCID" select="$LCID"/>
  2944.       </xsl:call-template>
  2945.     </xsl:variable>
  2946.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:MainAuthors/b:FL"/>
  2947.   </xsl:template>
  2948.  
  2949.  
  2950.   <xsl:template name="templ_prop_ISO690_SecondaryAuthors_FML" >
  2951.     <xsl:param name="LCID" />
  2952.     <xsl:variable name="_LCID">
  2953.       <xsl:call-template name="localLCID">
  2954.         <xsl:with-param name="LCID" select="$LCID"/>
  2955.       </xsl:call-template>
  2956.     </xsl:variable>
  2957.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:SecondaryAuthors/b:FML"/>
  2958.   </xsl:template>
  2959.  
  2960.  
  2961.   <xsl:template name="templ_prop_ISO690_SecondaryAuthors_FM" >
  2962.     <xsl:param name="LCID" />
  2963.     <xsl:variable name="_LCID">
  2964.       <xsl:call-template name="localLCID">
  2965.         <xsl:with-param name="LCID" select="$LCID"/>
  2966.       </xsl:call-template>
  2967.     </xsl:variable>
  2968.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:SecondaryAuthors/b:FM"/>
  2969.   </xsl:template>
  2970.  
  2971.  
  2972.   <xsl:template name="templ_prop_ISO690_SecondaryAuthors_ML" >
  2973.     <xsl:param name="LCID" />
  2974.     <xsl:variable name="_LCID">
  2975.       <xsl:call-template name="localLCID">
  2976.         <xsl:with-param name="LCID" select="$LCID"/>
  2977.       </xsl:call-template>
  2978.     </xsl:variable>
  2979.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:SecondaryAuthors/b:ML"/>
  2980.   </xsl:template>
  2981.  
  2982.  
  2983.   <xsl:template name="templ_prop_ISO690_SecondaryAuthors_FL" >
  2984.     <xsl:param name="LCID" />
  2985.     <xsl:variable name="_LCID">
  2986.       <xsl:call-template name="localLCID">
  2987.         <xsl:with-param name="LCID" select="$LCID"/>
  2988.       </xsl:call-template>
  2989.     </xsl:variable>
  2990.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:SecondaryAuthors/b:FL"/>
  2991.   </xsl:template>
  2992.  
  2993.  
  2994.   <xsl:template name="templ_prop_ISO690_SameAuthor" >
  2995.     <xsl:param name="LCID" />
  2996.     <xsl:variable name="_LCID">
  2997.       <xsl:call-template name="localLCID">
  2998.         <xsl:with-param name="LCID" select="$LCID"/>
  2999.       </xsl:call-template>
  3000.     </xsl:variable>
  3001.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:SameAuthor"/>
  3002.   </xsl:template>
  3003.  
  3004.  
  3005.   <xsl:template name="templ_prop_ISO690_GeneralOpen" >
  3006.     <xsl:param name="LCID" />
  3007.     <xsl:variable name="_LCID">
  3008.       <xsl:call-template name="localLCID">
  3009.         <xsl:with-param name="LCID" select="$LCID"/>
  3010.       </xsl:call-template>
  3011.     </xsl:variable>
  3012.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:GeneralOpen"/>
  3013.   </xsl:template>
  3014.  
  3015.  
  3016.   <xsl:template name="templ_prop_ISO690_GeneralClose" >
  3017.     <xsl:param name="LCID" />
  3018.     <xsl:variable name="_LCID">
  3019.       <xsl:call-template name="localLCID">
  3020.         <xsl:with-param name="LCID" select="$LCID"/>
  3021.       </xsl:call-template>
  3022.     </xsl:variable>
  3023.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:GeneralClose"/>
  3024.   </xsl:template>
  3025.  
  3026.  
  3027.   <xsl:template name="templ_prop_ISO690_Date_DMY" >
  3028.     <xsl:param name="LCID" />
  3029.     <xsl:variable name="_LCID">
  3030.       <xsl:call-template name="localLCID">
  3031.         <xsl:with-param name="LCID" select="$LCID"/>
  3032.       </xsl:call-template>
  3033.     </xsl:variable>
  3034.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:Date/b:DMY"/>
  3035.   </xsl:template>
  3036.  
  3037.  
  3038.   <xsl:template name="templ_prop_ISO690_Date_DM" >
  3039.     <xsl:param name="LCID" />
  3040.     <xsl:variable name="_LCID">
  3041.       <xsl:call-template name="localLCID">
  3042.         <xsl:with-param name="LCID" select="$LCID"/>
  3043.       </xsl:call-template>
  3044.     </xsl:variable>
  3045.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:Date/b:DM"/>
  3046.   </xsl:template>
  3047.  
  3048.  
  3049.   <xsl:template name="templ_prop_ISO690_Date_MY" >
  3050.     <xsl:param name="LCID" />
  3051.     <xsl:variable name="_LCID">
  3052.       <xsl:call-template name="localLCID">
  3053.         <xsl:with-param name="LCID" select="$LCID"/>
  3054.       </xsl:call-template>
  3055.     </xsl:variable>
  3056.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:Date/b:MY"/>
  3057.   </xsl:template>
  3058.  
  3059.  
  3060.   <xsl:template name="templ_prop_ISO690_Date_DY" >
  3061.     <xsl:param name="LCID" />
  3062.     <xsl:variable name="_LCID">
  3063.       <xsl:call-template name="localLCID">
  3064.         <xsl:with-param name="LCID" select="$LCID"/>
  3065.       </xsl:call-template>
  3066.     </xsl:variable>
  3067.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:Date/b:DY"/>
  3068.   </xsl:template>
  3069.  
  3070.  
  3071.   <xsl:template name="templ_prop_ISO690_DateAccessed_DMY" >
  3072.     <xsl:param name="LCID" />
  3073.     <xsl:variable name="_LCID">
  3074.       <xsl:call-template name="localLCID">
  3075.         <xsl:with-param name="LCID" select="$LCID"/>
  3076.       </xsl:call-template>
  3077.     </xsl:variable>
  3078.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:DateAccessed/b:DMY"/>
  3079.   </xsl:template>
  3080.  
  3081.  
  3082.   <xsl:template name="templ_prop_ISO690_DateAccessed_DM" >
  3083.     <xsl:param name="LCID" />
  3084.     <xsl:variable name="_LCID">
  3085.       <xsl:call-template name="localLCID">
  3086.         <xsl:with-param name="LCID" select="$LCID"/>
  3087.       </xsl:call-template>
  3088.     </xsl:variable>
  3089.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:DateAccessed/b:DM"/>
  3090.   </xsl:template>
  3091.  
  3092.  
  3093.   <xsl:template name="templ_prop_ISO690_DateAccessed_MY" >
  3094.     <xsl:param name="LCID" />
  3095.     <xsl:variable name="_LCID">
  3096.       <xsl:call-template name="localLCID">
  3097.         <xsl:with-param name="LCID" select="$LCID"/>
  3098.       </xsl:call-template>
  3099.     </xsl:variable>
  3100.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:DateAccessed/b:MY"/>
  3101.   </xsl:template>
  3102.  
  3103.  
  3104.   <xsl:template name="templ_prop_ISO690_DateAccessed_DY" >
  3105.     <xsl:param name="LCID" />
  3106.     <xsl:variable name="_LCID">
  3107.       <xsl:call-template name="localLCID">
  3108.         <xsl:with-param name="LCID" select="$LCID"/>
  3109.       </xsl:call-template>
  3110.     </xsl:variable>
  3111.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:DateAccessed/b:DY"/>
  3112.   </xsl:template>
  3113.  
  3114.  
  3115.   <xsl:template name="templ_prop_Gost_Authors_FML" >
  3116.     <xsl:param name="LCID" />
  3117.     <xsl:variable name="_LCID">
  3118.       <xsl:call-template name="localLCID">
  3119.         <xsl:with-param name="LCID" select="$LCID"/>
  3120.       </xsl:call-template>
  3121.     </xsl:variable>
  3122.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:Authors/b:FML"/>
  3123.   </xsl:template>
  3124.  
  3125.  
  3126.   <xsl:template name="templ_prop_Gost_Authors_FM" >
  3127.     <xsl:param name="LCID" />
  3128.     <xsl:variable name="_LCID">
  3129.       <xsl:call-template name="localLCID">
  3130.         <xsl:with-param name="LCID" select="$LCID"/>
  3131.       </xsl:call-template>
  3132.     </xsl:variable>
  3133.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:Authors/b:FM"/>
  3134.   </xsl:template>
  3135.  
  3136.  
  3137.   <xsl:template name="templ_prop_Gost_Authors_ML" >
  3138.     <xsl:param name="LCID" />
  3139.     <xsl:variable name="_LCID">
  3140.       <xsl:call-template name="localLCID">
  3141.         <xsl:with-param name="LCID" select="$LCID"/>
  3142.       </xsl:call-template>
  3143.     </xsl:variable>
  3144.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:Authors/b:ML"/>
  3145.   </xsl:template>
  3146.  
  3147.  
  3148.   <xsl:template name="templ_prop_Gost_Authors_FL" >
  3149.     <xsl:param name="LCID" />
  3150.     <xsl:variable name="_LCID">
  3151.       <xsl:call-template name="localLCID">
  3152.         <xsl:with-param name="LCID" select="$LCID"/>
  3153.       </xsl:call-template>
  3154.     </xsl:variable>
  3155.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:Authors/b:FL"/>
  3156.   </xsl:template>
  3157.  
  3158.  
  3159.   <xsl:template name="templ_prop_Gost_Date_DMY" >
  3160.     <xsl:param name="LCID" />
  3161.     <xsl:variable name="_LCID">
  3162.       <xsl:call-template name="localLCID">
  3163.         <xsl:with-param name="LCID" select="$LCID"/>
  3164.       </xsl:call-template>
  3165.     </xsl:variable>
  3166.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:Date/b:DMY"/>
  3167.   </xsl:template>
  3168.  
  3169.  
  3170.   <xsl:template name="templ_prop_Gost_Date_DM" >
  3171.     <xsl:param name="LCID" />
  3172.     <xsl:variable name="_LCID">
  3173.       <xsl:call-template name="localLCID">
  3174.         <xsl:with-param name="LCID" select="$LCID"/>
  3175.       </xsl:call-template>
  3176.     </xsl:variable>
  3177.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:Date/b:DM"/>
  3178.   </xsl:template>
  3179.  
  3180.  
  3181.   <xsl:template name="templ_prop_Gost_Date_MY" >
  3182.     <xsl:param name="LCID" />
  3183.     <xsl:variable name="_LCID">
  3184.       <xsl:call-template name="localLCID">
  3185.         <xsl:with-param name="LCID" select="$LCID"/>
  3186.       </xsl:call-template>
  3187.     </xsl:variable>
  3188.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:Date/b:MY"/>
  3189.   </xsl:template>
  3190.  
  3191.  
  3192.   <xsl:template name="templ_prop_Gost_Date_DY" >
  3193.     <xsl:param name="LCID" />
  3194.     <xsl:variable name="_LCID">
  3195.       <xsl:call-template name="localLCID">
  3196.         <xsl:with-param name="LCID" select="$LCID"/>
  3197.       </xsl:call-template>
  3198.     </xsl:variable>
  3199.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:Date/b:DY"/>
  3200.   </xsl:template>
  3201.  
  3202.  
  3203.   <xsl:template name="templ_prop_Gost_GeneralOpen" >
  3204.     <xsl:param name="LCID" />
  3205.     <xsl:variable name="_LCID">
  3206.       <xsl:call-template name="localLCID">
  3207.         <xsl:with-param name="LCID" select="$LCID"/>
  3208.       </xsl:call-template>
  3209.     </xsl:variable>
  3210.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:GeneralOpen"/>
  3211.   </xsl:template>
  3212.  
  3213.  
  3214.   <xsl:template name="templ_prop_Gost_GeneralClose" >
  3215.     <xsl:param name="LCID" />
  3216.     <xsl:variable name="_LCID">
  3217.       <xsl:call-template name="localLCID">
  3218.         <xsl:with-param name="LCID" select="$LCID"/>
  3219.       </xsl:call-template>
  3220.     </xsl:variable>
  3221.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:GeneralClose"/>
  3222.   </xsl:template>
  3223.  
  3224.  
  3225.   <xsl:template name="templ_prop_Gost_OneSlash" >
  3226.     <xsl:param name="LCID" />
  3227.     <xsl:variable name="_LCID">
  3228.       <xsl:call-template name="localLCID">
  3229.         <xsl:with-param name="LCID" select="$LCID"/>
  3230.       </xsl:call-template>
  3231.     </xsl:variable>
  3232.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:OneSlash"/>
  3233.   </xsl:template>
  3234.  
  3235.  
  3236.   <xsl:template name="templ_prop_Gost_TwoSlash" >
  3237.     <xsl:param name="LCID" />
  3238.     <xsl:variable name="_LCID">
  3239.       <xsl:call-template name="localLCID">
  3240.         <xsl:with-param name="LCID" select="$LCID"/>
  3241.       </xsl:call-template>
  3242.     </xsl:variable>
  3243.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:TwoSlash"/>
  3244.   </xsl:template>
  3245.  
  3246.  
  3247.   <xsl:template name="templ_prop_SIST_MainAuthors_FML" >
  3248.     <xsl:param name="LCID" />
  3249.     <xsl:variable name="_LCID">
  3250.       <xsl:call-template name="localLCID">
  3251.         <xsl:with-param name="LCID" select="$LCID"/>
  3252.       </xsl:call-template>
  3253.     </xsl:variable>
  3254.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:MainAuthors/b:FML"/>
  3255.   </xsl:template>
  3256.  
  3257.  
  3258.   <xsl:template name="templ_prop_SIST_MainAuthors_FM" >
  3259.     <xsl:param name="LCID" />
  3260.     <xsl:variable name="_LCID">
  3261.       <xsl:call-template name="localLCID">
  3262.         <xsl:with-param name="LCID" select="$LCID"/>
  3263.       </xsl:call-template>
  3264.     </xsl:variable>
  3265.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:MainAuthors/b:FM"/>
  3266.   </xsl:template>
  3267.  
  3268.  
  3269.   <xsl:template name="templ_prop_SIST_MainAuthors_ML" >
  3270.     <xsl:param name="LCID" />
  3271.     <xsl:variable name="_LCID">
  3272.       <xsl:call-template name="localLCID">
  3273.         <xsl:with-param name="LCID" select="$LCID"/>
  3274.       </xsl:call-template>
  3275.     </xsl:variable>
  3276.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:MainAuthors/b:ML"/>
  3277.   </xsl:template>
  3278.  
  3279.  
  3280.   <xsl:template name="templ_prop_SIST_MainAuthors_FL" >
  3281.     <xsl:param name="LCID" />
  3282.     <xsl:variable name="_LCID">
  3283.       <xsl:call-template name="localLCID">
  3284.         <xsl:with-param name="LCID" select="$LCID"/>
  3285.       </xsl:call-template>
  3286.     </xsl:variable>
  3287.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:MainAuthors/b:FL"/>
  3288.   </xsl:template>
  3289.  
  3290.  
  3291.   <xsl:template name="templ_prop_SIST_SecondaryAuthors_FML" >
  3292.     <xsl:param name="LCID" />
  3293.     <xsl:variable name="_LCID">
  3294.       <xsl:call-template name="localLCID">
  3295.         <xsl:with-param name="LCID" select="$LCID"/>
  3296.       </xsl:call-template>
  3297.     </xsl:variable>
  3298.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:SecondaryAuthors/b:FML"/>
  3299.   </xsl:template>
  3300.  
  3301.  
  3302.   <xsl:template name="templ_prop_SIST_SecondaryAuthors_FM" >
  3303.     <xsl:param name="LCID" />
  3304.     <xsl:variable name="_LCID">
  3305.       <xsl:call-template name="localLCID">
  3306.         <xsl:with-param name="LCID" select="$LCID"/>
  3307.       </xsl:call-template>
  3308.     </xsl:variable>
  3309.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:SecondaryAuthors/b:FM"/>
  3310.   </xsl:template>
  3311.  
  3312.  
  3313.   <xsl:template name="templ_prop_SIST_SecondaryAuthors_ML" >
  3314.     <xsl:param name="LCID" />
  3315.     <xsl:variable name="_LCID">
  3316.       <xsl:call-template name="localLCID">
  3317.         <xsl:with-param name="LCID" select="$LCID"/>
  3318.       </xsl:call-template>
  3319.     </xsl:variable>
  3320.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:SecondaryAuthors/b:ML"/>
  3321.   </xsl:template>
  3322.  
  3323.  
  3324.   <xsl:template name="templ_prop_SIST_SecondaryAuthors_FL" >
  3325.     <xsl:param name="LCID" />
  3326.     <xsl:variable name="_LCID">
  3327.       <xsl:call-template name="localLCID">
  3328.         <xsl:with-param name="LCID" select="$LCID"/>
  3329.       </xsl:call-template>
  3330.     </xsl:variable>
  3331.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:SecondaryAuthors/b:FL"/>
  3332.   </xsl:template>
  3333.  
  3334.  
  3335.   <xsl:template name="templ_prop_SIST_SameAuthor" >
  3336.     <xsl:param name="LCID" />
  3337.     <xsl:variable name="_LCID">
  3338.       <xsl:call-template name="localLCID">
  3339.         <xsl:with-param name="LCID" select="$LCID"/>
  3340.       </xsl:call-template>
  3341.     </xsl:variable>
  3342.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:SameAuthor"/>
  3343.   </xsl:template>
  3344.  
  3345.  
  3346.   <xsl:template name="templ_prop_SIST_GeneralOpen" >
  3347.     <xsl:param name="LCID" />
  3348.     <xsl:variable name="_LCID">
  3349.       <xsl:call-template name="localLCID">
  3350.         <xsl:with-param name="LCID" select="$LCID"/>
  3351.       </xsl:call-template>
  3352.     </xsl:variable>
  3353.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:GeneralOpen"/>
  3354.   </xsl:template>
  3355.  
  3356.  
  3357.   <xsl:template name="templ_prop_SIST_GeneralClose" >
  3358.     <xsl:param name="LCID" />
  3359.     <xsl:variable name="_LCID">
  3360.       <xsl:call-template name="localLCID">
  3361.         <xsl:with-param name="LCID" select="$LCID"/>
  3362.       </xsl:call-template>
  3363.     </xsl:variable>
  3364.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:GeneralClose"/>
  3365.   </xsl:template>
  3366.  
  3367.  
  3368.   <xsl:template name="templ_prop_SIST_Date_DMY" >
  3369.     <xsl:param name="LCID" />
  3370.     <xsl:variable name="_LCID">
  3371.       <xsl:call-template name="localLCID">
  3372.         <xsl:with-param name="LCID" select="$LCID"/>
  3373.       </xsl:call-template>
  3374.     </xsl:variable>
  3375.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:Date/b:DMY"/>
  3376.   </xsl:template>
  3377.  
  3378.  
  3379.   <xsl:template name="templ_prop_SIST_Date_DM" >
  3380.     <xsl:param name="LCID" />
  3381.     <xsl:variable name="_LCID">
  3382.       <xsl:call-template name="localLCID">
  3383.         <xsl:with-param name="LCID" select="$LCID"/>
  3384.       </xsl:call-template>
  3385.     </xsl:variable>
  3386.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:Date/b:DM"/>
  3387.   </xsl:template>
  3388.  
  3389.  
  3390.   <xsl:template name="templ_prop_SIST_Date_MY" >
  3391.     <xsl:param name="LCID" />
  3392.     <xsl:variable name="_LCID">
  3393.       <xsl:call-template name="localLCID">
  3394.         <xsl:with-param name="LCID" select="$LCID"/>
  3395.       </xsl:call-template>
  3396.     </xsl:variable>
  3397.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:Date/b:MY"/>
  3398.   </xsl:template>
  3399.  
  3400.  
  3401.   <xsl:template name="templ_prop_SIST_Date_DY" >
  3402.     <xsl:param name="LCID" />
  3403.     <xsl:variable name="_LCID">
  3404.       <xsl:call-template name="localLCID">
  3405.         <xsl:with-param name="LCID" select="$LCID"/>
  3406.       </xsl:call-template>
  3407.     </xsl:variable>
  3408.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:Date/b:DY"/>
  3409.   </xsl:template>
  3410.  
  3411.  
  3412.   <xsl:template name="templ_prop_SIST_DateAccessed_DMY" >
  3413.     <xsl:param name="LCID" />
  3414.     <xsl:variable name="_LCID">
  3415.       <xsl:call-template name="localLCID">
  3416.         <xsl:with-param name="LCID" select="$LCID"/>
  3417.       </xsl:call-template>
  3418.     </xsl:variable>
  3419.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:DateAccessed/b:DMY"/>
  3420.   </xsl:template>
  3421.  
  3422.  
  3423.   <xsl:template name="templ_prop_SIST_DateAccessed_DM" >
  3424.     <xsl:param name="LCID" />
  3425.     <xsl:variable name="_LCID">
  3426.       <xsl:call-template name="localLCID">
  3427.         <xsl:with-param name="LCID" select="$LCID"/>
  3428.       </xsl:call-template>
  3429.     </xsl:variable>
  3430.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:DateAccessed/b:DM"/>
  3431.   </xsl:template>
  3432.  
  3433.  
  3434.   <xsl:template name="templ_prop_SIST_DateAccessed_MY" >
  3435.     <xsl:param name="LCID" />
  3436.     <xsl:variable name="_LCID">
  3437.       <xsl:call-template name="localLCID">
  3438.         <xsl:with-param name="LCID" select="$LCID"/>
  3439.       </xsl:call-template>
  3440.     </xsl:variable>
  3441.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:DateAccessed/b:MY"/>
  3442.   </xsl:template>
  3443.  
  3444.  
  3445.   <xsl:template name="templ_prop_SIST_DateAccessed_DY" >
  3446.     <xsl:param name="LCID" />
  3447.     <xsl:variable name="_LCID">
  3448.       <xsl:call-template name="localLCID">
  3449.         <xsl:with-param name="LCID" select="$LCID"/>
  3450.       </xsl:call-template>
  3451.     </xsl:variable>
  3452.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:DateAccessed/b:DY"/>
  3453.   </xsl:template>
  3454.  
  3455.  
  3456.  
  3457.  
  3458.  
  3459.  
  3460.  
  3461.  
  3462.  
  3463.   <xsl:template match="/">
  3464.  
  3465.  
  3466.  
  3467.  
  3468.  
  3469.     <xsl:choose>
  3470.      
  3471.       <xsl:when test="b:Version">
  3472.         <xsl:text>2006.5.07</xsl:text>
  3473.       </xsl:when>
  3474.  
  3475.     <xsl:when test="b:StyleName">
  3476.         <xsl:text>APA - Thai Compatible</xsl:text>
  3477.     </xsl:when>
  3478.  
  3479.      
  3480.  
  3481.       <xsl:when test="b:GetImportantFields">
  3482.         <b:ImportantFields>
  3483.           <xsl:choose>
  3484.             <xsl:when test="b:GetImportantFields/b:SourceType='Book'">
  3485.               <b:ImportantField>
  3486.                 <xsl:text>b:Author/b:Author/b:NameList</xsl:text>
  3487.               </b:ImportantField>
  3488.               <b:ImportantField>
  3489.                 <xsl:text>b:Title</xsl:text>
  3490.               </b:ImportantField>
  3491.               <b:ImportantField>
  3492.                 <xsl:text>b:Year</xsl:text>
  3493.               </b:ImportantField>
  3494.               <b:ImportantField>
  3495.                 <xsl:text>b:City</xsl:text>
  3496.               </b:ImportantField>
  3497.               <b:ImportantField>
  3498.                 <xsl:text>b:Publisher</xsl:text>
  3499.               </b:ImportantField>
  3500.             </xsl:when>
  3501.  
  3502.             <xsl:when test="b:GetImportantFields/b:SourceType='BookSection'">
  3503.               <b:ImportantField>
  3504.                 <xsl:text>b:Author/b:Author/b:NameList</xsl:text>
  3505.               </b:ImportantField>
  3506.               <b:ImportantField>
  3507.                 <xsl:text>b:Title</xsl:text>
  3508.               </b:ImportantField>
  3509.               <b:ImportantField>
  3510.                 <xsl:text>b:Author/b:BookAuthor/b:NameList</xsl:text>
  3511.               </b:ImportantField>
  3512.               <b:ImportantField>
  3513.                 <xsl:text>b:BookTitle</xsl:text>
  3514.               </b:ImportantField>
  3515.               <b:ImportantField>
  3516.                 <xsl:text>b:Year</xsl:text>
  3517.               </b:ImportantField>
  3518.               <b:ImportantField>
  3519.                 <xsl:text>b:Pages</xsl:text>
  3520.               </b:ImportantField>
  3521.               <b:ImportantField>
  3522.                 <xsl:text>b:City</xsl:text>
  3523.               </b:ImportantField>
  3524.               <b:ImportantField>
  3525.                 <xsl:text>b:Publisher</xsl:text>
  3526.               </b:ImportantField>
  3527.             </xsl:when>
  3528.  
  3529.             <xsl:when test="b:GetImportantFields/b:SourceType='JournalArticle'">
  3530.               <b:ImportantField>
  3531.                 <xsl:text>b:Author/b:Author/b:NameList</xsl:text>
  3532.               </b:ImportantField>
  3533.               <b:ImportantField>
  3534.                 <xsl:text>b:Title</xsl:text>
  3535.               </b:ImportantField>
  3536.               <b:ImportantField>
  3537.                 <xsl:text>b:JournalName</xsl:text>
  3538.               </b:ImportantField>
  3539.               <b:ImportantField>
  3540.                 <xsl:text>b:Year</xsl:text>
  3541.               </b:ImportantField>
  3542.               <b:ImportantField>
  3543.                 <xsl:text>b:Pages</xsl:text>
  3544.               </b:ImportantField>
  3545.             </xsl:when>
  3546.  
  3547.             <xsl:when test="b:GetImportantFields/b:SourceType='ArticleInAPeriodical'">
  3548.               <b:ImportantField>
  3549.                 <xsl:text>b:Author/b:Author/b:NameList</xsl:text>
  3550.               </b:ImportantField>
  3551.               <b:ImportantField>
  3552.                 <xsl:text>b:Title</xsl:text>
  3553.               </b:ImportantField>
  3554.               <b:ImportantField>
  3555.                 <xsl:text>b:PeriodicalTitle</xsl:text>
  3556.               </b:ImportantField>
  3557.               <b:ImportantField>
  3558.                 <xsl:text>b:Year</xsl:text>
  3559.               </b:ImportantField>
  3560.               <b:ImportantField>
  3561.                 <xsl:text>b:Month</xsl:text>
  3562.               </b:ImportantField>
  3563.               <b:ImportantField>
  3564.                 <xsl:text>b:Day</xsl:text>
  3565.               </b:ImportantField>
  3566.               <b:ImportantField>
  3567.                 <xsl:text>b:Pages</xsl:text>
  3568.               </b:ImportantField>
  3569.             </xsl:when>
  3570.  
  3571.             <xsl:when test="b:GetImportantFields/b:SourceType='ConferenceProceedings'">
  3572.               <b:ImportantField>
  3573.                 <xsl:text>b:Author/b:Author/b:NameList</xsl:text>
  3574.               </b:ImportantField>
  3575.               <b:ImportantField>
  3576.                 <xsl:text>b:Title</xsl:text>
  3577.               </b:ImportantField>
  3578.               <b:ImportantField>
  3579.                 <xsl:text>b:Pages</xsl:text>
  3580.               </b:ImportantField>
  3581.               <b:ImportantField>
  3582.                 <xsl:text>b:Year</xsl:text>
  3583.               </b:ImportantField>
  3584.               <b:ImportantField>
  3585.                 <xsl:text>b:ConferenceName</xsl:text>
  3586.               </b:ImportantField>
  3587.               <b:ImportantField>
  3588.                 <xsl:text>b:City</xsl:text>
  3589.               </b:ImportantField>
  3590.               <b:ImportantField>
  3591.                 <xsl:text>b:Publisher</xsl:text>
  3592.               </b:ImportantField>
  3593.             </xsl:when>
  3594.  
  3595.             <xsl:when test="b:GetImportantFields/b:SourceType='Report'">
  3596.               <b:ImportantField>
  3597.                 <xsl:text>b:Author/b:Author/b:NameList</xsl:text>
  3598.               </b:ImportantField>
  3599.               <b:ImportantField>
  3600.                 <xsl:text>b:Title</xsl:text>
  3601.               </b:ImportantField>
  3602.               <b:ImportantField>
  3603.                 <xsl:text>b:Year</xsl:text>
  3604.               </b:ImportantField>
  3605.               <b:ImportantField>
  3606.                 <xsl:text>b:Publisher</xsl:text>
  3607.               </b:ImportantField>
  3608.               <b:ImportantField>
  3609.                 <xsl:text>b:City</xsl:text>
  3610.               </b:ImportantField>
  3611.             </xsl:when>
  3612.  
  3613.             <xsl:when test="b:GetImportantFields/b:SourceType='SoundRecording'">
  3614.               <b:ImportantField>
  3615.                 <xsl:text>b:Author/b:Composer/b:NameList</xsl:text>
  3616.               </b:ImportantField>
  3617.               <b:ImportantField>
  3618.                 <xsl:text>b:Author/b:Conductor/b:NameList</xsl:text>
  3619.               </b:ImportantField>
  3620.               <b:ImportantField>
  3621.                 <xsl:text>b:Author/b:Performer/b:NameList</xsl:text>
  3622.               </b:ImportantField>
  3623.               <b:ImportantField>
  3624.                 <xsl:text>b:Title</xsl:text>
  3625.               </b:ImportantField>
  3626.               <b:ImportantField>
  3627.                 <xsl:text>b:Year</xsl:text>
  3628.               </b:ImportantField>
  3629.               <b:ImportantField>
  3630.                 <xsl:text>b:City</xsl:text>
  3631.               </b:ImportantField>
  3632.               <b:ImportantField>
  3633.                 <xsl:text>b:CountryRegion</xsl:text>
  3634.               </b:ImportantField>
  3635.               <b:ImportantField>
  3636.                 <xsl:text>b:StateProvince</xsl:text>
  3637.               </b:ImportantField>
  3638.             </xsl:when>
  3639.  
  3640.             <xsl:when test="b:GetImportantFields/b:SourceType='Performance'">
  3641.               <b:ImportantField>
  3642.                 <xsl:text>b:Title</xsl:text>
  3643.               </b:ImportantField>
  3644.               <b:ImportantField>
  3645.                 <xsl:text>b:Author/b:Writer/b:NameList</xsl:text>
  3646.               </b:ImportantField>
  3647.               <b:ImportantField>
  3648.                 <xsl:text>b:Author/b:Performer/b:NameList</xsl:text>
  3649.               </b:ImportantField>
  3650.               <b:ImportantField>
  3651.                 <xsl:text>b:Theater</xsl:text>
  3652.               </b:ImportantField>
  3653.               <b:ImportantField>
  3654.                 <xsl:text>b:City</xsl:text>
  3655.               </b:ImportantField>
  3656.               <b:ImportantField>
  3657.                 <xsl:text>b:CountryRegion</xsl:text>
  3658.               </b:ImportantField>
  3659.               <b:ImportantField>
  3660.                 <xsl:text>b:StateProvince</xsl:text>
  3661.               </b:ImportantField>
  3662.               <b:ImportantField>
  3663.                 <xsl:text>b:Year</xsl:text>
  3664.               </b:ImportantField>
  3665.               <b:ImportantField>
  3666.                 <xsl:text>b:Month</xsl:text>
  3667.               </b:ImportantField>
  3668.               <b:ImportantField>
  3669.                 <xsl:text>b:Day</xsl:text>
  3670.               </b:ImportantField>
  3671.             </xsl:when>
  3672.  
  3673.             <xsl:when test="b:GetImportantFields/b:SourceType='Art'">
  3674.               <b:ImportantField>
  3675.                 <xsl:text>b:Author/b:Artist/b:NameList</xsl:text>
  3676.               </b:ImportantField>
  3677.               <b:ImportantField>
  3678.                 <xsl:text>b:Title</xsl:text>
  3679.               </b:ImportantField>
  3680.               <b:ImportantField>
  3681.                 <xsl:text>b:Institution</xsl:text>
  3682.               </b:ImportantField>
  3683.               <b:ImportantField>
  3684.                 <xsl:text>b:PublicationTitle</xsl:text>
  3685.               </b:ImportantField>
  3686.               <b:ImportantField>
  3687.                 <xsl:text>b:City</xsl:text>
  3688.               </b:ImportantField>
  3689.             </xsl:when>
  3690.  
  3691.             <xsl:when test="b:GetImportantFields/b:SourceType='DocumentFromInternetSite'">
  3692.               <b:ImportantField>
  3693.                 <xsl:text>b:Author/b:Author/b:NameList</xsl:text>
  3694.               </b:ImportantField>
  3695.               <b:ImportantField>
  3696.                 <xsl:text>b:Title</xsl:text>
  3697.               </b:ImportantField>
  3698.               <b:ImportantField>
  3699.                 <xsl:text>b:InternetSiteTitle</xsl:text>
  3700.               </b:ImportantField>
  3701.               <b:ImportantField>
  3702.                 <xsl:text>b:Year</xsl:text>
  3703.               </b:ImportantField>
  3704.               <b:ImportantField>
  3705.                 <xsl:text>b:Month</xsl:text>
  3706.               </b:ImportantField>
  3707.               <b:ImportantField>
  3708.                 <xsl:text>b:Day</xsl:text>
  3709.               </b:ImportantField>
  3710.               <b:ImportantField>
  3711.                 <xsl:text>b:YearAccessed</xsl:text>
  3712.               </b:ImportantField>
  3713.               <b:ImportantField>
  3714.                 <xsl:text>b:MonthAccessed</xsl:text>
  3715.               </b:ImportantField>
  3716.               <b:ImportantField>
  3717.                 <xsl:text>b:DayAccessed</xsl:text>
  3718.               </b:ImportantField>
  3719.               <b:ImportantField>
  3720.                 <xsl:text>b:URL</xsl:text>
  3721.               </b:ImportantField>
  3722.             </xsl:when>
  3723.  
  3724.             <xsl:when test="b:GetImportantFields/b:SourceType='InternetSite'">
  3725.               <b:ImportantField>
  3726.                 <xsl:text>b:Author/b:Author/b:NameList</xsl:text>
  3727.               </b:ImportantField>
  3728.               <b:ImportantField>
  3729.                 <xsl:text>b:Title</xsl:text>
  3730.               </b:ImportantField>
  3731.               <b:ImportantField>
  3732.                 <xsl:text>b:InternetSiteTitle</xsl:text>
  3733.               </b:ImportantField>
  3734.               <b:ImportantField>
  3735.                 <xsl:text>b:Year</xsl:text>
  3736.               </b:ImportantField>
  3737.               <b:ImportantField>
  3738.                 <xsl:text>b:Month</xsl:text>
  3739.               </b:ImportantField>
  3740.               <b:ImportantField>
  3741.                 <xsl:text>b:Day</xsl:text>
  3742.               </b:ImportantField>
  3743.               <b:ImportantField>
  3744.                 <xsl:text>b:YearAccessed</xsl:text>
  3745.               </b:ImportantField>
  3746.               <b:ImportantField>
  3747.                 <xsl:text>b:MonthAccessed</xsl:text>
  3748.               </b:ImportantField>
  3749.               <b:ImportantField>
  3750.                 <xsl:text>b:DayAccessed</xsl:text>
  3751.               </b:ImportantField>
  3752.               <b:ImportantField>
  3753.                 <xsl:text>b:URL</xsl:text>
  3754.               </b:ImportantField>
  3755.             </xsl:when>
  3756.  
  3757.             <xsl:when test="b:GetImportantFields/b:SourceType='Film'">
  3758.               <b:ImportantField>
  3759.                 <xsl:text>b:Title</xsl:text>
  3760.               </b:ImportantField>
  3761.               <b:ImportantField>
  3762.                 <xsl:text>b:Author/b:Director/b:NameList</xsl:text>
  3763.               </b:ImportantField>
  3764.               <b:ImportantField>
  3765.                 <xsl:text>b:Year</xsl:text>
  3766.               </b:ImportantField>
  3767.             </xsl:when>
  3768.  
  3769.             <xsl:when test="b:GetImportantFields/b:SourceType='Interview'">
  3770.               <b:ImportantField>
  3771.                 <xsl:text>b:Author/b:Interviewee/b:NameList</xsl:text>
  3772.               </b:ImportantField>
  3773.               <b:ImportantField>
  3774.                 <xsl:text>b:Title</xsl:text>
  3775.               </b:ImportantField>
  3776.               <b:ImportantField>
  3777.                 <xsl:text>b:Author/b:Interviewer/b:NameList</xsl:text>
  3778.               </b:ImportantField>
  3779.               <b:ImportantField>
  3780.                 <xsl:text>b:Year</xsl:text>
  3781.               </b:ImportantField>
  3782.               <b:ImportantField>
  3783.                 <xsl:text>b:Month</xsl:text>
  3784.               </b:ImportantField>
  3785.               <b:ImportantField>
  3786.                 <xsl:text>b:Day</xsl:text>
  3787.               </b:ImportantField>
  3788.             </xsl:when>
  3789.  
  3790.             <xsl:when test="b:GetImportantFields/b:SourceType='Patent'">
  3791.               <b:ImportantField>
  3792.                 <xsl:text>b:Author/b:Inventor/b:NameList</xsl:text>
  3793.               </b:ImportantField>
  3794.               <b:ImportantField>
  3795.                 <xsl:text>b:Year</xsl:text>
  3796.               </b:ImportantField>
  3797.               <b:ImportantField>
  3798.                 <xsl:text>b:CountryRegion</xsl:text>
  3799.               </b:ImportantField>
  3800.               <b:ImportantField>
  3801.                 <xsl:text>b:PatentNumber</xsl:text>
  3802.               </b:ImportantField>
  3803.             </xsl:when>
  3804.  
  3805.             <xsl:when test="b:GetImportantFields/b:SourceType='ElectronicSource'">
  3806.               <b:ImportantField>
  3807.                 <xsl:text>b:Author/b:Author/b:NameList</xsl:text>
  3808.               </b:ImportantField>
  3809.               <b:ImportantField>
  3810.                 <xsl:text>b:Title</xsl:text>
  3811.               </b:ImportantField>
  3812.               <b:ImportantField>
  3813.                 <xsl:text>b:City</xsl:text>
  3814.               </b:ImportantField>
  3815.               <b:ImportantField>
  3816.                 <xsl:text>b:CountryRegion</xsl:text>
  3817.               </b:ImportantField>
  3818.               <b:ImportantField>
  3819.                 <xsl:text>b:StateProvince</xsl:text>
  3820.               </b:ImportantField>
  3821.               <b:ImportantField>
  3822.                 <xsl:text>b:Year</xsl:text>
  3823.               </b:ImportantField>
  3824.               <b:ImportantField>
  3825.                 <xsl:text>b:Month</xsl:text>
  3826.               </b:ImportantField>
  3827.               <b:ImportantField>
  3828.                 <xsl:text>b:Day</xsl:text>
  3829.               </b:ImportantField>
  3830.             </xsl:when>
  3831.  
  3832.             <xsl:when test="b:GetImportantFields/b:SourceType='Case'">
  3833.               <b:ImportantField>
  3834.                 <xsl:text>b:Title</xsl:text>
  3835.               </b:ImportantField>
  3836.               <b:ImportantField>
  3837.                 <xsl:text>b:CaseNumber</xsl:text>
  3838.               </b:ImportantField>
  3839.               <b:ImportantField>
  3840.                 <xsl:text>b:Court</xsl:text>
  3841.               </b:ImportantField>
  3842.               <b:ImportantField>
  3843.                 <xsl:text>b:Year</xsl:text>
  3844.               </b:ImportantField>
  3845.               <b:ImportantField>
  3846.                 <xsl:text>b:Month</xsl:text>
  3847.               </b:ImportantField>
  3848.               <b:ImportantField>
  3849.                 <xsl:text>b:Day</xsl:text>
  3850.               </b:ImportantField>
  3851.             </xsl:when>
  3852.  
  3853.             <xsl:when test="b:GetImportantFields/b:SourceType='Misc'">
  3854.               <b:ImportantField>
  3855.                 <xsl:text>b:Author/b:Author/b:NameList</xsl:text>
  3856.               </b:ImportantField>
  3857.               <b:ImportantField>
  3858.                 <xsl:text>b:Title</xsl:text>
  3859.               </b:ImportantField>
  3860.               <b:ImportantField>
  3861.                 <xsl:text>b:PublicationTitle</xsl:text>
  3862.               </b:ImportantField>
  3863.               <b:ImportantField>
  3864.                 <xsl:text>b:Year</xsl:text>
  3865.               </b:ImportantField>
  3866.               <b:ImportantField>
  3867.                 <xsl:text>b:Month</xsl:text>
  3868.               </b:ImportantField>
  3869.               <b:ImportantField>
  3870.                 <xsl:text>b:Day</xsl:text>
  3871.               </b:ImportantField>
  3872.               <b:ImportantField>
  3873.                 <xsl:text>b:City</xsl:text>
  3874.               </b:ImportantField>
  3875.               <b:ImportantField>
  3876.                 <xsl:text>b:CountryRegion</xsl:text>
  3877.               </b:ImportantField>
  3878.               <b:ImportantField>
  3879.                 <xsl:text>b:StateProvince</xsl:text>
  3880.               </b:ImportantField>
  3881.               <b:ImportantField>
  3882.                 <xsl:text>b:Publisher</xsl:text>
  3883.               </b:ImportantField>
  3884.             </xsl:when>
  3885.  
  3886.           </xsl:choose>
  3887.         </b:ImportantFields>
  3888.       </xsl:when>
  3889.  
  3890.  
  3891.             <xsl:when test="b:Citation">
  3892.  
  3893.                 <xsl:variable name="ListPopulatedWithMain">
  3894.                         <xsl:call-template name="populateMain">
  3895.                             <xsl:with-param name="Type">b:Citation</xsl:with-param>
  3896.                         </xsl:call-template>
  3897.                 </xsl:variable>
  3898.  
  3899.            
  3900.            
  3901.                 <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">
  3902.                     <head>
  3903.                     </head>
  3904.                     <body>
  3905.                         <xsl:variable name="LCID">
  3906.                           <xsl:choose>
  3907.                             <xsl:when test="b:LCID='0' or b:LCID='' or not(b:LCID)">
  3908.                               <xsl:value-of select="/*/b:Locals/b:DefaultLCID"/>
  3909.                             </xsl:when>
  3910.                             <xsl:otherwise>
  3911.                               <xsl:value-of select="b:LCID"/>
  3912.                             </xsl:otherwise>
  3913.                           </xsl:choose>
  3914.                         </xsl:variable>
  3915.  
  3916.                         <xsl:element name="p">
  3917.  
  3918.                         <xsl:attribute name="lang">
  3919.                             <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$LCID]/@Culture"/>
  3920.                         </xsl:attribute>
  3921.  
  3922.                         <xsl:attribute name="dir">
  3923.                             <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$LCID]/b:Properties/b:Direction"/>
  3924.                         </xsl:attribute>
  3925.  
  3926.                         <xsl:variable name="type">
  3927.                             <xsl:value-of select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:SourceType"/>
  3928.                         </xsl:variable>
  3929.  
  3930.                         <xsl:variable name="title0">
  3931.                             <xsl:choose>
  3932.                                 <xsl:when test="string-length(msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:ShortTitle)>0">
  3933.                                     <xsl:value-of select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:ShortTitle" />
  3934.                                 </xsl:when>
  3935.  
  3936.                                 <xsl:otherwise>
  3937.                                     <xsl:value-of select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:Title" />
  3938.                                 </xsl:otherwise>
  3939.                             </xsl:choose>
  3940.                         </xsl:variable>
  3941.  
  3942.                         <xsl:variable name="year0">
  3943.                             <xsl:value-of select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:Year" />
  3944.                         </xsl:variable>                    
  3945.  
  3946.                         <xsl:variable name="authorMain">
  3947.                             <xsl:copy-of select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:Author/b:Main"/>
  3948.                         </xsl:variable>
  3949.  
  3950.                         <xsl:variable name="author0">
  3951.                             <xsl:choose>
  3952.                                 <xsl:when test="string-length(msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:Author/b:Main/b:Corporate) > 0">
  3953.                                     <xsl:value-of select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:Author/b:Main/b:Corporate" />
  3954.                                 </xsl:when>
  3955.                                 <xsl:otherwise>
  3956.                                     <xsl:variable name="cAuthors">
  3957.                                         <xsl:value-of select="count(msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:Author/b:Main/b:NameList/b:Person)" />
  3958.                                     </xsl:variable>
  3959.                                     <xsl:for-each select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:Author/b:Main/b:NameList/b:Person">
  3960.                                        
  3961.                                         <xsl:choose>
  3962.                                             <xsl:when test="position() > 6 or (position() > 1 and $cAuthors > 6)">
  3963.                                             </xsl:when>
  3964.                                             <xsl:when test="position() = 1">
  3965.                                                 <xsl:call-template name="formatNameCore">
  3966.                                                     <xsl:with-param name="FML">
  3967.                                                         <xsl:choose>
  3968.                                                             <xsl:when test="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:NonUniqueLastName">
  3969.                                                                 <xsl:call-template name="templ_prop_APA_CitationLong_FML"/>
  3970.                                                             </xsl:when>
  3971.                                                             <xsl:otherwise>
  3972.                                                                 <xsl:call-template name="templ_prop_APA_CitationShort_FML"/>
  3973.                                                             </xsl:otherwise>
  3974.                                                         </xsl:choose>
  3975.                                                     </xsl:with-param>
  3976.                                                     <xsl:with-param name="FM">
  3977.                                                         <xsl:choose>
  3978.                                                             <xsl:when test="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:NonUniqueLastName">
  3979.                                                                 <xsl:call-template name="templ_prop_APA_CitationLong_FM"/>
  3980.                                                             </xsl:when>
  3981.                                                             <xsl:otherwise>
  3982.                                                                 <xsl:call-template name="templ_prop_APA_CitationShort_FM"/>
  3983.                                                             </xsl:otherwise>
  3984.                                                         </xsl:choose>
  3985.                                                     </xsl:with-param>
  3986.                                                     <xsl:with-param name="ML">
  3987.                                                         <xsl:choose>
  3988.                                                             <xsl:when test="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:NonUniqueLastName">
  3989.                                                                 <xsl:call-template name="templ_prop_APA_CitationLong_ML"/>
  3990.                                                             </xsl:when>
  3991.                                                             <xsl:otherwise>
  3992.                                                                 <xsl:call-template name="templ_prop_APA_CitationShort_ML"/>
  3993.                                                             </xsl:otherwise>
  3994.                                                         </xsl:choose>
  3995.                                                     </xsl:with-param>
  3996.                                                     <xsl:with-param name="FL">
  3997.                                                         <xsl:choose>
  3998.                                                             <xsl:when test="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:NonUniqueLastName">
  3999.                                                                 <xsl:call-template name="templ_prop_APA_CitationLong_FL"/>
  4000.                                                             </xsl:when>
  4001.                                                             <xsl:otherwise>
  4002.                                                                 <xsl:call-template name="templ_prop_APA_CitationShort_FL"/>
  4003.                                                             </xsl:otherwise>
  4004.                                                         </xsl:choose>
  4005.                                                     </xsl:with-param>
  4006.                                                     <xsl:with-param name="upperLast">no</xsl:with-param>
  4007.                                                     <xsl:with-param name="withDot">no</xsl:with-param>
  4008.                                                 </xsl:call-template>
  4009.                                             </xsl:when>
  4010.                                             <xsl:when test="position() > 1">
  4011.                                                 <xsl:call-template name="formatNameCore">
  4012.                                                     <xsl:with-param name="FML"><xsl:call-template name="templ_prop_APA_CitationShort_FML"/></xsl:with-param>
  4013.                                                     <xsl:with-param name="FM"><xsl:call-template name="templ_prop_APA_CitationShort_FM"/></xsl:with-param>
  4014.                                                     <xsl:with-param name="ML"><xsl:call-template name="templ_prop_APA_CitationShort_ML"/></xsl:with-param>
  4015.                                                     <xsl:with-param name="FL"><xsl:call-template name="templ_prop_APA_CitationShort_FL"/></xsl:with-param>
  4016.                                                     <xsl:with-param name="upperLast">no</xsl:with-param>
  4017.                                                     <xsl:with-param name="withDot">no</xsl:with-param>
  4018.                                                 </xsl:call-template>
  4019.                                             </xsl:when>
  4020.                                         </xsl:choose>
  4021.                                        
  4022.                                         <xsl:choose>
  4023.                                             <xsl:when test="(position() = 1 and $cAuthors > 6)">
  4024.                                                 <xsl:variable name="noCommaBeforeAnd">
  4025.                                                   <xsl:call-template name="templ_prop_NoCommaBeforeAnd" />
  4026.                                                 </xsl:variable>
  4027.                                                 <xsl:choose>
  4028.                                                   <xsl:when test="$noCommaBeforeAnd != 'yes'">
  4029.                                                     <!-- Begin: To use (author et al. 2008) instead of (author, et al. 2008) -->
  4030.                                                     <!-- <xsl:text> </xsl:text> -->
  4031.                                                     <!-- End: To use (author et al. 2008) instead of (author, et al. 2008) -->
  4032.                                                     <xsl:call-template name="templ_prop_ListSeparator"/>
  4033.                                                   </xsl:when>
  4034.                                                   <xsl:otherwise>
  4035.                                                     <xsl:call-template name="templ_prop_Space"/>
  4036.                                                   </xsl:otherwise>
  4037.                                                 </xsl:choose>
  4038.                                                 <xsl:call-template name="templ_str_AndOthersUnCap"/>
  4039.                                             </xsl:when>
  4040.                                             <xsl:when test="position() > 1 and $cAuthors > 6">
  4041.                                             </xsl:when>
  4042.                                             <xsl:when test="($cAuthors - 1 = position() and ($cAuthors = 2))">
  4043.                                                 <xsl:call-template name="templ_prop_Space"/>
  4044.                                                 <xsl:call-template name="templ_prop_APA_BeforeLastAuthor"/>
  4045.                                                 <xsl:call-template name="templ_prop_Space"/>
  4046.                                             </xsl:when>
  4047.                                             <xsl:when test="($cAuthors - 1 = position() and ($cAuthors > 2))">
  4048.                                                 <xsl:variable name="noCommaBeforeAnd">
  4049.                                                   <xsl:call-template name="templ_prop_NoCommaBeforeAnd" />
  4050.                                                 </xsl:variable>
  4051.  
  4052.                                                 <xsl:variable name="noAndBeforeLastAuthor">
  4053.                                                     <xsl:call-template name="templ_prop_NoAndBeforeLastAuthor"/>
  4054.                                                 </xsl:variable>
  4055.  
  4056.                                                 <xsl:choose>
  4057.                                                   <xsl:when test="$noCommaBeforeAnd != 'yes' or $noAndBeforeLastAuthor = 'yes'">
  4058.                                                     <xsl:call-template name="templ_prop_AuthorsSeparator"/>
  4059.                                                   </xsl:when>
  4060.                                                   <xsl:otherwise>
  4061.                                                     <xsl:call-template name="templ_prop_Space"/>
  4062.                                                   </xsl:otherwise>
  4063.                                                 </xsl:choose>
  4064.  
  4065.                                                 <xsl:if test="$noAndBeforeLastAuthor != 'yes'">
  4066.                                                     <xsl:call-template name="templ_prop_APA_BeforeLastAuthor"/>
  4067.                                                     <xsl:call-template name="templ_prop_Space"/>
  4068.                                                 </xsl:if>
  4069.                                             </xsl:when>
  4070.                                             <xsl:when test="$cAuthors > position() and 6 > position() ">
  4071.                                                 <xsl:call-template name="templ_prop_AuthorsSeparator"/>
  4072.                                             </xsl:when>
  4073.                                         </xsl:choose>
  4074.        
  4075.                                     </xsl:for-each>
  4076.                                 </xsl:otherwise>
  4077.                             </xsl:choose>
  4078.                         </xsl:variable>
  4079.  
  4080.                         <xsl:variable name="title">
  4081.                             <xsl:choose>
  4082.                                 <xsl:when test="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:NoTitle">
  4083.                                 </xsl:when>
  4084.                                
  4085.                                 <xsl:otherwise>
  4086.                                     <xsl:value-of select="$title0" />
  4087.                                 </xsl:otherwise>
  4088.                             </xsl:choose>
  4089.                         </xsl:variable>
  4090.  
  4091.                         <xsl:variable name="year">
  4092.                             <xsl:choose>
  4093.                                 <xsl:when test="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:NoYear">
  4094.                                 </xsl:when>
  4095.                                
  4096.                                 <xsl:otherwise>
  4097.                                     <xsl:value-of select="$year0" />
  4098.                                 </xsl:otherwise>
  4099.                             </xsl:choose>
  4100.                         </xsl:variable>                    
  4101.  
  4102.                         <xsl:variable name="author">
  4103.                             <xsl:choose>
  4104.                                 <xsl:when test="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:NoAuthor">
  4105.                                 </xsl:when>
  4106.                                 <xsl:otherwise>
  4107.                                     <xsl:value-of select="$author0" />
  4108.                                 </xsl:otherwise>
  4109.                             </xsl:choose>
  4110.                         </xsl:variable>
  4111.  
  4112.                         <xsl:variable name="prop_APA_Hyphens">
  4113.                           <xsl:call-template name="templ_prop_Hyphens"/>
  4114.                         </xsl:variable>
  4115.  
  4116.                         <xsl:variable name="volume" select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Volume"/>
  4117.  
  4118.                         <xsl:variable name="volVolume">
  4119.                             <xsl:if test="string-length($volume) > 0">
  4120.                                 <xsl:call-template name="StringFormat">
  4121.                                     <xsl:with-param name="format">
  4122.                                       <xsl:choose>
  4123.                                         <xsl:when test="not(string-length($volume)=string-length(translate($volume, ',', '')))">
  4124.                                           <xsl:call-template name="templ_str_VolumesShortUnCap"/>
  4125.                                         </xsl:when>
  4126.                                         <xsl:when test="string-length($volume)=string-length(translate($volume, $prop_APA_Hyphens, ''))">
  4127.                                           <xsl:call-template name="templ_str_VolumeShortUnCap"/>
  4128.                                         </xsl:when>
  4129.                                         <xsl:otherwise>
  4130.                                           <xsl:call-template name="templ_str_VolumesShortUnCap"/>
  4131.                                         </xsl:otherwise>
  4132.                                       </xsl:choose>
  4133.                                     </xsl:with-param>
  4134.                                     <xsl:with-param name="parameters">
  4135.                                         <t:params>
  4136.                                             <t:param>
  4137.                                                 <xsl:value-of select="$volume"/>
  4138.                                             </t:param>
  4139.                                         </t:params>
  4140.                                     </xsl:with-param>
  4141.                                 </xsl:call-template>
  4142.                             </xsl:if>
  4143.                         </xsl:variable>
  4144.  
  4145.  
  4146.                         <xsl:variable name="pages" select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Pages"/>
  4147.  
  4148.                         <xsl:variable name="ppPages">
  4149.                             <xsl:if test="string-length($pages)>0">
  4150.                                 <xsl:choose>
  4151.                                     <xsl:when test="not(string-length($pages)=string-length(translate($pages, ',', '')))">
  4152.                                         <xsl:call-template name="templ_str_PagesCountinousShort"/>
  4153.                                     </xsl:when>
  4154.                                     <xsl:when test="string-length($pages)=string-length(translate($pages, $prop_APA_Hyphens, ''))">
  4155.                                         <xsl:call-template name="templ_str_PageShort"/>
  4156.                                     </xsl:when>
  4157.                                     <xsl:otherwise>
  4158.                                         <xsl:call-template name="templ_str_PagesCountinousShort"/>
  4159.                                     </xsl:otherwise>
  4160.                                 </xsl:choose>
  4161.                                 <xsl:call-template name="templ_prop_Space"/>
  4162.                                 <xsl:value-of select="$pages"/>
  4163.                             </xsl:if>
  4164.                         </xsl:variable>
  4165.  
  4166.                         <xsl:variable name="displayAuthor">
  4167.                             <xsl:value-of select="$author" />
  4168.                         </xsl:variable>
  4169.  
  4170.                         <xsl:variable name="displayTitle">
  4171.                             <xsl:choose>
  4172.                                 <xsl:when test="string-length($displayAuthor) = 0">
  4173.                                     <xsl:value-of select="$title" />
  4174.                                 </xsl:when>
  4175.                                 <xsl:when test="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:RepeatedAuthor">
  4176.                                     <xsl:value-of select="$title" />
  4177.                                 </xsl:when>
  4178.                             </xsl:choose>
  4179.                         </xsl:variable>
  4180.  
  4181.                         <xsl:if test="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:FirstAuthor">
  4182.                             <xsl:call-template name="templ_prop_OpenBracket"/>
  4183.                         </xsl:if>
  4184.                    
  4185.                         <xsl:if test="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:PagePrefix">
  4186.                             <xsl:value-of select="/b:Citation/b:PagePrefix"/>
  4187.                         </xsl:if>
  4188.  
  4189.                         <xsl:value-of select="$displayAuthor" />
  4190.  
  4191.                         <xsl:if test="string-length($displayTitle) > 0">
  4192.                             <xsl:if test="string-length($displayAuthor) > 0">
  4193.                                 <xsl:call-template name="templ_prop_ListSeparator"/>
  4194.                             </xsl:if>
  4195.                             <xsl:if test="string-length($displayTitle)>0">
  4196.                                 <xsl:value-of select="$displayTitle"/>
  4197.                             </xsl:if>
  4198.                         </xsl:if>
  4199.  
  4200.                         <xsl:if test="string-length($year) > 0">
  4201.                             <xsl:if test="string-length($displayAuthor) > 0 or string-length($displayTitle) > 0">
  4202.                                 <xsl:call-template name="templ_prop_ListSeparator"/>
  4203.                             </xsl:if>  
  4204.                             <xsl:value-of select="$year"/>
  4205.                         </xsl:if>
  4206.  
  4207.                         <xsl:if test="string-length($author0) = 0 and string-length($title0) = 0 and string-length($year0) = 0">
  4208.                             <xsl:value-of select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:Tag"/>
  4209.                         </xsl:if>
  4210.  
  4211.                         <xsl:if test="string-length($volume) > 0 or string-length($pages) > 0">
  4212.                             <xsl:if test="string-length($displayAuthor) > 0 or string-length($displayTitle) > 0 or string-length($year) > 0">
  4213.                                 <xsl:call-template name="templ_prop_ListSeparator"/>
  4214.                             </xsl:if>          
  4215.  
  4216.                             <xsl:choose>
  4217.                                 <xsl:when test="string-length($volume) > 0 and string-length($pages) > 0">
  4218.                                     <xsl:value-of select="$volume"/>
  4219.                                     <xsl:call-template name="templ_prop_Enum"/>
  4220.                                     <xsl:value-of select="$pages"/>
  4221.                                 </xsl:when>
  4222.                                 <xsl:when test="string-length($volVolume) > 0">
  4223.                                     <xsl:value-of select="$volVolume"/>
  4224.                                 </xsl:when>
  4225.                                 <xsl:when test="string-length($ppPages) > 0">
  4226.                                     <xsl:value-of select="$ppPages"/>
  4227.                                 </xsl:when>
  4228.                             </xsl:choose>
  4229.                         </xsl:if>
  4230.  
  4231.                         <xsl:if test="/b:Citation/b:PageSuffix">
  4232.                             <xsl:value-of select="/b:Citation/b:PageSuffix"/>
  4233.                         </xsl:if>
  4234.                        
  4235.                         <xsl:if test="/b:Citation/b:LastAuthor">
  4236.                             <xsl:call-template name="templ_prop_CloseBracket"/>
  4237.                         </xsl:if>
  4238.                         <xsl:if test="not(/b:Citation/b:LastAuthor)">
  4239.                             <xsl:call-template name="templ_prop_GroupSeparator"/>
  4240.                         </xsl:if>
  4241.                    
  4242.  
  4243.                         </xsl:element>
  4244.                     </body>
  4245.                 </html>
  4246.             </xsl:when>
  4247.  
  4248.       <xsl:when test="b:Bibliography">
  4249.         <html xmlns:o="urn:schemas-microsoft-com:office:office"
  4250.                         xmlns:w="urn:schemas-microsoft-com:office:word"
  4251.                         xmlns="http://www.w3.org/TR/REC-html40">
  4252.           <head>
  4253.            
  4254.             <style>
  4255.               p.MsoBibliography, li.MsoBibliography, div.MsoBibliography
  4256.             </style>
  4257.           </head>
  4258.  
  4259.           <body>
  4260.             <xsl:variable name="ListPopulatedWithMain">
  4261.               <xsl:call-template name="populateMain">
  4262.                 <xsl:with-param name="Type">b:Bibliography</xsl:with-param>
  4263.               </xsl:call-template>
  4264.             </xsl:variable>
  4265.  
  4266.             <xsl:variable name="sList">
  4267.               <xsl:call-template name="sortedList">
  4268.                 <xsl:with-param name="sourceRoot">
  4269.                   <xsl:copy-of select="$ListPopulatedWithMain"/>
  4270.                 </xsl:with-param>
  4271.               </xsl:call-template>
  4272.             </xsl:variable>
  4273.  
  4274.             <xsl:for-each select="msxsl:node-set($sList)/b:Bibliography/b:Source">
  4275.  
  4276.               <xsl:variable name="LCID">
  4277.                 <xsl:choose>
  4278.                   <xsl:when test="b:LCID='0' or b:LCID='' or not(b:LCID)">
  4279.                     <xsl:value-of select="/*/b:Locals/b:DefaultLCID"/>
  4280.                   </xsl:when>
  4281.                   <xsl:otherwise>
  4282.                     <xsl:value-of select="b:LCID"/>
  4283.                   </xsl:otherwise>
  4284.                 </xsl:choose>
  4285.               </xsl:variable>
  4286.  
  4287.               <xsl:variable name="dir">
  4288.                 <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$LCID]/b:Properties/b:Direction"/>
  4289.               </xsl:variable>
  4290.  
  4291.               <xsl:variable name="uppercase" select="'ABCDEFGHIJKLMNOPQRSTUVWXYZ'"/>
  4292.               <xsl:variable name="lowercase" select="'abcdefghijklmnopqrstuvwxyz'"/>
  4293.  
  4294.               <xsl:element name="p">
  4295.                 <xsl:attribute name="lang">
  4296.                   <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$LCID]/@Culture"/>
  4297.                 </xsl:attribute>
  4298.                 <xsl:attribute name="dir">
  4299.                   <xsl:value-of select="$dir"/>
  4300.                 </xsl:attribute>
  4301.                 <xsl:attribute name="class">
  4302.                   <xsl:value-of select="'MsoBibliography'"/>
  4303.                 </xsl:attribute>
  4304.                 <xsl:attribute name="style">
  4305.                   <xsl:choose>
  4306.                     <xsl:when test="translate($dir,$uppercase,$lowercase)='rtl'">
  4307.                       <xsl:value-of select="'margin-right:.5in;text-indent:-.5in'"/>
  4308.                     </xsl:when>
  4309.                     <xsl:otherwise>
  4310.                       <xsl:value-of select="'margin-left:.5in;text-indent:-.5in'"/>
  4311.                     </xsl:otherwise>
  4312.                   </xsl:choose>
  4313.                 </xsl:attribute>
  4314.  
  4315.                 <xsl:variable name="prevBook">
  4316.                   <xsl:value-of select="position()-1"/>
  4317.                 </xsl:variable>
  4318.  
  4319.                 <xsl:variable name="cEditors">
  4320.                   <xsl:value-of select="count(b:Author/b:Editor/b:NameList/b:Person)"/>
  4321.                 </xsl:variable>
  4322.  
  4323.                 <xsl:variable name="cTranslators">
  4324.                   <xsl:value-of select="count(b:Author/b:Translator/b:NameList/b:Person)"/>
  4325.                 </xsl:variable>
  4326.  
  4327.                 <xsl:variable name="cComposers">
  4328.                   <xsl:value-of select="count(b:Author/b:Composer/b:NameList/b:Person)"/>
  4329.                 </xsl:variable>
  4330.  
  4331.                 <xsl:variable name="cCompilers">
  4332.                   <xsl:value-of select="count(b:Author/b:Compiler/b:NameList/b:Person)"/>
  4333.                 </xsl:variable>
  4334.  
  4335.                 <xsl:variable name="cPerformers">
  4336.                   <xsl:value-of select="count(b:Author/b:Performer/b:NameList/b:Person)"/>
  4337.                 </xsl:variable>
  4338.  
  4339.                 <xsl:variable name="cDirectors">
  4340.                   <xsl:value-of select="count(b:Author/b:Director/b:NameList/b:Person)"/>
  4341.                 </xsl:variable>
  4342.  
  4343.                 <xsl:variable name="cProducers">
  4344.                   <xsl:value-of select="count(b:Author/b:ProducerName/b:NameList/b:Person)"/>
  4345.                 </xsl:variable>
  4346.  
  4347.                 <xsl:variable name="cConductors">
  4348.                   <xsl:value-of select="count(b:Author/b:Conductor/b:NameList/b:Person)"/>
  4349.                 </xsl:variable>
  4350.  
  4351.  
  4352.                
  4353.                 <xsl:variable name="tempTV">
  4354.                   <xsl:call-template name="templateTV"/>
  4355.                 </xsl:variable>
  4356.  
  4357.                 <xsl:variable name="tempSC">
  4358.                   <xsl:call-template name="templateSC"/>
  4359.                 </xsl:variable>
  4360.  
  4361.                 <xsl:variable name="tempPrP">
  4362.                   <xsl:call-template name="templatePrP"/>
  4363.                 </xsl:variable>
  4364.  
  4365.                 <xsl:variable name="tempCD">
  4366.                   <xsl:call-template name="templateCD"/>
  4367.                 </xsl:variable>
  4368.  
  4369.                 <xsl:variable name="tempID">
  4370.                   <xsl:call-template name="templateID"/>
  4371.                 </xsl:variable>
  4372.  
  4373.                 <xsl:variable name="tempCP">
  4374.                   <xsl:call-template name="templateCP"/>
  4375.                 </xsl:variable>
  4376.  
  4377.                 <xsl:variable name="tempRIDC">
  4378.                   <xsl:call-template name="templateRIDC"/>
  4379.                 </xsl:variable>
  4380.  
  4381.  
  4382.                 <xsl:variable name="tempICSC">
  4383.                   <xsl:call-template name="templateICSC"/>
  4384.                 </xsl:variable>
  4385.  
  4386.                 <xsl:variable name="tempPVEP">
  4387.                   <xsl:call-template name="templatePVEP"/>
  4388.                 </xsl:variable>
  4389.  
  4390.                 <xsl:variable name="tempPVIEP">
  4391.                   <xsl:call-template name="templatePVIEP"/>
  4392.                 </xsl:variable>
  4393.  
  4394.                 <xsl:variable name="tempRDAFU">
  4395.                   <xsl:call-template name="templateRDAFU"/>
  4396.                 </xsl:variable>
  4397.  
  4398.                 <xsl:variable name="tempTCSC">
  4399.                   <xsl:call-template name="templateTCSC"/>
  4400.                 </xsl:variable>
  4401.  
  4402.                 <xsl:variable name="tempCPY">
  4403.                   <xsl:call-template name="templateCPY"/>
  4404.                 </xsl:variable>
  4405.  
  4406.                 <xsl:variable name="tempCSCPu">
  4407.                   <xsl:call-template name="templateCSCPu"/>
  4408.                 </xsl:variable>
  4409.  
  4410.                 <xsl:variable name="tempCSCPr">
  4411.                   <xsl:call-template name="templateCSCPr"/>
  4412.                 </xsl:variable>
  4413.  
  4414.                 <xsl:variable name="tempJVIP">
  4415.                   <xsl:call-template name="templateJVIP"/>
  4416.                 </xsl:variable>
  4417.  
  4418.  
  4419.                
  4420.  
  4421.                 <xsl:variable name="dateCourt">
  4422.                   <xsl:call-template name="formatDateCourt"/>
  4423.                 </xsl:variable>
  4424.  
  4425.  
  4426.                 <xsl:variable name="pages">
  4427.                   <xsl:call-template name="handleSpaces">
  4428.                     <xsl:with-param name="field" select="b:Pages"/>
  4429.                   </xsl:call-template>
  4430.                 </xsl:variable>
  4431.  
  4432.                 <xsl:variable name="court">
  4433.                   <xsl:call-template name="handleSpaces">
  4434.                     <xsl:with-param name="field" select="b:Court"/>
  4435.                   </xsl:call-template>
  4436.                 </xsl:variable>
  4437.  
  4438.                 <xsl:variable name="prop_APA_Hyphens">
  4439.                   <xsl:call-template name="templ_prop_Hyphens"/>
  4440.                 </xsl:variable>
  4441.  
  4442.                 <xsl:variable name="ppPages">
  4443.                   <xsl:if test="string-length($pages)>0">
  4444.                     <xsl:choose>
  4445.                       <xsl:when test="not(string-length($pages)=string-length(translate($pages, ',', '')))">
  4446.                         <xsl:call-template name="templ_str_PagesCountinousShort"/>
  4447.                       </xsl:when>
  4448.                       <xsl:when test="string-length($pages)=string-length(translate($pages, $prop_APA_Hyphens, ''))">
  4449.                         <xsl:call-template name="templ_str_PageShort"/>
  4450.                       </xsl:when>
  4451.                       <xsl:otherwise>
  4452.                         <xsl:call-template name="templ_str_PagesCountinousShort"/>
  4453.                       </xsl:otherwise>
  4454.                     </xsl:choose>
  4455.                     <xsl:call-template name="templ_prop_Space"/>
  4456.                     <xsl:value-of select="$pages"/>
  4457.                   </xsl:if>
  4458.                 </xsl:variable>
  4459.  
  4460.                 <xsl:variable name="tempPTVI">
  4461.                   <xsl:call-template name="templatePTVI">
  4462.                     <xsl:with-param name="pages" select="$ppPages"/>
  4463.                   </xsl:call-template>
  4464.                 </xsl:variable>
  4465.  
  4466.                 <xsl:variable name="title">
  4467.                   <xsl:call-template name="handleSpaces">
  4468.                     <xsl:with-param name="field" select="b:Title"/>
  4469.                   </xsl:call-template>
  4470.                 </xsl:variable>
  4471.  
  4472.                 <xsl:variable name="titleDot">
  4473.                   <xsl:call-template name="appendField_Dot">
  4474.                     <xsl:with-param name="field" select="b:Title"/>
  4475.                   </xsl:call-template>
  4476.                 </xsl:variable>
  4477.  
  4478.                 <xsl:variable name="edition">
  4479.                   <xsl:call-template name="handleSpaces">
  4480.                     <xsl:with-param name="field" select="b:Edition"/>
  4481.                   </xsl:call-template>
  4482.                 </xsl:variable>
  4483.  
  4484.                 <xsl:variable name="date">
  4485.                   <xsl:call-template name="formatDate"/>
  4486.                 </xsl:variable>
  4487.  
  4488.                 <xsl:variable name="dateEmpty">
  4489.                   <xsl:call-template name="formatDateEmpty"/>
  4490.                 </xsl:variable>
  4491.  
  4492.                 <xsl:variable name="year">
  4493.                   <xsl:call-template name="handleSpaces">
  4494.                     <xsl:with-param name="field" select="b:Year"/>
  4495.                   </xsl:call-template>
  4496.                 </xsl:variable>
  4497.  
  4498.  
  4499.                 <xsl:variable name="issue">
  4500.                   <xsl:call-template name="handleSpaces">
  4501.                     <xsl:with-param name="field" select="b:Issue"/>
  4502.                   </xsl:call-template>
  4503.                 </xsl:variable>
  4504.  
  4505.                 <xsl:variable name="pagesDot">
  4506.                   <xsl:call-template name="appendField_Dot">
  4507.                     <xsl:with-param name="field" select="b:Pages"/>
  4508.                   </xsl:call-template>
  4509.                 </xsl:variable>
  4510.  
  4511.                 <xsl:variable name="bookTitle">
  4512.                   <xsl:call-template name="handleSpaces">
  4513.                     <xsl:with-param name="field" select="b:BookTitle"/>
  4514.                   </xsl:call-template>
  4515.                 </xsl:variable>
  4516.  
  4517.                 <xsl:variable name="bookTitleDot">
  4518.                   <xsl:call-template name="appendField_Dot">
  4519.                     <xsl:with-param name="field" select="b:BookTitle"/>
  4520.                   </xsl:call-template>
  4521.                 </xsl:variable>
  4522.  
  4523.                 <xsl:variable name="conferenceName">
  4524.                   <xsl:call-template name="handleSpaces">
  4525.                     <xsl:with-param name="field" select="b:ConferenceName"/>
  4526.                   </xsl:call-template>
  4527.                 </xsl:variable>
  4528.  
  4529.                 <xsl:variable name="conferenceNameDot">
  4530.                   <xsl:call-template name="appendField_Dot">
  4531.                     <xsl:with-param name="field" select="b:ConferenceName"/>
  4532.                   </xsl:call-template>
  4533.                 </xsl:variable>
  4534.  
  4535.                 <xsl:variable name="broadcasterDot">
  4536.                   <xsl:call-template name="appendField_Dot">
  4537.                     <xsl:with-param name="field" select="b:Broadcaster"/>
  4538.                   </xsl:call-template>
  4539.                 </xsl:variable>
  4540.  
  4541.  
  4542.                 <xsl:variable name="countryRegionDot">
  4543.                   <xsl:call-template name="appendField_Dot">
  4544.                     <xsl:with-param name="field" select="b:CountryRegion"/>
  4545.                   </xsl:call-template>
  4546.                 </xsl:variable>
  4547.  
  4548.                 <xsl:variable name="patentNumberDot">
  4549.                   <xsl:call-template name="appendField_Dot">
  4550.                     <xsl:with-param name="field" select="b:PatentNumber"/>
  4551.                   </xsl:call-template>
  4552.                 </xsl:variable>
  4553.  
  4554.                 <xsl:variable name="patentNumber">
  4555.                   <xsl:call-template name="handleSpaces">
  4556.                     <xsl:with-param name="field" select="b:PatentNumber"/>
  4557.                   </xsl:call-template>
  4558.                 </xsl:variable>
  4559.  
  4560.                 <xsl:variable name="interviewTitle">
  4561.                   <xsl:call-template name="handleSpaces">
  4562.                     <xsl:with-param name="field" select="b:Title"/>
  4563.                   </xsl:call-template>
  4564.                 </xsl:variable>
  4565.  
  4566.                 <xsl:variable name="interviewTitleDot">
  4567.                   <xsl:call-template name="appendField_Dot">
  4568.                     <xsl:with-param name="field" select="b:Title"/>
  4569.                   </xsl:call-template>
  4570.                 </xsl:variable>
  4571.  
  4572.                 <xsl:variable name="publicationTitle">
  4573.                   <xsl:call-template name="handleSpaces">
  4574.                     <xsl:with-param name="field" select="b:PublicationTitle"/>
  4575.                   </xsl:call-template>
  4576.                 </xsl:variable>
  4577.  
  4578.                 <xsl:variable name="publicationTitleDot">
  4579.                   <xsl:call-template name="appendField_Dot">
  4580.                     <xsl:with-param name="field" select="b:PublicationTitle"/>
  4581.                   </xsl:call-template>
  4582.                 </xsl:variable>
  4583.  
  4584.                 <xsl:variable name="URL">
  4585.                   <xsl:value-of select="b:URL"/>
  4586.                 </xsl:variable>
  4587.  
  4588.                 <xsl:variable name="cityDot">
  4589.                   <xsl:call-template name="appendField_Dot">
  4590.                     <xsl:with-param name="field" select="b:City"/>
  4591.                   </xsl:call-template>
  4592.                 </xsl:variable>
  4593.  
  4594.                 <xsl:variable name="institutionDot">
  4595.                   <xsl:call-template name="appendField_Dot">
  4596.                     <xsl:with-param name="field" select="b:Institution"/>
  4597.                   </xsl:call-template>
  4598.                 </xsl:variable>
  4599.  
  4600.                 <xsl:variable name="courtDot">
  4601.                   <xsl:call-template name="appendField_Dot">
  4602.                     <xsl:with-param name="field" select="b:Court"/>
  4603.                   </xsl:call-template>
  4604.                 </xsl:variable>
  4605.  
  4606.                 <xsl:variable name="thesisTypeDot">
  4607.                   <xsl:call-template name="appendField_Dot">
  4608.                     <xsl:with-param name="field" select="b:ThesisType"/>
  4609.                   </xsl:call-template>
  4610.                 </xsl:variable>
  4611.  
  4612.                 <xsl:variable name="journalNameDot">
  4613.                   <xsl:call-template name="appendField_Dot">
  4614.                     <xsl:with-param name="field" select="b:JournalName"/>
  4615.                   </xsl:call-template>
  4616.                 </xsl:variable>
  4617.  
  4618.                 <xsl:variable name="journalName">
  4619.                   <xsl:call-template name="handleSpaces">
  4620.                     <xsl:with-param name="field" select="b:JournalName"/>
  4621.                   </xsl:call-template>
  4622.                 </xsl:variable>
  4623.  
  4624.                 <xsl:variable name="internetSiteTitleDot">
  4625.                   <xsl:call-template name="appendField_Dot">
  4626.                     <xsl:with-param name="field" select="b:InternetSiteTitle"/>
  4627.                   </xsl:call-template>
  4628.                 </xsl:variable>
  4629.  
  4630.                 <xsl:variable name="mediumDot">
  4631.                   <xsl:call-template name="appendField_Dot">
  4632.                     <xsl:with-param name="field" select="b:Medium"/>
  4633.                   </xsl:call-template>
  4634.                 </xsl:variable>
  4635.  
  4636.                 <xsl:variable name="issueDot">
  4637.                   <xsl:call-template name="appendField_Dot">
  4638.                     <xsl:with-param name="field" select="b:Issue"/>
  4639.                   </xsl:call-template>
  4640.                 </xsl:variable>
  4641.  
  4642.                 <xsl:variable name="productionCompanyDot">
  4643.                   <xsl:call-template name="appendField_Dot">
  4644.                     <xsl:with-param name="field" select="b:ProductionCompany"/>
  4645.                   </xsl:call-template>
  4646.                 </xsl:variable>
  4647.  
  4648.                 <xsl:variable name="editionDot">
  4649.                   <xsl:call-template name="appendField_Dot">
  4650.                     <xsl:with-param name="field" select="b:Edition"/>
  4651.                   </xsl:call-template>
  4652.                 </xsl:variable>
  4653.  
  4654.                 <xsl:variable name="broadcastTitle">
  4655.                   <xsl:call-template name="handleSpaces">
  4656.                     <xsl:with-param name="field" select="b:BroadcastTitle"/>
  4657.                   </xsl:call-template>
  4658.                 </xsl:variable>
  4659.  
  4660.                 <xsl:variable name="publisher">
  4661.                   <xsl:call-template name="handleSpaces">
  4662.                     <xsl:with-param name="field" select="b:Publisher"/>
  4663.                   </xsl:call-template>
  4664.                 </xsl:variable>
  4665.  
  4666.                 <xsl:variable name="versionDot">
  4667.                   <xsl:call-template name="appendField_Dot">
  4668.                     <xsl:with-param name="field" select="b:Version"/>
  4669.                   </xsl:call-template>
  4670.                 </xsl:variable>
  4671.  
  4672.                 <xsl:variable name="broadcastTitleDot">
  4673.                   <xsl:call-template name="appendField_Dot">
  4674.                     <xsl:with-param name="field" select="b:BroadcastTitle"/>
  4675.                   </xsl:call-template>
  4676.                 </xsl:variable>
  4677.  
  4678.                 <xsl:variable name="periodicalTitleDot">
  4679.                   <xsl:call-template name="appendField_Dot">
  4680.                     <xsl:with-param name="field" select="b:PeriodicalTitle"/>
  4681.                   </xsl:call-template>
  4682.                 </xsl:variable>
  4683.  
  4684.                 <xsl:variable name="periodicalTitle">
  4685.                   <xsl:call-template name="handleSpaces">
  4686.                     <xsl:with-param name="field" select="b:PeriodicalTitle"/>
  4687.                   </xsl:call-template>
  4688.                 </xsl:variable>
  4689.  
  4690.                 <xsl:variable name="productionCompany">
  4691.                   <xsl:call-template name="handleSpaces">
  4692.                     <xsl:with-param name="field" select="b:ProductionCompany"/>
  4693.                   </xsl:call-template>
  4694.                 </xsl:variable>
  4695.  
  4696.                 <xsl:variable name="caseNumber">
  4697.                   <xsl:call-template name="handleSpaces">
  4698.                     <xsl:with-param name="field" select="b:CaseNumber"/>
  4699.                   </xsl:call-template>
  4700.                 </xsl:variable>
  4701.  
  4702.                 <xsl:variable name="broadcaster">
  4703.                   <xsl:call-template name="handleSpaces">
  4704.                     <xsl:with-param name="field" select="b:Broadcaster"/>
  4705.                   </xsl:call-template>
  4706.                 </xsl:variable>
  4707.  
  4708.                 <xsl:variable name="volume">
  4709.                   <xsl:call-template name="handleSpaces">
  4710.                     <xsl:with-param name="field" select="b:Volume"/>
  4711.                   </xsl:call-template>
  4712.                 </xsl:variable>
  4713.  
  4714.  
  4715.                 <xsl:variable name="prefixVolumeUnCap">
  4716.                   <xsl:if test="string-length($volume)>0">
  4717.                     <xsl:call-template name="StringFormat">
  4718.                         <xsl:with-param name="format">
  4719.                           <xsl:choose>
  4720.                             <xsl:when test="not(string-length($volume)=string-length(translate($volume, ',', '')))">
  4721.                               <xsl:call-template name="templ_str_VolumesShortUnCap"/>
  4722.                             </xsl:when>
  4723.                             <xsl:when test="string-length($volume)=string-length(translate($volume, $prop_APA_Hyphens, ''))">
  4724.                               <xsl:call-template name="templ_str_VolumeShortUnCap"/>
  4725.                             </xsl:when>
  4726.                             <xsl:otherwise>
  4727.                               <xsl:call-template name="templ_str_VolumesShortUnCap"/>
  4728.                             </xsl:otherwise>
  4729.                           </xsl:choose>
  4730.                         </xsl:with-param>
  4731.                         <xsl:with-param name="parameters">
  4732.                             <t:params>
  4733.                                 <t:param>
  4734.                                     <xsl:value-of select="$volume"/>
  4735.                                 </t:param>
  4736.                             </t:params>
  4737.                         </xsl:with-param>
  4738.                     </xsl:call-template>
  4739.                   </xsl:if>
  4740.                 </xsl:variable>
  4741.  
  4742.                 <xsl:variable name="prefixVolumeCap">
  4743.                   <xsl:if test="string-length($volume)>0">
  4744.                     <xsl:call-template name="StringFormat">
  4745.                         <xsl:with-param name="format">
  4746.                           <xsl:choose>
  4747.                             <xsl:when test="not(string-length($volume)=string-length(translate($volume, ',', '')))">
  4748.                               <xsl:call-template name="templ_str_VolumesShortCap"/>
  4749.                             </xsl:when>
  4750.                             <xsl:when test="string-length($volume)=string-length(translate($volume, $prop_APA_Hyphens, ''))">
  4751.                               <xsl:call-template name="templ_str_VolumeShortCap"/>
  4752.                             </xsl:when>
  4753.                             <xsl:otherwise>
  4754.                               <xsl:call-template name="templ_str_VolumesShortCap"/>
  4755.                             </xsl:otherwise>
  4756.                           </xsl:choose>
  4757.                         </xsl:with-param>
  4758.                         <xsl:with-param name="parameters">
  4759.                             <t:params>
  4760.                                 <t:param>
  4761.                                     <xsl:value-of select="$volume"/>
  4762.                                 </t:param>
  4763.                             </t:params>
  4764.                         </xsl:with-param>
  4765.                     </xsl:call-template>   
  4766.                   </xsl:if>
  4767.                 </xsl:variable>
  4768.  
  4769.                 <xsl:variable name="prefixVolumeCapDot">
  4770.                   <xsl:call-template name="appendField_Dot">
  4771.                     <xsl:with-param name="field" select="$prefixVolumeCap"/>
  4772.                   </xsl:call-template>
  4773.                 </xsl:variable>
  4774.  
  4775.                 <xsl:variable name="prefixVolumeUnCapDot">
  4776.                   <xsl:call-template name="appendField_Dot">
  4777.                     <xsl:with-param name="field" select="$prefixVolumeUnCap"/>
  4778.                   </xsl:call-template>
  4779.                 </xsl:variable>
  4780.  
  4781.                 <xsl:variable name="volumeDot">
  4782.                   <xsl:call-template name="appendField_Dot">
  4783.                     <xsl:with-param name="field" select="$volume"/>
  4784.                   </xsl:call-template>
  4785.                 </xsl:variable>
  4786.  
  4787.                 <xsl:variable name="i_titleEditionVolumeDot">
  4788.                   <xsl:if test="string-length($title)>0">
  4789.                     <xsl:call-template name = "ApplyItalicTitleNS">
  4790.                      <xsl:with-param name = "data">
  4791.                       <xsl:if test="string-length($edition)>0 or string-length($prefixVolumeCap)>0">
  4792.                         <xsl:value-of select="$title"/>
  4793.                       </xsl:if>
  4794.                       <xsl:if test="string-length($edition)=0 and string-length($prefixVolumeCap)=0">
  4795.                         <xsl:value-of select="$titleDot"/>
  4796.                       </xsl:if>
  4797.                      </xsl:with-param>
  4798.                     </xsl:call-template>
  4799.  
  4800.                     <xsl:if test="string-length($edition)>0 or string-length($prefixVolumeCap)>0">
  4801.                    
  4802.                         <xsl:call-template name="templ_prop_Space"/>
  4803.                         <xsl:call-template name="templ_prop_APA_GeneralOpen"/>
  4804.  
  4805.                         <xsl:if test="string-length($edition)>0">
  4806.                             <xsl:call-template name="StringFormat">
  4807.                                 <xsl:with-param name="format">
  4808.                                     <xsl:call-template name="templ_str_EditionShortUnCap"/>
  4809.                                 </xsl:with-param>
  4810.                                 <xsl:with-param name="parameters">
  4811.                                     <t:params>
  4812.                                         <t:param>
  4813.                                             <xsl:value-of select="$edition"/>
  4814.                                         </t:param>
  4815.                                     </t:params>
  4816.                                 </xsl:with-param>
  4817.                             </xsl:call-template>
  4818.                         </xsl:if>
  4819.  
  4820.                         <xsl:if test="string-length($edition)>0 and string-length($prefixVolumeCap)>0">
  4821.                             <xsl:call-template name="templ_prop_ListSeparator"/>
  4822.                         </xsl:if>
  4823.                        
  4824.                         <xsl:value-of select="$prefixVolumeCap"/>
  4825.                        
  4826.                       <xsl:call-template name="templ_prop_APA_GeneralClose"/>
  4827.                       <xsl:call-template name="templ_prop_Dot"/>
  4828.                     </xsl:if>
  4829.                   </xsl:if>
  4830.                 </xsl:variable>
  4831.  
  4832.                
  4833.  
  4834.  
  4835.                 <xsl:variable name="author">
  4836.                   <xsl:call-template name="formatAuthor"/>
  4837.                 </xsl:variable>
  4838.                 <xsl:variable name="compiler">
  4839.                   <xsl:call-template name="formatCompiler"/>
  4840.                 </xsl:variable>
  4841.  
  4842.                 <xsl:variable name="compilerLF">
  4843.                   <xsl:call-template name="formatCompilerLF"/>
  4844.                 </xsl:variable>
  4845.  
  4846.                 <xsl:variable name="editor">
  4847.                   <xsl:call-template name="formatEditor"/>
  4848.                 </xsl:variable>
  4849.  
  4850.                 <xsl:variable name="editorLF">
  4851.                   <xsl:call-template name="formatEditorLF"/>
  4852.                 </xsl:variable>
  4853.  
  4854.                 <xsl:variable name="translator">
  4855.                   <xsl:call-template name="formatTranslator"/>
  4856.                 </xsl:variable>
  4857.  
  4858.                 <xsl:variable name="translatorLF">
  4859.                   <xsl:call-template name="formatTranslatorLF"/>
  4860.                 </xsl:variable>
  4861.  
  4862.                 <xsl:variable name="performer">
  4863.                   <xsl:call-template name="formatPerformer"/>
  4864.                 </xsl:variable>
  4865.  
  4866.                 <xsl:variable name="intervieweeLF">
  4867.                   <xsl:call-template name="formatIntervieweeLF"/>
  4868.                 </xsl:variable>
  4869.  
  4870.                 <xsl:variable name="producerName">
  4871.                   <xsl:call-template name="formatProducerName"/>
  4872.                 </xsl:variable>
  4873.  
  4874.                 <xsl:variable name="interviewer">
  4875.                   <xsl:call-template name="formatInterviewer"/>
  4876.                 </xsl:variable>
  4877.  
  4878.                 <xsl:variable name="interviewerLF">
  4879.                   <xsl:call-template name="formatInterviewerLF"/>
  4880.                 </xsl:variable>
  4881.  
  4882.                 <xsl:variable name="writer">
  4883.                   <xsl:call-template name="formatWriter"/>
  4884.                 </xsl:variable>
  4885.  
  4886.                 <xsl:variable name="director">
  4887.                   <xsl:call-template name="formatDirector"/>
  4888.                 </xsl:variable>
  4889.  
  4890.                 <xsl:variable name="inventorLF">
  4891.                   <xsl:call-template name="formatInventorLF"/>
  4892.                 </xsl:variable>
  4893.  
  4894.                 <xsl:variable name="writerLF">
  4895.                   <xsl:call-template name="formatWriterLF"/>
  4896.                 </xsl:variable>
  4897.  
  4898.                 <xsl:variable name="bookAuthor">
  4899.                   <xsl:call-template name="formatBookAuthor"/>
  4900.                 </xsl:variable>
  4901.  
  4902.                 <xsl:variable name="sectionAuthor">
  4903.                   <xsl:call-template name="formatAuthor"/>
  4904.                 </xsl:variable>
  4905.  
  4906.                 <xsl:variable name="performerLF">
  4907.                   <xsl:call-template name="formatPerformerLF"/>
  4908.                 </xsl:variable>
  4909.  
  4910.                 <xsl:variable name="conductorLF">
  4911.                   <xsl:call-template name="formatConductorLF"/>
  4912.                 </xsl:variable>
  4913.  
  4914.                 <xsl:variable name="conductor">
  4915.                   <xsl:call-template name="formatConductor"/>
  4916.                 </xsl:variable>
  4917.  
  4918.                 <xsl:variable name="composerLF">
  4919.                   <xsl:call-template name="formatComposerLF"/>
  4920.                 </xsl:variable>
  4921.  
  4922.                 <xsl:variable name="directorLF">
  4923.                   <xsl:call-template name="formatDirectorLF"/>
  4924.                 </xsl:variable>
  4925.  
  4926.                 <xsl:variable name="composer">
  4927.                   <xsl:call-template name="formatComposer"/>
  4928.                 </xsl:variable>
  4929.  
  4930.                 <xsl:variable name="artist">
  4931.                   <xsl:call-template name="formatArtistLF"/>
  4932.                 </xsl:variable>
  4933.  
  4934.                 <xsl:variable name="artistLF">
  4935.                   <xsl:call-template name="formatArtistLF"/>
  4936.                 </xsl:variable>
  4937.  
  4938.                 <xsl:variable name="artistLFDot">
  4939.                   <xsl:call-template name="appendField_Dot">
  4940.                     <xsl:with-param name="field" select="$artistLF"/>
  4941.                   </xsl:call-template>
  4942.                 </xsl:variable>
  4943.  
  4944.                 <xsl:variable name="inventorLFDot">
  4945.                   <xsl:call-template name="appendField_Dot">
  4946.                     <xsl:with-param name="field" select="$inventorLF"/>
  4947.                   </xsl:call-template>
  4948.                 </xsl:variable>
  4949.  
  4950.                 <xsl:variable name="intervieweeLFDot">
  4951.                   <xsl:call-template name="appendField_Dot">
  4952.                     <xsl:with-param name="field" select="$intervieweeLF"/>
  4953.                   </xsl:call-template>
  4954.                 </xsl:variable>
  4955.  
  4956.  
  4957.                
  4958.  
  4959.  
  4960.                 <xsl:variable name="sufixEditorDot">
  4961.                   <xsl:if test="string-length($editor)>0">
  4962.                     <xsl:value-of select="$editor"/>
  4963.                     <xsl:call-template name="templ_prop_Space"/>
  4964.                     <xsl:if test="$cEditors > 1">
  4965.                       <xsl:call-template name="templ_str_EditorsShortCap"/>
  4966.                     </xsl:if>
  4967.                     <xsl:if test="$cEditors = 1">
  4968.                       <xsl:call-template name="templ_str_EditorShortCap"/>
  4969.                     </xsl:if>
  4970.                   </xsl:if>
  4971.                 </xsl:variable>
  4972.  
  4973.  
  4974.                 <xsl:variable name="sufixTranslatorDot">
  4975.                   <xsl:if test="string-length($translator)>0">
  4976.                     <xsl:value-of select="$translator"/>
  4977.                     <xsl:call-template name="templ_prop_Space"/>
  4978.                     <xsl:if test="$cTranslators > 1">
  4979.                       <xsl:call-template name="templ_str_TranslatorsShortCap"/>
  4980.                     </xsl:if>
  4981.                     <xsl:if test="$cTranslators = 1">
  4982.                       <xsl:call-template name="templ_str_TranslatorShortCap"/>
  4983.                     </xsl:if>
  4984.                   </xsl:if>
  4985.                 </xsl:variable>
  4986.  
  4987.                 <xsl:variable name="ensufixEditorLFDot">
  4988.                   <xsl:if test="string-length($editorLF)>0">
  4989.                     <xsl:value-of select="$editorLF"/>
  4990.                     <xsl:call-template name="templ_prop_Space"/>
  4991.                     <xsl:if test="$cEditors > 1">
  4992.                       <xsl:call-template name="templ_prop_APA_GeneralOpen"/>
  4993.                       <xsl:call-template name="templ_str_EditorsShortCap"/>
  4994.                       <xsl:call-template name="templ_prop_APA_GeneralClose"/>
  4995.                     </xsl:if>
  4996.                     <xsl:if test="$cEditors = 1">
  4997.                       <xsl:call-template name="templ_prop_APA_GeneralOpen"/>
  4998.                       <xsl:call-template name="templ_str_EditorShortCap"/>
  4999.                       <xsl:call-template name="templ_prop_APA_GeneralClose"/>
  5000.                     </xsl:if>
  5001.                     <xsl:call-template name="templ_prop_Dot"/>
  5002.                   </xsl:if>
  5003.                 </xsl:variable>
  5004.  
  5005.  
  5006.                 <xsl:variable name="ensufixTranslatorLFDot">
  5007.                   <xsl:if test="string-length($translatorLF)>0">
  5008.                     <xsl:value-of select="$translatorLF"/>
  5009.                     <xsl:call-template name="templ_prop_Space"/>
  5010.                     <xsl:if test="$cTranslators > 1">
  5011.                       <xsl:call-template name="templ_prop_APA_GeneralOpen"/>
  5012.                       <xsl:call-template name="templ_str_TranslatorsShortCap"/>
  5013.                       <xsl:call-template name="templ_prop_APA_GeneralClose"/>
  5014.                     </xsl:if>
  5015.                     <xsl:if test="$cTranslators = 1">
  5016.                       <xsl:call-template name="templ_prop_APA_GeneralOpen"/>
  5017.                       <xsl:call-template name="templ_str_TranslatorShortCap"/>
  5018.                       <xsl:call-template name="templ_prop_APA_GeneralClose"/>
  5019.                     </xsl:if>
  5020.                     <xsl:call-template name="templ_prop_Dot"/>
  5021.                   </xsl:if>
  5022.                 </xsl:variable>
  5023.  
  5024.                 <xsl:variable name="ensufixEditorLF">
  5025.                   <xsl:if test="string-length($editorLF)>0">
  5026.                     <xsl:value-of select="$editorLF"/>
  5027.                     <xsl:call-template name="templ_prop_Space"/>
  5028.                     <xsl:if test="$cEditors > 1">
  5029.                       <xsl:call-template name="templ_prop_APA_GeneralOpen"/>
  5030.                       <xsl:call-template name="templ_str_EditorsShortCap"/>
  5031.                       <xsl:call-template name="templ_prop_APA_GeneralClose"/>
  5032.                     </xsl:if>
  5033.                     <xsl:if test="$cEditors = 1">
  5034.                       <xsl:call-template name="templ_prop_APA_GeneralOpen"/>
  5035.                       <xsl:call-template name="templ_str_EditorShortCap"/>
  5036.                       <xsl:call-template name="templ_prop_APA_GeneralClose"/>
  5037.                     </xsl:if>
  5038.                   </xsl:if>
  5039.                 </xsl:variable>
  5040.  
  5041.  
  5042.                 <xsl:variable name="ensufixTranslatorLF">
  5043.                   <xsl:if test="string-length($translatorLF)>0">
  5044.                     <xsl:value-of select="$translatorLF"/>
  5045.                     <xsl:call-template name="templ_prop_Space"/>
  5046.                     <xsl:if test="$cTranslators > 1">
  5047.                       <xsl:call-template name="templ_prop_APA_GeneralOpen"/>
  5048.                       <xsl:call-template name="templ_str_TranslatorsShortCap"/>
  5049.                       <xsl:call-template name="templ_prop_APA_GeneralClose"/>
  5050.                     </xsl:if>
  5051.                     <xsl:if test="$cTranslators = 1">
  5052.                       <xsl:call-template name="templ_prop_APA_GeneralOpen"/>
  5053.                       <xsl:call-template name="templ_str_TranslatorShortCap"/>
  5054.                       <xsl:call-template name="templ_prop_APA_GeneralClose"/>
  5055.                     </xsl:if>
  5056.                   </xsl:if>
  5057.                 </xsl:variable>
  5058.  
  5059.                 <xsl:variable name="ensufixComposerLFDot">
  5060.                   <xsl:if test="string-length($composerLF)>0">
  5061.                     <xsl:value-of select="$composerLF"/>
  5062.                     <xsl:call-template name="templ_prop_Space"/>
  5063.                     <xsl:if test="$cComposers > 1">
  5064.                       <xsl:call-template name="templ_prop_APA_GeneralOpen"/>
  5065.                       <xsl:call-template name="templ_str_ComposersCap"/>
  5066.                       <xsl:call-template name="templ_prop_APA_GeneralClose"/>
  5067.                     </xsl:if>
  5068.                     <xsl:if test="$cComposers = 1">
  5069.                       <xsl:call-template name="templ_prop_APA_GeneralOpen"/>
  5070.                       <xsl:call-template name="templ_str_ComposerCap"/>
  5071.                       <xsl:call-template name="templ_prop_APA_GeneralClose"/>
  5072.                     </xsl:if>
  5073.                     <xsl:call-template name="templ_prop_Dot"/>
  5074.                   </xsl:if>
  5075.                 </xsl:variable>
  5076.  
  5077.  
  5078.                 <xsl:variable name="ensufixShortCompilerLFDot">
  5079.                   <xsl:if test="string-length($compilerLF)>0">
  5080.                     <xsl:value-of select="$compilerLF"/>
  5081.                     <xsl:call-template name="templ_prop_Space"/>
  5082.                     <xsl:if test="$cCompilers > 1">
  5083.                       <xsl:call-template name="templ_prop_APA_GeneralOpen"/>
  5084.                      
  5085.                       <xsl:call-template name="templ_str_CompilerShortCap"/>
  5086.                       <xsl:call-template name="templ_prop_APA_GeneralClose"/>
  5087.                     </xsl:if>
  5088.                     <xsl:if test="$cCompilers = 1">
  5089.                       <xsl:call-template name="templ_prop_APA_GeneralOpen"/>
  5090.                       <xsl:call-template name="templ_str_CompilerShortCap"/>
  5091.                       <xsl:call-template name="templ_prop_APA_GeneralClose"/>
  5092.                     </xsl:if>
  5093.                     <xsl:call-template name="templ_prop_Dot"/>
  5094.                   </xsl:if>
  5095.                 </xsl:variable>
  5096.  
  5097.  
  5098.                 <xsl:variable name="writerLFDot">
  5099.                   <xsl:call-template name="appendField_Dot">
  5100.                     <xsl:with-param name="field" select="$writerLF"/>
  5101.                   </xsl:call-template>
  5102.                 </xsl:variable>
  5103.  
  5104.                 <xsl:variable name="ensufixPerformerLFDot">
  5105.                   <xsl:if test="string-length($performerLF)>0">
  5106.                     <xsl:value-of select="$performerLF"/>
  5107.                     <xsl:call-template name="templ_prop_Space"/>
  5108.                     <xsl:if test="$cPerformers > 1">
  5109.                       <xsl:call-template name="templ_prop_APA_GeneralOpen"/>
  5110.                       <xsl:call-template name="templ_str_PerformersCap"/>
  5111.                       <xsl:call-template name="templ_prop_APA_GeneralClose"/>
  5112.                     </xsl:if>
  5113.                     <xsl:if test="$cPerformers = 1">
  5114.                       <xsl:call-template name="templ_prop_APA_GeneralOpen"/>
  5115.                       <xsl:call-template name="templ_str_PerformerCap"/>
  5116.                       <xsl:call-template name="templ_prop_APA_GeneralClose"/>
  5117.                     </xsl:if>
  5118.                     <xsl:call-template name="templ_prop_Dot"/>
  5119.                   </xsl:if>
  5120.                 </xsl:variable>
  5121.  
  5122.                 <xsl:variable name="ensufixConductorLFDot">
  5123.                   <xsl:if test="string-length($conductorLF)>0">
  5124.                     <xsl:value-of select="$conductorLF"/>
  5125.                     <xsl:call-template name="templ_prop_Space"/>
  5126.                     <xsl:if test="$cConductors > 1">
  5127.                       <xsl:call-template name="templ_prop_APA_GeneralOpen"/>
  5128.                       <xsl:call-template name="templ_str_ConductorsCap"/>
  5129.                       <xsl:call-template name="templ_prop_APA_GeneralClose"/>
  5130.                     </xsl:if>
  5131.                     <xsl:if test="$cConductors = 1">
  5132.                       <xsl:call-template name="templ_prop_APA_GeneralOpen"/>
  5133.                       <xsl:call-template name="templ_str_ConductorCap"/>
  5134.                       <xsl:call-template name="templ_prop_APA_GeneralClose"/>
  5135.                     </xsl:if>
  5136.                     <xsl:call-template name="templ_prop_Dot"/>
  5137.                   </xsl:if>
  5138.                 </xsl:variable>
  5139.  
  5140.                 <xsl:variable name="ensufixDirectorLFDot">
  5141.                   <xsl:if test="string-length($directorLF)>0">
  5142.                     <xsl:value-of select="$directorLF"/>
  5143.                     <xsl:call-template name="templ_prop_Space"/>
  5144.                     <xsl:if test="$cDirectors > 1">
  5145.                       <xsl:call-template name="templ_prop_APA_GeneralOpen"/>
  5146.                       <xsl:call-template name="templ_str_DirectorsCap"/>
  5147.                       <xsl:call-template name="templ_prop_APA_GeneralClose"/>
  5148.                     </xsl:if>
  5149.                     <xsl:if test="$cDirectors = 1">
  5150.                       <xsl:call-template name="templ_prop_APA_GeneralOpen"/>
  5151.                       <xsl:call-template name="templ_str_DirectorCap"/>
  5152.                       <xsl:call-template name="templ_prop_APA_GeneralClose"/>
  5153.                     </xsl:if>
  5154.                     <xsl:call-template name="templ_prop_Dot"/>
  5155.                   </xsl:if>
  5156.                 </xsl:variable>
  5157.  
  5158.                 <xsl:variable name="enclosedDateDot">
  5159.                   <xsl:if test="string-length($date)>0">
  5160.                     <xsl:call-template name="templ_prop_APA_GeneralOpen"/>
  5161.                     <xsl:value-of select="$date"/>
  5162.                     <xsl:call-template name="templ_prop_APA_GeneralClose"/>
  5163.                     <xsl:call-template name="templ_prop_Dot"/>
  5164.                   </xsl:if>
  5165.                 </xsl:variable>
  5166.  
  5167.                 <xsl:variable name="enclosedDateEmptyDot">
  5168.                   <xsl:if test="string-length($dateEmpty)>0">
  5169.                     <xsl:call-template name="templ_prop_APA_GeneralOpen"/>
  5170.                     <xsl:value-of select="$dateEmpty"/>
  5171.                     <xsl:call-template name="templ_prop_APA_GeneralClose"/>
  5172.                     <xsl:call-template name="templ_prop_Dot"/>
  5173.                   </xsl:if>
  5174.                 </xsl:variable>
  5175.  
  5176.                 <xsl:variable name="authorDot">
  5177.                   <xsl:call-template name="appendField_Dot">
  5178.                     <xsl:with-param name="field" select="$author"/>
  5179.                   </xsl:call-template>
  5180.                 </xsl:variable>
  5181.  
  5182.                 <xsl:variable name="theAuthor">
  5183.                   <xsl:choose>
  5184.                     <xsl:when test="string-length($author)>0">
  5185.                       <xsl:value-of select="$author"/>
  5186.                     </xsl:when>
  5187.                     <xsl:when test="string-length($ensufixEditorLF)>0">
  5188.                       <xsl:value-of select="$ensufixEditorLF"/>
  5189.                     </xsl:when>
  5190.                   </xsl:choose>
  5191.                 </xsl:variable>
  5192.  
  5193.                 <xsl:variable name="theAuthorDot">
  5194.                   <xsl:call-template name="appendField_Dot">
  5195.                     <xsl:with-param name="field" select="$theAuthor"/>
  5196.                   </xsl:call-template>
  5197.                 </xsl:variable>
  5198.  
  5199.                 <xsl:variable name="writeEditor">
  5200.                   <xsl:choose>
  5201.                     <xsl:when test="string-length($author)>0">Editor</xsl:when>
  5202.                   </xsl:choose>
  5203.                 </xsl:variable>
  5204.  
  5205.                 <xsl:variable name="theEditorAndTranslatorDot">
  5206.                   <xsl:call-template name="formatManySecondary">
  5207.  
  5208.                     <xsl:with-param name="name1" select="$writeEditor"/>
  5209.                     <xsl:with-param name="sufixS1">
  5210.                       <xsl:call-template name="templ_prop_ListSeparator"/>
  5211.                       <xsl:call-template name="templ_str_EditorShortCap"/>
  5212.                     </xsl:with-param>
  5213.                     <xsl:with-param name="sufixM1">
  5214.                       <xsl:call-template name="templ_prop_ListSeparator"/>
  5215.                       <xsl:call-template name="templ_str_EditorsShortCap"/>
  5216.                     </xsl:with-param>
  5217.  
  5218.                     <xsl:with-param name="name2">Translator</xsl:with-param>
  5219.                     <xsl:with-param name="sufixS2">
  5220.                       <xsl:call-template name="templ_prop_ListSeparator"/>
  5221.                       <xsl:call-template name="templ_str_TranslatorShortCap"/>
  5222.                     </xsl:with-param>
  5223.                     <xsl:with-param name="sufixM2">
  5224.                       <xsl:call-template name="templ_prop_ListSeparator"/>
  5225.                       <xsl:call-template name="templ_str_TranslatorsShortCap"/>
  5226.                     </xsl:with-param>
  5227.                   </xsl:call-template>
  5228.                 </xsl:variable>
  5229.  
  5230.  
  5231.                 <xsl:variable name="theEditorEncTemp">
  5232.                   <xsl:call-template name="formatManySecondary">
  5233.  
  5234.                     <xsl:with-param name="name1" select="$writeEditor"/>
  5235.                     <xsl:with-param name="sufixS1">
  5236.                       <xsl:call-template name="templ_prop_Space"/>
  5237.                       <xsl:call-template name="templ_prop_APA_GeneralOpen"/>
  5238.                       <xsl:call-template name="templ_str_EditorShortCap"/>
  5239.                       <xsl:call-template name="templ_prop_APA_GeneralClose"/>
  5240.                     </xsl:with-param>
  5241.                     <xsl:with-param name="sufixM1">
  5242.                       <xsl:call-template name="templ_prop_Space"/>
  5243.                       <xsl:call-template name="templ_prop_APA_GeneralOpen"/>
  5244.                       <xsl:call-template name="templ_str_EditorShortCap"/>
  5245.                       <xsl:call-template name="templ_prop_APA_GeneralClose"/>
  5246.                     </xsl:with-param>
  5247.  
  5248.                   </xsl:call-template>
  5249.                 </xsl:variable>
  5250.  
  5251.                 <xsl:variable name="prop_APA_GeneralOpen">
  5252.                   <xsl:call-template name="templ_prop_APA_GeneralOpen"/>
  5253.                 </xsl:variable>
  5254.                 <xsl:variable name="prop_APA_GeneralClose">
  5255.                   <xsl:call-template name="templ_prop_APA_GeneralClose"/>
  5256.                 </xsl:variable>
  5257.  
  5258.                 <xsl:variable name="theEditorEnc">
  5259.                   <xsl:if test="string-length($theEditorEncTemp)>0">
  5260.                     <xsl:value-of select="substring($theEditorEncTemp, 1 + string-length($prop_APA_GeneralOpen), string-length($theEditorEncTemp) - string-length($prop_APA_GeneralOpen) - string-length($prop_APA_GeneralClose))"/>
  5261.                   </xsl:if>
  5262.                 </xsl:variable>
  5263.  
  5264.                 <xsl:variable name="theEditorEncDot">
  5265.                   <xsl:if test="string-length($theEditorEncTemp)>0">
  5266.                     <xsl:value-of select="substring($theEditorEncTemp, 1 + string-length($prop_APA_GeneralOpen), string-length($theEditorEncTemp)  - string-length($prop_APA_GeneralOpen) - string-length($prop_APA_GeneralClose))"/>
  5267.                     <xsl:call-template name="templ_prop_Dot"/>
  5268.                   </xsl:if>
  5269.                 </xsl:variable>
  5270.  
  5271.  
  5272.                 <xsl:variable name="theEnSufixEditor">
  5273.                   <xsl:choose>
  5274.                     <xsl:when test="string-length($author)>0">
  5275.                       <xsl:value-of select="$ensufixEditorLF"/>
  5276.                     </xsl:when>
  5277.                   </xsl:choose>
  5278.                 </xsl:variable>
  5279.  
  5280.                 <xsl:variable name="theEnSufixTranslator">
  5281.                   <xsl:choose>
  5282.                     <xsl:when test="string-length($author)>0 or string-length($ensufixEditorLFDot)>0 ">
  5283.                       <xsl:value-of select="$ensufixTranslatorLF"/>
  5284.                     </xsl:when>
  5285.                   </xsl:choose>
  5286.                 </xsl:variable>
  5287.  
  5288.                 <xsl:variable name="theBookAuthorAndEditor">
  5289.                   <xsl:call-template name="formatManySecondary">
  5290.  
  5291.                     <xsl:with-param name="name1">BookAuthor</xsl:with-param>
  5292.                     <xsl:with-param name="sufixS1"></xsl:with-param>
  5293.                     <xsl:with-param name="sufixM1"></xsl:with-param>
  5294.  
  5295.                     <xsl:with-param name="name2">Editor</xsl:with-param>
  5296.                     <xsl:with-param name="sufixS2">
  5297.                       <xsl:call-template name="templ_prop_Space"/>
  5298.                       <xsl:call-template name="templ_prop_APA_GeneralOpen"/>
  5299.                       <xsl:call-template name="templ_str_EditorShortCap"/>
  5300.                       <xsl:call-template name="templ_prop_APA_GeneralClose"/>
  5301.                     </xsl:with-param>
  5302.                     <xsl:with-param name="sufixM2">
  5303.                       <xsl:call-template name="templ_prop_Space"/>
  5304.                       <xsl:call-template name="templ_prop_APA_GeneralOpen"/>
  5305.                       <xsl:call-template name="templ_str_EditorsShortCap"/>
  5306.                       <xsl:call-template name="templ_prop_APA_GeneralClose"/>
  5307.                     </xsl:with-param>
  5308.  
  5309.                   </xsl:call-template>
  5310.                 </xsl:variable>
  5311.  
  5312.                 <xsl:variable name="theBookAuthorAndEditorDot">
  5313.                   <xsl:if test="string-length($theBookAuthorAndEditor)>0">
  5314.                     <xsl:value-of select="substring($theBookAuthorAndEditor, 1 + string-length($prop_APA_GeneralOpen), string-length($theBookAuthorAndEditor) - string-length($prop_APA_GeneralOpen) - string-length($prop_APA_GeneralClose))"/>
  5315.                     <xsl:call-template name="templ_prop_Dot"/>
  5316.                   </xsl:if>
  5317.                 </xsl:variable>
  5318.  
  5319.                 <xsl:variable name="theBookAuthorAndEditor2">
  5320.                   <xsl:if test="string-length($theBookAuthorAndEditor)>0">
  5321.                     <xsl:value-of select="substring($theBookAuthorAndEditor, 1 + string-length($prop_APA_GeneralOpen), string-length($theBookAuthorAndEditor) - string-length($prop_APA_GeneralOpen) - string-length($prop_APA_GeneralClose))"/>
  5322.                   </xsl:if>
  5323.                 </xsl:variable>
  5324.  
  5325.                 <xsl:variable name="i_bookTitlePagesDot">
  5326.                   <xsl:if test="string-length($bookTitle)>0">
  5327.                     <xsl:call-template name = "ApplyItalicFieldNS">
  5328.                      <xsl:with-param name = "data">
  5329.                       <xsl:choose>
  5330.                         <xsl:when test="string-length($volume)>0 or string-length($pages)>0 or string-length($translator)>0 or string-length($edition)>0">
  5331.                           <xsl:value-of select="$bookTitle"/>
  5332.                         </xsl:when>
  5333.                         <xsl:otherwise>
  5334.                           <xsl:value-of select="$bookTitleDot"/>
  5335.                         </xsl:otherwise>
  5336.                       </xsl:choose>
  5337.                      </xsl:with-param>
  5338.                     </xsl:call-template>
  5339.  
  5340.                     <xsl:if test="string-length($volume)>0 or string-length($pages)>0 or string-length($translator)>0 or string-length($edition)>0">
  5341.  
  5342.                       <xsl:call-template name="templ_prop_Space"/>
  5343.                       <xsl:call-template name="templ_prop_APA_GeneralOpen"/>
  5344.  
  5345.                       <xsl:if test="string-length($translator)>0">
  5346.                         <xsl:value-of select="$translator"/>
  5347.                         <xsl:call-template name="templ_prop_ListSeparator"/>
  5348.                         <xsl:if test="$cTranslators > 1">
  5349.                           <xsl:call-template name="templ_str_TranslatorsShortCap"/>
  5350.                         </xsl:if>
  5351.                         <xsl:if test="$cTranslators = 1">
  5352.                           <xsl:call-template name="templ_str_TranslatorShortCap"/>
  5353.                         </xsl:if>
  5354.  
  5355.                       </xsl:if>
  5356.  
  5357.                       <xsl:if test="string-length($edition)>0">
  5358.                         <xsl:if test="string-length($translator)>0">
  5359.                           <xsl:call-template name="templ_prop_ListSeparator"/>
  5360.                         </xsl:if>
  5361.  
  5362.                         <xsl:call-template name="StringFormat">
  5363.                             <xsl:with-param name="format">
  5364.                                 <xsl:call-template name="templ_str_EditionShortUnCap"/>
  5365.                             </xsl:with-param>
  5366.                             <xsl:with-param name="parameters">
  5367.                                 <t:params>
  5368.                                     <t:param>
  5369.                                         <xsl:value-of select="$edition"/>
  5370.                                     </t:param>
  5371.                                 </t:params>
  5372.                             </xsl:with-param>
  5373.                         </xsl:call-template>
  5374.                       </xsl:if>
  5375.  
  5376.                       <xsl:if test="string-length($volume)>0">
  5377.                         <xsl:if test="string-length($translator)>0 or string-length($edition)>0">
  5378.                           <xsl:call-template name="templ_prop_ListSeparator"/>
  5379.                         </xsl:if>
  5380.                         <xsl:call-template name="StringFormat">
  5381.                             <xsl:with-param name="format">
  5382.                               <xsl:choose>
  5383.                                 <xsl:when test="not(string-length($volume)=string-length(translate($volume, ',', '')))">
  5384.                                   <xsl:call-template name="templ_str_VolumesShortCap"/>
  5385.                                 </xsl:when>
  5386.                                 <xsl:when test="string-length($volume)=string-length(translate($volume, $prop_APA_Hyphens, ''))">
  5387.                                   <xsl:call-template name="templ_str_VolumeShortCap"/>
  5388.                                 </xsl:when>
  5389.                                 <xsl:otherwise>
  5390.                                   <xsl:call-template name="templ_str_VolumesShortCap"/>
  5391.                                 </xsl:otherwise>
  5392.                               </xsl:choose>
  5393.                             </xsl:with-param>
  5394.                             <xsl:with-param name="parameters">
  5395.                                 <t:params>
  5396.                                     <t:param>
  5397.                                         <xsl:value-of select="$volume"/>
  5398.                                     </t:param>
  5399.                                 </t:params>
  5400.                             </xsl:with-param>
  5401.                         </xsl:call-template>   
  5402.                       </xsl:if>
  5403.  
  5404.  
  5405.                       <xsl:if test="string-length($pages)>0">
  5406.                         <xsl:if test="string-length($translator)>0 or string-length($edition)>0 or string-length($volume)>0">
  5407.                           <xsl:call-template name="templ_prop_ListSeparator"/>
  5408.                         </xsl:if>
  5409.                         <xsl:value-of select="$ppPages"/>
  5410.                       </xsl:if>
  5411.  
  5412.                       <xsl:call-template name="templ_prop_APA_GeneralClose"/>
  5413.                       <xsl:call-template name="templ_prop_Dot"/>
  5414.  
  5415.                     </xsl:if>
  5416.                   </xsl:if>
  5417.                 </xsl:variable>
  5418.  
  5419.  
  5420.  
  5421.  
  5422.                 <xsl:variable name="theAuthorSoundRecordingDot">
  5423.                   <xsl:choose>
  5424.                     <xsl:when test="string-length($ensufixComposerLFDot)>0">
  5425.                       <xsl:value-of select="$ensufixComposerLFDot"/>
  5426.                     </xsl:when>
  5427.                     <xsl:when test="string-length($ensufixPerformerLFDot)>0">
  5428.                       <xsl:value-of select="$ensufixPerformerLFDot"/>
  5429.                     </xsl:when>
  5430.                     <xsl:when test="string-length($ensufixConductorLFDot)>0">
  5431.                       <xsl:value-of select="$ensufixConductorLFDot"/>
  5432.                     </xsl:when>
  5433.                   </xsl:choose>
  5434.                 </xsl:variable>
  5435.  
  5436.                 <xsl:variable name="writePerformer">
  5437.                   <xsl:choose>
  5438.                     <xsl:when test="string-length($composer)>0">Performer</xsl:when>
  5439.                   </xsl:choose>
  5440.                 </xsl:variable>
  5441.  
  5442.                 <xsl:variable name="writeConductor">
  5443.                   <xsl:choose>
  5444.                     <xsl:when test="string-length($composer)>0 or string-length($performer)>0">Conductor</xsl:when>
  5445.                   </xsl:choose>
  5446.                 </xsl:variable>
  5447.  
  5448.  
  5449.                 <xsl:variable name="thePerformerAndConductorDot">
  5450.                   <xsl:call-template name="formatManySecondary">
  5451.  
  5452.                     <xsl:with-param name="useSquareBrackets" select="'yes'"/>
  5453.                     <xsl:with-param name="name1" select="$writePerformer"/>
  5454.                     <xsl:with-param name="sufixS1">
  5455.                       <xsl:call-template name="templ_prop_ListSeparator"/>
  5456.                       <xsl:call-template name="templ_str_PerformerCap"/>
  5457.                     </xsl:with-param>
  5458.                     <xsl:with-param name="sufixM1">
  5459.                       <xsl:call-template name="templ_prop_ListSeparator"/>
  5460.                       <xsl:call-template name="templ_str_PerformersCap"/>
  5461.                     </xsl:with-param>
  5462.  
  5463.                     <xsl:with-param name="name2" select="$writeConductor"/>
  5464.                     <xsl:with-param name="sufixS2">
  5465.                       <xsl:call-template name="templ_prop_ListSeparator"/>
  5466.                       <xsl:call-template name="templ_str_ConductorCap"/>
  5467.                     </xsl:with-param>
  5468.                     <xsl:with-param name="sufixM2">
  5469.                       <xsl:call-template name="templ_prop_ListSeparator"/>
  5470.                       <xsl:call-template name="templ_str_ConductorsCap"/>
  5471.                     </xsl:with-param>
  5472.                   </xsl:call-template>
  5473.                 </xsl:variable>
  5474.  
  5475.  
  5476.  
  5477.  
  5478.                 <xsl:variable name="theAuthorPerformanceDot">
  5479.                   <xsl:choose>
  5480.                     <xsl:when test="string-length($writerLFDot)>0">
  5481.                       <xsl:value-of select="$writerLFDot"/>
  5482.                     </xsl:when>
  5483.                     <xsl:when test="string-length($ensufixDirectorLFDot)>0">
  5484.                       <xsl:value-of select="$ensufixDirectorLFDot"/>
  5485.                     </xsl:when>
  5486.                     <xsl:when test="string-length($ensufixPerformerLFDot)>0">
  5487.                       <xsl:value-of select="$ensufixPerformerLFDot"/>
  5488.                     </xsl:when>
  5489.                   </xsl:choose>
  5490.                 </xsl:variable>
  5491.  
  5492.                 <xsl:variable name="writePerfDirector">
  5493.                   <xsl:choose>
  5494.                     <xsl:when test="string-length($writer)>0">Director</xsl:when>
  5495.                   </xsl:choose>
  5496.                 </xsl:variable>
  5497.  
  5498.                 <xsl:variable name="writePerfPerformer">
  5499.                   <xsl:choose>
  5500.                     <xsl:when test="string-length($writer)>0 or string-length($director)>0">Performer</xsl:when>
  5501.                   </xsl:choose>
  5502.                 </xsl:variable>
  5503.  
  5504.  
  5505.                 <xsl:variable name="thePerformanceDirectorAndPerformerDot">
  5506.                   <xsl:call-template name="formatManySecondary">
  5507.  
  5508.                     <xsl:with-param name="name1" select="$writePerfDirector"/>
  5509.                     <xsl:with-param name="sufixS1">
  5510.                       <xsl:call-template name="templ_prop_ListSeparator"/>
  5511.                       <xsl:call-template name="templ_str_DirectorCap"/>
  5512.                     </xsl:with-param>
  5513.                     <xsl:with-param name="sufixM1">
  5514.                       <xsl:call-template name="templ_prop_ListSeparator"/>
  5515.                       <xsl:call-template name="templ_str_DirectorsCap"/>
  5516.                     </xsl:with-param>
  5517.  
  5518.                     <xsl:with-param name="name2" select="$writePerfPerformer"/>
  5519.                     <xsl:with-param name="sufixS2">
  5520.                       <xsl:call-template name="templ_prop_ListSeparator"/>
  5521.                       <xsl:call-template name="templ_str_PerformerCap"/>
  5522.                     </xsl:with-param>
  5523.                     <xsl:with-param name="sufixM2">
  5524.                       <xsl:call-template name="templ_prop_ListSeparator"/>
  5525.                       <xsl:call-template name="templ_str_PerformersCap"/>
  5526.                     </xsl:with-param>
  5527.  
  5528.                   </xsl:call-template>
  5529.                 </xsl:variable>
  5530.  
  5531.                 <xsl:variable name="theMiscAuthorDot">
  5532.                   <xsl:choose>
  5533.                     <xsl:when test="string-length($authorDot)>0">
  5534.                       <xsl:value-of select="$authorDot"/>
  5535.                     </xsl:when>
  5536.                     <xsl:when test="string-length($ensufixEditorLFDot)>0">
  5537.                       <xsl:value-of select="$ensufixEditorLFDot"/>
  5538.                     </xsl:when>
  5539.                   </xsl:choose>
  5540.                 </xsl:variable>
  5541.  
  5542.                 <xsl:variable name="writeMiscEditor">
  5543.                   <xsl:choose>
  5544.                     <xsl:when test="string-length($authorDot)>0">Editor</xsl:when>
  5545.                   </xsl:choose>
  5546.                 </xsl:variable>
  5547.  
  5548.  
  5549.                 <xsl:variable name="theMiscEditorAndTranslatorAndCompilerDot">
  5550.                   <xsl:call-template name="formatManySecondary">
  5551.  
  5552.                     <xsl:with-param name="name1" select="$writeMiscEditor"/>
  5553.                     <xsl:with-param name="sufixS1">
  5554.                       <xsl:call-template name="templ_prop_ListSeparator"/>
  5555.                       <xsl:call-template name="templ_str_EditorShortCap"/>
  5556.                     </xsl:with-param>
  5557.                     <xsl:with-param name="sufixM1">
  5558.                       <xsl:call-template name="templ_prop_ListSeparator"/>
  5559.                       <xsl:call-template name="templ_str_EditorsShortCap"/>
  5560.                     </xsl:with-param>
  5561.  
  5562.                     <xsl:with-param name="name2">Translator</xsl:with-param>
  5563.                     <xsl:with-param name="sufixS2">
  5564.                       <xsl:call-template name="templ_prop_ListSeparator"/>
  5565.                       <xsl:call-template name="templ_str_TranslatorShortCap"/>
  5566.                     </xsl:with-param>
  5567.                     <xsl:with-param name="sufixM2">
  5568.                       <xsl:call-template name="templ_prop_ListSeparator"/>
  5569.                       <xsl:call-template name="templ_str_TranslatorsShortCap"/>
  5570.                     </xsl:with-param>
  5571.  
  5572.                     <xsl:with-param name="name3">Compiler</xsl:with-param>
  5573.                     <xsl:with-param name="sufixS3">
  5574.                       <xsl:call-template name="templ_prop_ListSeparator"/>
  5575.                       <xsl:call-template name="templ_str_CompilerCap"/>
  5576.                     </xsl:with-param>
  5577.                     <xsl:with-param name="sufixM3">
  5578.                       <xsl:call-template name="templ_prop_ListSeparator"/>
  5579.                       <xsl:call-template name="templ_str_CompilersCap"/>
  5580.                     </xsl:with-param>
  5581.                   </xsl:call-template>
  5582.                 </xsl:variable>
  5583.  
  5584.  
  5585.                 <xsl:variable name="theFilmProducerAndWriterAndDirectorDot">
  5586.                   <xsl:call-template name="formatManyMain">
  5587.  
  5588.                     <xsl:with-param name="name1">ProducerName</xsl:with-param>
  5589.                     <xsl:with-param name="sufixS1">
  5590.                       <xsl:call-template name="templ_prop_Space"/>
  5591.                       <xsl:call-template name="templ_prop_APA_GeneralOpen"/>
  5592.                       <xsl:call-template name="templ_str_ProducerCap"/>
  5593.                       <xsl:call-template name="templ_prop_APA_GeneralClose"/>
  5594.                     </xsl:with-param>
  5595.                     <xsl:with-param name="sufixM1">
  5596.                       <xsl:call-template name="templ_prop_Space"/>
  5597.                       <xsl:call-template name="templ_prop_APA_GeneralOpen"/>
  5598.                       <xsl:call-template name="templ_str_ProducersCap"/>
  5599.                       <xsl:call-template name="templ_prop_APA_GeneralClose"/>
  5600.                     </xsl:with-param>
  5601.  
  5602.                     <xsl:with-param name="name2">Writer</xsl:with-param>
  5603.                     <xsl:with-param name="sufixS2">
  5604.                       <xsl:call-template name="templ_prop_Space"/>
  5605.                       <xsl:call-template name="templ_prop_APA_GeneralOpen"/>
  5606.                       <xsl:call-template name="templ_str_WriterCap"/>
  5607.                       <xsl:call-template name="templ_prop_APA_GeneralClose"/>
  5608.                     </xsl:with-param>
  5609.                     <xsl:with-param name="sufixM2">
  5610.                       <xsl:call-template name="templ_prop_Space"/>
  5611.                       <xsl:call-template name="templ_prop_APA_GeneralOpen"/>
  5612.                       <xsl:call-template name="templ_str_WritersCap"/>
  5613.                       <xsl:call-template name="templ_prop_APA_GeneralClose"/>
  5614.                     </xsl:with-param>
  5615.  
  5616.                     <xsl:with-param name="name3">Director</xsl:with-param>
  5617.                     <xsl:with-param name="sufixS3">
  5618.                       <xsl:call-template name="templ_prop_Space"/>
  5619.                       <xsl:call-template name="templ_prop_APA_GeneralOpen"/>
  5620.                       <xsl:call-template name="templ_str_DirectorCap"/>
  5621.                       <xsl:call-template name="templ_prop_APA_GeneralClose"/>
  5622.                     </xsl:with-param>
  5623.                     <xsl:with-param name="sufixM3">
  5624.                       <xsl:call-template name="templ_prop_Space"/>
  5625.                       <xsl:call-template name="templ_prop_APA_GeneralOpen"/>
  5626.                       <xsl:call-template name="templ_str_DirectorsCap"/>
  5627.                       <xsl:call-template name="templ_prop_APA_GeneralClose"/>
  5628.                     </xsl:with-param>
  5629.                   </xsl:call-template>
  5630.                 </xsl:variable>
  5631.  
  5632.  
  5633.                 <xsl:variable name="theInterviewInterviewerAndEditorAndTranslator">
  5634.                   <xsl:call-template name="formatManySecondary">
  5635.  
  5636.                     <xsl:with-param name="name1">Interviewer</xsl:with-param>
  5637.                     <xsl:with-param name="sufixS1">
  5638.                       <xsl:call-template name="templ_prop_ListSeparator"/>
  5639.                       <xsl:call-template name="templ_str_InterviewerCap"/>
  5640.                     </xsl:with-param>
  5641.                     <xsl:with-param name="sufixM1">
  5642.                       <xsl:call-template name="templ_prop_ListSeparator"/>
  5643.                       <xsl:call-template name="templ_str_InterviewersCap"/>
  5644.                     </xsl:with-param>
  5645.  
  5646.                     <xsl:with-param name="name2">Editor</xsl:with-param>
  5647.                     <xsl:with-param name="sufixS2">
  5648.                       <xsl:call-template name="templ_prop_ListSeparator"/>
  5649.                       <xsl:call-template name="templ_str_EditorCap"/>
  5650.                     </xsl:with-param>
  5651.                     <xsl:with-param name="sufixM2">
  5652.                       <xsl:call-template name="templ_prop_ListSeparator"/>
  5653.                       <xsl:call-template name="templ_str_EditorsCap"/>
  5654.                     </xsl:with-param>
  5655.  
  5656.                     <xsl:with-param name="name3">Translator</xsl:with-param>
  5657.                     <xsl:with-param name="sufixS3">
  5658.                       <xsl:call-template name="templ_prop_ListSeparator"/>
  5659.                       <xsl:call-template name="templ_str_TranslatorCap"/>
  5660.                     </xsl:with-param>
  5661.                     <xsl:with-param name="sufixM3">
  5662.                       <xsl:call-template name="templ_prop_ListSeparator"/>
  5663.                       <xsl:call-template name="templ_str_TranslatorsCap"/>
  5664.                     </xsl:with-param>
  5665.                   </xsl:call-template>
  5666.                 </xsl:variable>
  5667.  
  5668.                 <xsl:variable name="theInterviewInterviewer">
  5669.                   <xsl:call-template name="formatManySecondary">
  5670.  
  5671.                     <xsl:with-param name="name1">Interviewer</xsl:with-param>
  5672.                     <xsl:with-param name="sufixS1">
  5673.                       <xsl:call-template name="templ_prop_ListSeparator"/>
  5674.                       <xsl:call-template name="templ_str_InterviewerCap"/>
  5675.                     </xsl:with-param>
  5676.                     <xsl:with-param name="sufixM1">
  5677.                       <xsl:call-template name="templ_prop_ListSeparator"/>
  5678.                       <xsl:call-template name="templ_str_InterviewersCap"/>
  5679.                     </xsl:with-param>
  5680.                   </xsl:call-template>
  5681.                 </xsl:variable>
  5682.  
  5683.  
  5684.                 <xsl:variable name="theInternetSiteEditorAndProducerDot">
  5685.                   <xsl:call-template name="formatManySecondary">
  5686.  
  5687.                     <xsl:with-param name="name1" select="$writeEditor"/>
  5688.                     <xsl:with-param name="sufixS1">
  5689.                       <xsl:call-template name="templ_prop_ListSeparator"/>
  5690.                       <xsl:call-template name="templ_str_EditorCap"/>
  5691.                     </xsl:with-param>
  5692.                     <xsl:with-param name="sufixM1">
  5693.                       <xsl:call-template name="templ_prop_ListSeparator"/>
  5694.                       <xsl:call-template name="templ_str_EditorsCap"/>
  5695.                     </xsl:with-param>
  5696.  
  5697.                     <xsl:with-param name="name2">ProducerName</xsl:with-param>
  5698.                     <xsl:with-param name="sufixS2">
  5699.                       <xsl:call-template name="templ_prop_ListSeparator"/>
  5700.                       <xsl:call-template name="templ_str_ProducerCap"/>
  5701.                     </xsl:with-param>
  5702.                     <xsl:with-param name="sufixM2">
  5703.                       <xsl:call-template name="templ_prop_ListSeparator"/>
  5704.                       <xsl:call-template name="templ_str_ProducersCap"/>
  5705.                     </xsl:with-param>
  5706.  
  5707.                     <xsl:with-param name="special3">
  5708.                       <xsl:value-of select="$productionCompany"/>
  5709.                     </xsl:with-param>
  5710.                   </xsl:call-template>
  5711.                 </xsl:variable>
  5712.  
  5713.                 <xsl:variable name = "_albumTitleMedium">
  5714.                   <xsl:if test="string-length(b:AlbumTitle)>0">
  5715.                     <xsl:call-template name="StringFormat">
  5716.                       <xsl:with-param name="format">
  5717.                         <xsl:call-template name="templ_str_OnAlbumTitleCap"/>
  5718.                       </xsl:with-param>
  5719.  
  5720.                       <xsl:with-param name="parameters">
  5721.                         <t:params>
  5722.                           <t:param>
  5723.                             <xsl:call-template name = "ApplyItalicTitleNS">
  5724.                              <xsl:with-param name = "data">
  5725.                               <xsl:value-of select="b:AlbumTitle"/>
  5726.                              </xsl:with-param>
  5727.                             </xsl:call-template>
  5728.                           </t:param>
  5729.                         </t:params>
  5730.                       </xsl:with-param>
  5731.                     </xsl:call-template>
  5732.                   </xsl:if>
  5733.  
  5734.                   <xsl:if test = "string-length(b:AlbumTitle)>0 and string-length(b:Medium)>0">
  5735.                     <xsl:call-template name="templ_prop_Space"/>
  5736.                   </xsl:if>
  5737.  
  5738.                   <xsl:if test = "string-length(b:Medium)>0">
  5739.                     <xsl:call-template name="templ_prop_APA_SecondaryOpen"/>
  5740.                     <xsl:value-of select="b:Medium"/>
  5741.                     <xsl:call-template name="templ_prop_APA_SecondaryClose"/>
  5742.                   </xsl:if>
  5743.                 </xsl:variable>
  5744.  
  5745.  
  5746.                 <xsl:variable name = "_albumTitleMediumDot">
  5747.                     <xsl:if test="string-length(normalize-space($_albumTitleMedium)) > 0">
  5748.                       <xsl:copy-of select="$_albumTitleMedium" />
  5749.                       <xsl:call-template name="need_Dot">
  5750.                         <xsl:with-param name="field" select ="$_albumTitleMedium"/>
  5751.                       </xsl:call-template>                     
  5752.                     </xsl:if>
  5753.                 </xsl:variable>
  5754.  
  5755.                 <xsl:choose>
  5756.                   <xsl:when test="b:SourceType='Book'">
  5757.                     <xsl:choose>
  5758.  
  5759.                      
  5760.                       <xsl:when test="string-length($theAuthorDot)>0">
  5761.  
  5762.                         <xsl:value-of select="$theAuthorDot"/>
  5763.  
  5764.                         <xsl:if test="string-length($enclosedDateDot)>0">
  5765.                           <xsl:call-template name="templ_prop_Space"/>
  5766.                           <xsl:value-of select="$enclosedDateDot"/>
  5767.                         </xsl:if>
  5768.  
  5769.                         <xsl:if test="string-length($i_titleEditionVolumeDot)>0">
  5770.                           <xsl:call-template name="templ_prop_Space"/>
  5771.                           <xsl:apply-templates select="msxsl:node-set($i_titleEditionVolumeDot)" mode="outputHtml"/>
  5772.                         </xsl:if>
  5773.  
  5774.                         <xsl:if test="string-length($theEditorAndTranslatorDot)>0">
  5775.                           <xsl:call-template name="templ_prop_Space"/>
  5776.  
  5777.                           <xsl:value-of select="$theEditorAndTranslatorDot"/>
  5778.  
  5779.                         </xsl:if>
  5780.  
  5781.                         <xsl:if test="string-length($tempCSCPu)>0">
  5782.                           <xsl:call-template name="templ_prop_Space"/>
  5783.                           <xsl:value-of select="$tempCSCPu"/>
  5784.                         </xsl:if>
  5785.  
  5786.                       </xsl:when>
  5787.  
  5788.  
  5789.                      
  5790.                       <xsl:when test="string-length($theAuthorDot)=0">
  5791.  
  5792.                         <xsl:if test="string-length($i_titleEditionVolumeDot)>0">
  5793.                           <xsl:apply-templates select="msxsl:node-set($i_titleEditionVolumeDot)" mode="outputHtml"/>
  5794.                         </xsl:if>
  5795.  
  5796.                         <xsl:if test="string-length($enclosedDateDot)>0">
  5797.                           <xsl:if test="string-length($i_titleEditionVolumeDot)>0">
  5798.                             <xsl:call-template name="templ_prop_Space"/>
  5799.                           </xsl:if>
  5800.                           <xsl:value-of select="$enclosedDateDot"/>
  5801.                         </xsl:if>
  5802.  
  5803.                         <xsl:if test="string-length($theEditorAndTranslatorDot)>0">
  5804.                           <xsl:if test="string-length($i_titleEditionVolumeDot)>0 or string-length($enclosedDateDot)>0">
  5805.                             <xsl:call-template name="templ_prop_Space"/>
  5806.                           </xsl:if>
  5807.  
  5808.                           <xsl:value-of select="$theEditorAndTranslatorDot"/>
  5809.  
  5810.                         </xsl:if>
  5811.  
  5812.  
  5813.                         <xsl:if test="string-length($tempCSCPu)>0">
  5814.                           <xsl:if test="string-length($i_titleEditionVolumeDot)>0 or string-length($enclosedDateDot)>0 or string-length($theEditorAndTranslatorDot)>0">
  5815.                             <xsl:call-template name="templ_prop_Space"/>
  5816.                           </xsl:if>
  5817.                           <xsl:value-of select="$tempCSCPu"/>
  5818.                         </xsl:if>
  5819.                       </xsl:when>
  5820.  
  5821.                     </xsl:choose>
  5822.  
  5823.                   </xsl:when>
  5824.  
  5825.  
  5826.                   <xsl:when test="b:SourceType='BookSection'">
  5827.  
  5828.                     <xsl:if test="string-length($authorDot)>0">
  5829.                       <xsl:value-of select="$authorDot"/>
  5830.                     </xsl:if>
  5831.  
  5832.                     <xsl:if test="string-length($enclosedDateDot)>0">
  5833.                       <xsl:call-template name="templ_prop_Space"/>
  5834.                       <xsl:value-of select="$enclosedDateDot"/>
  5835.                     </xsl:if>
  5836.  
  5837.                     <xsl:if test="string-length($titleDot)>0">
  5838.                       <xsl:if test="string-length($authorDot)>0 or string-length($enclosedDateDot)>0">
  5839.                         <xsl:call-template name="templ_prop_Space"/>
  5840.                       </xsl:if>
  5841.                       <xsl:value-of select="$titleDot"/>
  5842.                     </xsl:if>
  5843.  
  5844.                     <xsl:if test="string-length($theBookAuthorAndEditor)>0">
  5845.                       <xsl:if test="string-length($authorDot)>0 or string-length($titleDot)>0 or string-length($enclosedDateDot)>0">
  5846.                         <xsl:call-template name="templ_prop_Space"/>
  5847.                       </xsl:if>
  5848.  
  5849.                       <xsl:variable name="str_InNameCap">
  5850.                         <xsl:call-template name="templ_str_InNameCap"/>
  5851.                       </xsl:variable>
  5852.  
  5853.                       <xsl:call-template name="StringFormat">
  5854.                         <xsl:with-param name="format" select="$str_InNameCap"/>
  5855.  
  5856.                         <xsl:with-param name="parameters">
  5857.                           <t:params>
  5858.                             <t:param>
  5859.                               <xsl:if test="string-length($i_bookTitlePagesDot)>0">
  5860.                                 <xsl:value-of select="$theBookAuthorAndEditor2"/>
  5861.                               </xsl:if>
  5862.  
  5863.                               <xsl:if test="string-length($i_bookTitlePagesDot)=0">
  5864.                                 <xsl:value-of select="$theBookAuthorAndEditorDot"/>
  5865.                               </xsl:if>
  5866.                             </t:param>
  5867.                           </t:params>
  5868.                         </xsl:with-param>
  5869.                       </xsl:call-template>
  5870.                     </xsl:if>
  5871.  
  5872.                     <xsl:if test="string-length($i_bookTitlePagesDot)>0">
  5873.                       <xsl:choose>
  5874.                         <xsl:when test="string-length($theBookAuthorAndEditor)>0">
  5875.                           <xsl:call-template name="templ_prop_ListSeparator"/>
  5876.                         </xsl:when>
  5877.                         <xsl:when test="string-length($authorDot)>0 or string-length($titleDot)>0 or string-length($theBookAuthorAndEditorDot)>0 or string-length($enclosedDateDot)>0">
  5878.                           <xsl:call-template name="templ_prop_Space"/>
  5879.                         </xsl:when>
  5880.                       </xsl:choose>
  5881.  
  5882.                       <xsl:variable name="str_InNameCap">
  5883.                         <xsl:call-template name="templ_str_InNameCap"/>
  5884.                       </xsl:variable>
  5885.  
  5886.                       <xsl:if test="string-length($theBookAuthorAndEditor)=0">
  5887.                         <xsl:call-template name="StringFormat">
  5888.                           <xsl:with-param name="format" select="$str_InNameCap"/>
  5889.  
  5890.                           <xsl:with-param name="parameters">
  5891.                             <t:params>
  5892.                               <t:param>
  5893.                                 <xsl:copy-of select="$i_bookTitlePagesDot"/>
  5894.                               </t:param>
  5895.                             </t:params>
  5896.                           </xsl:with-param>
  5897.                         </xsl:call-template>
  5898.                       </xsl:if>
  5899.  
  5900.                       <xsl:if test="string-length($theBookAuthorAndEditor)>0">
  5901.                         <xsl:apply-templates select="msxsl:node-set($i_bookTitlePagesDot)" mode="outputHtml"/>
  5902.                       </xsl:if>
  5903.  
  5904.                     </xsl:if>
  5905.  
  5906.                     <xsl:if test="string-length($tempCSCPu)>0">
  5907.                       <xsl:if test="string-length($authorDot)>0 or string-length($titleDot)>0 or string-length($theBookAuthorAndEditorDot)>0 or string-length($i_bookTitlePagesDot)>0 or string-length($enclosedDateDot)>0">
  5908.                         <xsl:call-template name="templ_prop_Space"/>
  5909.                       </xsl:if>
  5910.                       <xsl:value-of select="$tempCSCPu"/>
  5911.                     </xsl:if>
  5912.  
  5913.                   </xsl:when>
  5914.  
  5915.  
  5916.  
  5917.  
  5918.  
  5919.  
  5920.                   <xsl:when test="b:SourceType='JournalArticle'">
  5921.  
  5922.                     <xsl:choose>
  5923.                       <xsl:when test="string-length($theAuthorDot)>0">
  5924.                         <xsl:value-of select="$theAuthorDot"/>
  5925.  
  5926.                         <xsl:if test="(string-length($issue)>0 or string-length($volume)>0) and string-length($enclosedDateDot)>0">
  5927.                           <xsl:call-template name="templ_prop_Space"/>
  5928.                           <xsl:value-of select="$enclosedDateDot"/>
  5929.                         </xsl:if>
  5930.  
  5931.                         <xsl:if test="(string-length($issue)=0 and string-length($volume)=0) and string-length($enclosedDateDot)>0">
  5932.                           <xsl:call-template name="templ_prop_Space"/>
  5933.                           <xsl:value-of select="$enclosedDateDot"/>
  5934.                         </xsl:if>
  5935.  
  5936.                         <xsl:if test="string-length($titleDot)>0">
  5937.                           <xsl:call-template name="templ_prop_Space"/>
  5938.                           <xsl:value-of select="$titleDot"/>
  5939.                         </xsl:if>
  5940.  
  5941.                         <xsl:if test="string-length($theEditorAndTranslatorDot)>0">
  5942.                           <xsl:call-template name="templ_prop_Space"/>
  5943.                           <xsl:value-of select="$theEditorAndTranslatorDot"/>
  5944.                         </xsl:if>
  5945.  
  5946.                         <xsl:if test="string-length($tempJVIP)>0">
  5947.                           <xsl:call-template name="templ_prop_Space"/>
  5948.                           <xsl:apply-templates select="msxsl:node-set($tempJVIP)" mode="outputHtml"/>
  5949.                         </xsl:if>
  5950.  
  5951.                       </xsl:when>
  5952.  
  5953.                       <xsl:otherwise>
  5954.  
  5955.                         <xsl:if test="string-length($titleDot)>0">
  5956.                           <xsl:value-of select="$titleDot"/>
  5957.                         </xsl:if>
  5958.  
  5959.                         <xsl:if test="(string-length($issue)>0 or string-length($volume)>0) and string-length($enclosedDateDot)>0">
  5960.                           <xsl:if test="string-length($titleDot)>0">
  5961.                             <xsl:call-template name="templ_prop_Space"/>
  5962.                           </xsl:if>
  5963.                           <xsl:value-of select="$enclosedDateDot"/>
  5964.                         </xsl:if>
  5965.  
  5966.                         <xsl:if test="(string-length($issue)=0 and string-length($volume)=0) and string-length($enclosedDateDot)>0">
  5967.                           <xsl:call-template name="templ_prop_Space"/>
  5968.                           <xsl:value-of select="$enclosedDateDot"/>
  5969.                         </xsl:if>
  5970.  
  5971.                         <xsl:if test="string-length($theEditorAndTranslatorDot)>0">
  5972.                           <xsl:if test="string-length($titleDot)>0 or ((string-length($issue)>0 or string-length($volume)>0) and string-length($enclosedDateDot)>0) or ((string-length($issue)=0 and string-length($volume)=0) and string-length($enclosedDateDot)>0)">
  5973.                             <xsl:call-template name="templ_prop_Space"/>
  5974.                           </xsl:if>
  5975.                           <xsl:value-of select="$theEditorAndTranslatorDot"/>
  5976.                         </xsl:if>
  5977.  
  5978.                         <xsl:if test="string-length($tempJVIP)>0">
  5979.                           <xsl:if test="string-length($titleDot)>0 or ((string-length($issue)>0 or string-length($volume)>0) and string-length($enclosedDateDot)>0) or ((string-length($issue)=0 and string-length($volume)=0) and string-length($enclosedDateDot)>0) or string-length($theEditorAndTranslatorDot)>0">
  5980.                             <xsl:call-template name="templ_prop_Space"/>
  5981.                           </xsl:if>
  5982.                           <xsl:apply-templates select="msxsl:node-set($tempJVIP)" mode="outputHtml"/>
  5983.                         </xsl:if>
  5984.  
  5985.                       </xsl:otherwise>
  5986.  
  5987.                     </xsl:choose>
  5988.                   </xsl:when>
  5989.  
  5990.  
  5991.                   <xsl:when test="b:SourceType='ArticleInAPeriodical'">
  5992.                     <xsl:choose>
  5993.                       <xsl:when test="string-length($theAuthorDot)>0">
  5994.                         <xsl:value-of select="$theAuthorDot"/>
  5995.  
  5996.                         <xsl:if test="string-length($enclosedDateDot)>0">
  5997.                           <xsl:call-template name="templ_prop_Space"/>
  5998.                           <xsl:value-of select="$enclosedDateDot"/>
  5999.                         </xsl:if>
  6000.  
  6001.                         <xsl:if test="string-length($titleDot)>0">
  6002.                           <xsl:call-template name="templ_prop_Space"/>
  6003.                           <xsl:value-of select="$titleDot"/>
  6004.                         </xsl:if>
  6005.  
  6006.                         <xsl:if test="string-length($theEditorAndTranslatorDot)>0">
  6007.                           <xsl:call-template name="templ_prop_Space"/>
  6008.                           <xsl:value-of select="$theEditorAndTranslatorDot"/>
  6009.                         </xsl:if>
  6010.  
  6011.                         <xsl:if test="string-length($tempPTVI)>0">
  6012.                           <xsl:call-template name="templ_prop_Space"/>
  6013.                           <xsl:apply-templates select="msxsl:node-set($tempPTVI)" mode="outputHtml"/>
  6014.                         </xsl:if>
  6015.  
  6016.                       </xsl:when>
  6017.  
  6018.                       <xsl:otherwise>
  6019.  
  6020.                         <xsl:if test="string-length($titleDot)>0">
  6021.                           <xsl:value-of select="$titleDot"/>
  6022.                         </xsl:if>
  6023.  
  6024.                         <xsl:if test="string-length($enclosedDateDot)>0">
  6025.                           <xsl:if test="string-length($titleDot)>0">
  6026.                             <xsl:call-template name="templ_prop_Space"/>
  6027.                           </xsl:if>
  6028.                           <xsl:value-of select="$enclosedDateDot"/>
  6029.                         </xsl:if>
  6030.  
  6031.                         <xsl:if test="string-length($theEditorAndTranslatorDot)>0">
  6032.                           <xsl:if test="string-length($titleDot)>0 or string-length($enclosedDateDot)>0">
  6033.                             <xsl:call-template name="templ_prop_Space"/>
  6034.                           </xsl:if>
  6035.                           <xsl:value-of select="$theEditorAndTranslatorDot"/>
  6036.                         </xsl:if>
  6037.  
  6038.                         <xsl:if test="string-length($tempPTVI)>0">
  6039.                           <xsl:if test="string-length($titleDot)>0 or string-length($enclosedDateDot)>0 or string-length($theEditorAndTranslatorDot)>0">
  6040.                             <xsl:call-template name="templ_prop_Space"/>
  6041.                           </xsl:if>
  6042.                           <xsl:apply-templates select="msxsl:node-set($tempPTVI)" mode="outputHtml"/>
  6043.                         </xsl:if>
  6044.  
  6045.                       </xsl:otherwise>
  6046.                     </xsl:choose>
  6047.                   </xsl:when>
  6048.  
  6049.                   <xsl:when test="b:SourceType='ConferenceProceedings'">
  6050.                     <xsl:choose>
  6051.                       <xsl:when test="string-length($theAuthorDot)>0">
  6052.  
  6053.                         <xsl:value-of select="$theAuthorDot"/>
  6054.  
  6055.                         <xsl:if test="string-length($enclosedDateDot)>0">
  6056.                           <xsl:call-template name="templ_prop_Space"/>
  6057.                           <xsl:value-of select="$enclosedDateDot"/>
  6058.                         </xsl:if>
  6059.  
  6060.                         <xsl:if test="string-length($titleDot)>0">
  6061.                           <xsl:call-template name="templ_prop_Space"/>
  6062.                           <xsl:value-of select="$titleDot"/>
  6063.                         </xsl:if>
  6064.  
  6065.                         <xsl:if test="string-length($theEditorEnc)>0">
  6066.                           <xsl:call-template name="templ_prop_Space"/>
  6067.  
  6068.                           <xsl:variable name="str_InNameCap">
  6069.                             <xsl:call-template name="templ_str_InNameCap"/>
  6070.                           </xsl:variable>
  6071.  
  6072.  
  6073.                           <xsl:call-template name="StringFormat">
  6074.                             <xsl:with-param name="format" select="$str_InNameCap"/>
  6075.                             <xsl:with-param name="parameters">
  6076.                               <t:params>
  6077.                                 <t:param>
  6078.                                   <xsl:if test="string-length($conferenceNameDot)>0">
  6079.                                     <xsl:value-of select="$theEditorEnc"/>
  6080.                                     <xsl:call-template name="templ_prop_ListSeparator"/>
  6081.                                     <xsl:call-template name = "ApplyItalicTitleNS">
  6082.                                      <xsl:with-param name = "data">
  6083.                                       <xsl:choose>
  6084.                                         <xsl:when test="((string-length($volume)=0 and string-length($pages)>0) or (string-length($publisher)=0 and (string-length($volume)>0 or string-length($pages)>0)))">
  6085.                                           <xsl:value-of select="$conferenceName"/>
  6086.                                         </xsl:when>
  6087.                                         <xsl:otherwise>
  6088.                                           <xsl:value-of select="$conferenceNameDot"/>
  6089.                                         </xsl:otherwise>
  6090.                                       </xsl:choose>
  6091.                                      </xsl:with-param>
  6092.                                     </xsl:call-template>
  6093.                                   </xsl:if>
  6094.  
  6095.                                   <xsl:if test="string-length($conferenceNameDot)=0">
  6096.                                     <xsl:value-of select="$theEditorEncDot"/>
  6097.                                   </xsl:if>
  6098.                                 </t:param>
  6099.                               </t:params>
  6100.                             </xsl:with-param>
  6101.                           </xsl:call-template>
  6102.                         </xsl:if>
  6103.  
  6104.                         <xsl:if test="string-length($theEditorEnc)=0">
  6105.                           <xsl:if test="string-length($conferenceNameDot)>0">
  6106.                             <xsl:call-template name="templ_prop_Space"/>
  6107.  
  6108.                             <xsl:call-template name = "ApplyItalicTitleNS">
  6109.                              <xsl:with-param name = "data">
  6110.                               <xsl:choose>
  6111.                                 <xsl:when test="((string-length($volume)=0 and string-length($pages)>0) or (string-length($publisher)=0 and (string-length($volume)>0 or string-length($pages)>0)))">
  6112.                                   <xsl:value-of select="$conferenceName"/>
  6113.                                 </xsl:when>
  6114.                                 <xsl:otherwise>
  6115.                                   <xsl:value-of select="$conferenceNameDot"/>
  6116.                                 </xsl:otherwise>
  6117.                               </xsl:choose>
  6118.                              </xsl:with-param>
  6119.                             </xsl:call-template>
  6120.                           </xsl:if>
  6121.                         </xsl:if>
  6122.  
  6123.                         <xsl:if test="string-length($volumeDot)>0 or string-length($pages)>0">
  6124.                           <xsl:if test="string-length($publisher)=0">
  6125.                             <xsl:call-template name="templ_prop_ListSeparator"/>
  6126.                           </xsl:if>
  6127.                           <xsl:if test="string-length($volumeDot)>0 and string-length($pages)=0">
  6128.                             <xsl:call-template name="templ_prop_Space"/>
  6129.                             <xsl:call-template name = "ApplyItalicFieldNS">
  6130.                              <xsl:with-param name = "data">
  6131.                               <xsl:value-of select="$volumeDot"/>
  6132.                              </xsl:with-param>
  6133.                             </xsl:call-template>
  6134.                           </xsl:if>
  6135.  
  6136.                           <xsl:if test="string-length($volume)>0 and string-length($pages)>0">
  6137.                             <xsl:call-template name="templ_prop_Space"/>
  6138.                             <xsl:call-template name = "ApplyItalicFieldNS">
  6139.                              <xsl:with-param name = "data">
  6140.                               <xsl:value-of select="$volume"/>
  6141.                              </xsl:with-param>
  6142.                             </xsl:call-template>
  6143.                             <xsl:if test="string-length($pages)>0">
  6144.                               <xsl:call-template name="templ_prop_ListSeparator"/>
  6145.                               <xsl:call-template name="appendField_Dot">
  6146.                                 <xsl:with-param name="field" select="$ppPages"/>
  6147.                               </xsl:call-template>
  6148.                             </xsl:if>
  6149.                           </xsl:if>
  6150.  
  6151.  
  6152.                           <xsl:if test="string-length($volume)=0 and string-length($pages)>0">
  6153.                             <xsl:call-template name="templ_prop_Space"/>
  6154.                             <xsl:call-template name="templ_prop_APA_GeneralOpen"/>
  6155.                             <xsl:value-of select="$ppPages"/>
  6156.                             <xsl:call-template name="templ_prop_APA_GeneralClose"/>
  6157.                             <xsl:call-template name="templ_prop_Dot"/>
  6158.                           </xsl:if>
  6159.                         </xsl:if>
  6160.  
  6161.  
  6162.                         <xsl:if test="string-length($tempCP)>0">
  6163.                           <xsl:call-template name="templ_prop_Space"/>
  6164.                           <xsl:value-of select="$tempCP"/>
  6165.                         </xsl:if>
  6166.  
  6167.                       </xsl:when>
  6168.  
  6169.                       <xsl:otherwise>
  6170.  
  6171.  
  6172.                         <xsl:if test="string-length($titleDot)>0">
  6173.                           <xsl:value-of select="$titleDot"/>
  6174.                         </xsl:if>
  6175.  
  6176.                         <xsl:if test="string-length($enclosedDateDot)>0">
  6177.                           <xsl:if test="string-length($title)>0">
  6178.                             <xsl:call-template name="templ_prop_Space"/>
  6179.                           </xsl:if>
  6180.                           <xsl:value-of select="$enclosedDateDot"/>
  6181.                         </xsl:if>
  6182.  
  6183.  
  6184.                         <xsl:if test="string-length($conferenceNameDot)>0">
  6185.                           <xsl:if test="string-length($title)>0 or string-length($enclosedDateDot)>0">
  6186.                             <xsl:call-template name="templ_prop_Space"/>
  6187.                           </xsl:if>
  6188.                           <xsl:call-template name = "ApplyItalicFieldNS">
  6189.                            <xsl:with-param name = "data">
  6190.                             <xsl:choose>
  6191.                               <xsl:when test="((string-length($volume)=0 and string-length($pages)>0) or (string-length($publisher)=0 and (string-length($volume)>0 or string-length($pages)>0)))">
  6192.                                 <xsl:value-of select="$conferenceName"/>
  6193.                               </xsl:when>
  6194.                               <xsl:otherwise>
  6195.                                 <xsl:value-of select="$conferenceNameDot"/>
  6196.                               </xsl:otherwise>
  6197.                             </xsl:choose>
  6198.                            </xsl:with-param>
  6199.                           </xsl:call-template>
  6200.                         </xsl:if>
  6201.  
  6202.  
  6203.  
  6204.  
  6205.                         <xsl:if test="string-length($volumeDot)>0 or string-length($pages)>0">
  6206.                           <xsl:if test="string-length($publisher)=0">
  6207.                             <xsl:call-template name="templ_prop_ListSeparator"/>
  6208.                           </xsl:if>
  6209.                           <xsl:if test="string-length($volumeDot)>0 and string-length($pages)=0">
  6210.                             <xsl:if test="string-length($title)>0 or string-length($enclosedDateDot)>0 or string-length($conferenceNameDot)>0">
  6211.                               <xsl:call-template name="templ_prop_Space"/>
  6212.                             </xsl:if>
  6213.                             <xsl:call-template name = "ApplyItalicFieldNS">
  6214.                              <xsl:with-param name = "data">
  6215.                               <xsl:value-of select="$volumeDot"/>
  6216.                              </xsl:with-param>
  6217.                             </xsl:call-template>
  6218.                           </xsl:if>
  6219.  
  6220.                           <xsl:if test="string-length($volume)>0 and string-length($pages)>0">
  6221.                             <xsl:if test="string-length($title)>0 or string-length($enclosedDateDot)>0 or string-length($conferenceNameDot)>0">
  6222.                               <xsl:call-template name="templ_prop_Space"/>
  6223.                             </xsl:if>
  6224.                             <xsl:call-template name = "ApplyItalicFieldNS">
  6225.                              <xsl:with-param name = "data">
  6226.                               <xsl:value-of select="$volume"/>
  6227.                              </xsl:with-param>
  6228.                             </xsl:call-template>
  6229.                             <xsl:if test="string-length($pages)>0">
  6230.                               <xsl:call-template name="templ_prop_ListSeparator"/>
  6231.                               <xsl:call-template name="appendField_Dot">
  6232.                                 <xsl:with-param name="field" select="$ppPages"/>
  6233.                               </xsl:call-template>
  6234.                             </xsl:if>
  6235.                           </xsl:if>
  6236.  
  6237.  
  6238.                           <xsl:if test="string-length($volume)=0 and string-length($pages)>0">
  6239.                             <xsl:if test="string-length($title)>0 or string-length($enclosedDateDot)>0 or string-length($conferenceNameDot)>0">
  6240.                               <xsl:call-template name="templ_prop_Space"/>
  6241.                             </xsl:if>
  6242.                             <xsl:call-template name="templ_prop_APA_GeneralOpen"/>
  6243.                             <xsl:value-of select="$ppPages"/>
  6244.                             <xsl:call-template name="templ_prop_APA_GeneralClose"/>
  6245.                             <xsl:call-template name="templ_prop_Dot"/>
  6246.                           </xsl:if>
  6247.                         </xsl:if>
  6248.  
  6249.                         <xsl:if test="string-length($tempCP)>0">
  6250.                           <xsl:if test="string-length($title)>0 or string-length($enclosedDateDot)>0 or string-length($conferenceNameDot)>0 or string-length($volumeDot)>0 or string-length($pages)>0">
  6251.                             <xsl:call-template name="templ_prop_Space"/>
  6252.                           </xsl:if>
  6253.                           <xsl:value-of select="$tempCP"/>
  6254.                         </xsl:if>
  6255.  
  6256.                       </xsl:otherwise>
  6257.                     </xsl:choose>
  6258.                   </xsl:when>
  6259.  
  6260.  
  6261.  
  6262.                   <xsl:when test="b:SourceType='SoundRecording'">
  6263.                     <xsl:choose>
  6264.  
  6265.                      
  6266.                       <xsl:when test="string-length($theAuthorSoundRecordingDot)>0">
  6267.  
  6268.                         <xsl:value-of select="$theAuthorSoundRecordingDot"/>
  6269.  
  6270.                         <xsl:if test="string-length($enclosedDateDot)>0">
  6271.                           <xsl:call-template name="templ_prop_Space"/>
  6272.                           <xsl:value-of select="$enclosedDateDot"/>
  6273.                         </xsl:if>
  6274.  
  6275.                         <xsl:if test="string-length($titleDot)>0">
  6276.                           <xsl:call-template name="templ_prop_Space"/>
  6277.                             <xsl:value-of select="$titleDot"/>
  6278.                         </xsl:if>
  6279.  
  6280.                         <xsl:if test="string-length($thePerformerAndConductorDot)>0">
  6281.                           <xsl:call-template name="templ_prop_Space"/>
  6282.  
  6283.                           <xsl:value-of select="$thePerformerAndConductorDot"/>
  6284.  
  6285.                         </xsl:if>
  6286.  
  6287.                         <xsl:if test="string-length($_albumTitleMediumDot)>0">
  6288.                           <xsl:call-template name="templ_prop_Space"/>
  6289.  
  6290.                           <xsl:copy-of select="$_albumTitleMediumDot" />
  6291.                         </xsl:if>
  6292.  
  6293.                         <xsl:if test="string-length($tempCSCPr)>0">
  6294.                           <xsl:call-template name="templ_prop_Space"/>
  6295.                           <xsl:value-of select="$tempCSCPr"/>
  6296.                         </xsl:if>
  6297.  
  6298.                       </xsl:when>
  6299.  
  6300.  
  6301.                      
  6302.                       <xsl:otherwise>
  6303.  
  6304.                         <xsl:if test="string-length($titleDot)>0">
  6305.                             <xsl:value-of select="$titleDot"/>
  6306.                         </xsl:if>
  6307.  
  6308.                         <xsl:if test="string-length($enclosedDateDot)>0">
  6309.                           <xsl:if test="string-length($titleDot)>0">
  6310.                             <xsl:call-template name="templ_prop_Space"/>
  6311.                           </xsl:if>
  6312.                           <xsl:value-of select="$enclosedDateDot"/>
  6313.                         </xsl:if>
  6314.  
  6315.                         <xsl:if test="string-length($thePerformerAndConductorDot)>0">
  6316.                           <xsl:if test="string-length($titleDot)>0 or string-length($enclosedDateDot)>0">
  6317.                             <xsl:call-template name="templ_prop_Space"/>
  6318.                           </xsl:if>
  6319.  
  6320.                           <xsl:value-of select="$thePerformerAndConductorDot"/>
  6321.  
  6322.                         </xsl:if>
  6323.  
  6324.                        <xsl:if test="string-length($_albumTitleMediumDot)>0">
  6325.                           <xsl:if test="string-length($titleDot)>0 or string-length($enclosedDateDot)>0 or string-length($thePerformerAndConductorDot)>0">
  6326.                             <xsl:call-template name="templ_prop_Space"/>
  6327.                           </xsl:if>
  6328.  
  6329.                           <xsl:copy-of select="$_albumTitleMediumDot" />
  6330.                         </xsl:if>
  6331.  
  6332.                         <xsl:if test="string-length($tempCSCPr)>0">
  6333.                           <xsl:if test="string-length($titleDot)>0 or string-length($enclosedDateDot)>0 or string-length($thePerformerAndConductorDot)>0 or string-length($_albumTitleMediumDot)>0">
  6334.                             <xsl:call-template name="templ_prop_Space"/>
  6335.                           </xsl:if>
  6336.                           <xsl:value-of select="$tempCSCPr"/>
  6337.                         </xsl:if>
  6338.                       </xsl:otherwise>
  6339.  
  6340.                     </xsl:choose>
  6341.  
  6342.                   </xsl:when>
  6343.  
  6344.  
  6345.                   <xsl:when test="b:SourceType='Performance'">
  6346.                     <xsl:choose>
  6347.  
  6348.                      
  6349.                       <xsl:when test="string-length($theAuthorPerformanceDot)>0">
  6350.  
  6351.                         <xsl:value-of select="$theAuthorPerformanceDot"/>
  6352.  
  6353.                         <xsl:if test="string-length($enclosedDateDot)>0">
  6354.                           <xsl:call-template name="templ_prop_Space"/>
  6355.                           <xsl:value-of select="$enclosedDateDot"/>
  6356.                         </xsl:if>
  6357.  
  6358.                         <xsl:if test="string-length($titleDot)>0">
  6359.                           <xsl:call-template name="templ_prop_Space"/>
  6360.                           <xsl:call-template name = "ApplyItalicTitleNS">
  6361.                            <xsl:with-param name = "data">
  6362.                             <xsl:value-of select="$titleDot"/>
  6363.                            </xsl:with-param>
  6364.                           </xsl:call-template>
  6365.                         </xsl:if>
  6366.  
  6367.                         <xsl:if test="string-length($thePerformanceDirectorAndPerformerDot)>0">
  6368.                           <xsl:call-template name="templ_prop_Space"/>
  6369.  
  6370.                           <xsl:value-of select="$thePerformanceDirectorAndPerformerDot"/>
  6371.  
  6372.                         </xsl:if>
  6373.  
  6374.                         <xsl:if test="string-length($tempTCSC)>0">
  6375.                           <xsl:call-template name="templ_prop_Space"/>
  6376.                           <xsl:value-of select="$tempTCSC"/>
  6377.                         </xsl:if>
  6378.  
  6379.                       </xsl:when>
  6380.  
  6381.  
  6382.                      
  6383.                       <xsl:otherwise>
  6384.  
  6385.                         <xsl:if test="string-length($titleDot)>0">
  6386.                           <xsl:call-template name = "ApplyItalicTitleNS">
  6387.                            <xsl:with-param name = "data">
  6388.                             <xsl:value-of select="$titleDot"/>
  6389.                            </xsl:with-param>
  6390.                           </xsl:call-template>
  6391.                         </xsl:if>
  6392.  
  6393.                         <xsl:if test="string-length($enclosedDateDot)>0">
  6394.                           <xsl:if test="string-length($titleDot)>0">
  6395.                             <xsl:call-template name="templ_prop_Space"/>
  6396.                           </xsl:if>
  6397.                           <xsl:value-of select="$enclosedDateDot"/>
  6398.                         </xsl:if>
  6399.  
  6400.                         <xsl:if test="string-length($tempTCSC)>0">
  6401.                           <xsl:if test="string-length($titleDot)>0 or string-length($enclosedDateDot)>0">
  6402.                             <xsl:call-template name="templ_prop_Space"/>
  6403.                           </xsl:if>
  6404.                           <xsl:value-of select="$tempTCSC"/>
  6405.                         </xsl:if>
  6406.                       </xsl:otherwise>
  6407.  
  6408.                     </xsl:choose>
  6409.  
  6410.                   </xsl:when>
  6411.  
  6412.  
  6413.                   <xsl:when test="b:SourceType='DocumentFromInternetSite'">
  6414.  
  6415.                    
  6416.  
  6417.                     <xsl:choose>
  6418.                      
  6419.                       <xsl:when test="string-length($theAuthorDot)>0">
  6420.  
  6421.                         <xsl:value-of select="$theAuthorDot"/>
  6422.  
  6423.                         <xsl:if test="string-length($enclosedDateDot)>0">
  6424.                           <xsl:call-template name="templ_prop_Space"/>
  6425.                           <xsl:value-of select="$enclosedDateDot"/>
  6426.                         </xsl:if>
  6427.  
  6428.                         <xsl:if test="string-length($titleDot)>0">
  6429.                           <xsl:call-template name="templ_prop_Space"/>
  6430.                           <xsl:call-template name = "ApplyItalicTitleNS">
  6431.                            <xsl:with-param name = "data">
  6432.                             <xsl:value-of select="$titleDot"/>
  6433.                            </xsl:with-param>
  6434.                           </xsl:call-template>
  6435.                         </xsl:if>
  6436.  
  6437.                         <xsl:if test="string-length($theEditorAndTranslatorDot)>0">
  6438.                           <xsl:call-template name="templ_prop_Space"/>
  6439.                           <xsl:value-of select="$theEditorAndTranslatorDot"/>
  6440.                         </xsl:if>
  6441.  
  6442.                         <xsl:if test="string-length($tempRDAFU)>0">
  6443.                           <xsl:call-template name="templ_prop_Space"/>
  6444.                           <xsl:value-of select="$tempRDAFU"/>
  6445.                         </xsl:if>
  6446.  
  6447.                       </xsl:when>
  6448.  
  6449.  
  6450.                      
  6451.                       <xsl:otherwise>
  6452.  
  6453.                         <xsl:if test="string-length($titleDot)>0">
  6454.                           <xsl:call-template name = "ApplyItalicTitleNS">
  6455.                            <xsl:with-param name = "data">
  6456.                             <xsl:value-of select="$titleDot"/>
  6457.                            </xsl:with-param>
  6458.                           </xsl:call-template>
  6459.                         </xsl:if>
  6460.  
  6461.                         <xsl:if test="string-length($enclosedDateDot)>0">
  6462.                           <xsl:if test="string-length($titleDot)>0">
  6463.                             <xsl:call-template name="templ_prop_Space"/>
  6464.                           </xsl:if>
  6465.                           <xsl:value-of select="$enclosedDateDot"/>
  6466.                         </xsl:if>
  6467.  
  6468.                         <xsl:if test="string-length($theEditorAndTranslatorDot)>0">
  6469.                           <xsl:if test="string-length($titleDot)>0 or string-length($enclosedDateDot)>0">
  6470.                             <xsl:call-template name="templ_prop_Space"/>
  6471.                           </xsl:if>
  6472.                           <xsl:value-of select="$theEditorAndTranslatorDot"/>
  6473.                         </xsl:if>
  6474.  
  6475.  
  6476.                         <xsl:if test="string-length($tempRDAFU)>0">
  6477.                           <xsl:if test="string-length($titleDot)>0 or string-length($enclosedDateDot)>0 or string-length($theEditorAndTranslatorDot)>0">
  6478.                             <xsl:call-template name="templ_prop_Space"/>
  6479.                           </xsl:if>
  6480.                           <xsl:value-of select="$tempRDAFU"/>
  6481.                         </xsl:if>
  6482.  
  6483.                       </xsl:otherwise>
  6484.  
  6485.                     </xsl:choose>
  6486.  
  6487.                   </xsl:when>
  6488.  
  6489.  
  6490.                   <xsl:when test="b:SourceType='InternetSite'">
  6491.  
  6492.                     <xsl:choose>
  6493.                      
  6494.                       <xsl:when test="string-length($theAuthorDot)>0">
  6495.  
  6496.                         <xsl:value-of select="$theAuthorDot"/>
  6497.  
  6498.                         <xsl:if test="string-length($enclosedDateDot)>0">
  6499.                           <xsl:call-template name="templ_prop_Space"/>
  6500.                           <xsl:value-of select="$enclosedDateDot"/>
  6501.                         </xsl:if>
  6502.  
  6503.                         <xsl:if test="string-length($tempTV)>0">
  6504.                           <xsl:call-template name="templ_prop_Space"/>
  6505.                           <xsl:apply-templates select="msxsl:node-set($tempTV)" mode="outputHtml"/>
  6506.                         </xsl:if>
  6507.  
  6508.                         <xsl:if test="string-length($theInternetSiteEditorAndProducerDot)>0">
  6509.                           <xsl:call-template name="templ_prop_Space"/>
  6510.  
  6511.                           <xsl:value-of select="$theInternetSiteEditorAndProducerDot"/>
  6512.  
  6513.                         </xsl:if>
  6514.  
  6515.                         <xsl:if test="string-length($tempRDAFU)>0">
  6516.                           <xsl:call-template name="templ_prop_Space"/>
  6517.                           <xsl:value-of select="$tempRDAFU"/>
  6518.                         </xsl:if>
  6519.  
  6520.                       </xsl:when>
  6521.  
  6522.  
  6523.                      
  6524.                       <xsl:otherwise>
  6525.  
  6526.                         <xsl:if test="string-length($tempTV)>0">
  6527.                           <xsl:apply-templates select="msxsl:node-set($tempTV)" mode="outputHtml"/>
  6528.                         </xsl:if>
  6529.  
  6530.                         <xsl:if test="string-length($enclosedDateDot)>0">
  6531.                           <xsl:if test="string-length($tempTV)>0">
  6532.                             <xsl:call-template name="templ_prop_Space"/>
  6533.                           </xsl:if>
  6534.                           <xsl:value-of select="$enclosedDateDot"/>
  6535.                         </xsl:if>
  6536.  
  6537.                         <xsl:if test="string-length($theInternetSiteEditorAndProducerDot)>0">
  6538.                           <xsl:if test="string-length($tempTV)>0 or string-length($enclosedDateDot)>0">
  6539.                             <xsl:call-template name="templ_prop_Space"/>
  6540.                           </xsl:if>
  6541.  
  6542.                           <xsl:value-of select="$theInternetSiteEditorAndProducerDot"/>
  6543.  
  6544.                         </xsl:if>
  6545.  
  6546.                         <xsl:if test="string-length($tempRDAFU)>0">
  6547.                           <xsl:if test="string-length($tempTV)>0 or string-length($enclosedDateDot)>0 or string-length($theInternetSiteEditorAndProducerDot)>0">
  6548.                             <xsl:call-template name="templ_prop_Space"/>
  6549.                           </xsl:if>
  6550.                           <xsl:value-of select="$tempRDAFU"/>
  6551.                         </xsl:if>
  6552.  
  6553.                       </xsl:otherwise>
  6554.  
  6555.                     </xsl:choose>
  6556.  
  6557.                   </xsl:when>
  6558.  
  6559.  
  6560.  
  6561.  
  6562.                   <xsl:when test="b:SourceType='Case'">
  6563.  
  6564.                     <xsl:if test="string-length($title)>0">
  6565.                       <xsl:value-of select="$title"/>
  6566.                     </xsl:if>
  6567.  
  6568.                     <xsl:if test="string-length($caseNumber)>0">
  6569.                       <xsl:if test="string-length($title)>0">
  6570.                         <xsl:call-template name="templ_prop_ListSeparator"/>
  6571.                       </xsl:if>
  6572.                       <xsl:value-of select="$caseNumber"/>
  6573.                     </xsl:if>
  6574.  
  6575.                     <xsl:if test="string-length($court)>0 or string-length($dateCourt)>0">
  6576.                       <xsl:if test="string-length($title)>0 or string-length($caseNumber)>0">
  6577.                         <xsl:call-template name="templ_prop_Space"/>
  6578.                       </xsl:if>
  6579.  
  6580.                       <xsl:call-template name="templ_prop_APA_GeneralOpen"/>
  6581.  
  6582.                       <xsl:if test="string-length($court)>0">
  6583.                         <xsl:value-of select="$court"/>
  6584.                       </xsl:if>
  6585.  
  6586.                       <xsl:if test="string-length($dateCourt)>0">
  6587.                         <xsl:if test="string-length($court)>0">
  6588.                           <xsl:call-template name="templ_prop_Space"/>
  6589.                         </xsl:if>
  6590.                         <xsl:value-of select="$dateCourt"/>
  6591.                       </xsl:if>
  6592.  
  6593.                       <xsl:call-template name="templ_prop_APA_GeneralClose"/>
  6594.  
  6595.                     </xsl:if>
  6596.  
  6597.                     <xsl:if test="string-length($title)>0 or string-length($caseNumber)>0 or string-length($court)>0 or string-length($dateCourt)>0">
  6598.                       <xsl:call-template name="templ_prop_Dot"/>
  6599.                     </xsl:if>
  6600.  
  6601.  
  6602.                   </xsl:when>
  6603.  
  6604.  
  6605.                   <xsl:when test="b:SourceType='Patent'">
  6606.  
  6607.                     <xsl:if test="string-length($inventorLFDot)>0">
  6608.                       <xsl:value-of select="$inventorLFDot"/>
  6609.                     </xsl:if>
  6610.  
  6611.                     <xsl:if test="string-length($enclosedDateDot)>0">
  6612.                       <xsl:if test="string-length($inventorLFDot)>0">
  6613.                         <xsl:call-template name="templ_prop_Space"/>
  6614.                       </xsl:if>
  6615.                       <xsl:value-of select="$enclosedDateDot"/>
  6616.                     </xsl:if>
  6617.  
  6618.                     <xsl:if test="string-length($patentNumberDot)>0">
  6619.                       <xsl:call-template name = "ApplyItalicFieldNS">
  6620.                        <xsl:with-param name = "data">
  6621.                         <xsl:if test="string-length($inventorLFDot)>0 or string-length($enclosedDateDot)>0">
  6622.                           <xsl:call-template name="templ_prop_Space"/>
  6623.                         </xsl:if>
  6624.  
  6625.                         <xsl:variable name="str_PatentNumberShortCap">
  6626.                           <xsl:call-template name="templ_str_PatentNumberShortCap"/>
  6627.                         </xsl:variable>
  6628.  
  6629.                         <xsl:call-template name="StringFormatDot">
  6630.                           <xsl:with-param name="format" select="$str_PatentNumberShortCap"/>
  6631.                           <xsl:with-param name="parameters">
  6632.                             <t:params>
  6633.                               <t:param>
  6634.                                 <xsl:value-of select="$patentNumber"/>
  6635.                               </t:param>
  6636.                             </t:params>
  6637.                           </xsl:with-param>
  6638.                         </xsl:call-template>
  6639.  
  6640.                       </xsl:with-param>
  6641.                      </xsl:call-template>
  6642.                     </xsl:if>
  6643.  
  6644.                     <xsl:if test="string-length($countryRegionDot)>0">
  6645.                       <xsl:if test="string-length($inventorLFDot)>0 or string-length($enclosedDateDot)>0 or string-length($patentNumberDot)>0">
  6646.                         <xsl:call-template name="templ_prop_Space"/>
  6647.                       </xsl:if>
  6648.                       <xsl:value-of select="$countryRegionDot"/>
  6649.                     </xsl:if>
  6650.  
  6651.                   </xsl:when>
  6652.  
  6653.  
  6654.                   <xsl:when test="b:SourceType='Misc'">
  6655.                     <xsl:choose>
  6656.  
  6657.                      
  6658.                       <xsl:when test="string-length($theMiscAuthorDot)>0">
  6659.  
  6660.                         <xsl:value-of select="$theMiscAuthorDot"/>
  6661.  
  6662.                         <xsl:if test="string-length($enclosedDateDot)>0">
  6663.                           <xsl:call-template name="templ_prop_Space"/>
  6664.                           <xsl:value-of select="$enclosedDateDot"/>
  6665.                         </xsl:if>
  6666.  
  6667.                         <xsl:if test="string-length($titleDot)>0">
  6668.                           <xsl:call-template name="templ_prop_Space"/>
  6669.                           <xsl:value-of select="$titleDot"/>
  6670.                         </xsl:if>
  6671.  
  6672.                         <xsl:if test="string-length($tempPVIEP)>0">
  6673.                           <xsl:call-template name="templ_prop_Space"/>
  6674.                           <xsl:apply-templates select="msxsl:node-set($tempPVIEP)" mode="outputHtml"/>
  6675.                         </xsl:if>
  6676.  
  6677.  
  6678.                         <xsl:if test="string-length($theMiscEditorAndTranslatorAndCompilerDot)>0">
  6679.                           <xsl:call-template name="templ_prop_Space"/>
  6680.  
  6681.                           <xsl:value-of select="$theMiscEditorAndTranslatorAndCompilerDot"/>
  6682.                         </xsl:if>
  6683.  
  6684.                         <xsl:if test="string-length($tempCSCPu)>0">
  6685.                           <xsl:call-template name="templ_prop_Space"/>
  6686.                           <xsl:value-of select="$tempCSCPu"/>
  6687.                         </xsl:if>
  6688.  
  6689.                       </xsl:when>
  6690.  
  6691.  
  6692.                      
  6693.                       <xsl:when test="string-length($theAuthorDot)=0">
  6694.  
  6695.                         <xsl:if test="string-length($titleDot)>0">
  6696.                           <xsl:value-of select="$titleDot"/>
  6697.                         </xsl:if>
  6698.  
  6699.                         <xsl:if test="string-length($enclosedDateDot)>0">
  6700.                           <xsl:if test="string-length($titleDot)>0">
  6701.                             <xsl:call-template name="templ_prop_Space"/>
  6702.                           </xsl:if>
  6703.                           <xsl:value-of select="$enclosedDateDot"/>
  6704.                         </xsl:if>
  6705.  
  6706.                         <xsl:if test="string-length($tempPVIEP)>0">
  6707.                           <xsl:if test="string-length($titleDot)>0 or string-length($enclosedDateDot)>0">
  6708.                             <xsl:call-template name="templ_prop_Space"/>
  6709.                           </xsl:if>
  6710.                           <xsl:apply-templates select="msxsl:node-set($tempPVIEP)" mode="outputHtml"/>
  6711.                         </xsl:if>
  6712.  
  6713.                         <xsl:if test="string-length($theMiscEditorAndTranslatorAndCompilerDot)>0">
  6714.                           <xsl:if test="string-length($titleDot)>0 or string-length($enclosedDateDot)>0 or string-length($tempPVIEP)>0">
  6715.                             <xsl:call-template name="templ_prop_Space"/>
  6716.                           </xsl:if>
  6717.  
  6718.                           <xsl:value-of select="$theMiscEditorAndTranslatorAndCompilerDot"/>
  6719.                         </xsl:if>
  6720.  
  6721.  
  6722.                         <xsl:if test="string-length($tempCSCPu)>0">
  6723.                           <xsl:if test="string-length($titleDot)>0 or string-length($enclosedDateDot)>0 or string-length($tempPVIEP)>0 or string-length($theMiscEditorAndTranslatorAndCompilerDot)>0">
  6724.                             <xsl:call-template name="templ_prop_Space"/>
  6725.                           </xsl:if>
  6726.                           <xsl:value-of select="$tempCSCPu"/>
  6727.                         </xsl:if>
  6728.                       </xsl:when>
  6729.  
  6730.                     </xsl:choose>
  6731.  
  6732.                   </xsl:when>
  6733.  
  6734.                   <xsl:when test="b:SourceType='ElectronicSource'">
  6735.                     <xsl:choose>
  6736.  
  6737.                      
  6738.                       <xsl:when test="string-length($theMiscAuthorDot)>0">
  6739.  
  6740.                         <xsl:value-of select="$theMiscAuthorDot"/>
  6741.  
  6742.                         <xsl:if test="string-length($enclosedDateDot)>0">
  6743.                           <xsl:call-template name="templ_prop_Space"/>
  6744.                           <xsl:value-of select="$enclosedDateDot"/>
  6745.                         </xsl:if>
  6746.  
  6747.                         <xsl:if test="string-length($titleDot)>0">
  6748.                           <xsl:call-template name="templ_prop_Space"/>
  6749.                           <xsl:value-of select="$titleDot"/>
  6750.                         </xsl:if>
  6751.  
  6752.                         <xsl:if test="string-length($tempPVEP)>0">
  6753.                           <xsl:call-template name="templ_prop_Space"/>
  6754.                           <xsl:apply-templates select="msxsl:node-set($tempPVEP)" mode="outputHtml"/>
  6755.                         </xsl:if>
  6756.  
  6757.  
  6758.                         <xsl:if test="string-length($theMiscEditorAndTranslatorAndCompilerDot)>0">
  6759.                           <xsl:call-template name="templ_prop_Space"/>
  6760.  
  6761.                           <xsl:value-of select="$theMiscEditorAndTranslatorAndCompilerDot"/>
  6762.                         </xsl:if>
  6763.  
  6764.                         <xsl:if test="string-length($tempCSCPu)>0">
  6765.                           <xsl:call-template name="templ_prop_Space"/>
  6766.                           <xsl:value-of select="$tempCSCPu"/>
  6767.                         </xsl:if>
  6768.  
  6769.                         <xsl:if test="string-length($tempRDAFU)>0">
  6770.                           <xsl:call-template name="templ_prop_Space"/>
  6771.                           <xsl:value-of select="$tempRDAFU"/>
  6772.                         </xsl:if>
  6773.  
  6774.                       </xsl:when>
  6775.  
  6776.  
  6777.                      
  6778.                       <xsl:when test="string-length($theAuthorDot)=0">
  6779.  
  6780.                         <xsl:if test="string-length($titleDot)>0">
  6781.                           <xsl:value-of select="$titleDot"/>
  6782.                         </xsl:if>
  6783.  
  6784.                         <xsl:if test="string-length($enclosedDateDot)>0">
  6785.                           <xsl:if test="string-length($titleDot)>0">
  6786.                             <xsl:call-template name="templ_prop_Space"/>
  6787.                           </xsl:if>
  6788.                           <xsl:value-of select="$enclosedDateDot"/>
  6789.                         </xsl:if>
  6790.  
  6791.                         <xsl:if test="string-length($tempPVEP)>0">
  6792.                           <xsl:if test="string-length($titleDot)>0 or string-length($enclosedDateDot)>0">
  6793.                             <xsl:call-template name="templ_prop_Space"/>
  6794.                           </xsl:if>
  6795.                           <xsl:apply-templates select="msxsl:node-set($tempPVEP)" mode="outputHtml"/>
  6796.                         </xsl:if>
  6797.  
  6798.                         <xsl:if test="string-length($theMiscEditorAndTranslatorAndCompilerDot)>0">
  6799.                           <xsl:if test="string-length($titleDot)>0 or string-length($enclosedDateDot)>0 or string-length($tempPVEP)>0">
  6800.                             <xsl:call-template name="templ_prop_Space"/>
  6801.                           </xsl:if>
  6802.  
  6803.                           <xsl:value-of select="$theMiscEditorAndTranslatorAndCompilerDot"/>
  6804.                         </xsl:if>
  6805.  
  6806.  
  6807.                         <xsl:if test="string-length($tempCSCPu)>0">
  6808.                           <xsl:if test="string-length($titleDot)>0 or string-length($enclosedDateDot)>0 or string-length($tempPVEP)>0 or string-length($theMiscEditorAndTranslatorAndCompilerDot)>0">
  6809.                             <xsl:call-template name="templ_prop_Space"/>
  6810.                           </xsl:if>
  6811.                           <xsl:value-of select="$tempCSCPu"/>
  6812.                         </xsl:if>
  6813.  
  6814.                         <xsl:if test="string-length($tempRDAFU)>0">
  6815.                           <xsl:if test="string-length($titleDot)>0 or string-length($enclosedDateDot)>0 or string-length($tempPVEP)>0 or string-length($theMiscEditorAndTranslatorAndCompilerDot)>0 or string-length($tempCSCPu)>0">
  6816.                             <xsl:call-template name="templ_prop_Space"/>
  6817.                           </xsl:if>
  6818.                           <xsl:value-of select="$tempRDAFU"/>
  6819.                         </xsl:if>
  6820.  
  6821.                       </xsl:when>
  6822.  
  6823.                     </xsl:choose>
  6824.  
  6825.                   </xsl:when>
  6826.  
  6827.  
  6828.                   <xsl:when test="b:SourceType='Art'">
  6829.  
  6830.                     <xsl:if test="string-length($artistLFDot)>0">
  6831.                       <xsl:value-of select="$artistLFDot"/>
  6832.                     </xsl:if>
  6833.  
  6834.                     <xsl:if test="string-length($titleDot)>0">
  6835.                       <xsl:if test="string-length($artistLFDot)>0">
  6836.                         <xsl:call-template name="templ_prop_Space"/>
  6837.                       </xsl:if>
  6838.  
  6839.                       <xsl:if test="string-length($publicationTitleDot)=0">
  6840.                         <xsl:call-template name = "ApplyItalicTitleNS">
  6841.                          <xsl:with-param name = "data">
  6842.                           <xsl:value-of select="$titleDot"/>
  6843.                          </xsl:with-param>
  6844.                         </xsl:call-template>
  6845.                       </xsl:if>
  6846.  
  6847.                       <xsl:if test="string-length($publicationTitleDot)>0">
  6848.                         <xsl:value-of select="$titleDot"/>
  6849.                       </xsl:if>
  6850.  
  6851.                     </xsl:if>
  6852.  
  6853.                     <xsl:if test="string-length($publicationTitleDot)>0">
  6854.                       <xsl:if test="string-length($artistLFDot)>0 or string-length($titleDot)>0">
  6855.                         <xsl:call-template name="templ_prop_Space"/>
  6856.                       </xsl:if>
  6857.  
  6858.                       <xsl:call-template name = "ApplyItalicTitleNS">
  6859.                        <xsl:with-param name = "data">
  6860.                         <xsl:value-of select="$publicationTitleDot"/>
  6861.                        </xsl:with-param>
  6862.                       </xsl:call-template>
  6863.  
  6864.                     </xsl:if>
  6865.  
  6866.                     <xsl:if test="string-length($tempICSC)>0">
  6867.                       <xsl:if test="string-length($artistLFDot)>0 or string-length($titleDot)>0 or string-length($publicationTitleDot)>0">
  6868.                         <xsl:call-template name="templ_prop_Space"/>
  6869.                       </xsl:if>
  6870.                       <xsl:value-of select="$tempICSC"/>
  6871.                     </xsl:if>
  6872.  
  6873.                   </xsl:when>
  6874.  
  6875.  
  6876.                   <xsl:when test="b:SourceType='Report'">
  6877.                     <xsl:choose>
  6878.                       <xsl:when test="string-length($publisher)>0">
  6879.  
  6880.                         <xsl:if test="string-length($authorDot)>0">
  6881.                           <xsl:value-of select="$authorDot"/>
  6882.                         </xsl:if>
  6883.  
  6884.                         <xsl:if test="string-length($enclosedDateDot)>0">
  6885.                           <xsl:if test="string-length($authorDot)>0">
  6886.                             <xsl:call-template name="templ_prop_Space"/>
  6887.                           </xsl:if>
  6888.  
  6889.                           <xsl:value-of select="$enclosedDateDot"/>
  6890.                         </xsl:if>
  6891.  
  6892.  
  6893.                         <xsl:if test="string-length($titleDot)>0">
  6894.                           <xsl:if test="string-length($authorDot)>0 or string-length($enclosedDateDot)>0">
  6895.                             <xsl:call-template name="templ_prop_Space"/>
  6896.                           </xsl:if>
  6897.  
  6898.                           <xsl:call-template name = "ApplyItalicTitleNS">
  6899.                            <xsl:with-param name = "data">
  6900.                             <xsl:value-of select="$titleDot"/>
  6901.                            </xsl:with-param>
  6902.                           </xsl:call-template>
  6903.  
  6904.                         </xsl:if>
  6905.  
  6906.                         <xsl:if test="string-length($tempID)>0">
  6907.                           <xsl:if test="string-length($authorDot)>0 or string-length($enclosedDateDot)>0 or string-length($titleDot)>0">
  6908.                             <xsl:call-template name="templ_prop_Space"/>
  6909.                           </xsl:if>
  6910.                           <xsl:value-of select="$tempID"/>
  6911.                         </xsl:if>
  6912.  
  6913.  
  6914.                         <xsl:if test="string-length($tempCP)>0">
  6915.                           <xsl:if test="string-length($authorDot)>0 or string-length($enclosedDateDot)>0 or string-length($titleDot)>0 or string-length($tempID)>0">
  6916.                             <xsl:call-template name="templ_prop_Space"/>
  6917.                           </xsl:if>
  6918.                           <xsl:value-of select="$tempCP"/>
  6919.                         </xsl:if>
  6920.  
  6921.                       </xsl:when>
  6922.  
  6923.                       <xsl:otherwise>
  6924.  
  6925.                         <xsl:if test="string-length($authorDot)>0">
  6926.                           <xsl:value-of select="$authorDot"/>
  6927.                         </xsl:if>
  6928.  
  6929.                         <xsl:if test="string-length($enclosedDateDot)>0">
  6930.                           <xsl:if test="string-length($authorDot)>0">
  6931.                             <xsl:call-template name="templ_prop_Space"/>
  6932.                           </xsl:if>
  6933.  
  6934.                           <xsl:value-of select="$enclosedDateDot"/>
  6935.                         </xsl:if>
  6936.  
  6937.  
  6938.                         <xsl:if test="string-length($titleDot)>0">
  6939.                           <xsl:if test="string-length($authorDot)>0 or string-length($enclosedDateDot)>0">
  6940.                             <xsl:call-template name="templ_prop_Space"/>
  6941.                           </xsl:if>
  6942.  
  6943.                           <xsl:call-template name = "ApplyItalicTitleNS">
  6944.                            <xsl:with-param name = "data">
  6945.                             <xsl:value-of select="$titleDot"/>
  6946.                            </xsl:with-param>
  6947.                           </xsl:call-template>
  6948.  
  6949.                         </xsl:if>
  6950.  
  6951.                         <xsl:if test="string-length($tempRIDC)>0">
  6952.                           <xsl:if test="string-length($authorDot)>0 or string-length($enclosedDateDot)>0 or string-length($titleDot)>0">
  6953.                             <xsl:call-template name="templ_prop_Space"/>
  6954.                           </xsl:if>
  6955.                           <xsl:value-of select="$tempRIDC"/>
  6956.                         </xsl:if>
  6957.  
  6958.                       </xsl:otherwise>
  6959.  
  6960.  
  6961.                     </xsl:choose>
  6962.  
  6963.                   </xsl:when>
  6964.  
  6965.                   <xsl:when test="b:SourceType='Film'">
  6966.                     <xsl:choose>
  6967.  
  6968.                      
  6969.                       <xsl:when test="string-length($theFilmProducerAndWriterAndDirectorDot)>0">
  6970.  
  6971.                         <xsl:value-of select="$theFilmProducerAndWriterAndDirectorDot"/>
  6972.  
  6973.                         <xsl:if test="string-length($enclosedDateDot)>0">
  6974.                           <xsl:call-template name="templ_prop_Space"/>
  6975.                           <xsl:value-of select="$enclosedDateDot"/>
  6976.                         </xsl:if>
  6977.  
  6978.                         <xsl:if test="string-length($title)>0">
  6979.                           <xsl:call-template name="templ_prop_Space"/>
  6980.                           <xsl:call-template name = "ApplyItalicTitleNS">
  6981.                            <xsl:with-param name = "data">
  6982.                             <xsl:value-of select="$title"/>
  6983.                            </xsl:with-param>
  6984.                           </xsl:call-template>
  6985.                         </xsl:if>
  6986.  
  6987.                         <xsl:call-template name="templ_prop_Space"/>
  6988.                         <xsl:call-template name="templ_prop_APA_SecondaryOpen"/>
  6989.                         <xsl:call-template name="templ_str_MotionPictureCap"/>
  6990.                         <xsl:call-template name="templ_prop_APA_SecondaryClose"/>
  6991.                         <xsl:call-template name="templ_prop_Dot"/>
  6992.  
  6993.                         <xsl:if test="string-length($tempCD)>0">
  6994.                           <xsl:call-template name="templ_prop_Space"/>
  6995.                           <xsl:value-of select="$tempCD"/>
  6996.                         </xsl:if>
  6997.  
  6998.                       </xsl:when>
  6999.  
  7000.  
  7001.                      
  7002.                       <xsl:otherwise>
  7003.  
  7004.                         <xsl:value-of select="$theFilmProducerAndWriterAndDirectorDot"/>
  7005.  
  7006.  
  7007.                         <xsl:if test="string-length($title)>0">
  7008.                         <xsl:call-template name = "ApplyItalicTitleNS">
  7009.                          <xsl:with-param name = "data">
  7010.                             <xsl:value-of select="$title"/>
  7011.                          </xsl:with-param>
  7012.                         </xsl:call-template>
  7013.                         </xsl:if>
  7014.  
  7015.                         <xsl:if test="string-length($enclosedDateDot)>0">
  7016.                           <xsl:if test="string-length($title)>0">
  7017.                             <xsl:call-template name="templ_prop_Space"/>
  7018.                           </xsl:if>
  7019.                           <xsl:value-of select="$enclosedDateDot"/>
  7020.                         </xsl:if>
  7021.  
  7022.                         <xsl:call-template name="templ_prop_Space"/>
  7023.                         <xsl:call-template name="templ_prop_APA_SecondaryOpen"/>
  7024.                         <xsl:call-template name="templ_str_MotionPictureCap"/>
  7025.                         <xsl:call-template name="templ_prop_APA_SecondaryClose"/>
  7026.                         <xsl:call-template name="templ_prop_Dot"/>
  7027.  
  7028.                         <xsl:if test="string-length($tempCD)>0">
  7029.                           <xsl:call-template name="templ_prop_Space"/>
  7030.                           <xsl:value-of select="$tempCD"/>
  7031.                         </xsl:if>
  7032.  
  7033.                       </xsl:otherwise>
  7034.  
  7035.                     </xsl:choose>
  7036.  
  7037.                   </xsl:when>
  7038.  
  7039.  
  7040.  
  7041.                   <xsl:when test="b:SourceType='Interview'">
  7042.                     <xsl:choose>
  7043.                       <xsl:when test="string-length($broadcaster)=0">
  7044.  
  7045.                         <xsl:if test="string-length($intervieweeLFDot)>0">
  7046.                           <xsl:value-of select="$intervieweeLFDot"/>
  7047.                         </xsl:if>
  7048.  
  7049.                         <xsl:if test="string-length($enclosedDateDot)>0">
  7050.                           <xsl:if test="string-length($intervieweeLFDot)>0">
  7051.                             <xsl:call-template name="templ_prop_Space"/>
  7052.                           </xsl:if>
  7053.  
  7054.                           <xsl:value-of select="$enclosedDateDot"/>
  7055.                         </xsl:if>
  7056.  
  7057.  
  7058.                         <xsl:if test="string-length($interviewTitleDot)>0">
  7059.                           <xsl:if test="string-length($intervieweeLFDot)>0 or string-length($enclosedDateDot)>0">
  7060.                             <xsl:call-template name="templ_prop_Space"/>
  7061.                           </xsl:if>
  7062.                           <xsl:value-of select="$interviewTitleDot"/>
  7063.                         </xsl:if>
  7064.  
  7065.                         <xsl:if test="string-length($tempPrP)>0">
  7066.                           <xsl:if test="string-length($intervieweeLFDot)>0 or string-length($enclosedDateDot)>0 or string-length($interviewTitleDot)>0">
  7067.                             <xsl:call-template name="templ_prop_Space"/>
  7068.                           </xsl:if>
  7069.                           <xsl:apply-templates select="msxsl:node-set($tempPrP)" mode="outputHtml"/>
  7070.                         </xsl:if>
  7071.  
  7072.  
  7073.                         <xsl:if test="string-length($theInterviewInterviewerAndEditorAndTranslator)>0">
  7074.                           <xsl:if test="string-length($intervieweeLFDot)>0 or string-length($enclosedDateDot)>0 or string-length($interviewTitleDot)>0 or string-length($tempPrP)>0">
  7075.                             <xsl:call-template name="templ_prop_Space"/>
  7076.                           </xsl:if>
  7077.                           <xsl:value-of select="$theInterviewInterviewerAndEditorAndTranslator"/>
  7078.                         </xsl:if>
  7079.  
  7080.                         <xsl:if test="string-length($tempCSCPu)>0">
  7081.                           <xsl:if test="string-length($intervieweeLFDot)>0 or string-length($enclosedDateDot)>0 or string-length($interviewTitleDot)>0 or string-length($tempPrP)>0 or string-length($theInterviewInterviewerAndEditorAndTranslator)>0">
  7082.                             <xsl:call-template name="templ_prop_Space"/>
  7083.                           </xsl:if>
  7084.                           <xsl:value-of select="$tempCSCPu"/>
  7085.                         </xsl:if>
  7086.                       </xsl:when>
  7087.  
  7088.                       <xsl:otherwise>
  7089.  
  7090.                         <xsl:if test="string-length($intervieweeLFDot)>0">
  7091.                           <xsl:value-of select="$intervieweeLFDot"/>
  7092.                         </xsl:if>
  7093.  
  7094.                         <xsl:if test="string-length($enclosedDateDot)>0">
  7095.                           <xsl:if test="string-length($intervieweeLFDot)>0">
  7096.                             <xsl:call-template name="templ_prop_Space"/>
  7097.                           </xsl:if>
  7098.  
  7099.                           <xsl:value-of select="$enclosedDateDot"/>
  7100.                         </xsl:if>
  7101.  
  7102.  
  7103.                         <xsl:if test="string-length($interviewTitleDot)>0">
  7104.                           <xsl:if test="string-length($intervieweeLFDot)>0 or string-length($enclosedDateDot)>0">
  7105.                             <xsl:call-template name="templ_prop_Space"/>
  7106.                           </xsl:if>
  7107.                           <xsl:value-of select="$interviewTitleDot"/>
  7108.                         </xsl:if>
  7109.  
  7110.                         <xsl:if test="string-length($broadcastTitleDot)>0">
  7111.                           <xsl:if test="string-length($intervieweeLFDot)>0 or string-length($enclosedDateDot)>0 or string-length($interviewTitleDot)>0">
  7112.                             <xsl:call-template name="templ_prop_Space"/>
  7113.                           </xsl:if>
  7114.                           <xsl:call-template name = "ApplyItalicTitleNS">
  7115.                            <xsl:with-param name = "data">
  7116.                             <xsl:value-of select="$broadcastTitleDot"/>
  7117.                            </xsl:with-param>
  7118.                           </xsl:call-template>
  7119.                         </xsl:if>
  7120.  
  7121.  
  7122.                         <xsl:if test="string-length($theInterviewInterviewer)>0">
  7123.                           <xsl:if test="string-length($intervieweeLFDot)>0 or string-length($enclosedDateDot)>0 or string-length($interviewTitleDot)>0 or string-length($broadcastTitleDot)>0">
  7124.                             <xsl:call-template name="templ_prop_Space"/>
  7125.                           </xsl:if>
  7126.                           <xsl:value-of select="$theInterviewInterviewer"/>
  7127.                         </xsl:if>
  7128.  
  7129.                         <xsl:if test="string-length($broadcasterDot)>0">
  7130.                           <xsl:if test="string-length($intervieweeLFDot)>0 or string-length($enclosedDateDot)>0 or string-length($interviewTitleDot)>0 or string-length($broadcastTitleDot)>0 or string-length($theInterviewInterviewer)>0">
  7131.                             <xsl:call-template name="templ_prop_Space"/>
  7132.                           </xsl:if>
  7133.                           <xsl:value-of select="$broadcasterDot"/>
  7134.                         </xsl:if>
  7135.  
  7136.  
  7137.                         <xsl:if test="string-length($tempSC)>0">
  7138.                           <xsl:if test="string-length($intervieweeLFDot)>0 or string-length($enclosedDateDot)>0 or string-length($interviewTitleDot)>0 or string-length($broadcastTitleDot)>0 or string-length($theInterviewInterviewer)>0 or string-length($broadcaster)>0">
  7139.                             <xsl:call-template name="templ_prop_Space"/>
  7140.                           </xsl:if>
  7141.                           <xsl:value-of select="$tempSC"/>
  7142.                         </xsl:if>
  7143.  
  7144.  
  7145.                       </xsl:otherwise>
  7146.  
  7147.  
  7148.  
  7149.  
  7150.                     </xsl:choose>
  7151.  
  7152.                   </xsl:when>
  7153.  
  7154.  
  7155.                  
  7156.  
  7157.                 </xsl:choose>
  7158.               </xsl:element>
  7159.              
  7160.             </xsl:for-each>
  7161.  
  7162.           </body>
  7163.         </html>
  7164.       </xsl:when>
  7165.     </xsl:choose>
  7166.   </xsl:template>
  7167.  
  7168.   <xsl:template name="sortedList">
  7169.     <xsl:param name="sourceRoot"/>
  7170.    
  7171.     <xsl:apply-templates select="msxsl:node-set($sourceRoot)/*">
  7172.      
  7173.       <xsl:sort select="b:SortingString" />
  7174.      
  7175.     </xsl:apply-templates>
  7176.    
  7177.   </xsl:template>
  7178.  
  7179.  
  7180.   <xsl:template match="*">
  7181.     <xsl:element name="{name()}" namespace="{namespace-uri()}">
  7182.       <xsl:for-each select="@*">
  7183.         <xsl:attribute name="{name()}" namespace="{namespace-uri()}">
  7184.           <xsl:value-of select="." />
  7185.         </xsl:attribute>
  7186.       </xsl:for-each>
  7187.       <xsl:apply-templates>
  7188.         <xsl:sort select="b:SortingString" />
  7189.        
  7190.       </xsl:apply-templates>
  7191.     </xsl:element>
  7192.   </xsl:template>
  7193.  
  7194.   <!-- This xsl:template must be kept as one line so that we don't get any end lines in our html that would
  7195.       be normalized to spaces.
  7196.       -->
  7197.   <xsl:template match="*" mode="outputHtml" xml:space="preserve"><xsl:element name="{name()}" namespace="{namespace-uri()}"><xsl:for-each select="@*"><xsl:attribute name="{name()}" namespace="{namespace-uri()}"><xsl:value-of select="." /></xsl:attribute></xsl:for-each><xsl:apply-templates mode="outputHtml"/></xsl:element></xsl:template>
  7198.  
  7199.  
  7200.   <xsl:template match="text()">
  7201.     <xsl:value-of select="." />
  7202.   </xsl:template>
  7203.  
  7204.  
  7205.  
  7206.  
  7207.  
  7208.  
  7209.  
  7210.   <xsl:template name="MainContributors">
  7211.     <xsl:param name="SourceRoot"/>
  7212.     <xsl:choose>
  7213.       <xsl:when test="./b:SourceType='Book'">
  7214.         <xsl:choose>
  7215.           <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  7216.           <xsl:when test="string-length(./b:Author/b:Editor)>0">Editor</xsl:when>
  7217.           <xsl:when test="string-length(./b:Author/b:Translator)>0">Translator</xsl:when>
  7218.         </xsl:choose>
  7219.       </xsl:when>
  7220.  
  7221.       <xsl:when test="./b:SourceType='BookSection'">
  7222.         <xsl:choose>
  7223.           <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  7224.           <xsl:when test="string-length(./b:Author/b:BookAuthor)>0">BookAuthor</xsl:when>
  7225.         </xsl:choose>
  7226.       </xsl:when>
  7227.  
  7228.       <xsl:when test="./b:SourceType='JournalArticle'">
  7229.         <xsl:choose>
  7230.           <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  7231.           <xsl:when test="string-length(./b:Author/b:Editor)>0">Editor</xsl:when>
  7232.         </xsl:choose>
  7233.       </xsl:when>
  7234.  
  7235.       <xsl:when test="./b:SourceType='ArticleInAPeriodical'">
  7236.         <xsl:choose>
  7237.           <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  7238.           <xsl:when test="string-length(./b:Author/b:Editor)>0">Editor</xsl:when>
  7239.         </xsl:choose>
  7240.       </xsl:when>
  7241.  
  7242.       <xsl:when test="./b:SourceType='ConferenceProceedings'">
  7243.         <xsl:choose>
  7244.           <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  7245.         </xsl:choose>
  7246.       </xsl:when>
  7247.  
  7248.       <xsl:when test="./b:SourceType='Report'">
  7249.         <xsl:choose>
  7250.           <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  7251.         </xsl:choose>
  7252.       </xsl:when>
  7253.  
  7254.       <xsl:when test="./b:SourceType='SoundRecording'">
  7255.         <xsl:choose>
  7256.           <xsl:when test="string-length(./b:Author/b:Artist)>0">Artist</xsl:when>
  7257.           <xsl:when test="string-length(./b:Author/b:Composer)>0">Composer</xsl:when>
  7258.         </xsl:choose>
  7259.       </xsl:when>
  7260.  
  7261.       <xsl:when test="./b:SourceType='Performance'">
  7262.         <xsl:choose>
  7263.           <xsl:when test="string-length(./b:Author/b:Writer)>0">Writer</xsl:when>
  7264.           <xsl:when test="string-length(./b:Author/b:Performer)>0">Performer</xsl:when>
  7265.           <xsl:when test="string-length(./b:Author/b:Director)>0">Director</xsl:when>
  7266.         </xsl:choose>
  7267.       </xsl:when>
  7268.  
  7269.       <xsl:when test="./b:SourceType='Art'">
  7270.         <xsl:choose>
  7271.           <xsl:when test="string-length(./b:Author/b:Artist)>0">Artist</xsl:when>
  7272.         </xsl:choose>
  7273.       </xsl:when>
  7274.  
  7275.       <xsl:when test="./b:SourceType='DocumentFromInternetSite'">
  7276.         <xsl:choose>
  7277.           <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  7278.           <xsl:when test="string-length(./b:Author/b:Editor)>0">Editor</xsl:when>
  7279.         </xsl:choose>
  7280.       </xsl:when>
  7281.  
  7282.       <xsl:when test="./b:SourceType='InternetSite'">
  7283.         <xsl:choose>
  7284.           <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  7285.           <xsl:when test="string-length(./b:Author/b:Editor)>0">Editor</xsl:when>
  7286.         </xsl:choose>
  7287.       </xsl:when>
  7288.  
  7289.       <xsl:when test="./b:SourceType='Film'">
  7290.         <xsl:choose>
  7291.           <xsl:when test="string-length(./b:Author/b:Writer)>0">Writer</xsl:when>
  7292.           <xsl:when test="string-length(./b:Author/b:Performer)>0">Performer</xsl:when>
  7293.           <xsl:when test="string-length(./b:Author/b:Director)>0">Director</xsl:when>
  7294.         </xsl:choose>
  7295.       </xsl:when>
  7296.  
  7297.       <xsl:when test="./b:SourceType='Interview'">
  7298.         <xsl:choose>
  7299.           <xsl:when test="string-length(./b:Author/b:Interviewee)>0">Interviewee</xsl:when>
  7300.           <xsl:when test="string-length(./b:Author/b:Editor)>0">Editor</xsl:when>
  7301.           <xsl:when test="string-length(./b:Author/b:Translator)>0">Translator</xsl:when>
  7302.         </xsl:choose>
  7303.       </xsl:when>
  7304.  
  7305.       <xsl:when test="./b:SourceType='Patent'">
  7306.         <xsl:choose>
  7307.           <xsl:when test="string-length(./b:Author/b:Inventor)>0">Inventor</xsl:when>
  7308.           <xsl:when test="string-length(./b:Author/b:Editor)>0">Editor</xsl:when>
  7309.           <xsl:when test="string-length(./b:Author/b:Translator)>0">Translator</xsl:when>
  7310.         </xsl:choose>
  7311.       </xsl:when>
  7312.  
  7313.       <xsl:when test="./b:SourceType='ElectronicSource'">
  7314.         <xsl:choose>
  7315.           <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  7316.           <xsl:when test="string-length(./b:Author/b:Editor)>0">Editor</xsl:when>
  7317.         </xsl:choose>
  7318.       </xsl:when>
  7319.  
  7320.       <xsl:when test="./b:SourceType='Case'">
  7321.         <xsl:choose>
  7322.           <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  7323.         </xsl:choose>
  7324.       </xsl:when>
  7325.  
  7326.       <xsl:when test="./b:SourceType='Misc'">
  7327.         <xsl:choose>
  7328.           <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  7329.           <xsl:when test="string-length(./b:Author/b:Editor)>0">Editor</xsl:when>
  7330.           <xsl:when test="string-length(./b:Author/b:Translator)>0">Translator</xsl:when>
  7331.         </xsl:choose>
  7332.       </xsl:when>
  7333.     </xsl:choose>
  7334.   </xsl:template>
  7335.  
  7336.  
  7337.  
  7338.   <xsl:template name="populateMain">
  7339.     <xsl:param name="Type"/>
  7340.    
  7341.     <xsl:element name="{$Type}">
  7342.      
  7343.  
  7344.       <xsl:for-each select="/*[$Type]/b:Source">
  7345.        
  7346.         <xsl:variable name="MostImportantAuthorLocalName">
  7347.          
  7348.           <xsl:call-template name="MainContributors"/>
  7349.         </xsl:variable>
  7350.         <xsl:element name="{'b:Source'}">
  7351.          
  7352.           <xsl:if test="$Type='b:Citation'">
  7353.          
  7354.             <b:Title>
  7355.              
  7356.               <xsl:if test="string-length(b:Title)>0">
  7357.                 <xsl:value-of select="b:Title"/>
  7358.               </xsl:if>
  7359.              
  7360.               <xsl:if test="string-length(b:Title)=0">
  7361.                 <xsl:choose>
  7362.                   <xsl:when test="b:SourceType='Book' or
  7363.                                  b:SourceType='JournalArticle' or
  7364.                                  b:SourceType='ConferenceProceedings' or
  7365.                                  b:SourceType='Report' or
  7366.                                  b:SourceType='Performance' or
  7367.                                  b:SourceType='Film' or
  7368.                                  b:SourceType='Patent' or
  7369.                                  b:SourceType='Case'">
  7370.  
  7371.                     <xsl:value-of select="b:ShortTitle"/>
  7372.                   </xsl:when>
  7373.  
  7374.                   <xsl:when test="b:SourceType='BookSection'">
  7375.                     <xsl:variable name="shortTitle" select="b:ShortTitle"/>
  7376.                     <xsl:variable name="bookTitle" select="b:BookTitle"/>
  7377.  
  7378.                     <xsl:choose>
  7379.                       <xsl:when test="string-length($shortTitle)>0">
  7380.                         <xsl:value-of select="$shortTitle"/>
  7381.                       </xsl:when>
  7382.                       <xsl:when test="string-length($bookTitle)>0">
  7383.                         <xsl:value-of select="$bookTitle"/>
  7384.                       </xsl:when>
  7385.                     </xsl:choose>
  7386.  
  7387.                   </xsl:when>
  7388.  
  7389.                   <xsl:when test="b:SourceType='ArticleInAPeriodical'">
  7390.                     <xsl:variable name="shortTitle" select="b:ShortTitle"/>
  7391.                     <xsl:variable name="periodicalTitle" select="b:PeriodicalTitle"/>
  7392.  
  7393.                     <xsl:choose>
  7394.                       <xsl:when test="string-length($shortTitle)>0">
  7395.                         <xsl:value-of select="$shortTitle"/>
  7396.                       </xsl:when>
  7397.                       <xsl:when test="string-length($periodicalTitle)>0">
  7398.                         <xsl:value-of select="$periodicalTitle"/>
  7399.                       </xsl:when>
  7400.                     </xsl:choose>
  7401.                   </xsl:when>
  7402.  
  7403.                   <xsl:when test="b:SourceType='InternetSite' or
  7404.                                  b:SourceType='DocumentFromInternetSite'">
  7405.                     <xsl:variable name="shortTitle" select="b:ShortTitle"/>
  7406.                     <xsl:variable name="internetSiteTitle" select="b:InternetSiteTitle"/>
  7407.  
  7408.                     <xsl:choose>
  7409.                       <xsl:when test="string-length($shortTitle)>0">
  7410.                         <xsl:value-of select="$shortTitle"/>
  7411.                       </xsl:when>
  7412.                       <xsl:when test="string-length($internetSiteTitle)>0">
  7413.                         <xsl:value-of select="$internetSiteTitle"/>
  7414.                       </xsl:when>
  7415.                     </xsl:choose>
  7416.                   </xsl:when>
  7417.  
  7418.                   <xsl:when test="b:SourceType='ElectronicSource' or
  7419.                                  b:SourceType='Art' or
  7420.                                  b:SourceType='Misc'">
  7421.                     <xsl:variable name="shortTitle" select="b:ShortTitle"/>
  7422.                     <xsl:variable name="publicationTitle" select="b:PublicationTitle"/>
  7423.  
  7424.                     <xsl:choose>
  7425.                       <xsl:when test="string-length($shortTitle)>0">
  7426.                         <xsl:value-of select="$shortTitle"/>
  7427.                       </xsl:when>
  7428.                       <xsl:when test="string-length($publicationTitle)>0">
  7429.                         <xsl:value-of select="$publicationTitle"/>
  7430.                       </xsl:when>
  7431.                     </xsl:choose>
  7432.                   </xsl:when>
  7433.  
  7434.                   <xsl:when test="b:SourceType='SoundRecording'">
  7435.                     <xsl:variable name="shortTitle" select="b:ShortTitle"/>
  7436.                     <xsl:variable name="albumTitle" select="b:AlbumTitle"/>
  7437.  
  7438.                     <xsl:choose>
  7439.                       <xsl:when test="string-length($shortTitle)>0">
  7440.                         <xsl:value-of select="$shortTitle"/>
  7441.                       </xsl:when>
  7442.                       <xsl:when test="string-length($albumTitle)>0">
  7443.                         <xsl:value-of select="$albumTitle"/>
  7444.                       </xsl:when>
  7445.                     </xsl:choose>
  7446.                   </xsl:when>
  7447.  
  7448.                   <xsl:when test="b:SourceType='Interview'">
  7449.                     <xsl:variable name="shortTitle" select="b:ShortTitle"/>
  7450.                    
  7451.                     <xsl:variable name="broadcastTitle" select="b:BroadcastTitle"/>
  7452.                    
  7453.  
  7454.                     <xsl:choose>
  7455.                       <xsl:when test="string-length($shortTitle)>0">
  7456.                         <xsl:value-of select="$shortTitle"/>
  7457.                       </xsl:when>
  7458.                      
  7459.                       <xsl:when test="string-length($broadcastTitle)>0">
  7460.                         <xsl:value-of select="$broadcastTitle"/>
  7461.                       </xsl:when>
  7462.                      
  7463.                     </xsl:choose>
  7464.                   </xsl:when>
  7465.  
  7466.                 </xsl:choose>
  7467.               </xsl:if>
  7468.             </b:Title>
  7469.           </xsl:if>
  7470.  
  7471.           <b:SortingString>
  7472.             <xsl:variable name = "author0">
  7473.               <xsl:for-each select="./b:Author/*[local-name()=$MostImportantAuthorLocalName]">
  7474.                 <xsl:call-template name="formatPersonsAuthor"/>
  7475.               </xsl:for-each>
  7476.             </xsl:variable>
  7477.  
  7478.             <xsl:variable name = "author">
  7479.               <xsl:choose>
  7480.                 <xsl:when test="string-length(./b:Author/*[local-name()=$MostImportantAuthorLocalName]/b:Corporate) > 0">
  7481.                   <xsl:value-of select="./b:Author/*[local-name()=$MostImportantAuthorLocalName]/b:Corporate"/>
  7482.                 </xsl:when>
  7483.                 <xsl:when test="string-length($author0) > 0">
  7484.                   <xsl:value-of select="$author0"/>
  7485.                 </xsl:when>
  7486.               </xsl:choose>
  7487.             </xsl:variable>
  7488.  
  7489.             <xsl:if test="string-length($author) > 0 and b:SourceType != 'Case'">
  7490.               <xsl:text>&#32;</xsl:text>
  7491.               <xsl:value-of select="$author"/>
  7492.             </xsl:if>
  7493.  
  7494.             <xsl:if test="string-length(b:Year) > 0">
  7495.               <xsl:text>&#32;</xsl:text>
  7496.               <xsl:value-of select="b:Year"/>
  7497.             </xsl:if>
  7498.  
  7499.             <xsl:choose>
  7500.               <xsl:when test="b:SourceType='Patent' and string-length(b:PatentNumber) > 0">
  7501.                 <xsl:text>&#32;</xsl:text>
  7502.                 <xsl:value-of select="b:PatentNumber"/>
  7503.               </xsl:when>
  7504.               <xsl:when test="string-length(b:Title) > 0">
  7505.                 <xsl:text>&#32;</xsl:text>
  7506.                 <xsl:value-of select="b:Title"/>
  7507.               </xsl:when>
  7508.             </xsl:choose>
  7509.           </b:SortingString>
  7510.  
  7511.           <b:Author>
  7512.            
  7513.             <b:Main>
  7514.                 <xsl:if test="string-length(./b:Author/*[local-name()=$MostImportantAuthorLocalName]/b:Corporate)=0">
  7515.                   <b:NameList>
  7516.                     <xsl:for-each select="./b:Author/*[local-name()=$MostImportantAuthorLocalName]/b:NameList/b:Person">
  7517.                       <b:Person>
  7518.                        
  7519.                         <b:Last>
  7520.                           <xsl:value-of select="./b:Last"/>
  7521.                         </b:Last>
  7522.                         <b:First>
  7523.                           <xsl:value-of select="./b:First"/>
  7524.                         </b:First>
  7525.                         <b:Middle>
  7526.                           <xsl:value-of select="./b:Middle"/>
  7527.                         </b:Middle>
  7528.                       </b:Person>
  7529.                     </xsl:for-each>
  7530.                   </b:NameList>
  7531.                 </xsl:if>
  7532.                 <xsl:if test="string-length(./b:Author/*[local-name()=$MostImportantAuthorLocalName]/b:Corporate)>0">
  7533.                     <b:Corporate>
  7534.                       <xsl:value-of select="./b:Author/*[local-name()=$MostImportantAuthorLocalName]/b:Corporate"/>
  7535.                     </b:Corporate>
  7536.                 </xsl:if>
  7537.             </b:Main>
  7538.             <xsl:for-each select="./b:Author/*">
  7539.              
  7540.              
  7541.               <xsl:element name="{name()}" namespace="{namespace-uri()}">
  7542.                 <xsl:call-template name="copyNameNodes"/>
  7543.                
  7544.               </xsl:element>
  7545.              
  7546.             </xsl:for-each>
  7547.           </b:Author>
  7548.           <xsl:for-each select="*">
  7549.            
  7550.             <xsl:if test="name()!='Author' and not(name()='Title' and $Type='b:Citation')">
  7551.               <xsl:element name="{name()}" namespace="{namespace-uri()}">
  7552.                 <xsl:call-template name="copyNodes"/>
  7553.                
  7554.               </xsl:element>
  7555.             </xsl:if>
  7556.           </xsl:for-each>
  7557.         </xsl:element>
  7558.         <xsl:for-each select="../*">
  7559.          
  7560.           <xsl:if test="local-name()!='Source' and namespace-uri()='http://schemas.openxmlformats.org/officeDocument/2006/bibliography'">
  7561.             <xsl:element name="{name()}" namespace="{namespace-uri()}">
  7562.               <xsl:call-template name="copyNodes"/>
  7563.              
  7564.             </xsl:element>
  7565.           </xsl:if>
  7566.         </xsl:for-each>
  7567.       </xsl:for-each>
  7568.      
  7569.       <xsl:copy-of select="/*[$Type]/b:Locals"/>
  7570.     </xsl:element>
  7571.   </xsl:template>
  7572.  
  7573.  
  7574.   <xsl:template name="copyNameNodes">
  7575.     <xsl:if test="string-length(b:Corporate)=0">
  7576.         <b:NameList>
  7577.           <xsl:for-each select="b:NameList/b:Person">
  7578.            
  7579.             <b:Person>
  7580.              
  7581.               <xsl:if test="string-length(./b:Last)>0">
  7582.                
  7583.                 <b:Last>
  7584.                   <xsl:value-of select="./b:Last"/>
  7585.                 </b:Last>
  7586.               </xsl:if>
  7587.               <xsl:if test="string-length(./b:First)>0">
  7588.                 <b:First>
  7589.                   <xsl:value-of select="./b:First"/>
  7590.                 </b:First>
  7591.               </xsl:if>
  7592.               <xsl:if test="string-length(./b:Middle)>0">
  7593.                 <b:Middle>
  7594.                   <xsl:value-of select="./b:Middle"/>
  7595.                 </b:Middle>
  7596.               </xsl:if>
  7597.             </b:Person>
  7598.           </xsl:for-each>
  7599.         </b:NameList>
  7600.     </xsl:if>
  7601.     <xsl:if test="string-length(b:Corporate)>0">
  7602.         <b:Corporate>
  7603.           <xsl:value-of select="b:Corporate"/>
  7604.         </b:Corporate>
  7605.     </xsl:if>
  7606.   </xsl:template>
  7607.  
  7608.  
  7609.   <xsl:template name="copyNodes">
  7610.     <xsl:value-of select="."/>
  7611.  
  7612.   </xsl:template>
  7613.  
  7614.   <xsl:template name="copyNodes2">
  7615.     <xsl:for-each select="@*">
  7616.       <xsl:attribute name="{name()}" namespace="{namespace-uri()}">
  7617.         <xsl:value-of select="."/>
  7618.       </xsl:attribute>
  7619.     </xsl:for-each>
  7620.     <xsl:for-each select="*">
  7621.       <xsl:element name="{name()}" namespace="{namespace-uri()}">
  7622.         <xsl:call-template name="copyNodes2"/>
  7623.        
  7624.       </xsl:element>
  7625.     </xsl:for-each>
  7626.  
  7627.   </xsl:template>
  7628.  
  7629.   <xsl:template name="handleSpaces">
  7630.     <xsl:param name="field"/>
  7631.  
  7632.     <xsl:variable name="prop_NormalizeSpace">
  7633.       <xsl:call-template name="templ_prop_NormalizeSpace"/>
  7634.     </xsl:variable>
  7635.  
  7636.     <xsl:choose>
  7637.       <xsl:when test="$prop_NormalizeSpace='yes'">
  7638.         <xsl:value-of select="normalize-space($field)"/>
  7639.       </xsl:when>
  7640.       <xsl:otherwise>
  7641.         <xsl:value-of select="$field"/>
  7642.       </xsl:otherwise>
  7643.     </xsl:choose>
  7644.   </xsl:template>
  7645.  
  7646.  
  7647.   <xsl:template name="appendField_Dot">
  7648.     <xsl:param name="field"/>
  7649.  
  7650.     <xsl:variable name="temp">
  7651.       <xsl:call-template name="handleSpaces">
  7652.         <xsl:with-param name="field" select="$field"/>
  7653.       </xsl:call-template>
  7654.     </xsl:variable>
  7655.  
  7656.     <xsl:variable name="lastChar">
  7657.       <xsl:value-of select="substring($temp, string-length($temp))"/>
  7658.     </xsl:variable>
  7659.  
  7660.     <xsl:variable name="prop_EndChars">
  7661.       <xsl:call-template name="templ_prop_EndChars"/>
  7662.     </xsl:variable>
  7663.  
  7664.     <xsl:choose>
  7665.       <xsl:when test="string-length($temp) = 0">
  7666.       </xsl:when>
  7667.       <xsl:when test="contains($prop_EndChars, $lastChar)">
  7668.         <xsl:value-of select="$temp"/>
  7669.       </xsl:when>
  7670.       <xsl:otherwise>
  7671.         <xsl:value-of select="$temp"/>
  7672.         <xsl:call-template name="templ_prop_Dot"/>
  7673.       </xsl:otherwise>
  7674.     </xsl:choose>
  7675.  
  7676.   </xsl:template>
  7677.  
  7678.  
  7679.   <xsl:template name="appendFieldNoHandleSpaces_Dot">
  7680.     <xsl:param name="field"/>
  7681.  
  7682.     <xsl:variable name="lastChar">
  7683.       <xsl:value-of select="substring($field, string-length($field))"/>
  7684.     </xsl:variable>
  7685.  
  7686.     <xsl:variable name="prop_EndChars">
  7687.       <xsl:call-template name="templ_prop_EndChars"/>
  7688.     </xsl:variable>
  7689.  
  7690.     <xsl:choose>
  7691.       <xsl:when test="string-length($field) = 0">
  7692.       </xsl:when>
  7693.       <xsl:when test="contains($prop_EndChars, $lastChar)">
  7694.         <xsl:value-of select="$field"/>
  7695.       </xsl:when>
  7696.       <xsl:otherwise>
  7697.         <xsl:value-of select="$field"/>
  7698.         <xsl:call-template name="templ_prop_Dot"/>
  7699.       </xsl:otherwise>
  7700.     </xsl:choose>
  7701.  
  7702.   </xsl:template>
  7703.  
  7704.   <xsl:template name="templateCSC">
  7705.  
  7706.     <xsl:variable name="tempSPCR">
  7707.       <xsl:call-template name="templateC2">
  7708.         <xsl:with-param name="first" select="b:StateProvince"/>
  7709.         <xsl:with-param name="second" select="b:CountryRegion"/>
  7710.       </xsl:call-template>
  7711.     </xsl:variable>
  7712.  
  7713.     <xsl:variable name="city">
  7714.       <xsl:call-template name="handleSpaces">
  7715.         <xsl:with-param name="field" select="b:City"/>
  7716.       </xsl:call-template>
  7717.     </xsl:variable>
  7718.     <xsl:variable name="temp">
  7719.       <xsl:call-template name="templateC">
  7720.         <xsl:with-param name="first" select="$city"/>
  7721.         <xsl:with-param name="second" select="$tempSPCR"/>
  7722.       </xsl:call-template>
  7723.     </xsl:variable>
  7724.     <xsl:call-template name="handleSpaces">
  7725.       <xsl:with-param name="field" select="$temp"/>
  7726.     </xsl:call-template>
  7727.   </xsl:template>
  7728.  
  7729.   <xsl:template name="templateCSC2">
  7730.     <xsl:variable name="tempSPCR">
  7731.       <xsl:call-template name="templateC2">
  7732.         <xsl:with-param name="first" select="b:StateProvince"/>
  7733.         <xsl:with-param name="second" select="b:CountryRegion"/>
  7734.       </xsl:call-template>
  7735.     </xsl:variable>
  7736.  
  7737.     <xsl:variable name="city">
  7738.       <xsl:call-template name="handleSpaces">
  7739.         <xsl:with-param name="field" select="b:City"/>
  7740.       </xsl:call-template>
  7741.     </xsl:variable>
  7742.     <xsl:variable name="temp">
  7743.       <xsl:call-template name="templateC2">
  7744.         <xsl:with-param name="first" select="$city"/>
  7745.         <xsl:with-param name="second" select="$tempSPCR"/>
  7746.       </xsl:call-template>
  7747.     </xsl:variable>
  7748.     <xsl:call-template name="handleSpaces">
  7749.       <xsl:with-param name="field" select="$temp"/>
  7750.     </xsl:call-template>
  7751.   </xsl:template>
  7752.  
  7753.   <xsl:template name="templateA">
  7754.     <xsl:param name="first"/>
  7755.     <xsl:param name="second"/>
  7756.     <xsl:param name="third"/>
  7757.  
  7758.     <xsl:variable name="tempFirst">
  7759.       <xsl:call-template name="handleSpaces">
  7760.         <xsl:with-param name="field" select="$first"/>
  7761.       </xsl:call-template>
  7762.     </xsl:variable>
  7763.  
  7764.     <xsl:variable name="tempSecond">
  7765.       <xsl:call-template name="handleSpaces">
  7766.         <xsl:with-param name="field" select="$second"/>
  7767.       </xsl:call-template>
  7768.     </xsl:variable>
  7769.  
  7770.     <xsl:variable name="tempThird">
  7771.       <xsl:call-template name="handleSpaces">
  7772.         <xsl:with-param name="field" select="$third"/>
  7773.       </xsl:call-template>
  7774.     </xsl:variable>
  7775.  
  7776.     <xsl:variable name="temp">
  7777.       <xsl:if test="string-length($tempFirst)>0">
  7778.         <xsl:value-of select="$tempFirst"/>
  7779.       </xsl:if>
  7780.  
  7781.       <xsl:if test="string-length($tempFirst)>0 and string-length($tempSecond)>0">
  7782.         <xsl:call-template name="templ_prop_EnumSeparator"/>
  7783.       </xsl:if>
  7784.  
  7785.       <xsl:if test="string-length($tempSecond)>0">
  7786.         <xsl:value-of select="$tempSecond"/>
  7787.       </xsl:if>
  7788.  
  7789.       <xsl:if test="(string-length($tempFirst)>0 or string-length($tempSecond)>0) and string-length($tempThird)>0">
  7790.         <xsl:call-template name="templ_prop_ListSeparator"/>
  7791.       </xsl:if>
  7792.  
  7793.       <xsl:if test="string-length($tempThird)>0">
  7794.         <xsl:value-of select="$tempThird"/>
  7795.       </xsl:if>
  7796.     </xsl:variable>
  7797.  
  7798.     <xsl:call-template name="appendFieldNoHandleSpaces_Dot">
  7799.       <xsl:with-param name="field" select="$temp"/>
  7800.     </xsl:call-template>
  7801.   </xsl:template>
  7802.  
  7803.   <xsl:template name="templateB">
  7804.     <xsl:param name="first"/>
  7805.     <xsl:param name="second"/>
  7806.  
  7807.     <xsl:variable name="tempFirst">
  7808.       <xsl:call-template name="handleSpaces">
  7809.         <xsl:with-param name="field" select="$first"/>
  7810.       </xsl:call-template>
  7811.     </xsl:variable>
  7812.  
  7813.     <xsl:variable name="tempSecond">
  7814.       <xsl:call-template name="handleSpaces">
  7815.         <xsl:with-param name="field" select="$second"/>
  7816.       </xsl:call-template>
  7817.     </xsl:variable>
  7818.  
  7819.     <xsl:variable name="temp">
  7820.       <xsl:if test="string-length($tempFirst)>0">
  7821.         <xsl:value-of select="$tempFirst"/>
  7822.       </xsl:if>
  7823.  
  7824.       <xsl:if test="string-length($tempFirst)>0 and string-length($tempSecond)>0">
  7825.         <xsl:call-template name="templ_prop_EnumSeparator"/>
  7826.       </xsl:if>
  7827.  
  7828.       <xsl:if test="string-length($tempSecond)>0">
  7829.         <xsl:value-of select="$tempSecond"/>
  7830.       </xsl:if>
  7831.  
  7832.     </xsl:variable>
  7833.  
  7834.     <xsl:call-template name="appendFieldNoHandleSpaces_Dot">
  7835.       <xsl:with-param name="field" select="$temp"/>
  7836.     </xsl:call-template>
  7837.  
  7838.   </xsl:template>
  7839.  
  7840.   <xsl:template name="templateC">
  7841.     <xsl:param name="first"/>
  7842.     <xsl:param name="second"/>
  7843.  
  7844.     <xsl:variable name="tempFirst">
  7845.       <xsl:call-template name="handleSpaces">
  7846.         <xsl:with-param name="field" select="$first"/>
  7847.       </xsl:call-template>
  7848.     </xsl:variable>
  7849.  
  7850.     <xsl:variable name="tempSecond">
  7851.       <xsl:call-template name="handleSpaces">
  7852.         <xsl:with-param name="field" select="$second"/>
  7853.       </xsl:call-template>
  7854.     </xsl:variable>
  7855.  
  7856.     <xsl:variable name="temp">
  7857.       <xsl:if test="string-length($tempFirst)>0">
  7858.         <xsl:value-of select="$tempFirst"/>
  7859.       </xsl:if>
  7860.  
  7861.       <xsl:if test="string-length($tempFirst)>0 and string-length($tempSecond)>0">
  7862.         <xsl:call-template name="templ_prop_ListSeparator"/>
  7863.       </xsl:if>
  7864.  
  7865.       <xsl:if test="string-length($tempSecond)>0">
  7866.         <xsl:value-of select="$tempSecond"/>
  7867.       </xsl:if>
  7868.  
  7869.     </xsl:variable>
  7870.  
  7871.     <xsl:call-template name="appendFieldNoHandleSpaces_Dot">
  7872.       <xsl:with-param name="field" select="$temp"/>
  7873.     </xsl:call-template>
  7874.   </xsl:template>
  7875.  
  7876.   <xsl:template name="templateCItalic">
  7877.     <xsl:param name="first"/>
  7878.     <xsl:param name="second"/>
  7879.  
  7880.     <xsl:variable name="tempFirst">
  7881.       <xsl:call-template name="handleSpaces">
  7882.         <xsl:with-param name="field" select="$first"/>
  7883.       </xsl:call-template>
  7884.     </xsl:variable>
  7885.  
  7886.     <xsl:variable name="tempSecond">
  7887.       <xsl:call-template name="handleSpaces">
  7888.         <xsl:with-param name="field" select="$second"/>
  7889.       </xsl:call-template>
  7890.     </xsl:variable>
  7891.  
  7892.     <xsl:if test="string-length($tempFirst)>0">
  7893.      <xsl:call-template name = "ApplyItalicTitleNS">
  7894.       <xsl:with-param name = "data">
  7895.        <xsl:value-of select="$tempFirst"/>
  7896.       </xsl:with-param>
  7897.      </xsl:call-template>
  7898.     </xsl:if>
  7899.  
  7900.     <xsl:if test="string-length($tempFirst)>0 and string-length($tempSecond)>0">
  7901.       <xsl:call-template name="templ_prop_ListSeparator"/>
  7902.     </xsl:if>
  7903.  
  7904.     <xsl:if test="string-length($tempSecond)>0">
  7905.       <xsl:value-of select="$tempSecond"/>
  7906.     </xsl:if>
  7907.  
  7908.     <xsl:variable name="temp">
  7909.       <xsl:value-of select="$tempFirst"/>
  7910.       <xsl:value-of select="$tempSecond"/>
  7911.     </xsl:variable>
  7912.  
  7913.     <xsl:call-template name="need_Dot">
  7914.       <xsl:with-param name="field" select="$temp"/>
  7915.     </xsl:call-template>
  7916.   </xsl:template>
  7917.  
  7918.  
  7919.   <xsl:template name="templateC2">
  7920.     <xsl:param name="first"/>
  7921.     <xsl:param name="second"/>
  7922.  
  7923.     <xsl:variable name="tempFirst">
  7924.       <xsl:call-template name="handleSpaces">
  7925.         <xsl:with-param name="field" select="$first"/>
  7926.       </xsl:call-template>
  7927.     </xsl:variable>
  7928.  
  7929.     <xsl:variable name="tempSecond">
  7930.       <xsl:call-template name="handleSpaces">
  7931.         <xsl:with-param name="field" select="$second"/>
  7932.       </xsl:call-template>
  7933.     </xsl:variable>
  7934.  
  7935.     <xsl:variable name="temp">
  7936.       <xsl:if test="string-length($tempFirst)>0">
  7937.         <xsl:value-of select="$tempFirst"/>
  7938.       </xsl:if>
  7939.  
  7940.       <xsl:if test="string-length($tempFirst)>0 and string-length($tempSecond)>0">
  7941.         <xsl:call-template name="templ_prop_ListSeparator"/>
  7942.       </xsl:if>
  7943.  
  7944.       <xsl:if test="string-length($tempSecond)>0">
  7945.         <xsl:value-of select="$tempSecond"/>
  7946.       </xsl:if>
  7947.  
  7948.     </xsl:variable>
  7949.  
  7950.     <xsl:value-of select="$temp"/>
  7951.   </xsl:template>
  7952.  
  7953.   <xsl:template name="templateF">
  7954.     <xsl:param name="first"/>
  7955.     <xsl:param name="second"/>
  7956.     <xsl:param name="third"/>
  7957.     <xsl:param name="fourth"/>
  7958.     <xsl:param name="fifth"/>
  7959.     <xsl:param name="thirdNoItalic"/>
  7960.  
  7961.    
  7962.  
  7963.     <xsl:variable name="tempFirst">
  7964.       <xsl:call-template name="handleSpaces">
  7965.         <xsl:with-param name="field" select="$first"/>
  7966.       </xsl:call-template>
  7967.     </xsl:variable>
  7968.  
  7969.     <xsl:variable name="tempSecond">
  7970.       <xsl:call-template name="handleSpaces">
  7971.         <xsl:with-param name="field" select="$second"/>
  7972.       </xsl:call-template>
  7973.     </xsl:variable>
  7974.  
  7975.     <xsl:variable name="tempThird">
  7976.       <xsl:call-template name="handleSpaces">
  7977.         <xsl:with-param name="field" select="$third"/>
  7978.       </xsl:call-template>
  7979.     </xsl:variable>
  7980.  
  7981.     <xsl:variable name="tempFourth">
  7982.       <xsl:call-template name="handleSpaces">
  7983.         <xsl:with-param name="field" select="$fourth"/>
  7984.       </xsl:call-template>
  7985.     </xsl:variable>
  7986.  
  7987.     <xsl:variable name="tempFifth">
  7988.       <xsl:call-template name="handleSpaces">
  7989.         <xsl:with-param name="field" select="$fifth"/>
  7990.       </xsl:call-template>
  7991.     </xsl:variable>
  7992.  
  7993.  
  7994.     <xsl:variable name="temp">
  7995.       <xsl:call-template name = "ApplyItalicTitleNS">
  7996.        <xsl:with-param name = "data">
  7997.         <xsl:if test="string-length($tempFirst)>0">
  7998.           <xsl:value-of select="$tempFirst"/>
  7999.         </xsl:if>
  8000.        </xsl:with-param>
  8001.       </xsl:call-template>
  8002.       <xsl:call-template name = "ApplyItalicFieldNS">
  8003.        <xsl:with-param name = "data">
  8004.      
  8005.         <xsl:if test="string-length($tempFirst)>0 and string-length($tempSecond)>0">
  8006.           <xsl:call-template name="templ_prop_ListSeparator"/>
  8007.         </xsl:if>
  8008.  
  8009.         <xsl:if test="string-length($tempSecond)>0">
  8010.           <xsl:value-of select="$tempSecond"/>
  8011.         </xsl:if>
  8012.        </xsl:with-param>
  8013.       </xsl:call-template>
  8014.  
  8015.         <xsl:if test="string-length($tempThird)>0">
  8016.           <xsl:if test = "$thirdNoItalic = 'yes'">
  8017.             <xsl:call-template name="templ_prop_APA_GeneralOpen"/>
  8018.             <xsl:value-of select="$tempThird"/>
  8019.             <xsl:call-template name="templ_prop_APA_GeneralClose"/>
  8020.           </xsl:if>
  8021.           <xsl:if test = "$thirdNoItalic != 'yes'">
  8022.             <xsl:call-template name = "ApplyItalicFieldNS">
  8023.              <xsl:with-param name = "data">
  8024.             <xsl:call-template name="templ_prop_APA_GeneralOpen"/>
  8025.             <xsl:value-of select="$tempThird"/>
  8026.             <xsl:call-template name="templ_prop_APA_GeneralClose"/>
  8027.              </xsl:with-param>
  8028.             </xsl:call-template>
  8029.           </xsl:if>
  8030.         </xsl:if>
  8031.  
  8032.       <xsl:call-template name = "ApplyItalicFieldNS">
  8033.        <xsl:with-param name = "data">
  8034.         <xsl:if test="string-length($tempFourth)>0">
  8035.           <xsl:if test="(string-length($tempFirst)>0 or string-length($tempSecond)>0) or string-length($tempThird)>0">
  8036.             <xsl:call-template name="templ_prop_ListSeparator"/>
  8037.           </xsl:if>
  8038.  
  8039.           <xsl:value-of select="$tempFourth"/>
  8040.         </xsl:if>
  8041.  
  8042.      </xsl:with-param>
  8043.     </xsl:call-template>
  8044.  
  8045.       <xsl:if test="string-length($tempFifth)>0">
  8046.         <xsl:if test="(string-length($tempFirst)>0 or string-length($tempSecond)>0) or string-length($tempThird)>0 or string-length($tempFourth)>0">
  8047.           <xsl:call-template name="templ_prop_ListSeparator"/>
  8048.         </xsl:if>
  8049.  
  8050.         <xsl:value-of select="$tempFifth"/>
  8051.       </xsl:if>
  8052.  
  8053.     </xsl:variable>
  8054.  
  8055.     <xsl:apply-templates select="msxsl:node-set($temp)" mode="outputHtml"/>
  8056.  
  8057.     <xsl:variable name="lastChar">
  8058.       <xsl:value-of select="substring($temp, string-length($temp))"/>
  8059.     </xsl:variable>
  8060.  
  8061.     <xsl:variable name="prop_EndChars">
  8062.       <xsl:call-template name="templ_prop_EndChars"/>
  8063.     </xsl:variable>
  8064.  
  8065.     <xsl:choose>
  8066.       <xsl:when test="string-length($temp) = 0">
  8067.       </xsl:when>
  8068.       <xsl:when test="contains($prop_EndChars, $lastChar)">
  8069.       </xsl:when>
  8070.       <xsl:otherwise>
  8071.         <xsl:call-template name="templ_prop_Dot"/>
  8072.       </xsl:otherwise>
  8073.     </xsl:choose>
  8074.  
  8075.   </xsl:template>
  8076.  
  8077.  
  8078.   <xsl:template name="templateG">
  8079.     <xsl:param name="first"/>
  8080.     <xsl:param name="second"/>
  8081.     <xsl:param name="third"/>
  8082.     <xsl:param name="fourth"/>
  8083.     <xsl:param name="addSpace"/>
  8084.  
  8085.     <xsl:variable name="tempFirst">
  8086.       <xsl:call-template name="handleSpaces">
  8087.         <xsl:with-param name="field" select="$first"/>
  8088.       </xsl:call-template>
  8089.     </xsl:variable>
  8090.  
  8091.     <xsl:variable name="tempSecond">
  8092.       <xsl:call-template name="handleSpaces">
  8093.         <xsl:with-param name="field" select="$second"/>
  8094.       </xsl:call-template>
  8095.     </xsl:variable>
  8096.  
  8097.     <xsl:variable name="tempThird">
  8098.       <xsl:call-template name="handleSpaces">
  8099.         <xsl:with-param name="field" select="$third"/>
  8100.       </xsl:call-template>
  8101.     </xsl:variable>
  8102.  
  8103.     <xsl:variable name="tempFourth">
  8104.       <xsl:call-template name="handleSpaces">
  8105.         <xsl:with-param name="field" select="$fourth"/>
  8106.       </xsl:call-template>
  8107.     </xsl:variable>
  8108.  
  8109.     <xsl:variable name="temp">
  8110.       <xsl:call-template name = "ApplyItalicTitleNS">
  8111.        <xsl:with-param name = "data">
  8112.         <xsl:if test="string-length($tempFirst)>0">
  8113.           <xsl:value-of select="$tempFirst"/>
  8114.         </xsl:if>
  8115.        </xsl:with-param>
  8116.       </xsl:call-template>
  8117.       <xsl:call-template name = "ApplyItalicFieldNS">
  8118.        <xsl:with-param name = "data">
  8119.  
  8120.         <xsl:if test="string-length($tempFirst)>0 and string-length($tempSecond)>0">
  8121.           <xsl:call-template name="templ_prop_ListSeparator"/>
  8122.         </xsl:if>
  8123.  
  8124.         <xsl:if test="string-length($tempSecond)>0">
  8125.           <xsl:value-of select="$tempSecond"/>
  8126.         </xsl:if>
  8127.  
  8128.        </xsl:with-param>
  8129.       </xsl:call-template>
  8130.  
  8131.       <xsl:if test="string-length($tempThird)>0">
  8132.         <xsl:call-template name="templ_prop_APA_GeneralOpen"/>
  8133.         <xsl:value-of select="$tempThird"/>
  8134.         <xsl:call-template name="templ_prop_APA_GeneralClose"/>
  8135.       </xsl:if>
  8136.  
  8137.       <xsl:if test="string-length($tempFourth)>0">
  8138.         <xsl:if test="(string-length($tempFirst)>0 or string-length($tempSecond)>0) or string-length($tempThird)>0">
  8139.           <xsl:call-template name="templ_prop_ListSeparator"/>
  8140.         </xsl:if>
  8141.  
  8142.         <xsl:value-of select="$tempFourth"/>
  8143.       </xsl:if>
  8144.  
  8145.     </xsl:variable>
  8146.  
  8147.     <xsl:apply-templates select="msxsl:node-set($temp)" mode="outputHtml"/>
  8148.  
  8149.     <xsl:variable name="lastChar">
  8150.       <xsl:value-of select="substring($temp, string-length($temp))"/>
  8151.     </xsl:variable>
  8152.  
  8153.     <xsl:variable name="prop_EndChars">
  8154.       <xsl:call-template name="templ_prop_EndChars"/>
  8155.     </xsl:variable>
  8156.  
  8157.     <xsl:choose>
  8158.       <xsl:when test="string-length($temp) = 0">
  8159.       </xsl:when>
  8160.       <xsl:when test="contains($prop_EndChars, $lastChar)">
  8161.       </xsl:when>
  8162.       <xsl:otherwise>
  8163.         <xsl:call-template name="templ_prop_Dot"/>
  8164.       </xsl:otherwise>
  8165.     </xsl:choose>
  8166.  
  8167.   </xsl:template>
  8168.  
  8169.   <xsl:template name="templateH">
  8170.     <xsl:param name="first"/>
  8171.     <xsl:param name="second"/>
  8172.  
  8173.     <xsl:variable name="tempFirst">
  8174.       <xsl:call-template name="handleSpaces">
  8175.         <xsl:with-param name="field" select="$first"/>
  8176.       </xsl:call-template>
  8177.     </xsl:variable>
  8178.  
  8179.     <xsl:variable name="tempSecond">
  8180.       <xsl:call-template name="handleSpaces">
  8181.         <xsl:with-param name="field" select="$second"/>
  8182.       </xsl:call-template>
  8183.     </xsl:variable>
  8184.  
  8185.     <xsl:variable name="temp">
  8186.       <xsl:if test="string-length($tempFirst)>0">
  8187.         <xsl:call-template name = "ApplyItalicTitleNS">
  8188.          <xsl:with-param name = "data">
  8189.           <xsl:value-of select="$tempFirst"/>
  8190.        </xsl:with-param>
  8191.       </xsl:call-template>
  8192.       </xsl:if>
  8193.  
  8194.       <xsl:if test="string-length($tempFirst)>0 and string-length($tempSecond)>0">
  8195.         <xsl:call-template name="templ_prop_ListSeparator"/>
  8196.       </xsl:if>
  8197.  
  8198.       <xsl:if test="string-length($tempSecond)>0">
  8199.         <xsl:value-of select="$tempSecond"/>
  8200.       </xsl:if>
  8201.  
  8202.     </xsl:variable>
  8203.  
  8204.     <xsl:apply-templates select="msxsl:node-set($temp)" mode="outputHtml"/>
  8205.  
  8206.     <xsl:variable name="lastChar">
  8207.       <xsl:value-of select="substring($temp, string-length($temp))"/>
  8208.     </xsl:variable>
  8209.  
  8210.     <xsl:variable name="prop_EndChars">
  8211.       <xsl:call-template name="templ_prop_EndChars"/>
  8212.     </xsl:variable>
  8213.  
  8214.     <xsl:choose>
  8215.       <xsl:when test="string-length($temp) = 0">
  8216.       </xsl:when>
  8217.       <xsl:when test="contains($prop_EndChars, $lastChar)">
  8218.       </xsl:when>
  8219.       <xsl:otherwise>
  8220.         <xsl:call-template name="templ_prop_Dot"/>
  8221.       </xsl:otherwise>
  8222.     </xsl:choose>
  8223.  
  8224.   </xsl:template>
  8225.  
  8226.   <xsl:template name="formatDateCore">
  8227.     <xsl:param name="day"/>
  8228.     <xsl:param name="month"/>
  8229.     <xsl:param name="year"/>
  8230.     <xsl:param name="displayND"/>
  8231.  
  8232.     <xsl:param name="DMY"/>
  8233.     <xsl:param name="DM"/>
  8234.     <xsl:param name="MY"/>
  8235.     <xsl:param name="DY"/>
  8236.  
  8237.     <xsl:choose>
  8238.       <xsl:when test="string-length($year)=0">
  8239.         <xsl:if test="$displayND = 'yes'">
  8240.           <xsl:call-template name="templ_str_NoDateShortUnCap"/>
  8241.         </xsl:if>
  8242.       </xsl:when>
  8243.       <xsl:otherwise>
  8244.         <xsl:call-template name="formatDateCorePrivate">
  8245.           <xsl:with-param name="day" select="$day"/>
  8246.           <xsl:with-param name="month" select="$month"/>
  8247.           <xsl:with-param name="year" select="$year"/>
  8248.  
  8249.           <xsl:with-param name="DMY" select="$DMY"/>
  8250.           <xsl:with-param name="DM" select="$DM"/>
  8251.           <xsl:with-param name="MY" select="$MY"/>
  8252.           <xsl:with-param name="DY" select="$DY"/>
  8253.         </xsl:call-template>
  8254.       </xsl:otherwise>
  8255.     </xsl:choose>
  8256.  
  8257.   </xsl:template>
  8258.  
  8259.  
  8260.   <xsl:template name="formatDate">
  8261.     <xsl:param name="appendSpace"/>
  8262.     <xsl:call-template name="formatDateCore">
  8263.       <xsl:with-param name="day">
  8264.         <xsl:call-template name="handleSpaces">
  8265.           <xsl:with-param name="field" select="b:Day"/>
  8266.         </xsl:call-template>
  8267.       </xsl:with-param>
  8268.       <xsl:with-param name="month">
  8269.         <xsl:call-template name="handleSpaces">
  8270.           <xsl:with-param name="field" select="b:Month"/>
  8271.         </xsl:call-template>
  8272.       </xsl:with-param>
  8273.       <xsl:with-param name="year">
  8274.         <xsl:call-template name="handleSpaces">
  8275.           <xsl:with-param name="field" select="b:Year"/>
  8276.         </xsl:call-template>
  8277.       </xsl:with-param>
  8278.  
  8279.       <xsl:with-param name="DMY">
  8280.         <xsl:call-template name="templ_prop_APA_Date_DMY"/>
  8281.       </xsl:with-param>
  8282.       <xsl:with-param name="DM">
  8283.         <xsl:call-template name="templ_prop_APA_Date_DM"/>
  8284.       </xsl:with-param>
  8285.       <xsl:with-param name="MY">
  8286.         <xsl:call-template name="templ_prop_APA_Date_MY"/>
  8287.       </xsl:with-param>
  8288.       <xsl:with-param name="DY">
  8289.         <xsl:call-template name="templ_prop_APA_Date_DY"/>
  8290.       </xsl:with-param>
  8291.  
  8292.       <xsl:with-param name="displayND">yes</xsl:with-param>
  8293.     </xsl:call-template>
  8294.   </xsl:template>
  8295.  
  8296.   <xsl:template name="formatDateEmpty">
  8297.     <xsl:param name="appendSpace"/>
  8298.     <xsl:call-template name="formatDateCore">
  8299.       <xsl:with-param name="day">
  8300.         <xsl:call-template name="handleSpaces">
  8301.           <xsl:with-param name="field" select="b:Day"/>
  8302.         </xsl:call-template>
  8303.       </xsl:with-param>
  8304.       <xsl:with-param name="month">
  8305.         <xsl:call-template name="handleSpaces">
  8306.           <xsl:with-param name="field" select="b:Month"/>
  8307.         </xsl:call-template>
  8308.       </xsl:with-param>
  8309.       <xsl:with-param name="year">
  8310.         <xsl:call-template name="handleSpaces">
  8311.           <xsl:with-param name="field" select="b:Year"/>
  8312.         </xsl:call-template>
  8313.       </xsl:with-param>
  8314.  
  8315.       <xsl:with-param name="DMY">
  8316.         <xsl:call-template name="templ_prop_APA_Date_DMY"/>
  8317.       </xsl:with-param>
  8318.       <xsl:with-param name="DM">
  8319.         <xsl:call-template name="templ_prop_APA_Date_DM"/>
  8320.       </xsl:with-param>
  8321.       <xsl:with-param name="MY">
  8322.         <xsl:call-template name="templ_prop_APA_Date_MY"/>
  8323.       </xsl:with-param>
  8324.       <xsl:with-param name="DY">
  8325.         <xsl:call-template name="templ_prop_APA_Date_DY"/>
  8326.       </xsl:with-param>
  8327.  
  8328.       <xsl:with-param name="displayND">no</xsl:with-param>
  8329.     </xsl:call-template>
  8330.   </xsl:template>
  8331.  
  8332.   <xsl:template name="formatDateAccessed">
  8333.     <xsl:call-template name="formatDateCore">
  8334.       <xsl:with-param name="day">
  8335.         <xsl:call-template name="handleSpaces">
  8336.           <xsl:with-param name="field" select="b:DayAccessed"/>
  8337.         </xsl:call-template>
  8338.       </xsl:with-param>
  8339.       <xsl:with-param name="month">
  8340.         <xsl:call-template name="handleSpaces">
  8341.           <xsl:with-param name="field" select="b:MonthAccessed"/>
  8342.         </xsl:call-template>
  8343.       </xsl:with-param>
  8344.       <xsl:with-param name="year">
  8345.         <xsl:call-template name="handleSpaces">
  8346.           <xsl:with-param name="field" select="b:YearAccessed"/>
  8347.         </xsl:call-template>
  8348.       </xsl:with-param>
  8349.  
  8350.       <xsl:with-param name="DMY">
  8351.         <xsl:call-template name="templ_prop_APA_DateAccessed_DMY"/>
  8352.       </xsl:with-param>
  8353.       <xsl:with-param name="DM">
  8354.         <xsl:call-template name="templ_prop_APA_DateAccessed_DM"/>
  8355.       </xsl:with-param>
  8356.       <xsl:with-param name="MY">
  8357.         <xsl:call-template name="templ_prop_APA_DateAccessed_MY"/>
  8358.       </xsl:with-param>
  8359.       <xsl:with-param name="DY">
  8360.         <xsl:call-template name="templ_prop_APA_DateAccessed_DY"/>
  8361.       </xsl:with-param>
  8362.  
  8363.       <xsl:with-param name="displayND">no</xsl:with-param>
  8364.     </xsl:call-template>
  8365.   </xsl:template>
  8366.  
  8367.   <xsl:template name="formatDateCourt">
  8368.     <xsl:call-template name="formatDateCore">
  8369.       <xsl:with-param name="day">
  8370.         <xsl:call-template name="handleSpaces">
  8371.           <xsl:with-param name="field" select="b:Day"/>
  8372.         </xsl:call-template>
  8373.       </xsl:with-param>
  8374.       <xsl:with-param name="month">
  8375.         <xsl:call-template name="handleSpaces">
  8376.           <xsl:with-param name="field" select="b:Month"/>
  8377.         </xsl:call-template>
  8378.       </xsl:with-param>
  8379.       <xsl:with-param name="year">
  8380.         <xsl:call-template name="handleSpaces">
  8381.           <xsl:with-param name="field" select="b:Year"/>
  8382.         </xsl:call-template>
  8383.       </xsl:with-param>
  8384.  
  8385.       <xsl:with-param name="DMY">
  8386.         <xsl:call-template name="templ_prop_APA_DateCourt_DMY"/>
  8387.       </xsl:with-param>
  8388.       <xsl:with-param name="DM">
  8389.         <xsl:call-template name="templ_prop_APA_DateCourt_DM"/>
  8390.       </xsl:with-param>
  8391.       <xsl:with-param name="MY">
  8392.         <xsl:call-template name="templ_prop_APA_DateCourt_MY"/>
  8393.       </xsl:with-param>
  8394.       <xsl:with-param name="DY">
  8395.         <xsl:call-template name="templ_prop_APA_DateCourt_DY"/>
  8396.       </xsl:with-param>
  8397.     </xsl:call-template>
  8398.   </xsl:template>
  8399.  
  8400.   <xsl:template name="templateCPY">
  8401.     <xsl:call-template name="templateA">
  8402.       <xsl:with-param name="first" select="b:City"/>
  8403.       <xsl:with-param name="second" select="b:Publisher"/>
  8404.       <xsl:with-param name="third" select="b:Year"/>
  8405.     </xsl:call-template>
  8406.   </xsl:template>
  8407.  
  8408.   <xsl:template name="templateRIDC">
  8409.     <xsl:call-template name='PrintList'>
  8410.         <xsl:with-param name="list">
  8411.             <Items>
  8412.                 <TextItem>
  8413.                     <xsl:value-of select ="b:ThesisType"/>
  8414.                 </TextItem>
  8415.                 <TextItem>
  8416.                     <xsl:value-of select ="b:Institution"/>
  8417.                 </TextItem>
  8418.                 <TextItem>
  8419.                     <xsl:value-of select ="b:Department"/>
  8420.                 </TextItem>
  8421.                 <TextItem>
  8422.                     <xsl:value-of select ="b:City"/>
  8423.                 </TextItem>
  8424.             </Items>
  8425.         </xsl:with-param>
  8426.     </xsl:call-template>
  8427.   </xsl:template>
  8428.  
  8429.   <xsl:template name="templateCSCPu">
  8430.     <xsl:variable name="csc">
  8431.       <xsl:call-template name="templateCSC2"/>
  8432.     </xsl:variable>
  8433.     <xsl:call-template name="templateB">
  8434.       <xsl:with-param name="first" select="$csc"/>
  8435.       <xsl:with-param name="second" select="b:Publisher"/>
  8436.     </xsl:call-template>
  8437.   </xsl:template>
  8438.  
  8439.   <xsl:template name="templateCSCPr">
  8440.     <xsl:variable name="csc">
  8441.       <xsl:call-template name="templateCSC2"/>
  8442.     </xsl:variable>
  8443.  
  8444.     <xsl:variable name="producerName">
  8445.       <xsl:call-template name="formatProducerName"/>
  8446.     </xsl:variable>
  8447.  
  8448.     <xsl:variable name="prod">
  8449.       <xsl:choose>
  8450.         <xsl:when test="string-length($producerName)>0">
  8451.           <xsl:value-of select="$producerName"/>
  8452.         </xsl:when>
  8453.         <xsl:otherwise>
  8454.           <xsl:value-of select="b:ProductionCompany"/>
  8455.         </xsl:otherwise>
  8456.       </xsl:choose>
  8457.     </xsl:variable>
  8458.  
  8459.     <xsl:call-template name="templateB">
  8460.       <xsl:with-param name="first" select="$csc"/>
  8461.       <xsl:with-param name="second" select="$prod"/>
  8462.     </xsl:call-template>
  8463.   </xsl:template>
  8464.  
  8465.  
  8466.   <xsl:template name="templateID">
  8467.     <xsl:call-template name="templateC">
  8468.       <xsl:with-param name="first" select="b:Institution"/>
  8469.       <xsl:with-param name="second" select="b:Department"/>
  8470.     </xsl:call-template>
  8471.   </xsl:template>
  8472.  
  8473.   <xsl:template name="templateCP">
  8474.     <xsl:call-template name="templateB">
  8475.       <xsl:with-param name="first" select="b:City"/>
  8476.       <xsl:with-param name="second" select="b:Publisher"/>
  8477.     </xsl:call-template>
  8478.   </xsl:template>
  8479.  
  8480.   <xsl:template name="templateTCSC">
  8481.     <xsl:variable name="csc">
  8482.       <xsl:call-template name="templateCSC2"/>
  8483.     </xsl:variable>
  8484.     <xsl:call-template name="templateC">
  8485.       <xsl:with-param name="first" select="b:Theater"/>
  8486.       <xsl:with-param name="second" select="$csc"/>
  8487.     </xsl:call-template>
  8488.   </xsl:template>
  8489.  
  8490.   <xsl:template name="templateICSC">
  8491.     <xsl:variable name="csc">
  8492.       <xsl:call-template name="templateCSC2"/>
  8493.     </xsl:variable>
  8494.     <xsl:call-template name="templateC">
  8495.       <xsl:with-param name="first" select="b:Institution"/>
  8496.       <xsl:with-param name="second" select="$csc"/>
  8497.     </xsl:call-template>
  8498.   </xsl:template>
  8499.  
  8500.   <xsl:template name="templateCD">
  8501.     <xsl:call-template name="templateB">
  8502.       <xsl:with-param name="first" select="b:CountryRegion"/>
  8503.       <xsl:with-param name="second" select="b:Distributor"/>
  8504.     </xsl:call-template>
  8505.   </xsl:template>
  8506.  
  8507.   <xsl:template name="templateCPPn">
  8508.     <xsl:variable name="patentTemp">
  8509.       <xsl:call-template name="handleSpaces">
  8510.         <xsl:with-param name="field" select="b:PatentNumber"/>
  8511.       </xsl:call-template>
  8512.     </xsl:variable>
  8513.  
  8514.     <xsl:variable name="str_PatentCap">
  8515.       <xsl:call-template name="templ_str_PatentCap"/>
  8516.     </xsl:variable>
  8517.  
  8518.     <xsl:variable name="patent">
  8519.       <xsl:choose>
  8520.         <xsl:when test="string-length($patentTemp)>0">
  8521.           <xsl:call-template name="StringFormat">
  8522.             <xsl:with-param name="format" select="$str_PatentCap"/>
  8523.             <xsl:with-param name="parameters">
  8524.               <t:params>
  8525.                 <t:param>
  8526.                   <xsl:value-of select="$patentTemp"/>
  8527.                 </t:param>
  8528.               </t:params>
  8529.             </xsl:with-param>
  8530.           </xsl:call-template>
  8531.         </xsl:when>
  8532.       </xsl:choose>
  8533.     </xsl:variable>
  8534.     <xsl:call-template name="templateB">
  8535.       <xsl:with-param name="first" select="b:CountryRegion"/>
  8536.       <xsl:with-param name="second" select="$patent"/>
  8537.     </xsl:call-template>
  8538.   </xsl:template>
  8539.  
  8540.   <xsl:template name="templateCC">
  8541.     <xsl:call-template name="templateB">
  8542.       <xsl:with-param name="first" select="b:CountryRegion"/>
  8543.       <xsl:with-param name="second" select="b:Court"/>
  8544.     </xsl:call-template>
  8545.   </xsl:template>
  8546.  
  8547.   <xsl:template name="templateTV">
  8548.     <xsl:call-template name="templateCItalic">
  8549.       <xsl:with-param name="first" select="b:Title"/>
  8550.       <xsl:with-param name="second" select="b:Version"/>
  8551.     </xsl:call-template>
  8552.   </xsl:template>
  8553.  
  8554.   <xsl:template name="templateSC">
  8555.     <xsl:call-template name="templateC">
  8556.       <xsl:with-param name="first" select="b:Station"/>
  8557.       <xsl:with-param name="second" select="b:City"/>
  8558.     </xsl:call-template>
  8559.   </xsl:template>
  8560.  
  8561.  
  8562.   <xsl:template name="templatePVEP">
  8563.     <xsl:call-template name="templateF">
  8564.       <xsl:with-param name="first" select="b:PublicationTitle"/>
  8565.       <xsl:with-param name="second" select="b:Volume"/>
  8566.       <xsl:with-param name="third" select="b:Edition"/>
  8567.      
  8568.       <xsl:with-param name="fifth" select="b:Pages"/>
  8569.       <xsl:with-param name="thirdNoItalic" select="'yes'"/>
  8570.     </xsl:call-template>
  8571.   </xsl:template>
  8572.  
  8573.   <xsl:template name="templatePVIEP">
  8574.     <xsl:call-template name="templateF">
  8575.       <xsl:with-param name="first" select="b:PublicationTitle"/>
  8576.       <xsl:with-param name="second" select="b:Volume"/>
  8577.       <xsl:with-param name="third" select="b:Issue"/>
  8578.       <xsl:with-param name="fourth" select="b:Edition"/>
  8579.       <xsl:with-param name="fifth" select="b:Pages"/>
  8580.     </xsl:call-template>
  8581.   </xsl:template>
  8582.  
  8583.   <xsl:template name="templateJVIP">
  8584.     <xsl:call-template name="templateG">
  8585.       <xsl:with-param name="first" select="b:JournalName"/>
  8586.       <xsl:with-param name="second" select="b:Volume"/>
  8587.       <xsl:with-param name="third" select="b:Issue"/>
  8588.       <xsl:with-param name="fourth" select="b:Pages"/>
  8589.     </xsl:call-template>
  8590.   </xsl:template>
  8591.  
  8592.   <xsl:template name="templatePTVI">
  8593.     <xsl:param name="pages"/>
  8594.     <xsl:call-template name="templateG">
  8595.       <xsl:with-param name="first" select="b:PeriodicalTitle"/>
  8596.       <xsl:with-param name="second" select="b:Volume"/>
  8597.       <xsl:with-param name="third" select="b:Issue"/>
  8598.       <xsl:with-param name="fourth" select="$pages"/>
  8599.       <xsl:with-param name="addSpace" select="'yes'"/>
  8600.     </xsl:call-template>
  8601.   </xsl:template>
  8602.  
  8603.   <xsl:template name="templatePrP">
  8604.     <xsl:call-template name="templateH">
  8605.       <xsl:with-param name="first" select="b:BroadcastTitle"/>
  8606.       <xsl:with-param name="second" select="b:Pages"/>
  8607.     </xsl:call-template>
  8608.   </xsl:template>
  8609.  
  8610.  
  8611.  
  8612.  
  8613.  
  8614.   <xsl:template name="templateRDAFU">
  8615.  
  8616.  
  8617.     <xsl:variable name="dac">
  8618.       <xsl:call-template name="formatDateAccessed"/>
  8619.     </xsl:variable>
  8620.  
  8621.     <xsl:variable name="internetSiteTitleAndURL">
  8622.  
  8623.       <xsl:if test="string-length(b:InternetSiteTitle)>0">
  8624.         <xsl:if test="string-length(b:URL)>0">
  8625.           <xsl:value-of select="b:InternetSiteTitle"/>
  8626.         </xsl:if>
  8627.         <xsl:if test="string-length(b:URL)=0">
  8628.           <xsl:call-template name="appendField_Dot">
  8629.             <xsl:with-param name="field" select="b:InternetSiteTitle"/>
  8630.           </xsl:call-template>
  8631.         </xsl:if>
  8632.       </xsl:if>
  8633.  
  8634.       <xsl:if test="string-length(b:InternetSiteTitle)>0 and string-length(b:URL)>0">
  8635.         <xsl:call-template name="templ_prop_EnumSeparator"/>
  8636.       </xsl:if>
  8637.  
  8638.       <xsl:if test="string-length(b:URL)>0">
  8639.         <xsl:value-of select="b:URL"/>
  8640.       </xsl:if>
  8641.     </xsl:variable>
  8642.  
  8643.     <xsl:variable name="str_RetrievedFromCap">
  8644.       <xsl:call-template name="templ_str_RetrievedFromCap"/>
  8645.     </xsl:variable>
  8646.  
  8647.     <xsl:variable name="str_RetrievedCap">
  8648.       <xsl:call-template name="templ_str_RetrievedCap"/>
  8649.     </xsl:variable>
  8650.  
  8651.     <xsl:variable name="str_FromCap">
  8652.       <xsl:call-template name="templ_str_FromCap"/>
  8653.     </xsl:variable>
  8654.  
  8655.     <xsl:variable name="temp">
  8656.       <xsl:choose>
  8657.         <xsl:when test="string-length($dac)>0 and string-length($internetSiteTitleAndURL)>0">
  8658.           <xsl:call-template name="StringFormat">
  8659.             <xsl:with-param name="format" select="$str_RetrievedFromCap"/>
  8660.             <xsl:with-param name="parameters">
  8661.               <t:params>
  8662.                 <t:param>
  8663.                   <xsl:value-of select="$dac"/>
  8664.                 </t:param>
  8665.                 <t:param>
  8666.                   <xsl:value-of select="$internetSiteTitleAndURL"/>
  8667.                 </t:param>
  8668.               </t:params>
  8669.             </xsl:with-param>
  8670.           </xsl:call-template>
  8671.         </xsl:when>
  8672.  
  8673.         <xsl:when test="string-length($dac)>0">
  8674.           <xsl:call-template name="StringFormat">
  8675.             <xsl:with-param name="format" select="$str_RetrievedCap"/>
  8676.             <xsl:with-param name="parameters">
  8677.               <t:params>
  8678.                 <t:param>
  8679.                   <xsl:value-of select="$dac"/>
  8680.                 </t:param>
  8681.               </t:params>
  8682.             </xsl:with-param>
  8683.           </xsl:call-template>
  8684.         </xsl:when>
  8685.  
  8686.         <xsl:when test="string-length($internetSiteTitleAndURL)>0">
  8687.           <xsl:call-template name="StringFormat">
  8688.             <xsl:with-param name="format" select="$str_FromCap"/>
  8689.             <xsl:with-param name="parameters">
  8690.               <t:params>
  8691.                 <t:param>
  8692.                   <xsl:value-of select="$internetSiteTitleAndURL"/>
  8693.                 </t:param>
  8694.               </t:params>
  8695.             </xsl:with-param>
  8696.           </xsl:call-template>
  8697.         </xsl:when>
  8698.       </xsl:choose>
  8699.     </xsl:variable>
  8700.     <xsl:value-of select="$temp"/>
  8701.   </xsl:template>
  8702.  
  8703.   <xsl:template name="handleHyphens">
  8704.     <xsl:param name="name"/>
  8705.  
  8706.     <xsl:variable name="prop_APA_Hyphens">
  8707.       <xsl:call-template name="templ_prop_Hyphens"/>
  8708.     </xsl:variable>
  8709.  
  8710.     <xsl:if test="string-length($name)>=2">
  8711.       <xsl:choose>
  8712.         <xsl:when test="contains($prop_APA_Hyphens, substring($name, 1, 1))">
  8713.           <xsl:value-of select="substring($name, 1, 2)"/>
  8714.           <xsl:call-template name="templ_prop_DotInitial"/>
  8715.  
  8716.           <xsl:call-template name="handleHyphens">
  8717.             <xsl:with-param name="name" select="substring($name, 3)"/>
  8718.           </xsl:call-template>
  8719.         </xsl:when>
  8720.  
  8721.         <xsl:otherwise>
  8722.           <xsl:call-template name="handleHyphens">
  8723.             <xsl:with-param name="name" select="substring($name, 2)"/>
  8724.           </xsl:call-template>
  8725.         </xsl:otherwise>
  8726.       </xsl:choose>
  8727.  
  8728.     </xsl:if>
  8729.  
  8730.   </xsl:template>
  8731.  
  8732.   <xsl:template name="formatNameInitial">
  8733.     <xsl:param name="name"/>
  8734.     <xsl:variable name="temp">
  8735.       <xsl:call-template name="handleSpaces">
  8736.         <xsl:with-param name="field" select="$name"/>
  8737.       </xsl:call-template>
  8738.     </xsl:variable>
  8739.  
  8740.     <xsl:variable name="prop_APA_Hyphens">
  8741.       <xsl:call-template name="templ_prop_Hyphens"/>
  8742.     </xsl:variable>
  8743.  
  8744.     <xsl:if test="string-length($temp)>0">
  8745.  
  8746.       <xsl:variable name="tempWithoutSpaces">
  8747.         <xsl:value-of select="translate($temp, '&#32;&#160;', '')"/>
  8748.        
  8749.       </xsl:variable>
  8750.  
  8751.       <xsl:if test="not(contains($prop_APA_Hyphens, substring($tempWithoutSpaces, 1, 1)))">
  8752.         <xsl:value-of select="substring($tempWithoutSpaces, 1, 1)"/>
  8753.         <xsl:call-template name="templ_prop_DotInitial"/>
  8754.       </xsl:if>
  8755.  
  8756.       <xsl:call-template name="handleHyphens">
  8757.         <xsl:with-param name="name" select="$tempWithoutSpaces"/>
  8758.       </xsl:call-template>
  8759.     </xsl:if>
  8760.   </xsl:template>
  8761.  
  8762.  
  8763.  
  8764.   <xsl:template name="formatNameOneItem">
  8765.     <xsl:param name="format"/>
  8766.  
  8767.     <xsl:choose>
  8768.       <xsl:when test="$format = 'F'">
  8769.         <xsl:value-of select="b:First"/>
  8770.       </xsl:when>
  8771.       <xsl:when test="$format = 'L'">
  8772.         <xsl:value-of select="b:Last"/>
  8773.       </xsl:when>
  8774.       <xsl:when test="$format = 'M'">
  8775.         <xsl:value-of select="b:Middle"/>
  8776.       </xsl:when>
  8777.       <xsl:when test="$format = 'f'">
  8778.         <xsl:call-template name="formatNameInitial">
  8779.           <xsl:with-param name="name" select="b:First"/>
  8780.         </xsl:call-template>
  8781.       </xsl:when>
  8782.       <xsl:when test="$format = 'm'">
  8783.         <xsl:call-template name="formatNameInitial">
  8784.           <xsl:with-param name="name" select="b:Middle"/>
  8785.         </xsl:call-template>
  8786.       </xsl:when>
  8787.       <xsl:when test="$format = 'l'">
  8788.         <xsl:call-template name="formatNameInitial">
  8789.           <xsl:with-param name="name" select="b:Last"/>
  8790.         </xsl:call-template>
  8791.       </xsl:when>
  8792.     </xsl:choose>
  8793.  
  8794.   </xsl:template>
  8795.  
  8796.  
  8797.   <xsl:template name="formatMainAuthor">
  8798.     <xsl:call-template name="formatNameCore">
  8799.       <xsl:with-param name="FML">
  8800.         <xsl:call-template name="templ_prop_APA_MainAuthors_FML"/>
  8801.       </xsl:with-param>
  8802.       <xsl:with-param name="FM">
  8803.         <xsl:call-template name="templ_prop_APA_MainAuthors_FM"/>
  8804.       </xsl:with-param>
  8805.       <xsl:with-param name="ML">
  8806.         <xsl:call-template name="templ_prop_APA_MainAuthors_ML"/>
  8807.       </xsl:with-param>
  8808.       <xsl:with-param name="FL">
  8809.         <xsl:call-template name="templ_prop_APA_MainAuthors_FL"/>
  8810.       </xsl:with-param>
  8811.       <xsl:with-param name="upperLast">no</xsl:with-param>
  8812.       <xsl:with-param name="withDot">yes</xsl:with-param>
  8813.  
  8814.     </xsl:call-template>
  8815.   </xsl:template>
  8816.  
  8817.  
  8818.   <xsl:template name="formatSecondaryName">
  8819.     <xsl:call-template name="formatNameCore">
  8820.       <xsl:with-param name="FML">
  8821.         <xsl:call-template name="templ_prop_APA_SecondaryAuthors_FML"/>
  8822.       </xsl:with-param>
  8823.       <xsl:with-param name="FM">
  8824.         <xsl:call-template name="templ_prop_APA_SecondaryAuthors_FM"/>
  8825.       </xsl:with-param>
  8826.       <xsl:with-param name="ML">
  8827.         <xsl:call-template name="templ_prop_APA_SecondaryAuthors_ML"/>
  8828.       </xsl:with-param>
  8829.       <xsl:with-param name="FL">
  8830.         <xsl:call-template name="templ_prop_APA_SecondaryAuthors_FL"/>
  8831.       </xsl:with-param>
  8832.       <xsl:with-param name="upperLast">no</xsl:with-param>
  8833.       <xsl:with-param name="withDot">yes</xsl:with-param>
  8834.     </xsl:call-template>
  8835.   </xsl:template>
  8836.  
  8837.   <xsl:template name="formatPersonSeperatorMain">
  8838.     <xsl:param name="isLast"/>
  8839.  
  8840.     <xsl:choose>
  8841.       <xsl:when test="6 >= count(../b:Person) and position() = count(../b:Person) - 1">
  8842.         <xsl:variable name="noCommaBeforeAnd">
  8843.           <xsl:call-template name="templ_prop_NoCommaBeforeAnd" />
  8844.         </xsl:variable>
  8845.         <xsl:choose>
  8846.           <xsl:when test="$noCommaBeforeAnd != 'yes'">
  8847.             <xsl:call-template name="templ_prop_AuthorsSeparator"/>
  8848.           </xsl:when>
  8849.           <xsl:otherwise>
  8850.             <xsl:call-template name="templ_prop_Space"/>
  8851.           </xsl:otherwise>
  8852.         </xsl:choose>
  8853.  
  8854.         <xsl:if test="string-length($isLast)=0 or $isLast=true()">
  8855.           <xsl:call-template name="templ_prop_APA_BeforeLastAuthor"/>
  8856.           <xsl:call-template name="templ_prop_Space"/>
  8857.         </xsl:if>
  8858.       </xsl:when>
  8859.       <xsl:when test="6 > position() and position() != count(../b:Person)">
  8860.         <xsl:call-template name="templ_prop_AuthorsSeparator"/>
  8861.       </xsl:when>
  8862.       <xsl:when test="count(../b:Person) > 6 and position() = count(../b:Person)">
  8863.         <xsl:variable name="noCommaBeforeAnd">
  8864.           <xsl:call-template name="templ_prop_NoCommaBeforeAnd" />
  8865.         </xsl:variable>
  8866.         <xsl:choose>
  8867.           <xsl:when test="$noCommaBeforeAnd != 'yes'">
  8868.             <xsl:call-template name="templ_prop_AuthorsSeparator"/>
  8869.           </xsl:when>
  8870.           <xsl:otherwise>
  8871.             <xsl:call-template name="templ_prop_Space"/>
  8872.           </xsl:otherwise>
  8873.         </xsl:choose>
  8874.         <xsl:call-template name="templ_str_AndOthersUnCap"/>
  8875.       </xsl:when>
  8876.       <xsl:when test="position()>6">
  8877.       </xsl:when>
  8878.     </xsl:choose>
  8879.   </xsl:template>
  8880.  
  8881.   <xsl:template name="formatPersonSeperatorSecondary">
  8882.     <xsl:param name="isLast"/>
  8883.  
  8884.     <xsl:choose>
  8885.       <xsl:when test="6 >= count(../b:Person) and position() = count(../b:Person) - 1">
  8886.         <xsl:variable name="noCommaBeforeAnd">
  8887.           <xsl:call-template name="templ_prop_NoCommaBeforeAnd" />
  8888.         </xsl:variable>
  8889.         <xsl:choose>
  8890.           <xsl:when test="$noCommaBeforeAnd != 'yes'">
  8891.             <xsl:call-template name="templ_prop_AuthorsSeparator"/>
  8892.           </xsl:when>
  8893.           <xsl:otherwise>
  8894.             <xsl:call-template name="templ_prop_Space"/>
  8895.           </xsl:otherwise>
  8896.         </xsl:choose>
  8897.         <xsl:if test="string-length($isLast)=0 or $isLast=true()">
  8898.           <xsl:call-template name="templ_prop_APA_BeforeLastAuthor"/>
  8899.           <xsl:call-template name="templ_prop_Space"/>
  8900.         </xsl:if>
  8901.       </xsl:when>
  8902.       <xsl:when test="6 > position() and position() != count(../b:Person)">
  8903.         <xsl:call-template name="templ_prop_AuthorsSeparator"/>
  8904.       </xsl:when>
  8905.       <xsl:when test="count(../b:Person) > 6 and position() = count(../b:Person)">
  8906.         <xsl:variable name="noCommaBeforeAnd">
  8907.           <xsl:call-template name="templ_prop_NoCommaBeforeAnd" />
  8908.         </xsl:variable>
  8909.         <xsl:choose>
  8910.           <xsl:when test="$noCommaBeforeAnd != 'yes'">
  8911.             <xsl:call-template name="templ_prop_AuthorsSeparator"/>
  8912.           </xsl:when>
  8913.           <xsl:otherwise>
  8914.             <xsl:call-template name="templ_prop_Space"/>
  8915.           </xsl:otherwise>
  8916.         </xsl:choose>
  8917.         <xsl:call-template name="templ_str_AndOthersUnCap"/>
  8918.       </xsl:when>
  8919.       <xsl:when test="position()>6">
  8920.       </xsl:when>
  8921.     </xsl:choose>
  8922.   </xsl:template>
  8923.  
  8924.  
  8925.   <xsl:template name="formatPersonsAuthor">
  8926.     <xsl:if test="string-length(b:Corporate)=0">
  8927.         <xsl:for-each select="b:NameList/b:Person">
  8928.           <xsl:if test="position() = 1">
  8929.             <xsl:call-template name="formatMainAuthor"/>
  8930.           </xsl:if>
  8931.           <xsl:if test="6 >= position() and position() != 1">
  8932.             <xsl:call-template name="formatMainAuthor"/>
  8933.           </xsl:if>
  8934.           <xsl:call-template name="formatPersonSeperatorMain"/>
  8935.         </xsl:for-each>
  8936.     </xsl:if>
  8937.  
  8938.     <xsl:if test="string-length(b:Corporate)>0">
  8939.         <xsl:value-of select="b:Corporate"/>
  8940.     </xsl:if>
  8941.   </xsl:template>
  8942.  
  8943.   <xsl:template name="formatPersons">
  8944.     <xsl:if test="string-length(b:Corporate)=0">
  8945.         <xsl:for-each select="b:NameList/b:Person">
  8946.           <xsl:if test="position() = 1">
  8947.             <xsl:call-template name="formatSecondaryName"/>
  8948.           </xsl:if>
  8949.           <xsl:if test="6 >= position() and position() != 1">
  8950.             <xsl:call-template name="formatSecondaryName"/>
  8951.           </xsl:if>
  8952.           <xsl:call-template name="formatPersonSeperatorSecondary"/>
  8953.         </xsl:for-each>
  8954.     </xsl:if>    
  8955.    
  8956.     <xsl:if test="string-length(b:Corporate)>0">
  8957.         <xsl:value-of select="b:Corporate"/>
  8958.     </xsl:if>    
  8959.   </xsl:template>
  8960.  
  8961.   <xsl:template name="formatPersons2">
  8962.     <xsl:param name="name"/>
  8963.     <xsl:param name="before"/>
  8964.     <xsl:param name="isLast"/>
  8965.  
  8966.     <xsl:if test="string-length(b:Author/*[local-name()=$name]/b:Corporate)=0">
  8967.         <xsl:for-each select="b:Author/*[local-name()=$name]/b:NameList/b:Person">
  8968.           <xsl:if test="position() = 1">
  8969.             <xsl:if test="$before=true() and $isLast=true() and count(../b:Person) = 1">
  8970.               <xsl:call-template name="templ_prop_APA_BeforeLastAuthor"/>
  8971.               <xsl:call-template name="templ_prop_Space"/>
  8972.             </xsl:if>
  8973.             <xsl:call-template name="formatSecondaryName"/>
  8974.           </xsl:if>
  8975.           <xsl:if test="6 >= position() and position() != 1">
  8976.             <xsl:call-template name="formatSecondaryName"/>
  8977.           </xsl:if>
  8978.           <xsl:call-template name="formatPersonSeperatorSecondary">
  8979.             <xsl:with-param name="isLast" select="$isLast"/>
  8980.           </xsl:call-template>
  8981.         </xsl:for-each>
  8982.     </xsl:if>
  8983.  
  8984.     <xsl:if test="string-length(b:Author/*[local-name()=$name]/b:Corporate)>0">
  8985.         <xsl:value-of select="b:Author/*[local-name()=$name]/b:Corporate"/>
  8986.     </xsl:if>
  8987.   </xsl:template>
  8988.  
  8989.  
  8990.   <xsl:template name="formatPersonsAuthor2">
  8991.     <xsl:param name="name"/>
  8992.     <xsl:param name="before"/>
  8993.     <xsl:param name="isLast"/>
  8994.  
  8995.     <xsl:if test="string-length(b:Author/*[local-name()=$name]/b:Corporate)=0">
  8996.         <xsl:for-each select="b:Author/*[local-name()=$name]/b:NameList/b:Person">
  8997.           <xsl:if test="position() = 1">
  8998.             <xsl:if test="$before=true() and $isLast=true() and count(../b:Person) = 1">
  8999.               <xsl:call-template name="templ_prop_APA_BeforeLastAuthor"/>
  9000.               <xsl:call-template name="templ_prop_Space"/>
  9001.             </xsl:if>
  9002.             <xsl:call-template name="formatMainAuthor"/>
  9003.           </xsl:if>
  9004.           <xsl:if test="6 >= position() and position() != 1">
  9005.             <xsl:call-template name="formatMainAuthor"/>
  9006.           </xsl:if>
  9007.           <xsl:call-template name="formatPersonSeperatorMain">
  9008.             <xsl:with-param name="isLast" select="$isLast"/>
  9009.           </xsl:call-template>
  9010.         </xsl:for-each>
  9011.     </xsl:if>    
  9012.    
  9013.     <xsl:if test="string-length(b:Author/*[local-name()=$name]/b:Corporate)>0">
  9014.         <xsl:value-of select="b:Author/*[local-name()=$name]/b:Corporate"/>
  9015.     </xsl:if>    
  9016.   </xsl:template>
  9017.  
  9018.  
  9019.  
  9020.  
  9021.   <xsl:template name="formatProducerName">
  9022.     <xsl:for-each select="b:Author/b:ProducerName">
  9023.       <xsl:call-template name="formatPersons"/>
  9024.     </xsl:for-each>
  9025.   </xsl:template>
  9026.  
  9027.   <xsl:template name="formatAuthor">
  9028.     <xsl:for-each select="b:Author/b:Author">
  9029.       <xsl:call-template name="formatPersonsAuthor"/>
  9030.     </xsl:for-each>
  9031.   </xsl:template>
  9032.  
  9033.   <xsl:template name="formatEditorLF">
  9034.     <xsl:for-each select="b:Author/b:Editor">
  9035.       <xsl:call-template name="formatPersonsAuthor"/>
  9036.     </xsl:for-each>
  9037.   </xsl:template>
  9038.  
  9039.   <xsl:template name="formatEditor">
  9040.     <xsl:for-each select="b:Author/b:Editor">
  9041.       <xsl:call-template name="formatPersons"/>
  9042.     </xsl:for-each>
  9043.   </xsl:template>
  9044.  
  9045.   <xsl:template name="formatTranslator">
  9046.     <xsl:for-each select="b:Author/b:Translator">
  9047.       <xsl:call-template name="formatPersons"/>
  9048.     </xsl:for-each>
  9049.   </xsl:template>
  9050.  
  9051.   <xsl:template name="formatTranslatorLF">
  9052.     <xsl:for-each select="b:Author/b:Translator">
  9053.       <xsl:call-template name="formatPersonsAuthor"/>
  9054.     </xsl:for-each>
  9055.   </xsl:template>
  9056.  
  9057.  
  9058.  
  9059.  
  9060.   <xsl:template name="formatManySecondary">
  9061.  
  9062.     <xsl:param name="useSquareBrackets"/>
  9063.  
  9064.     <xsl:param name="name1"/>
  9065.     <xsl:param name="sufixS1"/>
  9066.     <xsl:param name="sufixM1"/>
  9067.  
  9068.     <xsl:param name="name2"/>
  9069.     <xsl:param name="sufixS2"/>
  9070.     <xsl:param name="sufixM2"/>
  9071.  
  9072.     <xsl:param name="name3"/>
  9073.     <xsl:param name="sufixS3"/>
  9074.     <xsl:param name="sufixM3"/>
  9075.  
  9076.         <xsl:param name="special3"/>
  9077.    
  9078.         <xsl:variable name="count1">
  9079.             <xsl:if test="string-length($name1)>0">
  9080.                 <xsl:if  test="string-length(b:Author/*[local-name()=$name1]/b:Corporate)>0">
  9081.                     <xsl:text>1</xsl:text>
  9082.                 </xsl:if>
  9083.                 <xsl:if  test="string-length(b:Author/*[local-name()=$name1]/b:Corporate)=0">
  9084.                     <xsl:value-of select="count(b:Author/*[local-name()=$name1]/b:NameList/b:Person)"/>
  9085.                 </xsl:if>
  9086.             </xsl:if>
  9087.             <xsl:if test="string-length($name1)=0">
  9088.                 <xsl:text>0</xsl:text>
  9089.             </xsl:if>
  9090.         </xsl:variable>
  9091.  
  9092.         <xsl:variable name="count2">
  9093.             <xsl:if test="string-length($name2)>0">
  9094.                 <xsl:if  test="string-length(b:Author/*[local-name()=$name2]/b:Corporate)>0">
  9095.                     <xsl:text>1</xsl:text>
  9096.                 </xsl:if>
  9097.                 <xsl:if  test="string-length(b:Author/*[local-name()=$name2]/b:Corporate)=0">
  9098.                     <xsl:value-of select="count(b:Author/*[local-name()=$name2]/b:NameList/b:Person)"/>
  9099.                 </xsl:if>
  9100.             </xsl:if>
  9101.             <xsl:if test="string-length($name2)=0">
  9102.                 <xsl:text>0</xsl:text>
  9103.             </xsl:if>
  9104.         </xsl:variable>
  9105.  
  9106.         <xsl:variable name="count3">
  9107.             <xsl:choose>
  9108.                 <xsl:when test="string-length($name3)>0">
  9109.                     <xsl:if  test="string-length(b:Author/*[local-name()=$name3]/b:Corporate)>0">
  9110.                         <xsl:text>1</xsl:text>
  9111.                     </xsl:if>
  9112.                     <xsl:if  test="string-length(b:Author/*[local-name()=$name3]/b:Corporate)=0">
  9113.                         <xsl:value-of select="count(b:Author/*[local-name()=$name3]/b:NameList/b:Person)"/>
  9114.                     </xsl:if>
  9115.                 </xsl:when>
  9116.                 <xsl:when test="string-length($special3)>0">
  9117.                     <xsl:text>1</xsl:text>
  9118.                 </xsl:when>
  9119.                 <xsl:otherwise>
  9120.                     <xsl:text>0</xsl:text>
  9121.                 </xsl:otherwise>
  9122.             </xsl:choose>
  9123.         </xsl:variable>
  9124.  
  9125.         <xsl:if test="$count1 + $count2 + $count3 > 0">
  9126.  
  9127.             <xsl:choose>
  9128.                 <xsl:when test = "$useSquareBrackets = 'yes'">
  9129.                     <xsl:call-template name="templ_prop_APA_SecondaryOpen"/>
  9130.                 </xsl:when>
  9131.                 <xsl:otherwise>
  9132.                     <xsl:call-template name="templ_prop_APA_GeneralOpen"/>
  9133.                 </xsl:otherwise>
  9134.             </xsl:choose>
  9135.  
  9136.             <xsl:if test="$count1 > 0">
  9137.                 <xsl:call-template name="formatPersons2">
  9138.                     <xsl:with-param name="name" select="$name1"/>
  9139.                     <xsl:with-param name="before" select="false()"/>
  9140.                     <xsl:with-param name="isLast" select="$count2 + $count3 = 0"/>
  9141.                 </xsl:call-template>
  9142.  
  9143.                 <xsl:if test="$count1 = 1">
  9144.                     <xsl:if test="string-length($sufixS1)>0">
  9145.                         <xsl:value-of select="$sufixS1"/>
  9146.                     </xsl:if>
  9147.                 </xsl:if>
  9148.  
  9149.                 <xsl:if test="$count1 > 1">
  9150.                     <xsl:if test="string-length($sufixM1)>0">
  9151.                         <xsl:value-of select="$sufixM1"/>
  9152.                     </xsl:if>
  9153.                 </xsl:if>
  9154.             </xsl:if>
  9155.  
  9156.             <xsl:if test="$count2 > 0">
  9157.            
  9158.                 <xsl:if test="$count1 > 0">
  9159.                     <xsl:call-template name="templ_prop_AuthorsSeparator"/>
  9160.                 </xsl:if>
  9161.            
  9162.                 <xsl:call-template name="formatPersons2">
  9163.                     <xsl:with-param name="name" select="$name2"/>
  9164.                     <xsl:with-param name="before" select="$count1>0"/>
  9165.                     <xsl:with-param name="isLast" select="$count3=0"/>
  9166.                 </xsl:call-template>
  9167.  
  9168.                 <xsl:if test="$count2 = 1">
  9169.                     <xsl:if test="string-length($sufixS2)>0">
  9170.                         <xsl:value-of select="$sufixS2"/>
  9171.                     </xsl:if>
  9172.                 </xsl:if>
  9173.  
  9174.                 <xsl:if test="$count2 > 1">
  9175.                     <xsl:if test="string-length($sufixM2)>0">
  9176.                         <xsl:value-of select="$sufixM2"/>
  9177.                     </xsl:if>
  9178.                 </xsl:if>
  9179.             </xsl:if>
  9180.            
  9181.             <xsl:choose>
  9182.                 <xsl:when test="$count3 > 0 and string-length($special3) = 0">
  9183.                
  9184.                     <xsl:if test="$count1 + $count2 > 0">
  9185.                         <xsl:call-template name="templ_prop_AuthorsSeparator"/>
  9186.                     </xsl:if>
  9187.                
  9188.                     <xsl:call-template name="formatPersons2">
  9189.                         <xsl:with-param name="name" select="$name3"/>
  9190.                         <xsl:with-param name="before" select="$count1+$count2>0"/>
  9191.                         <xsl:with-param name="isLast" select="true()"/>
  9192.                     </xsl:call-template>
  9193.  
  9194.                     <xsl:if test="$count3 = 1">
  9195.                         <xsl:if test="string-length($sufixS3)>0">
  9196.                             <xsl:value-of select="$sufixS3"/>
  9197.                         </xsl:if>
  9198.                     </xsl:if>
  9199.  
  9200.                     <xsl:if test="$count3 > 1">
  9201.                         <xsl:if test="string-length($sufixM3)>0">
  9202.                             <xsl:value-of select="$sufixM3"/>
  9203.                         </xsl:if>
  9204.                     </xsl:if>
  9205.                 </xsl:when>
  9206.  
  9207.                 <xsl:when test="string-length($special3) > 0">
  9208.                     <xsl:if test="$count1 + $count2">
  9209.                         <xsl:call-template name="templ_prop_AuthorsSeparator"/>
  9210.                         <xsl:call-template name="templ_prop_APA_BeforeLastAuthor"/>
  9211.                         <xsl:call-template name="templ_prop_Space"/>
  9212.                     </xsl:if>
  9213.  
  9214.                     <xsl:value-of select="$special3"/>
  9215.  
  9216.                 </xsl:when>
  9217.             </xsl:choose>
  9218.  
  9219.             <xsl:choose>
  9220.                 <xsl:when test = "$useSquareBrackets = 'yes'">
  9221.                     <xsl:call-template name="templ_prop_APA_SecondaryClose"/>
  9222.                 </xsl:when>
  9223.                 <xsl:otherwise>
  9224.                     <xsl:call-template name="templ_prop_APA_GeneralClose"/>
  9225.                 </xsl:otherwise>
  9226.             </xsl:choose>
  9227.  
  9228.         </xsl:if>
  9229.  
  9230.        
  9231.     </xsl:template>
  9232.  
  9233.  
  9234.     <xsl:template name="formatManyMain">
  9235.    
  9236.         <xsl:param name="name1"/>
  9237.         <xsl:param name="sufixS1"/>
  9238.         <xsl:param name="sufixM1"/>
  9239.  
  9240.         <xsl:param name="name2"/>
  9241.         <xsl:param name="sufixS2"/>
  9242.         <xsl:param name="sufixM2"/>
  9243.  
  9244.         <xsl:param name="name3"/>
  9245.         <xsl:param name="sufixS3"/>
  9246.         <xsl:param name="sufixM3"/>
  9247.    
  9248.         <xsl:variable name="count1">
  9249.             <xsl:if test="string-length($name1)>0">
  9250.                 <xsl:if test="string-length(b:Author/*[local-name()=$name1]/b:Corporate)>0">
  9251.                     <xsl:text>1</xsl:text>
  9252.                 </xsl:if>
  9253.                 <xsl:if test="string-length(b:Author/*[local-name()=$name1]/b:Corporate)=0">
  9254.                     <xsl:value-of select="count(b:Author/*[local-name()=$name1]/b:NameList/b:Person)"/>
  9255.                 </xsl:if>
  9256.             </xsl:if>
  9257.             <xsl:if test="string-length($name1)=0">
  9258.                 <xsl:text>0</xsl:text>
  9259.             </xsl:if>
  9260.         </xsl:variable>
  9261.  
  9262.         <xsl:variable name="count2">
  9263.             <xsl:if test="string-length($name2)>0">
  9264.                 <xsl:if  test="string-length(b:Author/*[local-name()=$name2]/b:Corporate)>0">
  9265.                     <xsl:text>1</xsl:text>
  9266.                 </xsl:if>
  9267.                 <xsl:if  test="string-length(b:Author/*[local-name()=$name2]/b:Corporate)=0">
  9268.                     <xsl:value-of select="count(b:Author/*[local-name()=$name2]/b:NameList/b:Person)"/>
  9269.                 </xsl:if>
  9270.             </xsl:if>
  9271.             <xsl:if test="string-length($name2)=0">
  9272.                 <xsl:text>0</xsl:text>
  9273.             </xsl:if>
  9274.         </xsl:variable>
  9275.  
  9276.         <xsl:variable name="count3">
  9277.             <xsl:if test="string-length($name3)>0">
  9278.                 <xsl:if  test="string-length(b:Author/*[local-name()=$name3]/b:Corporate)>0">
  9279.                     <xsl:text>1</xsl:text>
  9280.                 </xsl:if>
  9281.                 <xsl:if  test="string-length(b:Author/*[local-name()=$name3]/b:Corporate)=0">
  9282.                     <xsl:value-of select="count(b:Author/*[local-name()=$name3]/b:NameList/b:Person)"/>
  9283.                 </xsl:if>
  9284.             </xsl:if>
  9285.             <xsl:if test="string-length($name3)=0">
  9286.                 <xsl:text>0</xsl:text>
  9287.             </xsl:if>
  9288.         </xsl:variable>
  9289.  
  9290.         <xsl:if test="$count1 + $count2 + $count3 > 0">
  9291.  
  9292.             <xsl:if test="$count1 > 0">
  9293.                 <xsl:call-template name="formatPersonsAuthor2">
  9294.                     <xsl:with-param name="name" select="$name1"/>
  9295.                     <xsl:with-param name="before" select="false()"/>
  9296.                     <xsl:with-param name="isLast" select="$count2 + $count3 = 0"/>
  9297.                 </xsl:call-template>
  9298.  
  9299.                 <xsl:if test="$count1 = 1">
  9300.                     <xsl:if test="string-length($sufixS1)>0">
  9301.                         <xsl:value-of select="$sufixS1"/>
  9302.                     </xsl:if>
  9303.                 </xsl:if>
  9304.  
  9305.                 <xsl:if test="$count1 > 1">
  9306.                     <xsl:if test="string-length($sufixM1)>0">
  9307.                         <xsl:value-of select="$sufixM1"/>
  9308.                     </xsl:if>
  9309.                 </xsl:if>
  9310.             </xsl:if>
  9311.  
  9312.             <xsl:if test="$count2 > 0">
  9313.            
  9314.                 <xsl:if test="$count1 > 0">
  9315.                     <xsl:call-template name="templ_prop_AuthorsSeparator"/>
  9316.                 </xsl:if>
  9317.            
  9318.                 <xsl:call-template name="formatPersonsAuthor2">
  9319.                     <xsl:with-param name="name" select="$name2"/>
  9320.                     <xsl:with-param name="before" select="$count1>0"/>
  9321.                     <xsl:with-param name="isLast" select="$count3=0"/>
  9322.                 </xsl:call-template>
  9323.  
  9324.                 <xsl:if test="$count2 = 1">
  9325.                     <xsl:if test="string-length($sufixS2)>0">
  9326.                         <xsl:value-of select="$sufixS2"/>
  9327.                     </xsl:if>
  9328.                 </xsl:if>
  9329.  
  9330.                 <xsl:if test="$count2 > 1">
  9331.                     <xsl:if test="string-length($sufixM2)>0">
  9332.                         <xsl:value-of select="$sufixM2"/>
  9333.                     </xsl:if>
  9334.                 </xsl:if>
  9335.             </xsl:if>
  9336.  
  9337.             <xsl:if test="$count3 > 0">
  9338.            
  9339.                 <xsl:if test="$count1 + $count2 > 0">
  9340.                     <xsl:call-template name="templ_prop_AuthorsSeparator"/>
  9341.                 </xsl:if>
  9342.            
  9343.                 <xsl:call-template name="formatPersonsAuthor2">
  9344.                     <xsl:with-param name="name" select="$name3"/>
  9345.                     <xsl:with-param name="before" select="$count1+$count2>0"/>
  9346.                     <xsl:with-param name="isLast" select="true()"/>
  9347.                 </xsl:call-template>
  9348.  
  9349.                 <xsl:if test="$count3 = 1">
  9350.                     <xsl:if test="string-length($sufixS3)>0">
  9351.                         <xsl:value-of select="$sufixS3"/>
  9352.                     </xsl:if>
  9353.                 </xsl:if>
  9354.  
  9355.                 <xsl:if test="$count3 > 1">
  9356.                     <xsl:if test="string-length($sufixM3)>0">
  9357.                         <xsl:value-of select="$sufixM3"/>
  9358.                     </xsl:if>
  9359.                 </xsl:if>
  9360.             </xsl:if>
  9361.  
  9362.             <xsl:call-template name="templ_prop_Dot"/>
  9363.  
  9364.         </xsl:if>
  9365.  
  9366.        
  9367.     </xsl:template>
  9368.  
  9369.  
  9370.  
  9371.  
  9372.  
  9373.     <xsl:template name="formatBookAuthor">
  9374.         <xsl:for-each select="b:Author/b:BookAuthor">
  9375.             <xsl:call-template name="formatPersonsAuthor"/>
  9376.         </xsl:for-each>
  9377.     </xsl:template>
  9378.  
  9379.  
  9380.    
  9381.  
  9382.     <xsl:template name="formatPerformerLF">
  9383.         <xsl:for-each select="b:Author/b:Performer">
  9384.             <xsl:call-template name="formatPersonsAuthor"/>
  9385.         </xsl:for-each>
  9386.     </xsl:template>
  9387.  
  9388.     <xsl:template name="formatConductorLF">
  9389.         <xsl:for-each select="b:Author/b:Conductor">
  9390.             <xsl:call-template name="formatPersonsAuthor"/>
  9391.         </xsl:for-each>
  9392.     </xsl:template>
  9393.  
  9394.     <xsl:template name="formatComposerLF">
  9395.         <xsl:for-each select="b:Author/b:Composer">
  9396.             <xsl:call-template name="formatPersonsAuthor"/>
  9397.         </xsl:for-each>
  9398.     </xsl:template>
  9399.  
  9400.     <xsl:template name="formatArtistLF">
  9401.         <xsl:for-each select="b:Author/b:Artist">
  9402.             <xsl:call-template name="formatPersonsAuthor"/>
  9403.         </xsl:for-each>
  9404.     </xsl:template>
  9405.  
  9406.  
  9407.     <xsl:template name="formatInventorLF">
  9408.         <xsl:for-each select="b:Author/b:Inventor">
  9409.             <xsl:call-template name="formatPersonsAuthor"/>
  9410.         </xsl:for-each>
  9411.     </xsl:template>
  9412.  
  9413.  
  9414.     <xsl:template name="formatIntervieweeLF">
  9415.         <xsl:for-each select="b:Author/b:Interviewee">
  9416.             <xsl:call-template name="formatPersonsAuthor"/>
  9417.         </xsl:for-each>
  9418.     </xsl:template>
  9419.  
  9420.  
  9421.     <xsl:template name="formatInterviewerLF">
  9422.         <xsl:for-each select="b:Author/b:Interviewer">
  9423.             <xsl:call-template name="formatPersonsAuthor"/>
  9424.         </xsl:for-each>
  9425.     </xsl:template>
  9426.  
  9427.  
  9428.     <xsl:template name="formatCompilerLF">
  9429.         <xsl:for-each select="b:Author/b:Compiler">
  9430.             <xsl:call-template name="formatPersonsAuthor"/>
  9431.         </xsl:for-each>
  9432.     </xsl:template>
  9433.  
  9434.     <xsl:template name="formatDirectorLF">
  9435.         <xsl:for-each select="b:Author/b:Director">
  9436.             <xsl:call-template name="formatPersonsAuthor"/>
  9437.         </xsl:for-each>
  9438.     </xsl:template>
  9439.  
  9440.     <xsl:template name="formatWriterLF">
  9441.         <xsl:for-each select="b:Author/b:Writer">
  9442.             <xsl:call-template name="formatPersonsAuthor"/>
  9443.         </xsl:for-each>
  9444.     </xsl:template>
  9445.  
  9446.  
  9447.  
  9448.  
  9449.  
  9450.  
  9451.  
  9452.  
  9453.  
  9454.     <xsl:template name="formatPerformer">
  9455.         <xsl:for-each select="b:Author/b:Performer">
  9456.             <xsl:call-template name="formatPersons"/>
  9457.         </xsl:for-each>
  9458.     </xsl:template>
  9459.    
  9460.    
  9461.  
  9462.     <xsl:template name="formatConductor">
  9463.         <xsl:for-each select="b:Author/b:Conductor">
  9464.             <xsl:call-template name="formatPersons"/>
  9465.         </xsl:for-each>
  9466.     </xsl:template>
  9467.    
  9468.  
  9469.     <xsl:template name="formatComposer">
  9470.         <xsl:for-each select="b:Author/b:Composer">
  9471.             <xsl:call-template name="formatPersons"/>
  9472.         </xsl:for-each>
  9473.     </xsl:template>    
  9474.    
  9475.     <xsl:template name="formatInterviewer">
  9476.         <xsl:for-each select="b:Author/b:Interviewer">
  9477.             <xsl:call-template name="formatPersons"/>
  9478.         </xsl:for-each>
  9479.     </xsl:template>    
  9480.    
  9481.  
  9482.     <xsl:template name="formatWriter">
  9483.         <xsl:for-each select="b:Author/b:Writer">
  9484.             <xsl:call-template name="formatPersons"/>
  9485.         </xsl:for-each>
  9486.     </xsl:template>
  9487.    
  9488.  
  9489.     <xsl:template name="formatDirector">
  9490.         <xsl:for-each select="b:Author/b:Director">
  9491.             <xsl:call-template name="formatPersons"/>
  9492.         </xsl:for-each>
  9493.     </xsl:template>    
  9494.    
  9495.        
  9496.     <xsl:template name="formatCompiler">
  9497.         <xsl:for-each select="b:Author/b:Compiler">
  9498.             <xsl:call-template name="formatPersons"/>
  9499.         </xsl:for-each>
  9500.     </xsl:template>    
  9501.  
  9502.     <xsl:template name="need_Dot">
  9503.         <xsl:param name="field"/>
  9504.        
  9505.         <xsl:variable name="temp">
  9506.             <xsl:call-template name="handleSpaces">
  9507.                 <xsl:with-param name="field" select="$field"/>
  9508.             </xsl:call-template>
  9509.         </xsl:variable>
  9510.  
  9511.         <xsl:variable name="lastChar">
  9512.             <xsl:value-of select="substring($temp, string-length($temp))"/>
  9513.         </xsl:variable>
  9514.    
  9515.     <xsl:variable name="prop_EndChars">
  9516.       <xsl:call-template name="templ_prop_EndChars"/>
  9517.     </xsl:variable>
  9518.    
  9519.         <xsl:choose>
  9520.             <xsl:when test="string-length($temp) = 0">
  9521.             </xsl:when>
  9522.             <xsl:when test="contains($prop_EndChars, $lastChar)">
  9523.             </xsl:when>
  9524.             <xsl:otherwise>
  9525.                 <xsl:call-template name="templ_prop_Dot"/>
  9526.             </xsl:otherwise>
  9527.         </xsl:choose>
  9528.     </xsl:template>
  9529.  
  9530.     <xsl:template name="formatNameCore">
  9531.         <xsl:param name="FML"/>
  9532.         <xsl:param name="FM"/>
  9533.         <xsl:param name="ML"/>
  9534.         <xsl:param name="FL"/>
  9535.         <xsl:param name="upperLast"/>
  9536.         <xsl:param name="withDot"/>
  9537.  
  9538.         <xsl:variable name="first">
  9539.             <xsl:call-template name="handleSpaces">
  9540.                 <xsl:with-param name="field" select="b:First"/>
  9541.             </xsl:call-template>
  9542.         </xsl:variable>
  9543.  
  9544.         <xsl:variable name="middle">
  9545.             <xsl:call-template name="handleSpaces">
  9546.                 <xsl:with-param name="field" select="b:Middle"/>
  9547.             </xsl:call-template>
  9548.         </xsl:variable>
  9549.  
  9550.         <xsl:variable name="last">
  9551.             <xsl:call-template name="handleSpaces">
  9552.                 <xsl:with-param name="field" select="b:Last"/>
  9553.             </xsl:call-template>
  9554.         </xsl:variable>
  9555.        
  9556.         <xsl:variable name="format">
  9557.             <xsl:choose>
  9558.                 <xsl:when test="string-length($first) = 0 and string-length($middle) = 0 and string-length($last) = 0 ">
  9559.                 </xsl:when>
  9560.                 <xsl:when test="string-length($first) = 0 and string-length($middle) = 0 and string-length($last) != 0 ">
  9561.                     <xsl:call-template name="templ_prop_SimpleAuthor_L" />
  9562.                 </xsl:when>
  9563.                 <xsl:when test="string-length($first) = 0 and string-length($middle) != 0 and string-length($last) = 0 ">
  9564.           <xsl:call-template name="templ_prop_SimpleAuthor_M" />
  9565.                 </xsl:when>
  9566.                 <xsl:when test="string-length($first) = 0 and string-length($middle) != 0 and string-length($last) != 0 ">
  9567.                     <xsl:value-of select="$ML"/>
  9568.                 </xsl:when>
  9569.                 <xsl:when test="string-length($first) != 0 and string-length($middle) = 0 and string-length($last) = 0 ">
  9570.                     <xsl:call-template name="templ_prop_SimpleAuthor_F" />
  9571.                 </xsl:when>
  9572.                 <xsl:when test="string-length($first) != 0 and string-length($middle) = 0 and string-length($last) != 0 ">
  9573.                     <xsl:value-of select="$FL"/>
  9574.                 </xsl:when>
  9575.                 <xsl:when test="string-length($first) != 0 and string-length($middle) != 0 and string-length($last) = 0 ">
  9576.                     <xsl:value-of select="$FM"/>
  9577.                 </xsl:when>
  9578.                 <xsl:when test="string-length($first) != 0 and string-length($middle) != 0 and string-length($last) != 0 ">
  9579.                     <xsl:value-of select="$FML"/>
  9580.                 </xsl:when>
  9581.             </xsl:choose>
  9582.         </xsl:variable>
  9583.        
  9584.         <xsl:call-template name="StringFormatName">
  9585.             <xsl:with-param name="format" select="$format"/>
  9586.             <xsl:with-param name="upperLast" select="$upperLast"/>
  9587.             <xsl:with-param name="withDot" select="$withDot"/>
  9588.         </xsl:call-template>
  9589.        
  9590.     </xsl:template>
  9591.  
  9592.     <xsl:template name="formatDateCorePrivate">
  9593.         <xsl:param name="DMY"/>
  9594.         <xsl:param name="DM"/>
  9595.         <xsl:param name="MY"/>
  9596.         <xsl:param name="DY"/>
  9597.  
  9598.         <xsl:param name="day"/>
  9599.         <xsl:param name="month"/>
  9600.         <xsl:param name="year"/>
  9601.        
  9602.         <xsl:param name="withDot"/>
  9603.        
  9604.         <xsl:variable name="format">
  9605.             <xsl:choose>
  9606.                 <xsl:when test="string-length($day) = 0 and string-length($month) = 0 and string-length($year) = 0 ">
  9607.                 </xsl:when>
  9608.                 <xsl:when test="string-length($day) = 0 and string-length($month) = 0 and string-length($year) != 0 ">
  9609.                     <xsl:call-template name="templ_prop_SimpleDate_Y" />
  9610.                 </xsl:when>
  9611.                 <xsl:when test="string-length($day) = 0 and string-length($month) != 0 and string-length($year) = 0 ">
  9612.                 </xsl:when>
  9613.                 <xsl:when test="string-length($day) = 0 and string-length($month) != 0 and string-length($year) != 0 ">
  9614.                     <xsl:value-of select="$MY"/>
  9615.                 </xsl:when>
  9616.                 <xsl:when test="string-length($day) != 0 and string-length($month) = 0 and string-length($year) = 0 ">
  9617.                 </xsl:when>
  9618.                 <xsl:when test="string-length($day) != 0 and string-length($month) = 0 and string-length($year) != 0 ">
  9619.                     <xsl:call-template name="templ_prop_SimpleDate_Y" />
  9620.                 </xsl:when>
  9621.                 <xsl:when test="string-length($day) != 0 and string-length($month) != 0 and string-length($year) = 0 ">
  9622.                 </xsl:when>
  9623.                 <xsl:when test="string-length($day) != 0 and string-length($month) != 0 and string-length($year) != 0 ">
  9624.                     <xsl:value-of select="$DMY"/>
  9625.                 </xsl:when>
  9626.             </xsl:choose>
  9627.         </xsl:variable>
  9628.        
  9629.         <xsl:call-template name="StringFormatDate">
  9630.             <xsl:with-param name="format" select="$format"/>
  9631.  
  9632.             <xsl:with-param name="day" select="$day"/>
  9633.             <xsl:with-param name="month" select="$month"/>
  9634.             <xsl:with-param name="year" select="$year"/>
  9635.  
  9636.             <xsl:with-param name="withDot" select="$withDot"/>
  9637.         </xsl:call-template>
  9638.        
  9639.     </xsl:template>
  9640.  
  9641.     <xsl:template name="StringFormatName">
  9642.         <xsl:param name="format" />
  9643.         <xsl:param name="withDot" />
  9644.         <xsl:param name="upperLast"/>
  9645.  
  9646.     <xsl:variable name="prop_EndChars">
  9647.       <xsl:call-template name="templ_prop_EndChars"/>
  9648.     </xsl:variable>
  9649.  
  9650.     <xsl:choose>
  9651.             <xsl:when test="$format = ''"></xsl:when>
  9652.             <xsl:when test="substring($format, 1, 2) = '%%'">
  9653.                 <xsl:text>%</xsl:text>
  9654.                 <xsl:call-template name="StringFormatName">
  9655.                     <xsl:with-param name="format" select="substring($format, 3)" />
  9656.                     <xsl:with-param name="withDot" select="$withDot" />
  9657.                     <xsl:with-param name="upperLast" select="$upperLast" />
  9658.                 </xsl:call-template>
  9659.        
  9660.                 <xsl:if test="string-length($format)=2 and withDot = 'yes' and not(contains($prop_EndChars, '%'))">
  9661.                     <xsl:call-template name="templ_prop_Dot"/>
  9662.                 </xsl:if>
  9663.             </xsl:when>
  9664.             <xsl:when test="substring($format, 1, 1) = '%'">
  9665.                 <xsl:variable name="what" select="substring($format, 2, 1)" />
  9666.                
  9667.                 <xsl:choose>
  9668.                     <xsl:when test="(what = 'l' or what = 'L') and upperLast = 'yes'">
  9669.                         <span style='text-transform: uppercase;'>
  9670.                             <xsl:call-template name="formatNameOneItem">
  9671.                                 <xsl:with-param name="format" select="$what"/>
  9672.                             </xsl:call-template>
  9673.                         </span>
  9674.                     </xsl:when>
  9675.                     <xsl:otherwise>
  9676.                         <xsl:call-template name="formatNameOneItem">
  9677.                             <xsl:with-param name="format" select="$what"/>
  9678.                         </xsl:call-template>
  9679.                     </xsl:otherwise>
  9680.                 </xsl:choose>
  9681.                 <xsl:call-template name="StringFormatName">
  9682.                     <xsl:with-param name="format" select="substring($format, 3)" />
  9683.                     <xsl:with-param name="withDot" select="$withDot" />
  9684.                     <xsl:with-param name="upperLast" select="$upperLast" />
  9685.                 </xsl:call-template>
  9686.                 <xsl:if test="string-length($format)=2 and withDot='yes'">
  9687.                     <xsl:variable name="temp2">
  9688.                         <xsl:call-template name="handleSpaces">
  9689.                             <xsl:with-param name="field">
  9690.                                 <xsl:call-template name="formatNameOneItem">
  9691.                                     <xsl:with-param name="format" select="$what"/>
  9692.                                 </xsl:call-template>
  9693.                             </xsl:with-param>
  9694.                         </xsl:call-template>
  9695.                     </xsl:variable>            
  9696.                     <xsl:variable name="lastChar">
  9697.                         <xsl:value-of select="substring($temp2, string-length($temp2))"/>
  9698.                     </xsl:variable>
  9699.                     <xsl:if test="not(contains($prop_EndChars, $lastChar))">
  9700.                         <xsl:call-template name="templ_prop_Dot"/>
  9701.                     </xsl:if>
  9702.                 </xsl:if>
  9703.             </xsl:when>
  9704.             <xsl:otherwise>
  9705.                 <xsl:value-of select="substring($format, 1, 1)" />
  9706.                 <xsl:call-template name="StringFormatName">
  9707.                     <xsl:with-param name="format" select="substring($format, 2)" />
  9708.                     <xsl:with-param name="withDot" select="$withDot" />
  9709.                     <xsl:with-param name="upperLast" select="$upperLast" />
  9710.                 </xsl:call-template>
  9711.                 <xsl:if test="string-length($format)=1">
  9712.                     <xsl:if test="withDot = 'yes' and not(contains($prop_EndChars, $format))">
  9713.                         <xsl:call-template name="templ_prop_Dot"/>
  9714.                     </xsl:if>
  9715.                 </xsl:if>
  9716.             </xsl:otherwise>
  9717.         </xsl:choose>
  9718.     </xsl:template>
  9719.  
  9720.     <xsl:template name="StringFormatDate">
  9721.         <xsl:param name="format" />
  9722.        
  9723.         <xsl:param name="day"/>
  9724.         <xsl:param name="month"/>
  9725.         <xsl:param name="year"/>       
  9726.        
  9727.         <xsl:param name="withDot" />
  9728.  
  9729.     <xsl:variable name="prop_EndChars">
  9730.       <xsl:call-template name="templ_prop_EndChars"/>
  9731.     </xsl:variable>
  9732.  
  9733.     <xsl:choose>
  9734.             <xsl:when test="$format = ''"></xsl:when>
  9735.             <xsl:when test="substring($format, 1, 2) = '%%'">
  9736.                 <xsl:text>%</xsl:text>
  9737.                 <xsl:call-template name="StringFormatDate">
  9738.                     <xsl:with-param name="format" select="substring($format, 3)" />
  9739.                     <xsl:with-param name="day" select="$day"/>
  9740.                     <xsl:with-param name="month" select="$month"/>
  9741.                     <xsl:with-param name="year" select="$year"/>
  9742.                     <xsl:with-param name="withDot" select="$withDot" />
  9743.                 </xsl:call-template>
  9744.                 <xsl:if test="string-length($format)=2 and withDot = 'yes' and not(contains($prop_EndChars, '%'))">
  9745.                     <xsl:call-template name="templ_prop_Dot"/>
  9746.                 </xsl:if>
  9747.             </xsl:when>
  9748.             <xsl:when test="substring($format, 1, 1) = '%'">
  9749.                 <xsl:variable name="what" select="substring($format, 2, 1)" />
  9750.                 <xsl:choose>
  9751.                     <xsl:when test="$what = 'D'">
  9752.                         <xsl:value-of select="$day"/>
  9753.                     </xsl:when>
  9754.                     <xsl:when test="$what = 'M'">
  9755.                         <xsl:value-of select="$month"/>
  9756.                     </xsl:when>
  9757.                     <xsl:when test="$what = 'Y'">
  9758.                         <xsl:value-of select="$year"/>
  9759.                     </xsl:when>
  9760.                 </xsl:choose>
  9761.                 <xsl:call-template name="StringFormatDate">
  9762.                     <xsl:with-param name="format" select="substring($format, 3)" />
  9763.                     <xsl:with-param name="day" select="$day"/>
  9764.                     <xsl:with-param name="month" select="$month"/>
  9765.                     <xsl:with-param name="year" select="$year"/>
  9766.                     <xsl:with-param name="withDot" select="$withDot" />
  9767.                 </xsl:call-template>
  9768.                 <xsl:if test="string-length($format)=2 and withDot='yes'">
  9769.                     <xsl:variable name="temp2">
  9770.                         <xsl:call-template name="handleSpaces">
  9771.                             <xsl:with-param name="field">
  9772.                                 <xsl:call-template name="formatNameOneItem">
  9773.                                     <xsl:with-param name="format" select="$what"/>
  9774.                                 </xsl:call-template>
  9775.                             </xsl:with-param>
  9776.                         </xsl:call-template>
  9777.                     </xsl:variable>            
  9778.                     <xsl:variable name="lastChar">
  9779.                         <xsl:value-of select="substring($temp2, string-length($temp2))"/>
  9780.                     </xsl:variable>
  9781.                     <xsl:if test="not(contains($prop_EndChars, $lastChar))">
  9782.                         <xsl:call-template name="templ_prop_Dot"/>
  9783.                     </xsl:if>
  9784.                 </xsl:if>
  9785.             </xsl:when>
  9786.             <xsl:otherwise>
  9787.                 <xsl:value-of select="substring($format, 1, 1)" />
  9788.                 <xsl:call-template name="StringFormatDate">
  9789.                     <xsl:with-param name="format" select="substring($format, 2)" />
  9790.                     <xsl:with-param name="day" select="$day"/>
  9791.                     <xsl:with-param name="month" select="$month"/>
  9792.                     <xsl:with-param name="year" select="$year"/>
  9793.                     <xsl:with-param name="withDot" select="$withDot" />
  9794.                 </xsl:call-template>
  9795.                 <xsl:if test="string-length($format)=1">
  9796.                     <xsl:if test="withDot = 'yes' and not(contains($prop_EndChars, $format))">
  9797.                         <xsl:call-template name="templ_prop_Dot"/>
  9798.                     </xsl:if>
  9799.                 </xsl:if>
  9800.             </xsl:otherwise>
  9801.         </xsl:choose>
  9802.     </xsl:template>
  9803.  
  9804.     <xsl:template name="PrintSpaceAndList">
  9805.         <xsl:param name="list"/>
  9806.  
  9807.         <xsl:variable name="result">
  9808.             <xsl:call-template name="PrintList">
  9809.                 <xsl:with-param name="list" select="$list" />
  9810.             </xsl:call-template>
  9811.         </xsl:variable>
  9812.  
  9813.         <xsl:if test="string-length($result) > 0">
  9814.             <xsl:call-template name="templ_prop_Space" />
  9815.             <xsl:copy-of select="$result" />
  9816.         </xsl:if>
  9817.     </xsl:template>
  9818.  
  9819.     <xsl:template name="PrintList">
  9820.         <xsl:param name="list"/>
  9821.  
  9822.         <xsl:call-template name="PrintList2">
  9823.             <xsl:with-param name="list" select="$list" />
  9824.             <xsl:with-param name="index" select="'1'" />
  9825.             <xsl:with-param name="nextSeparator">
  9826.                 <xsl:call-template name="templ_prop_ListSeparator"/>
  9827.             </xsl:with-param>
  9828.             <xsl:with-param name="textDisplayed" select="''" />
  9829.         </xsl:call-template>
  9830.     </xsl:template>
  9831.  
  9832.     <xsl:template name="PrintList2">
  9833.         <xsl:param name="list"/>
  9834.         <xsl:param name="index"/>
  9835.         <xsl:param name="nextSeparator"/>
  9836.         <xsl:param name="lastTextDisplayed"/>
  9837.  
  9838.        
  9839.  
  9840.         <xsl:choose>
  9841.             <xsl:when test="$index > count(msxsl:node-set($list)/*/*)">
  9842.                 <xsl:call-template name="need_Dot">
  9843.                     <xsl:with-param name="field" select ="$lastTextDisplayed"/>
  9844.                 </xsl:call-template>
  9845.             </xsl:when>
  9846.             <xsl:when test="local-name(msxsl:node-set($list)/*/*[$index]) = 'TextItem'">
  9847.                 <xsl:variable name="item">
  9848.                     <xsl:value-of select="msxsl:node-set($list)/*/*[$index]" />
  9849.                 </xsl:variable>
  9850.  
  9851.                 <xsl:if test="string-length($item) > 0 and string-length($lastTextDisplayed) > 0">
  9852.                     <xsl:value-of select = "$nextSeparator" />
  9853.                 </xsl:if>
  9854.  
  9855.                 <xsl:if test="string-length($item) > 0">
  9856.                     <xsl:value-of select = "$item" />
  9857.                 </xsl:if>
  9858.  
  9859.                 <xsl:call-template name="PrintList2">
  9860.                     <xsl:with-param name="list" select="$list" />
  9861.                     <xsl:with-param name="index" select="$index + 1" />
  9862.                     <xsl:with-param name="nextSeparator">
  9863.                         <xsl:choose>
  9864.                             <xsl:when test="string-length($item) > 0 and string-length($lastTextDisplayed) > 0">
  9865.                                 <xsl:call-template name="templ_prop_ListSeparator"/>
  9866.                             </xsl:when>
  9867.                             <xsl:otherwise>
  9868.                                 <xsl:value-of select="$nextSeparator" />
  9869.                             </xsl:otherwise>
  9870.                         </xsl:choose>
  9871.                     </xsl:with-param>
  9872.                     <xsl:with-param name="lastTextDisplayed">
  9873.                         <xsl:choose>
  9874.                             <xsl:when test="string-length($item) > 0">
  9875.                                 <xsl:value-of select="$item" />
  9876.                             </xsl:when>
  9877.                             <xsl:otherwise>
  9878.                                 <xsl:value-of select="$lastTextDisplayed" />
  9879.                             </xsl:otherwise>
  9880.                         </xsl:choose>
  9881.                     </xsl:with-param>
  9882.                 </xsl:call-template>                   
  9883.             </xsl:when>
  9884.             <xsl:when test="local-name(msxsl:node-set($list)/*/*[$index]) = 'GroupSeparator'">
  9885.                 <xsl:call-template name="PrintList2">
  9886.                     <xsl:with-param name="list" select="$list" />
  9887.                     <xsl:with-param name="index" select="$index + 1" />
  9888.                     <xsl:with-param name="nextSeparator">
  9889.                         <xsl:call-template name="templ_prop_GroupSeparator"/>
  9890.                     </xsl:with-param>
  9891.                     <xsl:with-param name="lastTextDisplayed" select="$lastTextDisplayed" />
  9892.                 </xsl:call-template>           
  9893.             </xsl:when>
  9894.             <xsl:when test="local-name(msxsl:node-set($list)/*/*[$index]) = 'CopyItem'">
  9895.                 <xsl:variable name="item">
  9896.                     <xsl:copy-of select="msxsl:node-set($list)/*/*[$index]" />
  9897.                 </xsl:variable>
  9898.  
  9899.                 <xsl:if test="string-length($item) > 0 and string-length($lastTextDisplayed) > 0">
  9900.                     <xsl:value-of select = "$nextSeparator" />
  9901.                 </xsl:if>
  9902.  
  9903.                 <xsl:if test="string-length($item) > 0">
  9904.                     <xsl:copy-of select = "msxsl:node-set($item)/*[1]" />
  9905.                 </xsl:if>
  9906.  
  9907.                 <xsl:call-template name="PrintList2">
  9908.                     <xsl:with-param name="list" select="$list" />
  9909.                     <xsl:with-param name="index" select="$index + 1" />
  9910.                     <xsl:with-param name="nextSeparator">
  9911.                         <xsl:choose>
  9912.                             <xsl:when test="string-length($item) > 0 and string-length($lastTextDisplayed) > 0">
  9913.                                 <xsl:call-template name="templ_prop_ListSeparator"/>
  9914.                             </xsl:when>
  9915.                             <xsl:otherwise>
  9916.                                 <xsl:value-of select="$nextSeparator" />
  9917.                             </xsl:otherwise>
  9918.                         </xsl:choose>
  9919.                     </xsl:with-param>
  9920.                     <xsl:with-param name="lastTextDisplayed">
  9921.                         <xsl:choose>
  9922.                             <xsl:when test="string-length(msxsl:node-set($item)/*[1]) > 0">
  9923.                                 <xsl:value-of select="msxsl:node-set($item)/*[1]" />
  9924.                             </xsl:when>
  9925.                             <xsl:otherwise>
  9926.                                 <xsl:value-of select="$lastTextDisplayed" />
  9927.                             </xsl:otherwise>
  9928.                         </xsl:choose>
  9929.                     </xsl:with-param>
  9930.                 </xsl:call-template>
  9931.             </xsl:when>
  9932.         </xsl:choose>
  9933.  
  9934.     </xsl:template>
  9935.  
  9936.     <xsl:template name="ApplyItalicTitleNS">
  9937.         <xsl:param name="data" />
  9938.  
  9939.         <xsl:variable name="prop_NoItalics">
  9940.           <xsl:call-template name="templ_prop_NoItalics"/>
  9941.         </xsl:variable>
  9942.  
  9943.         <xsl:choose>
  9944.             <xsl:when test = "$prop_NoItalics = 'yes'">
  9945.                 <xsl:variable name = "prop_TitleOpen">
  9946.                     <xsl:call-template name="templ_prop_TitleOpen"/>
  9947.                 </xsl:variable>
  9948.                 <xsl:variable name = "prop_TitleClose">
  9949.                     <xsl:call-template name="templ_prop_TitleClose"/>
  9950.                 </xsl:variable>
  9951.                 <xsl:variable name = "prop_OpenQuote">
  9952.                     <xsl:call-template name="templ_prop_OpenQuote"/>
  9953.                 </xsl:variable>
  9954.                 <xsl:variable name = "prop_CloseQuote">
  9955.                     <xsl:call-template name="templ_prop_CloseQuote"/>
  9956.                 </xsl:variable>
  9957.                 <xsl:choose>
  9958.                     <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
  9959.                                   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))">
  9960.                         <xsl:call-template name="templ_prop_TitleOpen"/>
  9961.                         <xsl:copy-of select="msxsl:node-set($data)" />
  9962.                         <xsl:call-template name="templ_prop_TitleClose"/>
  9963.                     </xsl:when>
  9964.                     <xsl:when test = "string-length($prop_TitleOpen) > 0 and string-length($prop_TitleClose) > 0 and
  9965.                                   not(starts-with($data, $prop_TitleOpen) or (substring($data, string-length($data) - string-length($prop_TitleClose)) = $prop_TitleClose))">
  9966.                         <xsl:call-template name="templ_prop_TitleOpen"/>
  9967.                         <xsl:copy-of select="msxsl:node-set($data)" />
  9968.                         <xsl:call-template name="templ_prop_TitleClose"/>
  9969.                     </xsl:when>
  9970.                     <xsl:otherwise>
  9971.                         <xsl:copy-of select="msxsl:node-set($data)" />
  9972.                     </xsl:otherwise>
  9973.                 </xsl:choose>
  9974.             </xsl:when>
  9975.             <xsl:otherwise>
  9976.                 <i xmlns="http://www.w3.org/TR/REC-html40">
  9977.                     <xsl:copy-of select="msxsl:node-set($data)" />
  9978.                 </i>
  9979.             </xsl:otherwise>
  9980.         </xsl:choose>
  9981.     </xsl:template>
  9982.  
  9983.     <xsl:template name="ApplyItalicFieldNS">
  9984.         <xsl:param name="data" />
  9985.  
  9986.         <xsl:variable name="prop_NoItalics">
  9987.           <xsl:call-template name="templ_prop_NoItalics"/>
  9988.         </xsl:variable>
  9989.  
  9990.         <xsl:choose>
  9991.             <xsl:when test = "$prop_NoItalics = 'yes'">
  9992.                 <xsl:copy-of select="msxsl:node-set($data)" />
  9993.             </xsl:when>
  9994.             <xsl:otherwise>
  9995.                 <i xmlns="http://www.w3.org/TR/REC-html40">
  9996.                 <xsl:copy-of select="msxsl:node-set($data)" />
  9997.                 </i>
  9998.             </xsl:otherwise>
  9999.         </xsl:choose>
  10000.     </xsl:template>
  10001.  
  10002. </xsl:stylesheet>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement