Guest User

Sheet_Full_DOCX

a guest
May 5th, 2016
250
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 471.17 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--Designed and generated by Altova StyleVision Enterprise Edition 2012 rel. 2 sp1 - see http://www.altova.com/stylevision for more information.-->
  3. <xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:altova="http://www.altova.com" xmlns:altovaext="http://www.altova.com/xslt-extensions" xmlns:clitype="clitype" xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:iso4217="http://www.xbrl.org/2003/iso4217" xmlns:ix="http://www.xbrl.org/2008/inlineXBRL" xmlns:java="java" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:sps="http://www.altova.com/StyleVision/user-xpath-functions" xmlns:xbrldi="http://xbrl.org/2006/xbrldi" xmlns:xbrli="http://www.xbrl.org/2003/instance" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:pic="http://schemas.openxmlformats.org/drawingml/2006/picture" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main" xmlns:wd="urn:schemas-microsoft-com:office:word" xmlns:wp="http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing" exclude-result-prefixes="#all">
  4.     <xsl:output name="zip-format" method="xml" encoding="UTF-16" indent="no" version="1.0"/>
  5.     <xsl:param name="altova:bGeneratingFromPxf" select="false()"/>
  6.     <xsl:param name="SV_OutputFormat" select="'Word2007'"/>
  7.     <xsl:param name="SV_BaseOutputFileName" as="xs:string?">
  8.         <xsl:sequence select="for $i in altovaext:get-base-output-uri(), $k in tokenize( $i, &apos;(\|zip)&apos;, &apos;i&apos; )[ if ( last() eq 1 ) then 1 else last() - 1 ], $j in tokenize( $k, &apos;[/\\]&apos; )[last()] return replace( $j, &apos;\.[^\.\s#%;]*$&apos;, &apos;&apos; ) " use-when="function-available(&apos;altovaext:get-base-output-uri&apos;)"/>
  9.     </xsl:param>
  10.     <xsl:param name="SV_GeneratedFileNamePrefix" select="if ( $SV_BaseOutputFileName ) then $SV_BaseOutputFileName else &apos;Sheet_Full_2012&apos;" as="xs:string?"/>
  11.     <xsl:variable name="XML1" select="/"/>
  12.     <xsl:param name="altova:sOutputDocumentMoveOutOfZip" as="xs:string" select="'..\'"/>
  13.     <xsl:param name="altova:sOutputDocumentMoveIntoZip" as="xs:string" select="'|zip\'"/>
  14.     <xsl:import-schema schema-location="d_schema.xsd"/>
  15.     <xsl:variable name="altova:nPxPerIn" as="xs:integer" select="96"/>
  16.     <xsl:variable name="altova:bEmbedImages" as="xs:boolean" select="true()"/>
  17.     <xsl:variable name="altova:sCssSwitch" as="xs:string" select="''"/>
  18.     <xsl:template match="SCTool">
  19.         <altova:ContentHolder>
  20.             <xsl:apply-templates/>
  21.         </altova:ContentHolder>
  22.     </xsl:template>
  23.     <xsl:template name="Template1"/>
  24.     <xsl:template name="legacy_footerall">
  25.         <altova:Table altova:CharPropertiesId="table_C_0">
  26.             <altova:CharacterProperties>
  27.                 <w:rPr>
  28.                     <w:rFonts w:ascii="Arial" w:hAnsi="Arial"/>
  29.                 </w:rPr>
  30.             </altova:CharacterProperties>
  31.             <altova:TableProperties>
  32.                 <w:tblStyle w:val="TableStyle1"/>
  33.                 <w:tblW w:w="5000" w:type="pct"/>
  34.             </altova:TableProperties>
  35.             <xsl:variable name="altova:CurrContextGrid_0" select="."/>
  36.             <xsl:variable name="altova:ColumnData">
  37.                 <altova:Internal/>
  38.             </xsl:variable>
  39.             <altova:TableGrid>
  40.                 <altova:GridCol altova:Width="0" altova:Type="auto"/>
  41.                 <altova:GridCol altova:Width="2250" altova:Type="twips"/>
  42.             </altova:TableGrid>
  43.             <altova:TableBody>
  44.                 <altova:TableRow>
  45.                     <altova:TableRowProperties>
  46.                         <w:trPr>
  47.                             <w:trHeight w:val="450"/>
  48.                         </w:trPr>
  49.                     </altova:TableRowProperties>
  50.                     <altova:TableCell>
  51.                         <altova:TableCellProperties>
  52.                             <w:gridSpan w:val="2"/>
  53.                             <w:tcMar>
  54.                                 <w:top w:w="0" w:type="dxa"/>
  55.                                 <w:left w:w="0" w:type="dxa"/>
  56.                                 <w:bottom w:w="0" w:type="dxa"/>
  57.                                 <w:right w:w="0" w:type="dxa"/>
  58.                             </w:tcMar>
  59.                             <w:vAlign w:val="center"/>
  60.                         </altova:TableCellProperties>
  61.                         <altova:Paragraph/>
  62.                     </altova:TableCell>
  63.                 </altova:TableRow>
  64.                 <altova:TableRow>
  65.                     <altova:TableCell altova:CharPropertiesId="table cell_C_1" altova:ParaPropertiesId="table cell_P_1">
  66.                         <altova:CharacterProperties>
  67.                             <w:rPr>
  68.                                 <w:sz w:val="24"/>
  69.                             </w:rPr>
  70.                         </altova:CharacterProperties>
  71.                         <altova:ParagraphProperties>
  72.                             <w:pPr>
  73.                                 <w:jc w:val="left"/>
  74.                             </w:pPr>
  75.                         </altova:ParagraphProperties>
  76.                         <altova:TableCellProperties>
  77.                             <w:tcMar>
  78.                                 <w:top w:w="0" w:type="dxa"/>
  79.                                 <w:left w:w="0" w:type="dxa"/>
  80.                                 <w:bottom w:w="0" w:type="dxa"/>
  81.                                 <w:right w:w="0" w:type="dxa"/>
  82.                             </w:tcMar>
  83.                             <w:vAlign w:val="center"/>
  84.                         </altova:TableCellProperties>
  85.                         <altova:Paragraph/>
  86.                     </altova:TableCell>
  87.                     <altova:TableCell altova:CharPropertiesId="table cell_C_2" altova:ParaPropertiesId="table cell_P_2">
  88.                         <altova:CharacterProperties>
  89.                             <w:rPr>
  90.                                 <w:sz w:val="24"/>
  91.                             </w:rPr>
  92.                         </altova:CharacterProperties>
  93.                         <altova:ParagraphProperties>
  94.                             <w:pPr>
  95.                                 <w:jc w:val="right"/>
  96.                             </w:pPr>
  97.                         </altova:ParagraphProperties>
  98.                         <altova:TableCellProperties>
  99.                             <w:tcMar>
  100.                                 <w:top w:w="0" w:type="dxa"/>
  101.                                 <w:left w:w="0" w:type="dxa"/>
  102.                                 <w:bottom w:w="0" w:type="dxa"/>
  103.                                 <w:right w:w="0" w:type="dxa"/>
  104.                             </w:tcMar>
  105.                             <w:vAlign w:val="center"/>
  106.                         </altova:TableCellProperties>
  107.                         <altova:Paragraph>
  108.                             <altova:TextRun altova:CharPropertiesId="text_C_3">Page: <altova:CharacterProperties altova:whitespace="preserve-all">
  109.                                     <w:rPr>
  110.                                         <w:b/>
  111.                                     </w:rPr>
  112.                                 </altova:CharacterProperties>
  113.                             </altova:TextRun>
  114.                             <altova:Field altova:Name="PageNum" altova:CharPropertiesId="field_C_4">
  115.                                 <altova:CharacterProperties>
  116.                                     <w:rPr>
  117.                                         <w:b/>
  118.                                     </w:rPr>
  119.                                 </altova:CharacterProperties>
  120.                             </altova:Field>
  121.                         </altova:Paragraph>
  122.                     </altova:TableCell>
  123.                 </altova:TableRow>
  124.             </altova:TableBody>
  125.         </altova:Table>
  126.     </xsl:template>
  127.     <xsl:variable name="altova:nodeCssClasses" select="()"/>
  128.     <xsl:variable name="altova:DocumentMonolithBeforeNumberingAndToc">
  129.         <altova:Document altova:nDefaultFontSize="24" altova:sDefaultFontFamily="Arial" altova:Url="{if ($SV_BaseOutputFileName) then concat($SV_BaseOutputFileName, '.docx') else ''}">
  130.             <altova:Paragraph>
  131.                 <altova:DocumentSection altova:Address="5">
  132.                     <w:sectPr>
  133.                         <w:headerReference w:type="first" r:id="Section_5_Header_Default"/>
  134.                         <w:headerReference w:type="default" r:id="Section_5_Header_Default"/>
  135.                         <w:headerReference w:type="even" r:id="Section_5_Header_Default"/>
  136.                         <w:footerReference w:type="first" r:id="Section_5_Footer_Default"/>
  137.                         <w:footerReference w:type="default" r:id="Section_5_Footer_Default"/>
  138.                         <w:footerReference w:type="even" r:id="Section_5_Footer_Default"/>
  139.                         <w:type w:val="nextPage"/>
  140.                         <w:pgSz w:w="11900" w:h="16820"/>
  141.                         <w:pgMar w:top="860" w:bottom="860" w:left="1120" w:right="1120" w:header="0" w:footer="0" w:gutter="0"/>
  142.                         <w:pgNumType w:fmt="decimal" w:start="1"/>
  143.                         <w:cols w:equalWidth="1" w:num="1" w:space="720"/>
  144.                     </w:sectPr>
  145.                 </altova:DocumentSection>
  146.                 <xsl:if test="$XML1/SolidCAMPart/General/Settings/SCGenMainPage  =  &quot;1&quot;">
  147.                     <altova:Table altova:CharPropertiesId="table_C_6">
  148.                         <altova:CharacterProperties>
  149.                             <w:rPr>
  150.                                 <w:rFonts w:ascii="arial" w:hAnsi="arial"/>
  151.                             </w:rPr>
  152.                         </altova:CharacterProperties>
  153.                         <altova:TableProperties>
  154.                             <w:tblStyle w:val="TableStyle2"/>
  155.                             <w:tblW w:w="5000" w:type="pct"/>
  156.                         </altova:TableProperties>
  157.                         <xsl:variable name="altova:CurrContextGrid_6" select="."/>
  158.                         <xsl:variable name="altova:ColumnData">
  159.                             <altova:Internal/>
  160.                         </xsl:variable>
  161.                         <altova:TableGrid>
  162.                             <altova:GridCol altova:Width="1000" altova:Type="percent"/>
  163.                             <altova:GridCol altova:Width="3000" altova:Type="percent"/>
  164.                             <altova:GridCol altova:Width="1000" altova:Type="percent"/>
  165.                         </altova:TableGrid>
  166.                         <altova:TableBody>
  167.                             <altova:TableRow>
  168.                                 <altova:TableCellProperties>
  169.                                     <w:tcBorders>
  170.                                         <w:bottom w:val="single" w:sz="32"/>
  171.                                     </w:tcBorders>
  172.                                 </altova:TableCellProperties>
  173.                                 <altova:TableCell altova:ParaPropertiesId="table cell_P_7">
  174.                                     <altova:ParagraphProperties>
  175.                                         <w:pPr>
  176.                                             <w:jc w:val="center"/>
  177.                                         </w:pPr>
  178.                                     </altova:ParagraphProperties>
  179.                                     <altova:TableCellProperties>
  180.                                         <w:vAlign w:val="top"/>
  181.                                     </altova:TableCellProperties>
  182.                                     <altova:Paragraph>
  183.                                         <xsl:if test="false()">
  184.                                             <xsl:for-each select="$XML1">
  185.                                                 <xsl:for-each select="SolidCAMPart">
  186.                                                     <xsl:for-each select="General">
  187.                                                         <xsl:for-each select="SCMainPartImage">
  188.                                                             <xsl:variable name="altova:seqWidthHeight" as="xs:integer*">
  189.                                                                 <xsl:choose use-when="function-available('altovaext:get-width-and-height-from-image-data')">
  190.                                                                     <xsl:when test="unparsed-text-available(., 'x-binarytobase64')">
  191.                                                                         <xsl:sequence select="altovaext:get-width-and-height-from-image-data(xs:base64Binary(unparsed-text(., 'x-binarytobase64')))"/>
  192.                                                                     </xsl:when>
  193.                                                                     <xsl:otherwise>
  194.                                                                         <xsl:sequence select="(63, 63)"/>
  195.                                                                     </xsl:otherwise>
  196.                                                                 </xsl:choose>
  197.                                                                 <xsl:sequence select="(63, 63)" use-when="not(function-available('altovaext:get-width-and-height-from-image-data'))"/>
  198.                                                             </xsl:variable>
  199.                                                             <altova:Image altova:Src="{.}" altova:WidthEmu="{altova:MapCssToWordml_WidthOrHeightToEmu(concat($altova:seqWidthHeight[1], 'px'))}" altova:HeightEmu="{altova:MapCssToWordml_WidthOrHeightToEmu(concat($altova:seqWidthHeight[2], 'px'))}"/>
  200.                                                         </xsl:for-each>
  201.                                                     </xsl:for-each>
  202.                                                 </xsl:for-each>
  203.                                             </xsl:for-each>
  204.                                         </xsl:if>
  205.                                         <altova:NewLine/>
  206.                                         <xsl:for-each select="$XML1">
  207.                                             <xsl:for-each select="SolidCAMPart">
  208.                                                 <xsl:for-each select="General">
  209.                                                     <xsl:for-each select="SCDateCreated">
  210.                                                         <altova:ContentHolder altova:CharPropertiesId="content_C_8">
  211.                                                             <xsl:apply-templates/>
  212.                                                             <altova:CharacterProperties>
  213.                                                                 <w:rPr>
  214.                                                                     <w:sz w:val="14"/>
  215.                                                                 </w:rPr>
  216.                                                             </altova:CharacterProperties>
  217.                                                         </altova:ContentHolder>
  218.                                                     </xsl:for-each>
  219.                                                 </xsl:for-each>
  220.                                             </xsl:for-each>
  221.                                         </xsl:for-each>
  222.                                     </altova:Paragraph>
  223.                                 </altova:TableCell>
  224.                                 <altova:TableCell altova:ParaPropertiesId="table cell_P_9">
  225.                                     <altova:ParagraphProperties>
  226.                                         <w:pPr>
  227.                                             <w:jc w:val="center"/>
  228.                                         </w:pPr>
  229.                                     </altova:ParagraphProperties>
  230.                                     <altova:TableCellProperties>
  231.                                         <w:vAlign w:val="top"/>
  232.                                     </altova:TableCellProperties>
  233.                                     <altova:Paragraph>
  234.                                         <xsl:for-each select="$XML1">
  235.                                             <xsl:for-each select="SolidCAMPart">
  236.                                                 <xsl:for-each select="General">
  237.                                                     <xsl:for-each select="SCPartName">
  238.                                                         <xsl:for-each select="Value">
  239.                                                             <altova:ContentHolder altova:CharPropertiesId="content_C_10">
  240.                                                                 <xsl:apply-templates/>
  241.                                                                 <altova:CharacterProperties>
  242.                                                                     <w:rPr>
  243.                                                                         <w:b/>
  244.                                                                     </w:rPr>
  245.                                                                 </altova:CharacterProperties>
  246.                                                             </altova:ContentHolder>
  247.                                                         </xsl:for-each>
  248.                                                     </xsl:for-each>
  249.                                                 </xsl:for-each>
  250.                                             </xsl:for-each>
  251.                                         </xsl:for-each>
  252.                                         <altova:Table>
  253.                                             <altova:TableProperties>
  254.                                                 <w:tblStyle w:val="TableStyle3"/>
  255.                                                 <w:tblW w:w="5000" w:type="pct"/>
  256.                                             </altova:TableProperties>
  257.                                             <xsl:variable name="altova:CurrContextGrid_11" select="."/>
  258.                                             <xsl:variable name="altova:ColumnData">
  259.                                                 <altova:Internal/>
  260.                                             </xsl:variable>
  261.                                             <altova:TableGrid>
  262.                                                 <altova:GridCol altova:Width="2500" altova:Type="percent"/>
  263.                                                 <altova:GridCol altova:Width="2500" altova:Type="percent"/>
  264.                                             </altova:TableGrid>
  265.                                             <altova:TableBody>
  266.                                                 <xsl:for-each select="$XML1">
  267.                                                     <xsl:for-each select="SolidCAMPart">
  268.                                                         <xsl:for-each select="General">
  269.                                                             <xsl:for-each select="SCUserDefinedHeader">
  270.                                                                 <altova:TableRow>
  271.                                                                     <altova:TableCell altova:ParaPropertiesId="table cell_P_12">
  272.                                                                         <altova:ParagraphProperties>
  273.                                                                             <w:pPr>
  274.                                                                                 <w:shd w:val="clear" w:fill="E1E1E1"/>
  275.                                                                             </w:pPr>
  276.                                                                         </altova:ParagraphProperties>
  277.                                                                         <altova:TableCellProperties>
  278.                                                                             <w:shd w:val="clear" w:fill="E1E1E1"/>
  279.                                                                             <w:vAlign w:val="center"/>
  280.                                                                         </altova:TableCellProperties>
  281.                                                                         <altova:Paragraph>
  282.                                                                             <xsl:for-each select="Lable">
  283.                                                                                 <altova:ContentHolder>
  284.                                                                                     <xsl:apply-templates/>
  285.                                                                                 </altova:ContentHolder>
  286.                                                                             </xsl:for-each>
  287.                                                                         </altova:Paragraph>
  288.                                                                     </altova:TableCell>
  289.                                                                     <altova:TableCell>
  290.                                                                         <altova:TableCellProperties>
  291.                                                                             <w:vAlign w:val="center"/>
  292.                                                                         </altova:TableCellProperties>
  293.                                                                         <altova:Paragraph>
  294.                                                                             <xsl:for-each select="Value">
  295.                                                                                 <altova:ContentHolder>
  296.                                                                                     <xsl:apply-templates/>
  297.                                                                                 </altova:ContentHolder>
  298.                                                                             </xsl:for-each>
  299.                                                                         </altova:Paragraph>
  300.                                                                     </altova:TableCell>
  301.                                                                 </altova:TableRow>
  302.                                                             </xsl:for-each>
  303.                                                         </xsl:for-each>
  304.                                                     </xsl:for-each>
  305.                                                 </xsl:for-each>
  306.                                             </altova:TableBody>
  307.                                         </altova:Table>
  308.                                     </altova:Paragraph>
  309.                                 </altova:TableCell>
  310.                                 <altova:TableCell altova:ParaPropertiesId="table cell_P_13">
  311.                                     <altova:ParagraphProperties>
  312.                                         <w:pPr>
  313.                                             <w:jc w:val="center"/>
  314.                                         </w:pPr>
  315.                                     </altova:ParagraphProperties>
  316.                                     <altova:TableCellProperties>
  317.                                         <w:tcMar>
  318.                                             <w:top w:w="15" w:type="dxa"/>
  319.                                             <w:left w:w="15" w:type="dxa"/>
  320.                                             <w:bottom w:w="15" w:type="dxa"/>
  321.                                             <w:right w:w="15" w:type="dxa"/>
  322.                                         </w:tcMar>
  323.                                         <w:vAlign w:val="top"/>
  324.                                     </altova:TableCellProperties>
  325.                                     <altova:Paragraph>
  326.                                         <xsl:if test="string-length( string($XML1/SolidCAMPart/General/SCCompanyLogo) ) &gt; 2">
  327.                                             <xsl:for-each select="$XML1">
  328.                                                 <xsl:for-each select="SolidCAMPart">
  329.                                                     <xsl:for-each select="General">
  330.                                                         <xsl:for-each select="SCCompanyLogo">
  331.                                                             <altova:Image altova:Src="{.}" altova:WidthEmu="1097280" altova:HeightEmu="274320"/>
  332.                                                         </xsl:for-each>
  333.                                                     </xsl:for-each>
  334.                                                 </xsl:for-each>
  335.                                             </xsl:for-each>
  336.                                         </xsl:if>
  337.                                     </altova:Paragraph>
  338.                                 </altova:TableCell>
  339.                             </altova:TableRow>
  340.                         </altova:TableBody>
  341.                     </altova:Table>
  342.                     <altova:NewLine/>
  343.                     <altova:Table altova:CharPropertiesId="table_C_14">
  344.                         <altova:CharacterProperties>
  345.                             <w:rPr>
  346.                                 <w:rFonts w:ascii="arial" w:hAnsi="arial"/>
  347.                                 <w:sz w:val="20"/>
  348.                             </w:rPr>
  349.                         </altova:CharacterProperties>
  350.                         <altova:TableProperties>
  351.                             <w:tblStyle w:val="TableStyle4"/>
  352.                             <w:tblW w:w="5000" w:type="pct"/>
  353.                         </altova:TableProperties>
  354.                         <xsl:variable name="altova:CurrContextGrid_14" select="."/>
  355.                         <xsl:variable name="altova:ColumnData">
  356.                             <altova:Internal/>
  357.                         </xsl:variable>
  358.                         <altova:TableGrid>
  359.                             <altova:GridCol altova:Width="1250" altova:Type="percent"/>
  360.                             <altova:GridCol altova:Width="1250" altova:Type="percent"/>
  361.                             <altova:GridCol altova:Width="2500" altova:Type="percent"/>
  362.                         </altova:TableGrid>
  363.                         <altova:TableBody>
  364.                             <altova:TableRow>
  365.                                 <altova:TableCell altova:ParaPropertiesId="table cell_P_15">
  366.                                     <altova:ParagraphProperties>
  367.                                         <w:pPr>
  368.                                             <w:shd w:val="clear" w:fill="E1E1E1"/>
  369.                                             <w:jc w:val="left"/>
  370.                                         </w:pPr>
  371.                                     </altova:ParagraphProperties>
  372.                                     <altova:TableCellProperties>
  373.                                         <w:shd w:val="clear" w:fill="E1E1E1"/>
  374.                                         <w:vAlign w:val="center"/>
  375.                                     </altova:TableCellProperties>
  376.                                     <altova:Paragraph>
  377.                                         <xsl:for-each select="$XML1">
  378.                                             <xsl:for-each select="SolidCAMPart">
  379.                                                 <xsl:for-each select="General">
  380.                                                     <xsl:for-each select="SCUnits">
  381.                                                         <xsl:for-each select="Lable">
  382.                                                             <altova:ContentHolder>
  383.                                                                 <xsl:apply-templates/>
  384.                                                             </altova:ContentHolder>
  385.                                                         </xsl:for-each>
  386.                                                     </xsl:for-each>
  387.                                                 </xsl:for-each>
  388.                                             </xsl:for-each>
  389.                                         </xsl:for-each>
  390.                                     </altova:Paragraph>
  391.                                 </altova:TableCell>
  392.                                 <altova:TableCell altova:ParaPropertiesId="table cell_P_16">
  393.                                     <altova:ParagraphProperties>
  394.                                         <w:pPr>
  395.                                             <w:jc w:val="left"/>
  396.                                         </w:pPr>
  397.                                     </altova:ParagraphProperties>
  398.                                     <altova:TableCellProperties>
  399.                                         <w:vAlign w:val="center"/>
  400.                                     </altova:TableCellProperties>
  401.                                     <altova:Paragraph>
  402.                                         <xsl:for-each select="$XML1">
  403.                                             <xsl:for-each select="SolidCAMPart">
  404.                                                 <xsl:for-each select="General">
  405.                                                     <xsl:for-each select="SCUnits">
  406.                                                         <xsl:for-each select="Value">
  407.                                                             <altova:ContentHolder>
  408.                                                                 <xsl:apply-templates/>
  409.                                                             </altova:ContentHolder>
  410.                                                         </xsl:for-each>
  411.                                                     </xsl:for-each>
  412.                                                 </xsl:for-each>
  413.                                             </xsl:for-each>
  414.                                         </xsl:for-each>
  415.                                     </altova:Paragraph>
  416.                                 </altova:TableCell>
  417.                                 <altova:TableCell altova:ParaPropertiesId="table cell_P_17">
  418.                                     <altova:ParagraphProperties>
  419.                                         <w:pPr>
  420.                                             <w:jc w:val="left"/>
  421.                                         </w:pPr>
  422.                                     </altova:ParagraphProperties>
  423.                                     <altova:TableCellProperties>
  424.                                         <w:vMerge w:val="restart"/>
  425.                                         <w:vAlign w:val="top"/>
  426.                                     </altova:TableCellProperties>
  427.                                     <altova:Paragraph>
  428.                                         <xsl:for-each select="$XML1">
  429.                                             <xsl:for-each select="SolidCAMPart">
  430.                                                 <xsl:for-each select="General">
  431.                                                     <xsl:for-each select="SCMainPartImage">
  432.                                                         <altova:Image altova:Src="{.}" altova:WidthEmu="2476500" altova:HeightEmu="2476500"/>
  433.                                                     </xsl:for-each>
  434.                                                 </xsl:for-each>
  435.                                             </xsl:for-each>
  436.                                         </xsl:for-each>
  437.                                         <altova:NewLine/>
  438.                                         <xsl:for-each select="$XML1">
  439.                                             <xsl:for-each select="SolidCAMPart">
  440.                                                 <xsl:for-each select="General">
  441.                                                     <xsl:for-each select="SCPartNotes">
  442.                                                         <altova:ContentHolder>
  443.                                                             <xsl:apply-templates/>
  444.                                                         </altova:ContentHolder>
  445.                                                     </xsl:for-each>
  446.                                                 </xsl:for-each>
  447.                                             </xsl:for-each>
  448.                                         </xsl:for-each>
  449.                                         <altova:NewLine/>
  450.                                     </altova:Paragraph>
  451.                                 </altova:TableCell>
  452.                             </altova:TableRow>
  453.                             <altova:TableRow>
  454.                                 <altova:TableCell altova:ParaPropertiesId="table cell_P_18">
  455.                                     <altova:ParagraphProperties>
  456.                                         <w:pPr>
  457.                                             <w:shd w:val="clear" w:fill="E1E1E1"/>
  458.                                             <w:jc w:val="left"/>
  459.                                         </w:pPr>
  460.                                     </altova:ParagraphProperties>
  461.                                     <altova:TableCellProperties>
  462.                                         <w:shd w:val="clear" w:fill="E1E1E1"/>
  463.                                         <w:vAlign w:val="center"/>
  464.                                     </altova:TableCellProperties>
  465.                                     <altova:Paragraph>
  466.                                         <xsl:for-each select="$XML1">
  467.                                             <xsl:for-each select="SolidCAMPart">
  468.                                                 <xsl:for-each select="General">
  469.                                                     <xsl:for-each select="SCPartType">
  470.                                                         <xsl:for-each select="Lable">
  471.                                                             <altova:ContentHolder>
  472.                                                                 <xsl:apply-templates/>
  473.                                                             </altova:ContentHolder>
  474.                                                         </xsl:for-each>
  475.                                                     </xsl:for-each>
  476.                                                 </xsl:for-each>
  477.                                             </xsl:for-each>
  478.                                         </xsl:for-each>
  479.                                     </altova:Paragraph>
  480.                                 </altova:TableCell>
  481.                                 <altova:TableCell altova:ParaPropertiesId="table cell_P_19">
  482.                                     <altova:ParagraphProperties>
  483.                                         <w:pPr>
  484.                                             <w:jc w:val="left"/>
  485.                                         </w:pPr>
  486.                                     </altova:ParagraphProperties>
  487.                                     <altova:TableCellProperties>
  488.                                         <w:vAlign w:val="center"/>
  489.                                     </altova:TableCellProperties>
  490.                                     <altova:Paragraph>
  491.                                         <xsl:for-each select="$XML1">
  492.                                             <xsl:for-each select="SolidCAMPart">
  493.                                                 <xsl:for-each select="General">
  494.                                                     <xsl:for-each select="SCPartType">
  495.                                                         <xsl:for-each select="Value">
  496.                                                             <altova:ContentHolder>
  497.                                                                 <xsl:apply-templates/>
  498.                                                             </altova:ContentHolder>
  499.                                                         </xsl:for-each>
  500.                                                     </xsl:for-each>
  501.                                                 </xsl:for-each>
  502.                                             </xsl:for-each>
  503.                                         </xsl:for-each>
  504.                                     </altova:Paragraph>
  505.                                 </altova:TableCell>
  506.                                 <altova:TableCell>
  507.                                     <altova:Paragraph/>
  508.                                     <altova:TableCellProperties>
  509.                                         <w:vMerge w:val="continue"/>
  510.                                     </altova:TableCellProperties>
  511.                                 </altova:TableCell>
  512.                             </altova:TableRow>
  513.                             <altova:TableRow>
  514.                                 <altova:TableCell altova:ParaPropertiesId="table cell_P_20">
  515.                                     <altova:ParagraphProperties>
  516.                                         <w:pPr>
  517.                                             <w:shd w:val="clear" w:fill="E1E1E1"/>
  518.                                             <w:jc w:val="left"/>
  519.                                         </w:pPr>
  520.                                     </altova:ParagraphProperties>
  521.                                     <altova:TableCellProperties>
  522.                                         <w:shd w:val="clear" w:fill="E1E1E1"/>
  523.                                         <w:vAlign w:val="center"/>
  524.                                     </altova:TableCellProperties>
  525.                                     <altova:Paragraph>
  526.                                         <xsl:for-each select="$XML1">
  527.                                             <xsl:for-each select="SolidCAMPart">
  528.                                                 <xsl:for-each select="General">
  529.                                                     <xsl:for-each select="SCCNCController">
  530.                                                         <xsl:for-each select="Lable">
  531.                                                             <altova:ContentHolder>
  532.                                                                 <xsl:apply-templates/>
  533.                                                             </altova:ContentHolder>
  534.                                                         </xsl:for-each>
  535.                                                     </xsl:for-each>
  536.                                                 </xsl:for-each>
  537.                                             </xsl:for-each>
  538.                                         </xsl:for-each>
  539.                                     </altova:Paragraph>
  540.                                 </altova:TableCell>
  541.                                 <altova:TableCell altova:ParaPropertiesId="table cell_P_21">
  542.                                     <altova:ParagraphProperties>
  543.                                         <w:pPr>
  544.                                             <w:jc w:val="left"/>
  545.                                         </w:pPr>
  546.                                     </altova:ParagraphProperties>
  547.                                     <altova:TableCellProperties>
  548.                                         <w:vAlign w:val="center"/>
  549.                                     </altova:TableCellProperties>
  550.                                     <altova:Paragraph>
  551.                                         <xsl:for-each select="$XML1">
  552.                                             <xsl:for-each select="SolidCAMPart">
  553.                                                 <xsl:for-each select="General">
  554.                                                     <xsl:for-each select="SCCNCController">
  555.                                                         <xsl:for-each select="Value">
  556.                                                             <altova:ContentHolder>
  557.                                                                 <xsl:apply-templates/>
  558.                                                             </altova:ContentHolder>
  559.                                                         </xsl:for-each>
  560.                                                     </xsl:for-each>
  561.                                                 </xsl:for-each>
  562.                                             </xsl:for-each>
  563.                                         </xsl:for-each>
  564.                                     </altova:Paragraph>
  565.                                 </altova:TableCell>
  566.                                 <altova:TableCell>
  567.                                     <altova:Paragraph/>
  568.                                     <altova:TableCellProperties>
  569.                                         <w:vMerge w:val="continue"/>
  570.                                     </altova:TableCellProperties>
  571.                                 </altova:TableCell>
  572.                             </altova:TableRow>
  573.                             <altova:TableRow>
  574.                                 <altova:TableCell altova:ParaPropertiesId="table cell_P_22">
  575.                                     <altova:ParagraphProperties>
  576.                                         <w:pPr>
  577.                                             <w:shd w:val="clear" w:fill="E1E1E1"/>
  578.                                             <w:jc w:val="left"/>
  579.                                         </w:pPr>
  580.                                     </altova:ParagraphProperties>
  581.                                     <altova:TableCellProperties>
  582.                                         <w:shd w:val="clear" w:fill="E1E1E1"/>
  583.                                         <w:vAlign w:val="center"/>
  584.                                     </altova:TableCellProperties>
  585.                                     <altova:Paragraph>
  586.                                         <xsl:for-each select="$XML1">
  587.                                             <xsl:for-each select="SolidCAMPart">
  588.                                                 <xsl:for-each select="General">
  589.                                                     <xsl:for-each select="SCPartProgramNumber">
  590.                                                         <xsl:for-each select="Lable">
  591.                                                             <altova:ContentHolder>
  592.                                                                 <xsl:apply-templates/>
  593.                                                             </altova:ContentHolder>
  594.                                                         </xsl:for-each>
  595.                                                     </xsl:for-each>
  596.                                                 </xsl:for-each>
  597.                                             </xsl:for-each>
  598.                                         </xsl:for-each>
  599.                                     </altova:Paragraph>
  600.                                 </altova:TableCell>
  601.                                 <altova:TableCell altova:ParaPropertiesId="table cell_P_23">
  602.                                     <altova:ParagraphProperties>
  603.                                         <w:pPr>
  604.                                             <w:jc w:val="left"/>
  605.                                         </w:pPr>
  606.                                     </altova:ParagraphProperties>
  607.                                     <altova:TableCellProperties>
  608.                                         <w:vAlign w:val="center"/>
  609.                                     </altova:TableCellProperties>
  610.                                     <altova:Paragraph>
  611.                                         <xsl:for-each select="$XML1">
  612.                                             <xsl:for-each select="SolidCAMPart">
  613.                                                 <xsl:for-each select="General">
  614.                                                     <xsl:for-each select="SCPartProgramNumber">
  615.                                                         <xsl:for-each select="Value">
  616.                                                             <altova:ContentHolder>
  617.                                                                 <xsl:apply-templates/>
  618.                                                             </altova:ContentHolder>
  619.                                                         </xsl:for-each>
  620.                                                     </xsl:for-each>
  621.                                                 </xsl:for-each>
  622.                                             </xsl:for-each>
  623.                                         </xsl:for-each>
  624.                                     </altova:Paragraph>
  625.                                 </altova:TableCell>
  626.                                 <altova:TableCell>
  627.                                     <altova:Paragraph/>
  628.                                     <altova:TableCellProperties>
  629.                                         <w:vMerge w:val="continue"/>
  630.                                     </altova:TableCellProperties>
  631.                                 </altova:TableCell>
  632.                             </altova:TableRow>
  633.                             <altova:TableRow>
  634.                                 <altova:TableCell altova:ParaPropertiesId="table cell_P_24">
  635.                                     <altova:ParagraphProperties>
  636.                                         <w:pPr>
  637.                                             <w:shd w:val="clear" w:fill="E1E1E1"/>
  638.                                             <w:jc w:val="left"/>
  639.                                         </w:pPr>
  640.                                     </altova:ParagraphProperties>
  641.                                     <altova:TableCellProperties>
  642.                                         <w:shd w:val="clear" w:fill="E1E1E1"/>
  643.                                         <w:vAlign w:val="center"/>
  644.                                     </altova:TableCellProperties>
  645.                                     <altova:Paragraph>
  646.                                         <xsl:for-each select="$XML1">
  647.                                             <xsl:for-each select="SolidCAMPart">
  648.                                                 <xsl:for-each select="General">
  649.                                                     <xsl:for-each select="SCPartSubroutineNumber">
  650.                                                         <xsl:for-each select="Lable">
  651.                                                             <altova:ContentHolder>
  652.                                                                 <xsl:apply-templates/>
  653.                                                             </altova:ContentHolder>
  654.                                                         </xsl:for-each>
  655.                                                     </xsl:for-each>
  656.                                                 </xsl:for-each>
  657.                                             </xsl:for-each>
  658.                                         </xsl:for-each>
  659.                                     </altova:Paragraph>
  660.                                 </altova:TableCell>
  661.                                 <altova:TableCell altova:ParaPropertiesId="table cell_P_25">
  662.                                     <altova:ParagraphProperties>
  663.                                         <w:pPr>
  664.                                             <w:jc w:val="left"/>
  665.                                         </w:pPr>
  666.                                     </altova:ParagraphProperties>
  667.                                     <altova:TableCellProperties>
  668.                                         <w:vAlign w:val="center"/>
  669.                                     </altova:TableCellProperties>
  670.                                     <altova:Paragraph>
  671.                                         <xsl:for-each select="$XML1">
  672.                                             <xsl:for-each select="SolidCAMPart">
  673.                                                 <xsl:for-each select="General">
  674.                                                     <xsl:for-each select="SCPartSubroutineNumber">
  675.                                                         <xsl:for-each select="Value">
  676.                                                             <altova:ContentHolder>
  677.                                                                 <xsl:apply-templates/>
  678.                                                             </altova:ContentHolder>
  679.                                                         </xsl:for-each>
  680.                                                     </xsl:for-each>
  681.                                                 </xsl:for-each>
  682.                                             </xsl:for-each>
  683.                                         </xsl:for-each>
  684.                                     </altova:Paragraph>
  685.                                 </altova:TableCell>
  686.                                 <altova:TableCell>
  687.                                     <altova:Paragraph/>
  688.                                     <altova:TableCellProperties>
  689.                                         <w:vMerge w:val="continue"/>
  690.                                     </altova:TableCellProperties>
  691.                                 </altova:TableCell>
  692.                             </altova:TableRow>
  693.                             <altova:TableRow>
  694.                                 <altova:TableCell altova:ParaPropertiesId="table cell_P_26">
  695.                                     <altova:ParagraphProperties>
  696.                                         <w:pPr>
  697.                                             <w:shd w:val="clear" w:fill="E1E1E1"/>
  698.                                             <w:jc w:val="left"/>
  699.                                         </w:pPr>
  700.                                     </altova:ParagraphProperties>
  701.                                     <altova:TableCellProperties>
  702.                                         <w:shd w:val="clear" w:fill="E1E1E1"/>
  703.                                         <w:vAlign w:val="center"/>
  704.                                     </altova:TableCellProperties>
  705.                                     <altova:Paragraph>
  706.                                         <xsl:for-each select="$XML1">
  707.                                             <xsl:for-each select="SolidCAMPart">
  708.                                                 <xsl:for-each select="General"/>
  709.                                             </xsl:for-each>
  710.                                         </xsl:for-each>
  711.                                     </altova:Paragraph>
  712.                                 </altova:TableCell>
  713.                                 <altova:TableCell altova:ParaPropertiesId="table cell_P_27">
  714.                                     <altova:ParagraphProperties>
  715.                                         <w:pPr>
  716.                                             <w:jc w:val="left"/>
  717.                                         </w:pPr>
  718.                                     </altova:ParagraphProperties>
  719.                                     <altova:TableCellProperties>
  720.                                         <w:vAlign w:val="center"/>
  721.                                     </altova:TableCellProperties>
  722.                                     <altova:Paragraph>
  723.                                         <xsl:for-each select="$XML1">
  724.                                             <xsl:for-each select="SolidCAMPart">
  725.                                                 <xsl:for-each select="General"/>
  726.                                             </xsl:for-each>
  727.                                         </xsl:for-each>
  728.                                     </altova:Paragraph>
  729.                                 </altova:TableCell>
  730.                                 <altova:TableCell>
  731.                                     <altova:Paragraph/>
  732.                                     <altova:TableCellProperties>
  733.                                         <w:vMerge w:val="continue"/>
  734.                                     </altova:TableCellProperties>
  735.                                 </altova:TableCell>
  736.                             </altova:TableRow>
  737.                             <altova:TableRow>
  738.                                 <altova:TableCell altova:ParaPropertiesId="table cell_P_28">
  739.                                     <altova:ParagraphProperties>
  740.                                         <w:pPr>
  741.                                             <w:shd w:val="clear" w:fill="E1E1E1"/>
  742.                                             <w:jc w:val="left"/>
  743.                                         </w:pPr>
  744.                                     </altova:ParagraphProperties>
  745.                                     <altova:TableCellProperties>
  746.                                         <w:shd w:val="clear" w:fill="E1E1E1"/>
  747.                                         <w:vAlign w:val="center"/>
  748.                                     </altova:TableCellProperties>
  749.                                     <altova:Paragraph>
  750.                                         <xsl:for-each select="$XML1">
  751.                                             <xsl:for-each select="SolidCAMPart">
  752.                                                 <xsl:for-each select="SCToolAdaptor">
  753.                                                     <xsl:for-each select="Lable">
  754.                                                         <altova:ContentHolder>
  755.                                                             <xsl:apply-templates/>
  756.                                                         </altova:ContentHolder>
  757.                                                     </xsl:for-each>
  758.                                                 </xsl:for-each>
  759.                                             </xsl:for-each>
  760.                                         </xsl:for-each>
  761.                                     </altova:Paragraph>
  762.                                 </altova:TableCell>
  763.                                 <altova:TableCell altova:ParaPropertiesId="table cell_P_29">
  764.                                     <altova:ParagraphProperties>
  765.                                         <w:pPr>
  766.                                             <w:jc w:val="left"/>
  767.                                         </w:pPr>
  768.                                     </altova:ParagraphProperties>
  769.                                     <altova:TableCellProperties>
  770.                                         <w:vAlign w:val="center"/>
  771.                                     </altova:TableCellProperties>
  772.                                     <altova:Paragraph>
  773.                                         <xsl:for-each select="$XML1">
  774.                                             <xsl:for-each select="SolidCAMPart">
  775.                                                 <xsl:for-each select="SCToolAdaptor">
  776.                                                     <xsl:for-each select="Value">
  777.                                                         <altova:ContentHolder>
  778.                                                             <xsl:apply-templates/>
  779.                                                         </altova:ContentHolder>
  780.                                                     </xsl:for-each>
  781.                                                 </xsl:for-each>
  782.                                             </xsl:for-each>
  783.                                         </xsl:for-each>
  784.                                     </altova:Paragraph>
  785.                                 </altova:TableCell>
  786.                                 <altova:TableCell>
  787.                                     <altova:Paragraph/>
  788.                                     <altova:TableCellProperties>
  789.                                         <w:vMerge w:val="continue"/>
  790.                                     </altova:TableCellProperties>
  791.                                 </altova:TableCell>
  792.                             </altova:TableRow>
  793.                             <altova:TableRow>
  794.                                 <altova:TableCell altova:ParaPropertiesId="table cell_P_30">
  795.                                     <altova:ParagraphProperties>
  796.                                         <w:pPr>
  797.                                             <w:shd w:val="clear" w:fill="E1E1E1"/>
  798.                                             <w:jc w:val="left"/>
  799.                                         </w:pPr>
  800.                                     </altova:ParagraphProperties>
  801.                                     <altova:TableCellProperties>
  802.                                         <w:shd w:val="clear" w:fill="E1E1E1"/>
  803.                                         <w:vAlign w:val="center"/>
  804.                                     </altova:TableCellProperties>
  805.                                     <altova:Paragraph>
  806.                                         <xsl:for-each select="$XML1">
  807.                                             <xsl:for-each select="SolidCAMPart">
  808.                                                 <xsl:for-each select="General">
  809.                                                     <xsl:for-each select="SCPartMaterialName">
  810.                                                         <xsl:for-each select="Lable">
  811.                                                             <altova:ContentHolder>
  812.                                                                 <xsl:apply-templates/>
  813.                                                             </altova:ContentHolder>
  814.                                                         </xsl:for-each>
  815.                                                     </xsl:for-each>
  816.                                                 </xsl:for-each>
  817.                                             </xsl:for-each>
  818.                                         </xsl:for-each>
  819.                                     </altova:Paragraph>
  820.                                 </altova:TableCell>
  821.                                 <altova:TableCell altova:ParaPropertiesId="table cell_P_31">
  822.                                     <altova:ParagraphProperties>
  823.                                         <w:pPr>
  824.                                             <w:jc w:val="left"/>
  825.                                         </w:pPr>
  826.                                     </altova:ParagraphProperties>
  827.                                     <altova:TableCellProperties>
  828.                                         <w:vAlign w:val="center"/>
  829.                                     </altova:TableCellProperties>
  830.                                     <altova:Paragraph>
  831.                                         <xsl:for-each select="$XML1">
  832.                                             <xsl:for-each select="SolidCAMPart">
  833.                                                 <xsl:for-each select="General">
  834.                                                     <xsl:for-each select="SCPartMaterialName">
  835.                                                         <xsl:for-each select="Value">
  836.                                                             <altova:ContentHolder>
  837.                                                                 <xsl:apply-templates/>
  838.                                                             </altova:ContentHolder>
  839.                                                         </xsl:for-each>
  840.                                                     </xsl:for-each>
  841.                                                 </xsl:for-each>
  842.                                             </xsl:for-each>
  843.                                         </xsl:for-each>
  844.                                     </altova:Paragraph>
  845.                                 </altova:TableCell>
  846.                                 <altova:TableCell>
  847.                                     <altova:Paragraph/>
  848.                                     <altova:TableCellProperties>
  849.                                         <w:vMerge w:val="continue"/>
  850.                                     </altova:TableCellProperties>
  851.                                 </altova:TableCell>
  852.                             </altova:TableRow>
  853.                             <altova:TableRow>
  854.                                 <altova:TableCell altova:ParaPropertiesId="table cell_P_32">
  855.                                     <altova:ParagraphProperties>
  856.                                         <w:pPr>
  857.                                             <w:shd w:val="clear" w:fill="E1E1E1"/>
  858.                                             <w:jc w:val="left"/>
  859.                                         </w:pPr>
  860.                                     </altova:ParagraphProperties>
  861.                                     <altova:TableCellProperties>
  862.                                         <w:shd w:val="clear" w:fill="E1E1E1"/>
  863.                                         <w:vAlign w:val="center"/>
  864.                                     </altova:TableCellProperties>
  865.                                     <altova:Paragraph>
  866.                                         <xsl:for-each select="$XML1">
  867.                                             <xsl:for-each select="SolidCAMPart">
  868.                                                 <xsl:for-each select="General">
  869.                                                     <xsl:for-each select="SCOperationsCount">
  870.                                                         <xsl:for-each select="Lable">
  871.                                                             <altova:ContentHolder>
  872.                                                                 <xsl:apply-templates/>
  873.                                                             </altova:ContentHolder>
  874.                                                         </xsl:for-each>
  875.                                                     </xsl:for-each>
  876.                                                 </xsl:for-each>
  877.                                             </xsl:for-each>
  878.                                         </xsl:for-each>
  879.                                     </altova:Paragraph>
  880.                                 </altova:TableCell>
  881.                                 <altova:TableCell altova:ParaPropertiesId="table cell_P_33">
  882.                                     <altova:ParagraphProperties>
  883.                                         <w:pPr>
  884.                                             <w:jc w:val="left"/>
  885.                                         </w:pPr>
  886.                                     </altova:ParagraphProperties>
  887.                                     <altova:TableCellProperties>
  888.                                         <w:vAlign w:val="center"/>
  889.                                     </altova:TableCellProperties>
  890.                                     <altova:Paragraph>
  891.                                         <xsl:for-each select="$XML1">
  892.                                             <xsl:for-each select="SolidCAMPart">
  893.                                                 <xsl:for-each select="General">
  894.                                                     <xsl:for-each select="SCOperationsCount">
  895.                                                         <xsl:for-each select="Value">
  896.                                                             <altova:ContentHolder>
  897.                                                                 <xsl:apply-templates/>
  898.                                                             </altova:ContentHolder>
  899.                                                         </xsl:for-each>
  900.                                                     </xsl:for-each>
  901.                                                 </xsl:for-each>
  902.                                             </xsl:for-each>
  903.                                         </xsl:for-each>
  904.                                     </altova:Paragraph>
  905.                                 </altova:TableCell>
  906.                                 <altova:TableCell>
  907.                                     <altova:Paragraph/>
  908.                                     <altova:TableCellProperties>
  909.                                         <w:vMerge w:val="continue"/>
  910.                                     </altova:TableCellProperties>
  911.                                 </altova:TableCell>
  912.                             </altova:TableRow>
  913.                             <altova:TableRow>
  914.                                 <altova:TableCell altova:ParaPropertiesId="table cell_P_34">
  915.                                     <altova:ParagraphProperties>
  916.                                         <w:pPr>
  917.                                             <w:jc w:val="left"/>
  918.                                         </w:pPr>
  919.                                     </altova:ParagraphProperties>
  920.                                     <altova:TableCellProperties>
  921.                                         <w:gridSpan w:val="2"/>
  922.                                         <w:vAlign w:val="top"/>
  923.                                     </altova:TableCellProperties>
  924.                                     <altova:Paragraph>
  925.                                         <altova:Table>
  926.                                             <altova:TableProperties>
  927.                                                 <w:tblStyle w:val="TableStyle5"/>
  928.                                                 <w:tblW w:w="5000" w:type="pct"/>
  929.                                             </altova:TableProperties>
  930.                                             <xsl:variable name="altova:CurrContextGrid_35" select="."/>
  931.                                             <xsl:variable name="altova:ColumnData">
  932.                                                 <altova:Internal/>
  933.                                             </xsl:variable>
  934.                                             <altova:TableGrid>
  935.                                                 <altova:GridCol altova:Width="0" altova:Type="auto"/>
  936.                                                 <altova:GridCol altova:Width="0" altova:Type="auto"/>
  937.                                             </altova:TableGrid>
  938.                                             <altova:TableBody>
  939.                                                 <xsl:for-each select="$XML1">
  940.                                                     <xsl:for-each select="SolidCAMPart">
  941.                                                         <xsl:for-each select="General">
  942.                                                             <xsl:for-each select="SCUserDefinedMainPage">
  943.                                                                 <altova:TableRow>
  944.                                                                     <altova:TableCell altova:ParaPropertiesId="table cell_P_36">
  945.                                                                         <altova:ParagraphProperties>
  946.                                                                             <w:pPr>
  947.                                                                                 <w:shd w:val="clear" w:fill="E1E1E1"/>
  948.                                                                             </w:pPr>
  949.                                                                         </altova:ParagraphProperties>
  950.                                                                         <altova:TableCellProperties>
  951.                                                                             <w:shd w:val="clear" w:fill="E1E1E1"/>
  952.                                                                             <w:vAlign w:val="center"/>
  953.                                                                         </altova:TableCellProperties>
  954.                                                                         <altova:Paragraph>
  955.                                                                             <xsl:for-each select="Lable">
  956.                                                                                 <altova:ContentHolder>
  957.                                                                                     <xsl:apply-templates/>
  958.                                                                                 </altova:ContentHolder>
  959.                                                                             </xsl:for-each>
  960.                                                                         </altova:Paragraph>
  961.                                                                     </altova:TableCell>
  962.                                                                     <altova:TableCell>
  963.                                                                         <altova:TableCellProperties>
  964.                                                                             <w:vAlign w:val="center"/>
  965.                                                                         </altova:TableCellProperties>
  966.                                                                         <altova:Paragraph>
  967.                                                                             <xsl:for-each select="Value">
  968.                                                                                 <altova:ContentHolder>
  969.                                                                                     <xsl:apply-templates/>
  970.                                                                                 </altova:ContentHolder>
  971.                                                                             </xsl:for-each>
  972.                                                                         </altova:Paragraph>
  973.                                                                     </altova:TableCell>
  974.                                                                 </altova:TableRow>
  975.                                                             </xsl:for-each>
  976.                                                         </xsl:for-each>
  977.                                                     </xsl:for-each>
  978.                                                 </xsl:for-each>
  979.                                             </altova:TableBody>
  980.                                         </altova:Table>
  981.                                     </altova:Paragraph>
  982.                                 </altova:TableCell>
  983.                                 <altova:TableCell>
  984.                                     <altova:Paragraph/>
  985.                                     <altova:TableCellProperties>
  986.                                         <w:vMerge w:val="continue"/>
  987.                                     </altova:TableCellProperties>
  988.                                 </altova:TableCell>
  989.                             </altova:TableRow>
  990.                         </altova:TableBody>
  991.                     </altova:Table>
  992.                     <altova:NewLine/>
  993.                     <altova:Table altova:CharPropertiesId="table_C_37">
  994.                         <altova:CharacterProperties>
  995.                             <w:rPr>
  996.                                 <w:rFonts w:ascii="arial" w:hAnsi="arial"/>
  997.                                 <w:sz w:val="24"/>
  998.                             </w:rPr>
  999.                         </altova:CharacterProperties>
  1000.                         <altova:TableProperties>
  1001.                             <w:tblStyle w:val="TableStyle6"/>
  1002.                             <w:tblW w:w="5000" w:type="pct"/>
  1003.                         </altova:TableProperties>
  1004.                         <xsl:variable name="altova:CurrContextGrid_37" select="."/>
  1005.                         <xsl:variable name="altova:ColumnData">
  1006.                             <altova:Internal/>
  1007.                         </xsl:variable>
  1008.                         <altova:TableGrid>
  1009.                             <altova:GridCol altova:Width="1000" altova:Type="percent"/>
  1010.                             <altova:GridCol altova:Width="4000" altova:Type="percent"/>
  1011.                         </altova:TableGrid>
  1012.                         <altova:TableBody>
  1013.                             <altova:TableRow>
  1014.                                 <altova:TableCell altova:ParaPropertiesId="table cell_P_38">
  1015.                                     <altova:ParagraphProperties>
  1016.                                         <w:pPr>
  1017.                                             <w:shd w:val="clear" w:fill="E1E1E1"/>
  1018.                                         </w:pPr>
  1019.                                     </altova:ParagraphProperties>
  1020.                                     <altova:TableCellProperties>
  1021.                                         <w:shd w:val="clear" w:fill="E1E1E1"/>
  1022.                                         <w:vAlign w:val="center"/>
  1023.                                     </altova:TableCellProperties>
  1024.                                     <altova:Paragraph>
  1025.                                         <xsl:for-each select="$XML1">
  1026.                                             <xsl:for-each select="SolidCAMPart">
  1027.                                                 <xsl:for-each select="General">
  1028.                                                     <xsl:for-each select="SCModelName">
  1029.                                                         <xsl:for-each select="Lable">
  1030.                                                             <altova:ContentHolder>
  1031.                                                                 <xsl:apply-templates/>
  1032.                                                             </altova:ContentHolder>
  1033.                                                         </xsl:for-each>
  1034.                                                     </xsl:for-each>
  1035.                                                 </xsl:for-each>
  1036.                                             </xsl:for-each>
  1037.                                         </xsl:for-each>
  1038.                                     </altova:Paragraph>
  1039.                                 </altova:TableCell>
  1040.                                 <altova:TableCell>
  1041.                                     <altova:TableCellProperties>
  1042.                                         <w:vAlign w:val="center"/>
  1043.                                     </altova:TableCellProperties>
  1044.                                     <altova:Paragraph>
  1045.                                         <xsl:for-each select="$XML1">
  1046.                                             <xsl:for-each select="SolidCAMPart">
  1047.                                                 <xsl:for-each select="General">
  1048.                                                     <xsl:for-each select="SCModelName">
  1049.                                                         <xsl:for-each select="Value">
  1050.                                                             <altova:ContentHolder>
  1051.                                                                 <xsl:apply-templates/>
  1052.                                                             </altova:ContentHolder>
  1053.                                                         </xsl:for-each>
  1054.                                                     </xsl:for-each>
  1055.                                                 </xsl:for-each>
  1056.                                             </xsl:for-each>
  1057.                                         </xsl:for-each>
  1058.                                     </altova:Paragraph>
  1059.                                 </altova:TableCell>
  1060.                             </altova:TableRow>
  1061.                             <altova:TableRow>
  1062.                                 <altova:TableCell altova:ParaPropertiesId="table cell_P_39">
  1063.                                     <altova:ParagraphProperties>
  1064.                                         <w:pPr>
  1065.                                             <w:shd w:val="clear" w:fill="E1E1E1"/>
  1066.                                         </w:pPr>
  1067.                                     </altova:ParagraphProperties>
  1068.                                     <altova:TableCellProperties>
  1069.                                         <w:shd w:val="clear" w:fill="E1E1E1"/>
  1070.                                         <w:vAlign w:val="center"/>
  1071.                                     </altova:TableCellProperties>
  1072.                                     <altova:Paragraph>
  1073.                                         <xsl:for-each select="$XML1">
  1074.                                             <xsl:for-each select="SolidCAMPart">
  1075.                                                 <xsl:for-each select="General">
  1076.                                                     <xsl:for-each select="SCPartDirectoryName">
  1077.                                                         <xsl:for-each select="Lable">
  1078.                                                             <altova:ContentHolder>
  1079.                                                                 <xsl:apply-templates/>
  1080.                                                             </altova:ContentHolder>
  1081.                                                         </xsl:for-each>
  1082.                                                     </xsl:for-each>
  1083.                                                 </xsl:for-each>
  1084.                                             </xsl:for-each>
  1085.                                         </xsl:for-each>
  1086.                                     </altova:Paragraph>
  1087.                                 </altova:TableCell>
  1088.                                 <altova:TableCell>
  1089.                                     <altova:TableCellProperties>
  1090.                                         <w:vAlign w:val="center"/>
  1091.                                     </altova:TableCellProperties>
  1092.                                     <altova:Paragraph>
  1093.                                         <xsl:for-each select="$XML1">
  1094.                                             <xsl:for-each select="SolidCAMPart">
  1095.                                                 <xsl:for-each select="General">
  1096.                                                     <xsl:for-each select="SCPartDirectoryName">
  1097.                                                         <xsl:for-each select="Value">
  1098.                                                             <altova:ContentHolder>
  1099.                                                                 <xsl:apply-templates/>
  1100.                                                             </altova:ContentHolder>
  1101.                                                         </xsl:for-each>
  1102.                                                     </xsl:for-each>
  1103.                                                 </xsl:for-each>
  1104.                                             </xsl:for-each>
  1105.                                         </xsl:for-each>
  1106.                                     </altova:Paragraph>
  1107.                                 </altova:TableCell>
  1108.                             </altova:TableRow>
  1109.                             <altova:TableRow>
  1110.                                 <altova:TableRowProperties>
  1111.                                     <w:trPr>
  1112.                                         <w:trHeight w:val="645"/>
  1113.                                     </w:trPr>
  1114.                                 </altova:TableRowProperties>
  1115.                                 <altova:TableCell altova:ParaPropertiesId="table cell_P_40">
  1116.                                     <altova:ParagraphProperties>
  1117.                                         <w:pPr>
  1118.                                             <w:shd w:val="clear" w:fill="E1E1E1"/>
  1119.                                         </w:pPr>
  1120.                                     </altova:ParagraphProperties>
  1121.                                     <altova:TableCellProperties>
  1122.                                         <w:shd w:val="clear" w:fill="E1E1E1"/>
  1123.                                         <w:vAlign w:val="center"/>
  1124.                                     </altova:TableCellProperties>
  1125.                                     <altova:Paragraph>
  1126.                                         <xsl:for-each select="$XML1">
  1127.                                             <xsl:for-each select="SolidCAMPart">
  1128.                                                 <xsl:for-each select="General">
  1129.                                                     <xsl:for-each select="SCPartName">
  1130.                                                         <xsl:for-each select="Lable">
  1131.                                                             <altova:ContentHolder>
  1132.                                                                 <xsl:apply-templates/>
  1133.                                                             </altova:ContentHolder>
  1134.                                                         </xsl:for-each>
  1135.                                                     </xsl:for-each>
  1136.                                                 </xsl:for-each>
  1137.                                             </xsl:for-each>
  1138.                                         </xsl:for-each>
  1139.                                     </altova:Paragraph>
  1140.                                 </altova:TableCell>
  1141.                                 <altova:TableCell>
  1142.                                     <altova:TableCellProperties>
  1143.                                         <w:vAlign w:val="center"/>
  1144.                                     </altova:TableCellProperties>
  1145.                                     <altova:Paragraph>
  1146.                                         <xsl:for-each select="$XML1">
  1147.                                             <xsl:for-each select="SolidCAMPart">
  1148.                                                 <xsl:for-each select="General">
  1149.                                                     <xsl:for-each select="SCPartName">
  1150.                                                         <xsl:for-each select="Value">
  1151.                                                             <altova:ContentHolder>
  1152.                                                                 <xsl:apply-templates/>
  1153.                                                             </altova:ContentHolder>
  1154.                                                         </xsl:for-each>
  1155.                                                     </xsl:for-each>
  1156.                                                 </xsl:for-each>
  1157.                                             </xsl:for-each>
  1158.                                         </xsl:for-each>
  1159.                                     </altova:Paragraph>
  1160.                                 </altova:TableCell>
  1161.                             </altova:TableRow>
  1162.                         </altova:TableBody>
  1163.                     </altova:Table>
  1164.                     <altova:NewLine/>
  1165.                 </xsl:if>
  1166.                 <xsl:if test="$XML1/SolidCAMPart/General/Settings/SCGenImages  =  &quot;1&quot;">
  1167.                     <xsl:if test="$XML1/SolidCAMPart/General/Settings/SCGenMainPage = &quot;1&quot;">
  1168.                         <altova:PageBreak/>
  1169.                     </xsl:if>
  1170.                     <altova:Table altova:CharPropertiesId="table_C_41">
  1171.                         <altova:CharacterProperties>
  1172.                             <w:rPr>
  1173.                                 <w:rFonts w:ascii="arial" w:hAnsi="arial"/>
  1174.                             </w:rPr>
  1175.                         </altova:CharacterProperties>
  1176.                         <altova:TableProperties>
  1177.                             <w:tblStyle w:val="TableStyle7"/>
  1178.                             <w:tblW w:w="5000" w:type="pct"/>
  1179.                         </altova:TableProperties>
  1180.                         <xsl:variable name="altova:CurrContextGrid_41" select="."/>
  1181.                         <xsl:variable name="altova:ColumnData">
  1182.                             <altova:Internal/>
  1183.                         </xsl:variable>
  1184.                         <altova:TableGrid>
  1185.                             <altova:GridCol altova:Width="1000" altova:Type="percent"/>
  1186.                             <altova:GridCol altova:Width="3000" altova:Type="percent"/>
  1187.                             <altova:GridCol altova:Width="1000" altova:Type="percent"/>
  1188.                         </altova:TableGrid>
  1189.                         <altova:TableBody>
  1190.                             <altova:TableRow>
  1191.                                 <altova:TableCellProperties>
  1192.                                     <w:tcBorders>
  1193.                                         <w:bottom w:val="single" w:sz="32"/>
  1194.                                     </w:tcBorders>
  1195.                                 </altova:TableCellProperties>
  1196.                                 <altova:TableCell altova:ParaPropertiesId="table cell_P_42">
  1197.                                     <altova:ParagraphProperties>
  1198.                                         <w:pPr>
  1199.                                             <w:jc w:val="center"/>
  1200.                                         </w:pPr>
  1201.                                     </altova:ParagraphProperties>
  1202.                                     <altova:TableCellProperties>
  1203.                                         <w:vAlign w:val="top"/>
  1204.                                     </altova:TableCellProperties>
  1205.                                     <altova:Paragraph>
  1206.                                         <xsl:if test="false()">
  1207.                                             <xsl:for-each select="$XML1">
  1208.                                                 <xsl:for-each select="SolidCAMPart">
  1209.                                                     <xsl:for-each select="General">
  1210.                                                         <xsl:for-each select="SCMainPartImage">
  1211.                                                             <altova:Image altova:Src="{.}" altova:WidthEmu="571500" altova:HeightEmu="571500"/>
  1212.                                                         </xsl:for-each>
  1213.                                                     </xsl:for-each>
  1214.                                                 </xsl:for-each>
  1215.                                             </xsl:for-each>
  1216.                                         </xsl:if>
  1217.                                         <altova:NewLine/>
  1218.                                         <xsl:for-each select="$XML1">
  1219.                                             <xsl:for-each select="SolidCAMPart">
  1220.                                                 <xsl:for-each select="General">
  1221.                                                     <xsl:for-each select="SCDateCreated">
  1222.                                                         <altova:ContentHolder altova:CharPropertiesId="content_C_43">
  1223.                                                             <xsl:apply-templates/>
  1224.                                                             <altova:CharacterProperties>
  1225.                                                                 <w:rPr>
  1226.                                                                     <w:sz w:val="14"/>
  1227.                                                                 </w:rPr>
  1228.                                                             </altova:CharacterProperties>
  1229.                                                         </altova:ContentHolder>
  1230.                                                     </xsl:for-each>
  1231.                                                 </xsl:for-each>
  1232.                                             </xsl:for-each>
  1233.                                         </xsl:for-each>
  1234.                                     </altova:Paragraph>
  1235.                                 </altova:TableCell>
  1236.                                 <altova:TableCell altova:ParaPropertiesId="table cell_P_44">
  1237.                                     <altova:ParagraphProperties>
  1238.                                         <w:pPr>
  1239.                                             <w:jc w:val="center"/>
  1240.                                         </w:pPr>
  1241.                                     </altova:ParagraphProperties>
  1242.                                     <altova:TableCellProperties>
  1243.                                         <w:vAlign w:val="top"/>
  1244.                                     </altova:TableCellProperties>
  1245.                                     <altova:Paragraph>
  1246.                                         <xsl:for-each select="$XML1">
  1247.                                             <xsl:for-each select="SolidCAMPart">
  1248.                                                 <xsl:for-each select="General">
  1249.                                                     <xsl:for-each select="SCHeaderImages">
  1250.                                                         <altova:ContentHolder>
  1251.                                                             <xsl:apply-templates/>
  1252.                                                         </altova:ContentHolder>
  1253.                                                     </xsl:for-each>
  1254.                                                 </xsl:for-each>
  1255.                                             </xsl:for-each>
  1256.                                         </xsl:for-each>
  1257.                                         <altova:TextRun altova:CharPropertiesId="text_C_45">&#160;<altova:CharacterProperties altova:whitespace="preserve-all"/>
  1258.                                         </altova:TextRun>
  1259.                                         <xsl:for-each select="$XML1">
  1260.                                             <xsl:for-each select="SolidCAMPart">
  1261.                                                 <xsl:for-each select="General">
  1262.                                                     <xsl:for-each select="SCPartName">
  1263.                                                         <xsl:for-each select="Value">
  1264.                                                             <altova:ContentHolder altova:CharPropertiesId="content_C_46">
  1265.                                                                 <xsl:apply-templates/>
  1266.                                                                 <altova:CharacterProperties>
  1267.                                                                     <w:rPr>
  1268.                                                                         <w:b/>
  1269.                                                                     </w:rPr>
  1270.                                                                 </altova:CharacterProperties>
  1271.                                                             </altova:ContentHolder>
  1272.                                                         </xsl:for-each>
  1273.                                                     </xsl:for-each>
  1274.                                                 </xsl:for-each>
  1275.                                             </xsl:for-each>
  1276.                                         </xsl:for-each>
  1277.                                         <altova:Table>
  1278.                                             <altova:TableProperties>
  1279.                                                 <w:tblStyle w:val="TableStyle8"/>
  1280.                                                 <w:tblW w:w="5000" w:type="pct"/>
  1281.                                             </altova:TableProperties>
  1282.                                             <xsl:variable name="altova:CurrContextGrid_47" select="."/>
  1283.                                             <xsl:variable name="altova:ColumnData">
  1284.                                                 <altova:Internal/>
  1285.                                             </xsl:variable>
  1286.                                             <altova:TableGrid>
  1287.                                                 <altova:GridCol altova:Width="2500" altova:Type="percent"/>
  1288.                                                 <altova:GridCol altova:Width="2500" altova:Type="percent"/>
  1289.                                             </altova:TableGrid>
  1290.                                             <altova:TableBody>
  1291.                                                 <xsl:for-each select="$XML1">
  1292.                                                     <xsl:for-each select="SolidCAMPart">
  1293.                                                         <xsl:for-each select="General">
  1294.                                                             <xsl:for-each select="SCUserDefinedHeader">
  1295.                                                                 <altova:TableRow>
  1296.                                                                     <altova:TableCell altova:ParaPropertiesId="table cell_P_48">
  1297.                                                                         <altova:ParagraphProperties>
  1298.                                                                             <w:pPr>
  1299.                                                                                 <w:shd w:val="clear" w:fill="E1E1E1"/>
  1300.                                                                             </w:pPr>
  1301.                                                                         </altova:ParagraphProperties>
  1302.                                                                         <altova:TableCellProperties>
  1303.                                                                             <w:shd w:val="clear" w:fill="E1E1E1"/>
  1304.                                                                             <w:vAlign w:val="center"/>
  1305.                                                                         </altova:TableCellProperties>
  1306.                                                                         <altova:Paragraph>
  1307.                                                                             <xsl:for-each select="Lable">
  1308.                                                                                 <altova:ContentHolder>
  1309.                                                                                     <xsl:apply-templates/>
  1310.                                                                                 </altova:ContentHolder>
  1311.                                                                             </xsl:for-each>
  1312.                                                                         </altova:Paragraph>
  1313.                                                                     </altova:TableCell>
  1314.                                                                     <altova:TableCell>
  1315.                                                                         <altova:TableCellProperties>
  1316.                                                                             <w:vAlign w:val="center"/>
  1317.                                                                         </altova:TableCellProperties>
  1318.                                                                         <altova:Paragraph>
  1319.                                                                             <xsl:for-each select="Value">
  1320.                                                                                 <altova:ContentHolder>
  1321.                                                                                     <xsl:apply-templates/>
  1322.                                                                                 </altova:ContentHolder>
  1323.                                                                             </xsl:for-each>
  1324.                                                                         </altova:Paragraph>
  1325.                                                                     </altova:TableCell>
  1326.                                                                 </altova:TableRow>
  1327.                                                             </xsl:for-each>
  1328.                                                         </xsl:for-each>
  1329.                                                     </xsl:for-each>
  1330.                                                 </xsl:for-each>
  1331.                                             </altova:TableBody>
  1332.                                         </altova:Table>
  1333.                                     </altova:Paragraph>
  1334.                                 </altova:TableCell>
  1335.                                 <altova:TableCell altova:ParaPropertiesId="table cell_P_49">
  1336.                                     <altova:ParagraphProperties>
  1337.                                         <w:pPr>
  1338.                                             <w:jc w:val="center"/>
  1339.                                         </w:pPr>
  1340.                                     </altova:ParagraphProperties>
  1341.                                     <altova:TableCellProperties>
  1342.                                         <w:tcMar>
  1343.                                             <w:top w:w="15" w:type="dxa"/>
  1344.                                             <w:left w:w="15" w:type="dxa"/>
  1345.                                             <w:bottom w:w="15" w:type="dxa"/>
  1346.                                             <w:right w:w="15" w:type="dxa"/>
  1347.                                         </w:tcMar>
  1348.                                         <w:vAlign w:val="top"/>
  1349.                                     </altova:TableCellProperties>
  1350.                                     <altova:Paragraph>
  1351.                                         <xsl:if test="string-length( string($XML1/SolidCAMPart/General/SCCompanyLogo) ) &gt; 2">
  1352.                                             <xsl:for-each select="$XML1">
  1353.                                                 <xsl:for-each select="SolidCAMPart">
  1354.                                                     <xsl:for-each select="General">
  1355.                                                         <xsl:for-each select="SCCompanyLogo">
  1356.                                                             <altova:Image altova:Src="{.}" altova:WidthEmu="1097280" altova:HeightEmu="274320"/>
  1357.                                                         </xsl:for-each>
  1358.                                                     </xsl:for-each>
  1359.                                                 </xsl:for-each>
  1360.                                             </xsl:for-each>
  1361.                                         </xsl:if>
  1362.                                     </altova:Paragraph>
  1363.                                 </altova:TableCell>
  1364.                             </altova:TableRow>
  1365.                         </altova:TableBody>
  1366.                     </altova:Table>
  1367.                     <altova:NewLine/>
  1368.                     <altova:Table altova:CharPropertiesId="table_C_50">
  1369.                         <altova:CharacterProperties>
  1370.                             <w:rPr>
  1371.                                 <w:rFonts w:ascii="arial" w:hAnsi="arial"/>
  1372.                             </w:rPr>
  1373.                         </altova:CharacterProperties>
  1374.                         <altova:TableProperties>
  1375.                             <w:tblStyle w:val="TableStyle9"/>
  1376.                             <w:tblW w:w="5000" w:type="pct"/>
  1377.                         </altova:TableProperties>
  1378.                         <xsl:variable name="altova:CurrContextGrid_50" select="."/>
  1379.                         <xsl:variable name="altova:ColumnData">
  1380.                             <altova:Internal/>
  1381.                         </xsl:variable>
  1382.                         <altova:TableGrid>
  1383.                             <altova:GridCol altova:Width="0" altova:Type="auto"/>
  1384.                             <altova:GridCol altova:Width="0" altova:Type="auto"/>
  1385.                         </altova:TableGrid>
  1386.                         <altova:TableBody>
  1387.                             <altova:TableRow>
  1388.                                 <altova:TableCell>
  1389.                                     <altova:TableCellProperties>
  1390.                                         <w:tcBorders>
  1391.                                             <w:top w:val="single" w:color="000000" w:sz="6"/>
  1392.                                             <w:left w:val="single" w:color="000000" w:sz="6"/>
  1393.                                             <w:bottom w:val="single" w:color="000000" w:sz="6"/>
  1394.                                             <w:right w:val="single" w:color="000000" w:sz="6"/>
  1395.                                         </w:tcBorders>
  1396.                                         <w:vAlign w:val="center"/>
  1397.                                     </altova:TableCellProperties>
  1398.                                     <altova:Paragraph>
  1399.                                         <xsl:for-each select="$XML1">
  1400.                                             <xsl:for-each select="SolidCAMPart">
  1401.                                                 <xsl:for-each select="General">
  1402.                                                     <xsl:for-each select="SCMainPartImage">
  1403.                                                         <altova:Image altova:Src="{.}" altova:WidthEmu="2381250" altova:HeightEmu="2381250"/>
  1404.                                                     </xsl:for-each>
  1405.                                                 </xsl:for-each>
  1406.                                             </xsl:for-each>
  1407.                                         </xsl:for-each>
  1408.                                     </altova:Paragraph>
  1409.                                 </altova:TableCell>
  1410.                                 <altova:TableCell>
  1411.                                     <altova:TableCellProperties>
  1412.                                         <w:tcBorders>
  1413.                                             <w:top w:val="single" w:color="000000" w:sz="6"/>
  1414.                                             <w:left w:val="single" w:color="000000" w:sz="6"/>
  1415.                                             <w:bottom w:val="single" w:color="000000" w:sz="6"/>
  1416.                                             <w:right w:val="single" w:color="000000" w:sz="6"/>
  1417.                                         </w:tcBorders>
  1418.                                         <w:vAlign w:val="center"/>
  1419.                                     </altova:TableCellProperties>
  1420.                                     <altova:Paragraph>
  1421.                                         <xsl:for-each select="$XML1">
  1422.                                             <xsl:for-each select="SolidCAMPart">
  1423.                                                 <xsl:for-each select="General">
  1424.                                                     <xsl:for-each select="SCMainPartImage">
  1425.                                                         <altova:Image altova:Src="{.}" altova:WidthEmu="2381250" altova:HeightEmu="2381250"/>
  1426.                                                     </xsl:for-each>
  1427.                                                 </xsl:for-each>
  1428.                                             </xsl:for-each>
  1429.                                         </xsl:for-each>
  1430.                                     </altova:Paragraph>
  1431.                                 </altova:TableCell>
  1432.                             </altova:TableRow>
  1433.                             <altova:TableRow>
  1434.                                 <altova:TableCell>
  1435.                                     <altova:TableCellProperties>
  1436.                                         <w:tcBorders>
  1437.                                             <w:top w:val="single" w:color="000000" w:sz="6"/>
  1438.                                             <w:left w:val="single" w:color="000000" w:sz="6"/>
  1439.                                             <w:bottom w:val="single" w:color="000000" w:sz="6"/>
  1440.                                             <w:right w:val="single" w:color="000000" w:sz="6"/>
  1441.                                         </w:tcBorders>
  1442.                                         <w:vAlign w:val="center"/>
  1443.                                     </altova:TableCellProperties>
  1444.                                     <altova:Paragraph>
  1445.                                         <altova:TextRun altova:CharPropertiesId="text_C_51">XXXXXXX<altova:CharacterProperties altova:whitespace="preserve-all"/>
  1446.                                         </altova:TextRun>
  1447.                                     </altova:Paragraph>
  1448.                                 </altova:TableCell>
  1449.                                 <altova:TableCell>
  1450.                                     <altova:TableCellProperties>
  1451.                                         <w:tcBorders>
  1452.                                             <w:top w:val="single" w:color="000000" w:sz="6"/>
  1453.                                             <w:left w:val="single" w:color="000000" w:sz="6"/>
  1454.                                             <w:bottom w:val="single" w:color="000000" w:sz="6"/>
  1455.                                             <w:right w:val="single" w:color="000000" w:sz="6"/>
  1456.                                         </w:tcBorders>
  1457.                                         <w:vAlign w:val="center"/>
  1458.                                     </altova:TableCellProperties>
  1459.                                     <altova:Paragraph>
  1460.                                         <altova:TextRun altova:CharPropertiesId="text_C_52">XXXXXXXXX<altova:CharacterProperties altova:whitespace="preserve-all"/>
  1461.                                         </altova:TextRun>
  1462.                                     </altova:Paragraph>
  1463.                                 </altova:TableCell>
  1464.                             </altova:TableRow>
  1465.                         </altova:TableBody>
  1466.                     </altova:Table>
  1467.                     <altova:NewLine/>
  1468.                     <altova:NewLine/>
  1469.                 </xsl:if>
  1470.                 <xsl:if test="$XML1/SolidCAMPart/General/Settings/SCGenToolTabel  =  &quot;1&quot;">
  1471.                     <xsl:if test="$XML1/SolidCAMPart/General/Settings/SCGenMainPage = &quot;1&quot; or
  1472. $XML1/SolidCAMPart/General/Settings/SCGenImages   = &quot;1&quot;">
  1473.                         <altova:PageBreak/>
  1474.                     </xsl:if>
  1475.                     <altova:Table altova:CharPropertiesId="table_C_53">
  1476.                         <altova:CharacterProperties>
  1477.                             <w:rPr>
  1478.                                 <w:rFonts w:ascii="arial" w:hAnsi="arial"/>
  1479.                             </w:rPr>
  1480.                         </altova:CharacterProperties>
  1481.                         <altova:TableProperties>
  1482.                             <w:tblStyle w:val="TableStyle10"/>
  1483.                             <w:tblW w:w="5000" w:type="pct"/>
  1484.                         </altova:TableProperties>
  1485.                         <xsl:variable name="altova:CurrContextGrid_53" select="."/>
  1486.                         <xsl:variable name="altova:ColumnData">
  1487.                             <altova:Internal/>
  1488.                         </xsl:variable>
  1489.                         <altova:TableGrid>
  1490.                             <altova:GridCol altova:Width="1000" altova:Type="percent"/>
  1491.                             <altova:GridCol altova:Width="3000" altova:Type="percent"/>
  1492.                             <altova:GridCol altova:Width="1000" altova:Type="percent"/>
  1493.                         </altova:TableGrid>
  1494.                         <altova:TableBody>
  1495.                             <altova:TableRow>
  1496.                                 <altova:TableCellProperties>
  1497.                                     <w:tcBorders>
  1498.                                         <w:bottom w:val="single" w:sz="32"/>
  1499.                                     </w:tcBorders>
  1500.                                 </altova:TableCellProperties>
  1501.                                 <altova:TableCell altova:ParaPropertiesId="table cell_P_54">
  1502.                                     <altova:ParagraphProperties>
  1503.                                         <w:pPr>
  1504.                                             <w:jc w:val="center"/>
  1505.                                         </w:pPr>
  1506.                                     </altova:ParagraphProperties>
  1507.                                     <altova:TableCellProperties>
  1508.                                         <w:vAlign w:val="top"/>
  1509.                                     </altova:TableCellProperties>
  1510.                                     <altova:Paragraph>
  1511.                                         <xsl:if test="false()">
  1512.                                             <xsl:for-each select="$XML1">
  1513.                                                 <xsl:for-each select="SolidCAMPart">
  1514.                                                     <xsl:for-each select="General">
  1515.                                                         <xsl:for-each select="SCMainPartImage">
  1516.                                                             <altova:Image altova:Src="{.}" altova:WidthEmu="571500" altova:HeightEmu="571500"/>
  1517.                                                         </xsl:for-each>
  1518.                                                     </xsl:for-each>
  1519.                                                 </xsl:for-each>
  1520.                                             </xsl:for-each>
  1521.                                         </xsl:if>
  1522.                                         <altova:NewLine/>
  1523.                                         <xsl:for-each select="$XML1">
  1524.                                             <xsl:for-each select="SolidCAMPart">
  1525.                                                 <xsl:for-each select="General">
  1526.                                                     <xsl:for-each select="SCDateCreated">
  1527.                                                         <altova:ContentHolder altova:CharPropertiesId="content_C_55">
  1528.                                                             <xsl:apply-templates/>
  1529.                                                             <altova:CharacterProperties>
  1530.                                                                 <w:rPr>
  1531.                                                                     <w:sz w:val="14"/>
  1532.                                                                 </w:rPr>
  1533.                                                             </altova:CharacterProperties>
  1534.                                                         </altova:ContentHolder>
  1535.                                                     </xsl:for-each>
  1536.                                                 </xsl:for-each>
  1537.                                             </xsl:for-each>
  1538.                                         </xsl:for-each>
  1539.                                     </altova:Paragraph>
  1540.                                 </altova:TableCell>
  1541.                                 <altova:TableCell altova:ParaPropertiesId="table cell_P_56">
  1542.                                     <altova:ParagraphProperties>
  1543.                                         <w:pPr>
  1544.                                             <w:jc w:val="center"/>
  1545.                                         </w:pPr>
  1546.                                     </altova:ParagraphProperties>
  1547.                                     <altova:TableCellProperties>
  1548.                                         <w:vAlign w:val="top"/>
  1549.                                     </altova:TableCellProperties>
  1550.                                     <altova:Paragraph>
  1551.                                         <xsl:for-each select="$XML1">
  1552.                                             <xsl:for-each select="SolidCAMPart">
  1553.                                                 <xsl:for-each select="General">
  1554.                                                     <xsl:for-each select="SCToolTableHeader">
  1555.                                                         <altova:ContentHolder>
  1556.                                                             <xsl:apply-templates/>
  1557.                                                         </altova:ContentHolder>
  1558.                                                     </xsl:for-each>
  1559.                                                 </xsl:for-each>
  1560.                                             </xsl:for-each>
  1561.                                         </xsl:for-each>
  1562.                                         <altova:TextRun altova:CharPropertiesId="text_C_57">&#160;<altova:CharacterProperties altova:whitespace="preserve-all"/>
  1563.                                         </altova:TextRun>
  1564.                                         <xsl:for-each select="$XML1">
  1565.                                             <xsl:for-each select="SolidCAMPart">
  1566.                                                 <xsl:for-each select="General">
  1567.                                                     <xsl:for-each select="SCPartName">
  1568.                                                         <xsl:for-each select="Value">
  1569.                                                             <altova:ContentHolder altova:CharPropertiesId="content_C_58">
  1570.                                                                 <xsl:apply-templates/>
  1571.                                                                 <altova:CharacterProperties>
  1572.                                                                     <w:rPr>
  1573.                                                                         <w:b/>
  1574.                                                                     </w:rPr>
  1575.                                                                 </altova:CharacterProperties>
  1576.                                                             </altova:ContentHolder>
  1577.                                                         </xsl:for-each>
  1578.                                                     </xsl:for-each>
  1579.                                                 </xsl:for-each>
  1580.                                             </xsl:for-each>
  1581.                                         </xsl:for-each>
  1582.                                         <altova:Table>
  1583.                                             <altova:TableProperties>
  1584.                                                 <w:tblStyle w:val="TableStyle11"/>
  1585.                                                 <w:tblW w:w="5000" w:type="pct"/>
  1586.                                             </altova:TableProperties>
  1587.                                             <xsl:variable name="altova:CurrContextGrid_59" select="."/>
  1588.                                             <xsl:variable name="altova:ColumnData">
  1589.                                                 <altova:Internal/>
  1590.                                             </xsl:variable>
  1591.                                             <altova:TableGrid>
  1592.                                                 <altova:GridCol altova:Width="2500" altova:Type="percent"/>
  1593.                                                 <altova:GridCol altova:Width="2500" altova:Type="percent"/>
  1594.                                             </altova:TableGrid>
  1595.                                             <altova:TableBody>
  1596.                                                 <xsl:for-each select="$XML1">
  1597.                                                     <xsl:for-each select="SolidCAMPart">
  1598.                                                         <xsl:for-each select="General">
  1599.                                                             <xsl:for-each select="SCUserDefinedHeader">
  1600.                                                                 <altova:TableRow>
  1601.                                                                     <altova:TableCell altova:ParaPropertiesId="table cell_P_60">
  1602.                                                                         <altova:ParagraphProperties>
  1603.                                                                             <w:pPr>
  1604.                                                                                 <w:shd w:val="clear" w:fill="E1E1E1"/>
  1605.                                                                             </w:pPr>
  1606.                                                                         </altova:ParagraphProperties>
  1607.                                                                         <altova:TableCellProperties>
  1608.                                                                             <w:shd w:val="clear" w:fill="E1E1E1"/>
  1609.                                                                             <w:vAlign w:val="center"/>
  1610.                                                                         </altova:TableCellProperties>
  1611.                                                                         <altova:Paragraph>
  1612.                                                                             <xsl:for-each select="Lable">
  1613.                                                                                 <altova:ContentHolder>
  1614.                                                                                     <xsl:apply-templates/>
  1615.                                                                                 </altova:ContentHolder>
  1616.                                                                             </xsl:for-each>
  1617.                                                                         </altova:Paragraph>
  1618.                                                                     </altova:TableCell>
  1619.                                                                     <altova:TableCell>
  1620.                                                                         <altova:TableCellProperties>
  1621.                                                                             <w:vAlign w:val="center"/>
  1622.                                                                         </altova:TableCellProperties>
  1623.                                                                         <altova:Paragraph>
  1624.                                                                             <xsl:for-each select="Value">
  1625.                                                                                 <altova:ContentHolder>
  1626.                                                                                     <xsl:apply-templates/>
  1627.                                                                                 </altova:ContentHolder>
  1628.                                                                             </xsl:for-each>
  1629.                                                                         </altova:Paragraph>
  1630.                                                                     </altova:TableCell>
  1631.                                                                 </altova:TableRow>
  1632.                                                             </xsl:for-each>
  1633.                                                         </xsl:for-each>
  1634.                                                     </xsl:for-each>
  1635.                                                 </xsl:for-each>
  1636.                                             </altova:TableBody>
  1637.                                         </altova:Table>
  1638.                                     </altova:Paragraph>
  1639.                                 </altova:TableCell>
  1640.                                 <altova:TableCell altova:ParaPropertiesId="table cell_P_61">
  1641.                                     <altova:ParagraphProperties>
  1642.                                         <w:pPr>
  1643.                                             <w:jc w:val="center"/>
  1644.                                         </w:pPr>
  1645.                                     </altova:ParagraphProperties>
  1646.                                     <altova:TableCellProperties>
  1647.                                         <w:tcMar>
  1648.                                             <w:top w:w="15" w:type="dxa"/>
  1649.                                             <w:left w:w="15" w:type="dxa"/>
  1650.                                             <w:bottom w:w="15" w:type="dxa"/>
  1651.                                             <w:right w:w="15" w:type="dxa"/>
  1652.                                         </w:tcMar>
  1653.                                         <w:vAlign w:val="top"/>
  1654.                                     </altova:TableCellProperties>
  1655.                                     <altova:Paragraph>
  1656.                                         <xsl:if test="string-length( string($XML1/SolidCAMPart/General/SCCompanyLogo) ) &gt; 2">
  1657.                                             <xsl:for-each select="$XML1">
  1658.                                                 <xsl:for-each select="SolidCAMPart">
  1659.                                                     <xsl:for-each select="General">
  1660.                                                         <xsl:for-each select="SCCompanyLogo">
  1661.                                                             <altova:Image altova:Src="{.}" altova:WidthEmu="1097280" altova:HeightEmu="274320"/>
  1662.                                                         </xsl:for-each>
  1663.                                                     </xsl:for-each>
  1664.                                                 </xsl:for-each>
  1665.                                             </xsl:for-each>
  1666.                                         </xsl:if>
  1667.                                     </altova:Paragraph>
  1668.                                 </altova:TableCell>
  1669.                             </altova:TableRow>
  1670.                         </altova:TableBody>
  1671.                     </altova:Table>
  1672.                     <altova:NewLine/>
  1673.                     <altova:Table altova:CharPropertiesId="table_C_62">
  1674.                         <altova:CharacterProperties>
  1675.                             <w:rPr>
  1676.                                 <w:rFonts w:ascii="Arial" w:hAnsi="Arial"/>
  1677.                                 <w:sz w:val="24"/>
  1678.                             </w:rPr>
  1679.                         </altova:CharacterProperties>
  1680.                         <altova:TableProperties>
  1681.                             <w:tblStyle w:val="TableStyle12"/>
  1682.                             <w:tblW w:w="5000" w:type="pct"/>
  1683.                         </altova:TableProperties>
  1684.                         <xsl:variable name="altova:CurrContextGrid_62" select="."/>
  1685.                         <xsl:variable name="altova:ColumnData">
  1686.                             <altova:Internal/>
  1687.                         </xsl:variable>
  1688.                         <altova:TableGrid>
  1689.                             <altova:GridCol altova:Width="5000" altova:Type="percent"/>
  1690.                         </altova:TableGrid>
  1691.                         <altova:TableBody>
  1692.                             <xsl:for-each select="$XML1">
  1693.                                 <xsl:for-each select="SolidCAMPart">
  1694.                                     <xsl:for-each select="SCTools">
  1695.                                         <xsl:for-each select="SCTool">
  1696.                                             <altova:TableRow>
  1697.                                                 <altova:TableRowProperties>
  1698.                                                     <w:trPr>
  1699.                                                         <w:cantSplit/>
  1700.                                                     </w:trPr>
  1701.                                                 </altova:TableRowProperties>
  1702.                                                 <altova:TableCell altova:ParaPropertiesId="table cell_P_63">
  1703.                                                     <altova:ParagraphProperties>
  1704.                                                         <w:pPr>
  1705.                                                             <w:jc w:val="left"/>
  1706.                                                         </w:pPr>
  1707.                                                     </altova:ParagraphProperties>
  1708.                                                     <altova:TableCellProperties>
  1709.                                                         <w:vAlign w:val="top"/>
  1710.                                                     </altova:TableCellProperties>
  1711.                                                     <altova:Paragraph>
  1712.                                                         <altova:Table>
  1713.                                                             <altova:TableProperties>
  1714.                                                                 <w:tblStyle w:val="TableStyle13"/>
  1715.                                                                 <w:tblW w:w="5000" w:type="pct"/>
  1716.                                                             </altova:TableProperties>
  1717.                                                             <xsl:variable name="altova:CurrContextGrid_64" select="."/>
  1718.                                                             <xsl:variable name="altova:ColumnData">
  1719.                                                                 <altova:Internal/>
  1720.                                                             </xsl:variable>
  1721.                                                             <altova:TableGrid>
  1722.                                                                 <altova:GridCol altova:Width="2880" altova:Type="twips"/>
  1723.                                                                 <altova:GridCol altova:Width="750" altova:Type="percent"/>
  1724.                                                                 <altova:GridCol altova:Width="1000" altova:Type="percent"/>
  1725.                                                                 <altova:GridCol altova:Width="1000" altova:Type="percent"/>
  1726.                                                                 <altova:GridCol altova:Width="1000" altova:Type="percent"/>
  1727.                                                             </altova:TableGrid>
  1728.                                                             <altova:TableBody>
  1729.                                                                 <altova:TableRow>
  1730.                                                                     <altova:TableCell altova:CharPropertiesId="table cell_C_65" altova:ParaPropertiesId="table cell_P_65">
  1731.                                                                         <altova:CharacterProperties>
  1732.                                                                             <w:rPr>
  1733.                                                                                 <w:sz w:val="29"/>
  1734.                                                                             </w:rPr>
  1735.                                                                         </altova:CharacterProperties>
  1736.                                                                         <altova:ParagraphProperties>
  1737.                                                                             <w:pPr>
  1738.                                                                                 <w:jc w:val="left"/>
  1739.                                                                             </w:pPr>
  1740.                                                                         </altova:ParagraphProperties>
  1741.                                                                         <altova:TableCellProperties>
  1742.                                                                             <w:vMerge w:val="restart"/>
  1743.                                                                             <w:vAlign w:val="top"/>
  1744.                                                                         </altova:TableCellProperties>
  1745.                                                                         <altova:Paragraph>
  1746.                                                                             <xsl:for-each select="SCToolNumber">
  1747.                                                                                 <xsl:for-each select="Value">
  1748.                                                                                     <altova:ContentHolder altova:CharPropertiesId="content_C_66">
  1749.                                                                                         <xsl:apply-templates/>
  1750.                                                                                         <altova:CharacterProperties>
  1751.                                                                                             <w:rPr>
  1752.                                                                                                 <w:b/>
  1753.                                                                                             </w:rPr>
  1754.                                                                                         </altova:CharacterProperties>
  1755.                                                                                     </altova:ContentHolder>
  1756.                                                                                 </xsl:for-each>
  1757.                                                                             </xsl:for-each>
  1758.                                                                             <altova:TextRun altova:CharPropertiesId="text_C_67">&#160;&#160; <altova:CharacterProperties altova:whitespace="preserve-all">
  1759.                                                                                     <w:rPr>
  1760.                                                                                         <w:sz w:val="20"/>
  1761.                                                                                     </w:rPr>
  1762.                                                                                 </altova:CharacterProperties>
  1763.                                                                             </altova:TextRun>
  1764.                                                                             <xsl:for-each select="SCToolHolderType">
  1765.                                                                                 <xsl:for-each select="Value">
  1766.                                                                                     <altova:ContentHolder altova:CharPropertiesId="content_C_68">
  1767.                                                                                         <xsl:apply-templates/>
  1768.                                                                                         <altova:CharacterProperties>
  1769.                                                                                             <w:rPr>
  1770.                                                                                                 <w:sz w:val="20"/>
  1771.                                                                                             </w:rPr>
  1772.                                                                                         </altova:CharacterProperties>
  1773.                                                                                     </altova:ContentHolder>
  1774.                                                                                 </xsl:for-each>
  1775.                                                                             </xsl:for-each>
  1776.                                                                             <altova:TextRun altova:CharPropertiesId="text_C_69">&#160;<altova:CharacterProperties altova:whitespace="preserve-all"/>
  1777.                                                                             </altova:TextRun>
  1778.                                                                             <xsl:for-each select="SCToolIdNumber">
  1779.                                                                                 <xsl:for-each select="Value">
  1780.                                                                                     <altova:ContentHolder altova:CharPropertiesId="content_C_70">
  1781.                                                                                         <xsl:apply-templates/>
  1782.                                                                                         <altova:CharacterProperties>
  1783.                                                                                             <w:rPr>
  1784.                                                                                                 <w:sz w:val="24"/>
  1785.                                                                                             </w:rPr>
  1786.                                                                                         </altova:CharacterProperties>
  1787.                                                                                     </altova:ContentHolder>
  1788.                                                                                 </xsl:for-each>
  1789.                                                                             </xsl:for-each>
  1790.                                                                             <altova:NewLine/>
  1791.                                                                             <xsl:if test="../../General/Settings/CheckImageToolPreview = &quot;1&quot; and (string-length( string(SCToolImage/Value) ) &gt; 0) and ( contains( string(SCParamsImage),  string(&quot;mill&quot;)) )">
  1792.                                                                                 <xsl:for-each select="SCToolImage">
  1793.                                                                                     <altova:Image altova:Src="{Value}" altova:WidthEmu="1190625" altova:HeightEmu="476250"/>
  1794.                                                                                 </xsl:for-each>
  1795.                                                                             </xsl:if>
  1796.                                                                             <xsl:if test="../../General/Settings/CheckImageToolPreview = &quot;1&quot; and (string-length( string(SCToolImage/Value) ) &gt; 0) and ( contains( string(SCParamsImage),  string(&quot;turn&quot;)) )">
  1797.                                                                                 <xsl:for-each select="SCToolImage">
  1798.                                                                                     <altova:Image altova:Src="{Value}" altova:WidthEmu="590550" altova:HeightEmu="571500"/>
  1799.                                                                                 </xsl:for-each>
  1800.                                                                             </xsl:if>
  1801.                                                                             <altova:NewLine/>
  1802.                                                                             <xsl:for-each select="SCToolType">
  1803.                                                                                 <xsl:for-each select="Value">
  1804.                                                                                     <altova:ContentHolder altova:CharPropertiesId="content_C_71">
  1805.                                                                                         <xsl:apply-templates/>
  1806.                                                                                         <altova:CharacterProperties>
  1807.                                                                                             <w:rPr>
  1808.                                                                                                 <w:b/>
  1809.                                                                                                 <w:sz w:val="20"/>
  1810.                                                                                             </w:rPr>
  1811.                                                                                         </altova:CharacterProperties>
  1812.                                                                                     </altova:ContentHolder>
  1813.                                                                                 </xsl:for-each>
  1814.                                                                             </xsl:for-each>
  1815.                                                                         </altova:Paragraph>
  1816.                                                                     </altova:TableCell>
  1817.                                                                     <altova:TableCell>
  1818.                                                                         <altova:TableCellProperties>
  1819.                                                                             <w:vMerge w:val="restart"/>
  1820.                                                                             <w:vAlign w:val="top"/>
  1821.                                                                         </altova:TableCellProperties>
  1822.                                                                         <altova:Paragraph>
  1823.                                                                             <xsl:if test="../../General/Settings/CheckImageToolParameters = &quot;1&quot;">
  1824.                                                                                 <xsl:variable name="altova:seqWidthHeight" as="xs:integer*">
  1825.                                                                                     <xsl:choose use-when="function-available('altovaext:get-width-and-height-from-image-data')">
  1826.                                                                                         <xsl:when test="unparsed-text-available(SCParamsImage/Value, 'x-binarytobase64')">
  1827.                                                                                             <xsl:sequence select="altovaext:get-width-and-height-from-image-data(xs:base64Binary(unparsed-text(SCParamsImage/Value, 'x-binarytobase64')))"/>
  1828.                                                                                         </xsl:when>
  1829.                                                                                         <xsl:otherwise>
  1830.                                                                                             <xsl:sequence select="(63, 63)"/>
  1831.                                                                                         </xsl:otherwise>
  1832.                                                                                     </xsl:choose>
  1833.                                                                                     <xsl:sequence select="(63, 63)" use-when="not(function-available('altovaext:get-width-and-height-from-image-data'))"/>
  1834.                                                                                 </xsl:variable>
  1835.                                                                                 <altova:Image altova:Src="{SCParamsImage/Value}" altova:WidthEmu="{altova:MapCssToWordml_WidthOrHeightToEmu(concat($altova:seqWidthHeight[1], 'px'))}" altova:HeightEmu="{altova:MapCssToWordml_WidthOrHeightToEmu(concat($altova:seqWidthHeight[2], 'px'))}"/>
  1836.                                                                             </xsl:if>
  1837.                                                                         </altova:Paragraph>
  1838.                                                                     </altova:TableCell>
  1839.                                                                     <altova:TableCell>
  1840.                                                                         <altova:TableCellProperties>
  1841.                                                                             <w:gridSpan w:val="3"/>
  1842.                                                                             <w:tcBorders>
  1843.                                                                                 <w:right w:val="none"/>
  1844.                                                                             </w:tcBorders>
  1845.                                                                             <w:vAlign w:val="top"/>
  1846.                                                                         </altova:TableCellProperties>
  1847.                                                                         <altova:Paragraph>
  1848.                                                                             <xsl:for-each select="SCToolDescription">
  1849.                                                                                 <xsl:for-each select="Value">
  1850.                                                                                     <altova:ContentHolder altova:CharPropertiesId="content_C_72">
  1851.                                                                                         <xsl:apply-templates/>
  1852.                                                                                         <altova:CharacterProperties>
  1853.                                                                                             <w:rPr>
  1854.                                                                                                 <w:sz w:val="14"/>
  1855.                                                                                             </w:rPr>
  1856.                                                                                         </altova:CharacterProperties>
  1857.                                                                                     </altova:ContentHolder>
  1858.                                                                                 </xsl:for-each>
  1859.                                                                             </xsl:for-each>
  1860.                                                                         </altova:Paragraph>
  1861.                                                                     </altova:TableCell>
  1862.                                                                 </altova:TableRow>
  1863.                                                                 <altova:TableRow>
  1864.                                                                     <altova:TableCell>
  1865.                                                                         <altova:Paragraph/>
  1866.                                                                         <altova:TableCellProperties>
  1867.                                                                             <w:vMerge w:val="continue"/>
  1868.                                                                         </altova:TableCellProperties>
  1869.                                                                     </altova:TableCell>
  1870.                                                                     <altova:TableCell>
  1871.                                                                         <altova:Paragraph/>
  1872.                                                                         <altova:TableCellProperties>
  1873.                                                                             <w:vMerge w:val="continue"/>
  1874.                                                                         </altova:TableCellProperties>
  1875.                                                                     </altova:TableCell>
  1876.                                                                     <altova:TableCell>
  1877.                                                                         <altova:TableCellProperties>
  1878.                                                                             <w:tcBorders>
  1879.                                                                                 <w:right w:val="none"/>
  1880.                                                                             </w:tcBorders>
  1881.                                                                             <w:vAlign w:val="top"/>
  1882.                                                                         </altova:TableCellProperties>
  1883.                                                                         <altova:Paragraph>
  1884.                                                                             <xsl:if test="../../General/Settings/CheckMillCD = &quot;1&quot; and not(empty( SCToolCD ))">
  1885.                                                                                 <altova:TextRun altova:CharPropertiesId="text_C_73">CD:&#160; <altova:CharacterProperties altova:whitespace="preserve-all">
  1886.                                                                                         <w:rPr>
  1887.                                                                                             <w:sz w:val="14"/>
  1888.                                                                                         </w:rPr>
  1889.                                                                                     </altova:CharacterProperties>
  1890.                                                                                 </altova:TextRun>
  1891.                                                                                 <xsl:for-each select="SCToolCD[Value]">
  1892.                                                                                     <altova:ContentHolder altova:CharPropertiesId="content_C_74">
  1893.                                                                                         <xsl:apply-templates/>
  1894.                                                                                         <altova:CharacterProperties>
  1895.                                                                                             <w:rPr>
  1896.                                                                                                 <w:sz w:val="14"/>
  1897.                                                                                             </w:rPr>
  1898.                                                                                         </altova:CharacterProperties>
  1899.                                                                                     </altova:ContentHolder>
  1900.                                                                                 </xsl:for-each>
  1901.                                                                                 <xsl:for-each select="SCToolDiameterUnit">
  1902.                                                                                     <altova:ContentHolder altova:CharPropertiesId="content_C_75">
  1903.                                                                                         <xsl:apply-templates/>
  1904.                                                                                         <altova:CharacterProperties>
  1905.                                                                                             <w:rPr>
  1906.                                                                                                 <w:sz w:val="14"/>
  1907.                                                                                             </w:rPr>
  1908.                                                                                         </altova:CharacterProperties>
  1909.                                                                                     </altova:ContentHolder>
  1910.                                                                                 </xsl:for-each>
  1911.                                                                                 <altova:NewLine/>
  1912.                                                                             </xsl:if>
  1913.                                                                             <xsl:if test="../../General/Settings/CheckMillD = &quot;1&quot; and not(empty( SCToolDia ))">
  1914.                                                                                 <altova:TextRun altova:CharPropertiesId="text_C_76">D: <altova:CharacterProperties altova:whitespace="preserve-all">
  1915.                                                                                         <w:rPr>
  1916.                                                                                             <w:sz w:val="14"/>
  1917.                                                                                         </w:rPr>
  1918.                                                                                     </altova:CharacterProperties>
  1919.                                                                                 </altova:TextRun>
  1920.                                                                                 <xsl:for-each select="SCToolDia[Value]">
  1921.                                                                                     <altova:ContentHolder altova:CharPropertiesId="content_C_77">
  1922.                                                                                         <xsl:apply-templates/>
  1923.                                                                                         <altova:CharacterProperties>
  1924.                                                                                             <w:rPr>
  1925.                                                                                                 <w:sz w:val="14"/>
  1926.                                                                                             </w:rPr>
  1927.                                                                                         </altova:CharacterProperties>
  1928.                                                                                     </altova:ContentHolder>
  1929.                                                                                 </xsl:for-each>
  1930.                                                                                 <altova:TextRun altova:CharPropertiesId="text_C_78">&#160;<altova:CharacterProperties altova:whitespace="preserve-all">
  1931.                                                                                         <w:rPr>
  1932.                                                                                             <w:sz w:val="14"/>
  1933.                                                                                         </w:rPr>
  1934.                                                                                     </altova:CharacterProperties>
  1935.                                                                                 </altova:TextRun>
  1936.                                                                                 <xsl:for-each select="SCToolDiameterUnit">
  1937.                                                                                     <altova:ContentHolder altova:CharPropertiesId="content_C_79">
  1938.                                                                                         <xsl:apply-templates/>
  1939.                                                                                         <altova:CharacterProperties>
  1940.                                                                                             <w:rPr>
  1941.                                                                                                 <w:sz w:val="14"/>
  1942.                                                                                             </w:rPr>
  1943.                                                                                         </altova:CharacterProperties>
  1944.                                                                                     </altova:ContentHolder>
  1945.                                                                                 </xsl:for-each>
  1946.                                                                                 <altova:NewLine/>
  1947.                                                                             </xsl:if>
  1948.                                                                             <xsl:if test="../../General/Settings/CheckMillR = &quot;1&quot; and not(empty( SCToolR ))">
  1949.                                                                                 <altova:TextRun altova:CharPropertiesId="text_C_80">R: <altova:CharacterProperties altova:whitespace="preserve-all">
  1950.                                                                                         <w:rPr>
  1951.                                                                                             <w:sz w:val="14"/>
  1952.                                                                                         </w:rPr>
  1953.                                                                                     </altova:CharacterProperties>
  1954.                                                                                 </altova:TextRun>
  1955.                                                                                 <xsl:for-each select="SCToolR">
  1956.                                                                                     <altova:ContentHolder altova:CharPropertiesId="content_C_81">
  1957.                                                                                         <xsl:apply-templates/>
  1958.                                                                                         <altova:CharacterProperties>
  1959.                                                                                             <w:rPr>
  1960.                                                                                                 <w:sz w:val="14"/>
  1961.                                                                                             </w:rPr>
  1962.                                                                                         </altova:CharacterProperties>
  1963.                                                                                     </altova:ContentHolder>
  1964.                                                                                 </xsl:for-each>
  1965.                                                                                 <altova:TextRun altova:CharPropertiesId="text_C_82">&#160;<altova:CharacterProperties altova:whitespace="preserve-all">
  1966.                                                                                         <w:rPr>
  1967.                                                                                             <w:sz w:val="14"/>
  1968.                                                                                         </w:rPr>
  1969.                                                                                     </altova:CharacterProperties>
  1970.                                                                                 </altova:TextRun>
  1971.                                                                                 <xsl:for-each select="SCToolDiameterUnit">
  1972.                                                                                     <altova:ContentHolder altova:CharPropertiesId="content_C_83">
  1973.                                                                                         <xsl:apply-templates/>
  1974.                                                                                         <altova:CharacterProperties>
  1975.                                                                                             <w:rPr>
  1976.                                                                                                 <w:sz w:val="14"/>
  1977.                                                                                             </w:rPr>
  1978.                                                                                         </altova:CharacterProperties>
  1979.                                                                                     </altova:ContentHolder>
  1980.                                                                                 </xsl:for-each>
  1981.                                                                                 <altova:NewLine/>
  1982.                                                                             </xsl:if>
  1983.                                                                             <xsl:if test="../../General/Settings/CheckMillTD = &quot;1&quot; and not(empty( SCToolTD ))">
  1984.                                                                                 <altova:TextRun altova:CharPropertiesId="text_C_84">TD: <altova:CharacterProperties altova:whitespace="preserve-all">
  1985.                                                                                         <w:rPr>
  1986.                                                                                             <w:sz w:val="14"/>
  1987.                                                                                         </w:rPr>
  1988.                                                                                     </altova:CharacterProperties>
  1989.                                                                                 </altova:TextRun>
  1990.                                                                                 <xsl:for-each select="SCToolTD">
  1991.                                                                                     <altova:ContentHolder altova:CharPropertiesId="content_C_85">
  1992.                                                                                         <xsl:apply-templates/>
  1993.                                                                                         <altova:CharacterProperties>
  1994.                                                                                             <w:rPr>
  1995.                                                                                                 <w:sz w:val="14"/>
  1996.                                                                                             </w:rPr>
  1997.                                                                                         </altova:CharacterProperties>
  1998.                                                                                     </altova:ContentHolder>
  1999.                                                                                 </xsl:for-each>
  2000.                                                                                 <altova:TextRun altova:CharPropertiesId="text_C_86">&#160;<altova:CharacterProperties altova:whitespace="preserve-all">
  2001.                                                                                         <w:rPr>
  2002.                                                                                             <w:sz w:val="14"/>
  2003.                                                                                         </w:rPr>
  2004.                                                                                     </altova:CharacterProperties>
  2005.                                                                                 </altova:TextRun>
  2006.                                                                                 <xsl:for-each select="SCToolDiameterUnit">
  2007.                                                                                     <altova:ContentHolder altova:CharPropertiesId="content_C_87">
  2008.                                                                                         <xsl:apply-templates/>
  2009.                                                                                         <altova:CharacterProperties>
  2010.                                                                                             <w:rPr>
  2011.                                                                                                 <w:sz w:val="14"/>
  2012.                                                                                             </w:rPr>
  2013.                                                                                         </altova:CharacterProperties>
  2014.                                                                                     </altova:ContentHolder>
  2015.                                                                                 </xsl:for-each>
  2016.                                                                                 <altova:NewLine/>
  2017.                                                                             </xsl:if>
  2018.                                                                             <xsl:if test="../../General/Settings/CheckMillA = &quot;1&quot; and not(empty( SCToolA ))">
  2019.                                                                                 <altova:TextRun altova:CharPropertiesId="text_C_88">A: <altova:CharacterProperties altova:whitespace="preserve-all">
  2020.                                                                                         <w:rPr>
  2021.                                                                                             <w:sz w:val="14"/>
  2022.                                                                                         </w:rPr>
  2023.                                                                                     </altova:CharacterProperties>
  2024.                                                                                 </altova:TextRun>
  2025.                                                                                 <xsl:for-each select="SCToolA">
  2026.                                                                                     <altova:ContentHolder altova:CharPropertiesId="content_C_89">
  2027.                                                                                         <xsl:apply-templates/>
  2028.                                                                                         <altova:CharacterProperties>
  2029.                                                                                             <w:rPr>
  2030.                                                                                                 <w:sz w:val="14"/>
  2031.                                                                                             </w:rPr>
  2032.                                                                                         </altova:CharacterProperties>
  2033.                                                                                     </altova:ContentHolder>
  2034.                                                                                 </xsl:for-each>
  2035.                                                                                 <altova:NewLine/>
  2036.                                                                             </xsl:if>
  2037.                                                                             <xsl:if test="../../General/Settings/CheckMillSA = &quot;1&quot; and not(empty( SCToolSA ))">
  2038.                                                                                 <altova:TextRun altova:CharPropertiesId="text_C_90">SA: <altova:CharacterProperties altova:whitespace="preserve-all">
  2039.                                                                                         <w:rPr>
  2040.                                                                                             <w:sz w:val="14"/>
  2041.                                                                                         </w:rPr>
  2042.                                                                                     </altova:CharacterProperties>
  2043.                                                                                 </altova:TextRun>
  2044.                                                                                 <xsl:for-each select="SCToolSA">
  2045.                                                                                     <altova:ContentHolder altova:CharPropertiesId="content_C_91">
  2046.                                                                                         <xsl:apply-templates/>
  2047.                                                                                         <altova:CharacterProperties>
  2048.                                                                                             <w:rPr>
  2049.                                                                                                 <w:sz w:val="14"/>
  2050.                                                                                             </w:rPr>
  2051.                                                                                         </altova:CharacterProperties>
  2052.                                                                                     </altova:ContentHolder>
  2053.                                                                                 </xsl:for-each>
  2054.                                                                                 <altova:NewLine/>
  2055.                                                                             </xsl:if>
  2056.                                                                             <xsl:if test="../../General/Settings/CheckMillAD = &quot;1&quot; and not(empty( SCToolAD ))">
  2057.                                                                                 <altova:TextRun altova:CharPropertiesId="text_C_92">AD: <altova:CharacterProperties altova:whitespace="preserve-all">
  2058.                                                                                         <w:rPr>
  2059.                                                                                             <w:sz w:val="14"/>
  2060.                                                                                         </w:rPr>
  2061.                                                                                     </altova:CharacterProperties>
  2062.                                                                                 </altova:TextRun>
  2063.                                                                                 <xsl:for-each select="SCToolAD">
  2064.                                                                                     <altova:ContentHolder altova:CharPropertiesId="content_C_93">
  2065.                                                                                         <xsl:apply-templates/>
  2066.                                                                                         <altova:CharacterProperties>
  2067.                                                                                             <w:rPr>
  2068.                                                                                                 <w:sz w:val="14"/>
  2069.                                                                                             </w:rPr>
  2070.                                                                                         </altova:CharacterProperties>
  2071.                                                                                     </altova:ContentHolder>
  2072.                                                                                 </xsl:for-each>
  2073.                                                                                 <altova:NewLine/>
  2074.                                                                             </xsl:if>
  2075.                                                                             <xsl:if test="../../General/Settings/CheckTurnA = &quot;1&quot; and not(empty( TToolA ))">
  2076.                                                                                 <altova:TextRun altova:CharPropertiesId="text_C_94">A: <altova:CharacterProperties altova:whitespace="preserve-all">
  2077.                                                                                         <w:rPr>
  2078.                                                                                             <w:sz w:val="14"/>
  2079.                                                                                         </w:rPr>
  2080.                                                                                     </altova:CharacterProperties>
  2081.                                                                                 </altova:TextRun>
  2082.                                                                                 <xsl:for-each select="TToolA">
  2083.                                                                                     <altova:ContentHolder altova:CharPropertiesId="content_C_95">
  2084.                                                                                         <xsl:apply-templates/>
  2085.                                                                                         <altova:CharacterProperties>
  2086.                                                                                             <w:rPr>
  2087.                                                                                                 <w:sz w:val="14"/>
  2088.                                                                                             </w:rPr>
  2089.                                                                                         </altova:CharacterProperties>
  2090.                                                                                     </altova:ContentHolder>
  2091.                                                                                 </xsl:for-each>
  2092.                                                                                 <altova:NewLine/>
  2093.                                                                             </xsl:if>
  2094.                                                                             <xsl:if test="not(empty( SCToolSD ))">
  2095.                                                                                 <altova:TextRun altova:CharPropertiesId="text_C_96">SD: <altova:CharacterProperties altova:whitespace="preserve-all">
  2096.                                                                                         <w:rPr>
  2097.                                                                                             <w:sz w:val="14"/>
  2098.                                                                                         </w:rPr>
  2099.                                                                                     </altova:CharacterProperties>
  2100.                                                                                 </altova:TextRun>
  2101.                                                                                 <xsl:for-each select="SCToolSD">
  2102.                                                                                     <xsl:for-each select="Value">
  2103.                                                                                         <altova:ContentHolder altova:CharPropertiesId="content_C_97">
  2104.                                                                                             <xsl:apply-templates/>
  2105.                                                                                             <altova:CharacterProperties>
  2106.                                                                                                 <w:rPr>
  2107.                                                                                                     <w:sz w:val="14"/>
  2108.                                                                                                 </w:rPr>
  2109.                                                                                             </altova:CharacterProperties>
  2110.                                                                                         </altova:ContentHolder>
  2111.                                                                                     </xsl:for-each>
  2112.                                                                                 </xsl:for-each>
  2113.                                                                                 <altova:NewLine/>
  2114.                                                                             </xsl:if>
  2115.                                                                             <xsl:if test="not(empty(SCToolL ))">
  2116.                                                                                 <altova:TextRun altova:CharPropertiesId="text_C_98">L: <altova:CharacterProperties altova:whitespace="preserve-all">
  2117.                                                                                         <w:rPr>
  2118.                                                                                             <w:sz w:val="14"/>
  2119.                                                                                         </w:rPr>
  2120.                                                                                     </altova:CharacterProperties>
  2121.                                                                                 </altova:TextRun>
  2122.                                                                                 <xsl:for-each select="SCToolL">
  2123.                                                                                     <xsl:for-each select="Value">
  2124.                                                                                         <altova:ContentHolder altova:CharPropertiesId="content_C_99">
  2125.                                                                                             <xsl:apply-templates/>
  2126.                                                                                             <altova:CharacterProperties>
  2127.                                                                                                 <w:rPr>
  2128.                                                                                                     <w:sz w:val="14"/>
  2129.                                                                                                 </w:rPr>
  2130.                                                                                             </altova:CharacterProperties>
  2131.                                                                                         </altova:ContentHolder>
  2132.                                                                                     </xsl:for-each>
  2133.                                                                                 </xsl:for-each>
  2134.                                                                                 <altova:NewLine/>
  2135.                                                                             </xsl:if>
  2136.                                                                             <xsl:if test="not(empty( SCToolW))">
  2137.                                                                                 <altova:TextRun altova:CharPropertiesId="text_C_100">W: <altova:CharacterProperties altova:whitespace="preserve-all">
  2138.                                                                                         <w:rPr>
  2139.                                                                                             <w:sz w:val="14"/>
  2140.                                                                                         </w:rPr>
  2141.                                                                                     </altova:CharacterProperties>
  2142.                                                                                 </altova:TextRun>
  2143.                                                                                 <xsl:for-each select="SCToolW">
  2144.                                                                                     <xsl:for-each select="Value">
  2145.                                                                                         <altova:ContentHolder altova:CharPropertiesId="content_C_101">
  2146.                                                                                             <xsl:apply-templates/>
  2147.                                                                                             <altova:CharacterProperties>
  2148.                                                                                                 <w:rPr>
  2149.                                                                                                     <w:sz w:val="14"/>
  2150.                                                                                                 </w:rPr>
  2151.                                                                                             </altova:CharacterProperties>
  2152.                                                                                         </altova:ContentHolder>
  2153.                                                                                     </xsl:for-each>
  2154.                                                                                 </xsl:for-each>
  2155.                                                                                 <altova:NewLine/>
  2156.                                                                             </xsl:if>
  2157.                                                                             <xsl:if test="not(empty(ToolBT))">
  2158.                                                                                 <altova:TextRun altova:CharPropertiesId="text_C_102">BT: <altova:CharacterProperties altova:whitespace="preserve-all">
  2159.                                                                                         <w:rPr>
  2160.                                                                                             <w:sz w:val="14"/>
  2161.                                                                                         </w:rPr>
  2162.                                                                                     </altova:CharacterProperties>
  2163.                                                                                 </altova:TextRun>
  2164.                                                                                 <xsl:for-each select="ToolBT">
  2165.                                                                                     <xsl:for-each select="Value">
  2166.                                                                                         <altova:ContentHolder altova:CharPropertiesId="content_C_103">
  2167.                                                                                             <xsl:apply-templates/>
  2168.                                                                                             <altova:CharacterProperties>
  2169.                                                                                                 <w:rPr>
  2170.                                                                                                     <w:sz w:val="14"/>
  2171.                                                                                                 </w:rPr>
  2172.                                                                                             </altova:CharacterProperties>
  2173.                                                                                         </altova:ContentHolder>
  2174.                                                                                     </xsl:for-each>
  2175.                                                                                     <altova:TextRun altova:CharPropertiesId="text_C_104">&#160;<altova:CharacterProperties altova:whitespace="preserve-all"/>
  2176.                                                                                     </altova:TextRun>
  2177.                                                                                 </xsl:for-each>
  2178.                                                                                 <altova:TextRun altova:CharPropertiesId="text_C_105">&#160;<altova:CharacterProperties altova:whitespace="preserve-all"/>
  2179.                                                                                 </altova:TextRun>
  2180.                                                                                 <xsl:for-each select="SCToolDiameterUnit">
  2181.                                                                                     <altova:ContentHolder altova:CharPropertiesId="content_C_106">
  2182.                                                                                         <xsl:apply-templates/>
  2183.                                                                                         <altova:CharacterProperties>
  2184.                                                                                             <w:rPr>
  2185.                                                                                                 <w:sz w:val="14"/>
  2186.                                                                                             </w:rPr>
  2187.                                                                                         </altova:CharacterProperties>
  2188.                                                                                     </altova:ContentHolder>
  2189.                                                                                 </xsl:for-each>
  2190.                                                                                 <altova:NewLine/>
  2191.                                                                             </xsl:if>
  2192.                                                                             <xsl:if test="not(empty(ToolD1))">
  2193.                                                                                 <altova:TextRun altova:CharPropertiesId="text_C_107">D1: <altova:CharacterProperties altova:whitespace="preserve-all">
  2194.                                                                                         <w:rPr>
  2195.                                                                                             <w:sz w:val="14"/>
  2196.                                                                                         </w:rPr>
  2197.                                                                                     </altova:CharacterProperties>
  2198.                                                                                 </altova:TextRun>
  2199.                                                                                 <xsl:for-each select="ToolD1">
  2200.                                                                                     <xsl:for-each select="Value">
  2201.                                                                                         <altova:ContentHolder altova:CharPropertiesId="content_C_108">
  2202.                                                                                             <xsl:apply-templates/>
  2203.                                                                                             <altova:CharacterProperties>
  2204.                                                                                                 <w:rPr>
  2205.                                                                                                     <w:sz w:val="14"/>
  2206.                                                                                                 </w:rPr>
  2207.                                                                                             </altova:CharacterProperties>
  2208.                                                                                         </altova:ContentHolder>
  2209.                                                                                     </xsl:for-each>
  2210.                                                                                 </xsl:for-each>
  2211.                                                                                 <altova:TextRun altova:CharPropertiesId="text_C_109">&#160;<altova:CharacterProperties altova:whitespace="preserve-all"/>
  2212.                                                                                 </altova:TextRun>
  2213.                                                                                 <xsl:for-each select="SCToolDiameterUnit">
  2214.                                                                                     <altova:ContentHolder altova:CharPropertiesId="content_C_110">
  2215.                                                                                         <xsl:apply-templates/>
  2216.                                                                                         <altova:CharacterProperties>
  2217.                                                                                             <w:rPr>
  2218.                                                                                                 <w:sz w:val="14"/>
  2219.                                                                                             </w:rPr>
  2220.                                                                                         </altova:CharacterProperties>
  2221.                                                                                     </altova:ContentHolder>
  2222.                                                                                 </xsl:for-each>
  2223.                                                                                 <altova:NewLine/>
  2224.                                                                             </xsl:if>
  2225.                                                                             <xsl:if test="not(empty(ToolST))">
  2226.                                                                                 <altova:TextRun altova:CharPropertiesId="text_C_111">ST: <altova:CharacterProperties altova:whitespace="preserve-all">
  2227.                                                                                         <w:rPr>
  2228.                                                                                             <w:sz w:val="14"/>
  2229.                                                                                         </w:rPr>
  2230.                                                                                     </altova:CharacterProperties>
  2231.                                                                                 </altova:TextRun>
  2232.                                                                                 <xsl:for-each select="ToolST">
  2233.                                                                                     <xsl:for-each select="Value">
  2234.                                                                                         <altova:ContentHolder altova:CharPropertiesId="content_C_112">
  2235.                                                                                             <xsl:apply-templates/>
  2236.                                                                                             <altova:CharacterProperties>
  2237.                                                                                                 <w:rPr>
  2238.                                                                                                     <w:sz w:val="14"/>
  2239.                                                                                                 </w:rPr>
  2240.                                                                                             </altova:CharacterProperties>
  2241.                                                                                         </altova:ContentHolder>
  2242.                                                                                     </xsl:for-each>
  2243.                                                                                 </xsl:for-each>
  2244.                                                                                 <altova:TextRun altova:CharPropertiesId="text_C_113">&#160;<altova:CharacterProperties altova:whitespace="preserve-all"/>
  2245.                                                                                 </altova:TextRun>
  2246.                                                                                 <xsl:for-each select="SCToolDiameterUnit">
  2247.                                                                                     <altova:ContentHolder altova:CharPropertiesId="content_C_114">
  2248.                                                                                         <xsl:apply-templates/>
  2249.                                                                                         <altova:CharacterProperties>
  2250.                                                                                             <w:rPr>
  2251.                                                                                                 <w:sz w:val="14"/>
  2252.                                                                                             </w:rPr>
  2253.                                                                                         </altova:CharacterProperties>
  2254.                                                                                     </altova:ContentHolder>
  2255.                                                                                 </xsl:for-each>
  2256.                                                                                 <altova:NewLine/>
  2257.                                                                             </xsl:if>
  2258.                                                                             <xsl:if test="../../General/Settings/CheckTurnB = &quot;1&quot; and not(empty( TToolB ))">
  2259.                                                                                 <altova:TextRun altova:CharPropertiesId="text_C_115">B: <altova:CharacterProperties altova:whitespace="preserve-all">
  2260.                                                                                         <w:rPr>
  2261.                                                                                             <w:sz w:val="14"/>
  2262.                                                                                         </w:rPr>
  2263.                                                                                     </altova:CharacterProperties>
  2264.                                                                                 </altova:TextRun>
  2265.                                                                                 <xsl:for-each select="TToolB">
  2266.                                                                                     <altova:ContentHolder altova:CharPropertiesId="content_C_116">
  2267.                                                                                         <xsl:apply-templates/>
  2268.                                                                                         <altova:CharacterProperties>
  2269.                                                                                             <w:rPr>
  2270.                                                                                                 <w:sz w:val="14"/>
  2271.                                                                                             </w:rPr>
  2272.                                                                                         </altova:CharacterProperties>
  2273.                                                                                     </altova:ContentHolder>
  2274.                                                                                 </xsl:for-each>
  2275.                                                                                 <altova:NewLine/>
  2276.                                                                             </xsl:if>
  2277.                                                                             <xsl:if test="../../General/Settings/CheckTurnC = &quot;1&quot; and not(empty( TToolC ))">
  2278.                                                                                 <altova:TextRun altova:CharPropertiesId="text_C_117">C: <altova:CharacterProperties altova:whitespace="preserve-all">
  2279.                                                                                         <w:rPr>
  2280.                                                                                             <w:sz w:val="14"/>
  2281.                                                                                         </w:rPr>
  2282.                                                                                     </altova:CharacterProperties>
  2283.                                                                                 </altova:TextRun>
  2284.                                                                                 <xsl:for-each select="TToolC">
  2285.                                                                                     <altova:ContentHolder altova:CharPropertiesId="content_C_118">
  2286.                                                                                         <xsl:apply-templates/>
  2287.                                                                                         <altova:CharacterProperties>
  2288.                                                                                             <w:rPr>
  2289.                                                                                                 <w:sz w:val="14"/>
  2290.                                                                                             </w:rPr>
  2291.                                                                                         </altova:CharacterProperties>
  2292.                                                                                     </altova:ContentHolder>
  2293.                                                                                 </xsl:for-each>
  2294.                                                                                 <altova:NewLine/>
  2295.                                                                             </xsl:if>
  2296.                                                                             <xsl:if test="../../General/Settings/CheckTurnD = &quot;1&quot; and not(empty( TToolD ))">
  2297.                                                                                 <altova:TextRun altova:CharPropertiesId="text_C_119">D: <altova:CharacterProperties altova:whitespace="preserve-all">
  2298.                                                                                         <w:rPr>
  2299.                                                                                             <w:sz w:val="14"/>
  2300.                                                                                         </w:rPr>
  2301.                                                                                     </altova:CharacterProperties>
  2302.                                                                                 </altova:TextRun>
  2303.                                                                                 <xsl:for-each select="TToolD">
  2304.                                                                                     <altova:ContentHolder altova:CharPropertiesId="content_C_120">
  2305.                                                                                         <xsl:apply-templates/>
  2306.                                                                                         <altova:CharacterProperties>
  2307.                                                                                             <w:rPr>
  2308.                                                                                                 <w:sz w:val="14"/>
  2309.                                                                                             </w:rPr>
  2310.                                                                                         </altova:CharacterProperties>
  2311.                                                                                     </altova:ContentHolder>
  2312.                                                                                 </xsl:for-each>
  2313.                                                                                 <altova:NewLine/>
  2314.                                                                             </xsl:if>
  2315.                                                                             <xsl:if test="../../General/Settings/CheckTurnD1 = &quot;1&quot; and not(empty( TToolD1 ))">
  2316.                                                                                 <altova:TextRun altova:CharPropertiesId="text_C_121">D1: <altova:CharacterProperties altova:whitespace="preserve-all">
  2317.                                                                                         <w:rPr>
  2318.                                                                                             <w:sz w:val="14"/>
  2319.                                                                                         </w:rPr>
  2320.                                                                                     </altova:CharacterProperties>
  2321.                                                                                 </altova:TextRun>
  2322.                                                                                 <xsl:for-each select="TToolD1">
  2323.                                                                                     <altova:ContentHolder altova:CharPropertiesId="content_C_122">
  2324.                                                                                         <xsl:apply-templates/>
  2325.                                                                                         <altova:CharacterProperties>
  2326.                                                                                             <w:rPr>
  2327.                                                                                                 <w:sz w:val="14"/>
  2328.                                                                                             </w:rPr>
  2329.                                                                                         </altova:CharacterProperties>
  2330.                                                                                     </altova:ContentHolder>
  2331.                                                                                 </xsl:for-each>
  2332.                                                                                 <altova:NewLine/>
  2333.                                                                             </xsl:if>
  2334.                                                                             <xsl:if test="../../General/Settings/CheckTurnD2 = &quot;1&quot; and not(empty( TToolD2 ))">
  2335.                                                                                 <altova:TextRun altova:CharPropertiesId="text_C_123">D2: <altova:CharacterProperties altova:whitespace="preserve-all">
  2336.                                                                                         <w:rPr>
  2337.                                                                                             <w:sz w:val="14"/>
  2338.                                                                                         </w:rPr>
  2339.                                                                                     </altova:CharacterProperties>
  2340.                                                                                 </altova:TextRun>
  2341.                                                                                 <xsl:for-each select="TToolD2">
  2342.                                                                                     <altova:ContentHolder altova:CharPropertiesId="content_C_124">
  2343.                                                                                         <xsl:apply-templates/>
  2344.                                                                                         <altova:CharacterProperties>
  2345.                                                                                             <w:rPr>
  2346.                                                                                                 <w:sz w:val="14"/>
  2347.                                                                                             </w:rPr>
  2348.                                                                                         </altova:CharacterProperties>
  2349.                                                                                     </altova:ContentHolder>
  2350.                                                                                 </xsl:for-each>
  2351.                                                                                 <altova:NewLine/>
  2352.                                                                             </xsl:if>
  2353.                                                                             <xsl:if test="not(empty(TToolShankType/Value))">
  2354.                                                                                 <xsl:for-each select="TToolShankType">
  2355.                                                                                     <xsl:for-each select="Lable">
  2356.                                                                                         <altova:ContentHolder altova:CharPropertiesId="content_C_125">
  2357.                                                                                             <xsl:apply-templates/>
  2358.                                                                                             <altova:CharacterProperties>
  2359.                                                                                                 <w:rPr>
  2360.                                                                                                     <w:sz w:val="14"/>
  2361.                                                                                                 </w:rPr>
  2362.                                                                                             </altova:CharacterProperties>
  2363.                                                                                         </altova:ContentHolder>
  2364.                                                                                         <altova:NewLine/>
  2365.                                                                                     </xsl:for-each>
  2366.                                                                                 </xsl:for-each>
  2367.                                                                             </xsl:if>
  2368.                                                                             <xsl:if test="not(empty(TToolShankWidth/Value))">
  2369.                                                                                 <xsl:for-each select="TToolShankWidth">
  2370.                                                                                     <xsl:for-each select="Lable">
  2371.                                                                                         <altova:ContentHolder altova:CharPropertiesId="content_C_126">
  2372.                                                                                             <xsl:apply-templates/>
  2373.                                                                                             <altova:CharacterProperties>
  2374.                                                                                                 <w:rPr>
  2375.                                                                                                     <w:sz w:val="14"/>
  2376.                                                                                                 </w:rPr>
  2377.                                                                                             </altova:CharacterProperties>
  2378.                                                                                         </altova:ContentHolder>
  2379.                                                                                         <altova:NewLine/>
  2380.                                                                                     </xsl:for-each>
  2381.                                                                                 </xsl:for-each>
  2382.                                                                             </xsl:if>
  2383.                                                                             <xsl:if test="not(empty(TToolLength/Value))">
  2384.                                                                                 <xsl:for-each select="TToolLength">
  2385.                                                                                     <xsl:for-each select="Lable">
  2386.                                                                                         <altova:ContentHolder altova:CharPropertiesId="content_C_127">
  2387.                                                                                             <xsl:apply-templates/>
  2388.                                                                                             <altova:CharacterProperties>
  2389.                                                                                                 <w:rPr>
  2390.                                                                                                     <w:sz w:val="14"/>
  2391.                                                                                                 </w:rPr>
  2392.                                                                                             </altova:CharacterProperties>
  2393.                                                                                         </altova:ContentHolder>
  2394.                                                                                         <altova:NewLine/>
  2395.                                                                                     </xsl:for-each>
  2396.                                                                                 </xsl:for-each>
  2397.                                                                             </xsl:if>
  2398.                                                                             <xsl:if test="not(empty(TToolCutDir/Value))">
  2399.                                                                                 <xsl:for-each select="TToolCutDir">
  2400.                                                                                     <xsl:for-each select="Lable">
  2401.                                                                                         <altova:ContentHolder altova:CharPropertiesId="content_C_128">
  2402.                                                                                             <xsl:apply-templates/>
  2403.                                                                                             <altova:CharacterProperties>
  2404.                                                                                                 <w:rPr>
  2405.                                                                                                     <w:sz w:val="14"/>
  2406.                                                                                                 </w:rPr>
  2407.                                                                                             </altova:CharacterProperties>
  2408.                                                                                         </altova:ContentHolder>
  2409.                                                                                         <altova:NewLine/>
  2410.                                                                                     </xsl:for-each>
  2411.                                                                                 </xsl:for-each>
  2412.                                                                             </xsl:if>
  2413.                                                                             <xsl:if test="not(empty(TToolInsertShape/Value))">
  2414.                                                                                 <xsl:for-each select="TToolInsertShape">
  2415.                                                                                     <xsl:for-each select="Lable">
  2416.                                                                                         <altova:ContentHolder altova:CharPropertiesId="content_C_129">
  2417.                                                                                             <xsl:apply-templates/>
  2418.                                                                                             <altova:CharacterProperties>
  2419.                                                                                                 <w:rPr>
  2420.                                                                                                     <w:sz w:val="14"/>
  2421.                                                                                                 </w:rPr>
  2422.                                                                                             </altova:CharacterProperties>
  2423.                                                                                         </altova:ContentHolder>
  2424.                                                                                         <altova:NewLine/>
  2425.                                                                                     </xsl:for-each>
  2426.                                                                                 </xsl:for-each>
  2427.                                                                             </xsl:if>
  2428.                                                                             <xsl:if test="not(empty(TToolInsertD/Value))">
  2429.                                                                                 <xsl:for-each select="TToolInsertD">
  2430.                                                                                     <xsl:for-each select="Lable">
  2431.                                                                                         <altova:ContentHolder altova:CharPropertiesId="content_C_130">
  2432.                                                                                             <xsl:apply-templates/>
  2433.                                                                                             <altova:CharacterProperties>
  2434.                                                                                                 <w:rPr>
  2435.                                                                                                     <w:sz w:val="14"/>
  2436.                                                                                                 </w:rPr>
  2437.                                                                                             </altova:CharacterProperties>
  2438.                                                                                         </altova:ContentHolder>
  2439.                                                                                         <altova:NewLine/>
  2440.                                                                                     </xsl:for-each>
  2441.                                                                                 </xsl:for-each>
  2442.                                                                                 <altova:NewLine/>
  2443.                                                                             </xsl:if>
  2444.                                                                             <xsl:if test="not(empty(TToolInsertH/Value))">
  2445.                                                                                 <xsl:for-each select="TToolInsertH">
  2446.                                                                                     <xsl:for-each select="Lable">
  2447.                                                                                         <altova:ContentHolder altova:CharPropertiesId="content_C_131">
  2448.                                                                                             <xsl:apply-templates/>
  2449.                                                                                             <altova:CharacterProperties>
  2450.                                                                                                 <w:rPr>
  2451.                                                                                                     <w:sz w:val="14"/>
  2452.                                                                                                 </w:rPr>
  2453.                                                                                             </altova:CharacterProperties>
  2454.                                                                                         </altova:ContentHolder>
  2455.                                                                                         <altova:NewLine/>
  2456.                                                                                     </xsl:for-each>
  2457.                                                                                 </xsl:for-each>
  2458.                                                                             </xsl:if>
  2459.                                                                             <xsl:if test="not(empty(TToolInsertA/Value))">
  2460.                                                                                 <xsl:for-each select="TToolInsertA">
  2461.                                                                                     <xsl:for-each select="Lable">
  2462.                                                                                         <altova:ContentHolder altova:CharPropertiesId="content_C_132">
  2463.                                                                                             <xsl:apply-templates/>
  2464.                                                                                             <altova:CharacterProperties>
  2465.                                                                                                 <w:rPr>
  2466.                                                                                                     <w:sz w:val="14"/>
  2467.                                                                                                 </w:rPr>
  2468.                                                                                             </altova:CharacterProperties>
  2469.                                                                                         </altova:ContentHolder>
  2470.                                                                                         <altova:NewLine/>
  2471.                                                                                     </xsl:for-each>
  2472.                                                                                 </xsl:for-each>
  2473.                                                                             </xsl:if>
  2474.                                                                             <xsl:if test="not(empty(ToolNTeeth))">
  2475.                                                                                 <xsl:for-each select="ToolNTeeth">
  2476.                                                                                     <xsl:for-each select="Lable">
  2477.                                                                                         <altova:ContentHolder altova:CharPropertiesId="content_C_133">
  2478.                                                                                             <xsl:apply-templates/>
  2479.                                                                                             <altova:CharacterProperties>
  2480.                                                                                                 <w:rPr>
  2481.                                                                                                     <w:sz w:val="14"/>
  2482.                                                                                                 </w:rPr>
  2483.                                                                                             </altova:CharacterProperties>
  2484.                                                                                         </altova:ContentHolder>
  2485.                                                                                     </xsl:for-each>
  2486.                                                                                 </xsl:for-each>
  2487.                                                                                 <altova:TextRun altova:CharPropertiesId="text_C_134">: <altova:CharacterProperties altova:whitespace="preserve-all">
  2488.                                                                                         <w:rPr>
  2489.                                                                                             <w:sz w:val="14"/>
  2490.                                                                                         </w:rPr>
  2491.                                                                                     </altova:CharacterProperties>
  2492.                                                                                 </altova:TextRun>
  2493.                                                                                 <xsl:for-each select="ToolNTeeth">
  2494.                                                                                     <xsl:for-each select="Value">
  2495.                                                                                         <altova:ContentHolder altova:CharPropertiesId="content_C_135">
  2496.                                                                                             <xsl:apply-templates/>
  2497.                                                                                             <altova:CharacterProperties>
  2498.                                                                                                 <w:rPr>
  2499.                                                                                                     <w:sz w:val="14"/>
  2500.                                                                                                 </w:rPr>
  2501.                                                                                             </altova:CharacterProperties>
  2502.                                                                                         </altova:ContentHolder>
  2503.                                                                                     </xsl:for-each>
  2504.                                                                                 </xsl:for-each>
  2505.                                                                             </xsl:if>
  2506.                                                                             <altova:Table altova:CharPropertiesId="table_C_136" altova:hide-rows="empty" altova:hide-cols="empty">
  2507.                                                                                 <altova:CharacterProperties>
  2508.                                                                                     <w:rPr>
  2509.                                                                                         <w:sz w:val="14"/>
  2510.                                                                                     </w:rPr>
  2511.                                                                                 </altova:CharacterProperties>
  2512.                                                                                 <altova:TableProperties>
  2513.                                                                                     <w:tblStyle w:val="TableStyle14"/>
  2514.                                                                                     <w:tblW w:w="5000" w:type="pct"/>
  2515.                                                                                 </altova:TableProperties>
  2516.                                                                                 <xsl:variable name="altova:CurrContextGrid_136" select="."/>
  2517.                                                                                 <xsl:variable name="altova:ColumnData">
  2518.                                                                                     <altova:Internal/>
  2519.                                                                                 </xsl:variable>
  2520.                                                                                 <altova:TableGrid>
  2521.                                                                                     <altova:GridCol altova:Width="2500" altova:Type="percent"/>
  2522.                                                                                     <altova:GridCol altova:Width="0" altova:Type="auto"/>
  2523.                                                                                 </altova:TableGrid>
  2524.                                                                                 <altova:TableBody>
  2525.                                                                                     <xsl:for-each select="TToolInsertParam">
  2526.                                                                                         <altova:TableRow>
  2527.                                                                                             <altova:TableCell>
  2528.                                                                                                 <altova:TableCellProperties>
  2529.                                                                                                     <w:vAlign w:val="center"/>
  2530.                                                                                                 </altova:TableCellProperties>
  2531.                                                                                                 <altova:Paragraph>
  2532.                                                                                                     <xsl:for-each select="Lable">
  2533.                                                                                                         <altova:ContentHolder>
  2534.                                                                                                             <xsl:apply-templates/>
  2535.                                                                                                         </altova:ContentHolder>
  2536.                                                                                                     </xsl:for-each>
  2537.                                                                                                 </altova:Paragraph>
  2538.                                                                                             </altova:TableCell>
  2539.                                                                                             <altova:TableCell>
  2540.                                                                                                 <altova:TableCellProperties>
  2541.                                                                                                     <w:vAlign w:val="center"/>
  2542.                                                                                                 </altova:TableCellProperties>
  2543.                                                                                                 <altova:Paragraph>
  2544.                                                                                                     <xsl:for-each select="Value">
  2545.                                                                                                         <altova:ContentHolder>
  2546.                                                                                                             <xsl:apply-templates/>
  2547.                                                                                                         </altova:ContentHolder>
  2548.                                                                                                     </xsl:for-each>
  2549.                                                                                                 </altova:Paragraph>
  2550.                                                                                             </altova:TableCell>
  2551.                                                                                         </altova:TableRow>
  2552.                                                                                     </xsl:for-each>
  2553.                                                                                 </altova:TableBody>
  2554.                                                                             </altova:Table>
  2555.                                                                         </altova:Paragraph>
  2556.                                                                     </altova:TableCell>
  2557.                                                                     <altova:TableCell>
  2558.                                                                         <altova:TableCellProperties>
  2559.                                                                             <w:vAlign w:val="top"/>
  2560.                                                                         </altova:TableCellProperties>
  2561.                                                                         <altova:Paragraph>
  2562.                                                                             <xsl:if test="../../General/Settings/CheckMillTL = &quot;1&quot; and not(empty( SCToolTL ))">
  2563.                                                                                 <altova:TextRun altova:CharPropertiesId="text_C_137">TL: <altova:CharacterProperties altova:whitespace="preserve-all">
  2564.                                                                                         <w:rPr>
  2565.                                                                                             <w:sz w:val="14"/>
  2566.                                                                                         </w:rPr>
  2567.                                                                                     </altova:CharacterProperties>
  2568.                                                                                 </altova:TextRun>
  2569.                                                                                 <xsl:for-each select="SCToolTL">
  2570.                                                                                     <altova:ContentHolder altova:CharPropertiesId="content_C_138">
  2571.                                                                                         <xsl:apply-templates/>
  2572.                                                                                         <altova:CharacterProperties>
  2573.                                                                                             <w:rPr>
  2574.                                                                                                 <w:sz w:val="14"/>
  2575.                                                                                             </w:rPr>
  2576.                                                                                         </altova:CharacterProperties>
  2577.                                                                                     </altova:ContentHolder>
  2578.                                                                                 </xsl:for-each>
  2579.                                                                                 <altova:TextRun altova:CharPropertiesId="text_C_139">&#160;<altova:CharacterProperties altova:whitespace="preserve-all">
  2580.                                                                                         <w:rPr>
  2581.                                                                                             <w:sz w:val="14"/>
  2582.                                                                                         </w:rPr>
  2583.                                                                                     </altova:CharacterProperties>
  2584.                                                                                 </altova:TextRun>
  2585.                                                                                 <xsl:for-each select="SCToolLengthUnit">
  2586.                                                                                     <altova:ContentHolder altova:CharPropertiesId="content_C_140">
  2587.                                                                                         <xsl:apply-templates/>
  2588.                                                                                         <altova:CharacterProperties>
  2589.                                                                                             <w:rPr>
  2590.                                                                                                 <w:sz w:val="14"/>
  2591.                                                                                             </w:rPr>
  2592.                                                                                         </altova:CharacterProperties>
  2593.                                                                                     </altova:ContentHolder>
  2594.                                                                                 </xsl:for-each>
  2595.                                                                                 <altova:NewLine/>
  2596.                                                                             </xsl:if>
  2597.                                                                             <xsl:if test="../../General/Settings/CheckMillOHL = &quot;1&quot; and not(empty( SCToolOHL ))">
  2598.                                                                                 <altova:TextRun altova:CharPropertiesId="text_C_141">OHL: <altova:CharacterProperties altova:whitespace="preserve-all">
  2599.                                                                                         <w:rPr>
  2600.                                                                                             <w:sz w:val="14"/>
  2601.                                                                                         </w:rPr>
  2602.                                                                                     </altova:CharacterProperties>
  2603.                                                                                 </altova:TextRun>
  2604.                                                                                 <xsl:for-each select="SCToolOHL">
  2605.                                                                                     <altova:ContentHolder altova:CharPropertiesId="content_C_142">
  2606.                                                                                         <xsl:apply-templates/>
  2607.                                                                                         <altova:CharacterProperties>
  2608.                                                                                             <w:rPr>
  2609.                                                                                                 <w:sz w:val="14"/>
  2610.                                                                                             </w:rPr>
  2611.                                                                                         </altova:CharacterProperties>
  2612.                                                                                     </altova:ContentHolder>
  2613.                                                                                 </xsl:for-each>
  2614.                                                                                 <altova:TextRun altova:CharPropertiesId="text_C_143">&#160;<altova:CharacterProperties altova:whitespace="preserve-all">
  2615.                                                                                         <w:rPr>
  2616.                                                                                             <w:sz w:val="14"/>
  2617.                                                                                         </w:rPr>
  2618.                                                                                     </altova:CharacterProperties>
  2619.                                                                                 </altova:TextRun>
  2620.                                                                                 <xsl:for-each select="SCToolLengthUnit">
  2621.                                                                                     <altova:ContentHolder altova:CharPropertiesId="content_C_144">
  2622.                                                                                         <xsl:apply-templates/>
  2623.                                                                                         <altova:CharacterProperties>
  2624.                                                                                             <w:rPr>
  2625.                                                                                                 <w:sz w:val="14"/>
  2626.                                                                                             </w:rPr>
  2627.                                                                                         </altova:CharacterProperties>
  2628.                                                                                     </altova:ContentHolder>
  2629.                                                                                 </xsl:for-each>
  2630.                                                                                 <altova:NewLine/>
  2631.                                                                             </xsl:if>
  2632.                                                                             <xsl:if test="../../General/Settings/CheckMillCL = &quot;1&quot; and not(empty( SCToolCL ))">
  2633.                                                                                 <altova:TextRun altova:CharPropertiesId="text_C_145">CL: <altova:CharacterProperties altova:whitespace="preserve-all">
  2634.                                                                                         <w:rPr>
  2635.                                                                                             <w:sz w:val="14"/>
  2636.                                                                                         </w:rPr>
  2637.                                                                                     </altova:CharacterProperties>
  2638.                                                                                 </altova:TextRun>
  2639.                                                                                 <xsl:for-each select="SCToolCL">
  2640.                                                                                     <altova:ContentHolder altova:CharPropertiesId="content_C_146">
  2641.                                                                                         <xsl:apply-templates/>
  2642.                                                                                         <altova:CharacterProperties>
  2643.                                                                                             <w:rPr>
  2644.                                                                                                 <w:sz w:val="14"/>
  2645.                                                                                             </w:rPr>
  2646.                                                                                         </altova:CharacterProperties>
  2647.                                                                                     </altova:ContentHolder>
  2648.                                                                                 </xsl:for-each>
  2649.                                                                                 <altova:TextRun altova:CharPropertiesId="text_C_147">&#160;<altova:CharacterProperties altova:whitespace="preserve-all">
  2650.                                                                                         <w:rPr>
  2651.                                                                                             <w:sz w:val="14"/>
  2652.                                                                                         </w:rPr>
  2653.                                                                                     </altova:CharacterProperties>
  2654.                                                                                 </altova:TextRun>
  2655.                                                                                 <xsl:for-each select="SCToolLengthUnit">
  2656.                                                                                     <altova:ContentHolder altova:CharPropertiesId="content_C_148">
  2657.                                                                                         <xsl:apply-templates/>
  2658.                                                                                         <altova:CharacterProperties>
  2659.                                                                                             <w:rPr>
  2660.                                                                                                 <w:sz w:val="14"/>
  2661.                                                                                             </w:rPr>
  2662.                                                                                         </altova:CharacterProperties>
  2663.                                                                                     </altova:ContentHolder>
  2664.                                                                                 </xsl:for-each>
  2665.                                                                                 <altova:NewLine/>
  2666.                                                                             </xsl:if>
  2667.                                                                             <xsl:if test="../../General/Settings/CheckMillCHL = &quot;1&quot; and not(empty( SCToolChL ))">
  2668.                                                                                 <altova:TextRun altova:CharPropertiesId="text_C_149">Ch.L: <altova:CharacterProperties altova:whitespace="preserve-all">
  2669.                                                                                         <w:rPr>
  2670.                                                                                             <w:sz w:val="14"/>
  2671.                                                                                         </w:rPr>
  2672.                                                                                     </altova:CharacterProperties>
  2673.                                                                                 </altova:TextRun>
  2674.                                                                                 <xsl:for-each select="SCToolChL">
  2675.                                                                                     <altova:ContentHolder altova:CharPropertiesId="content_C_150">
  2676.                                                                                         <xsl:apply-templates/>
  2677.                                                                                         <altova:CharacterProperties>
  2678.                                                                                             <w:rPr>
  2679.                                                                                                 <w:sz w:val="14"/>
  2680.                                                                                             </w:rPr>
  2681.                                                                                         </altova:CharacterProperties>
  2682.                                                                                     </altova:ContentHolder>
  2683.                                                                                 </xsl:for-each>
  2684.                                                                                 <altova:TextRun altova:CharPropertiesId="text_C_151">&#160;<altova:CharacterProperties altova:whitespace="preserve-all">
  2685.                                                                                         <w:rPr>
  2686.                                                                                             <w:sz w:val="14"/>
  2687.                                                                                         </w:rPr>
  2688.                                                                                     </altova:CharacterProperties>
  2689.                                                                                 </altova:TextRun>
  2690.                                                                                 <xsl:for-each select="SCToolLengthUnit">
  2691.                                                                                     <altova:ContentHolder altova:CharPropertiesId="content_C_152">
  2692.                                                                                         <xsl:apply-templates/>
  2693.                                                                                         <altova:CharacterProperties>
  2694.                                                                                             <w:rPr>
  2695.                                                                                                 <w:sz w:val="14"/>
  2696.                                                                                             </w:rPr>
  2697.                                                                                         </altova:CharacterProperties>
  2698.                                                                                     </altova:ContentHolder>
  2699.                                                                                 </xsl:for-each>
  2700.                                                                                 <altova:NewLine/>
  2701.                                                                             </xsl:if>
  2702.                                                                             <xsl:if test="not(empty( SCToolSL ))">
  2703.                                                                                 <altova:TextRun altova:CharPropertiesId="text_C_153">SL: <altova:CharacterProperties altova:whitespace="preserve-all">
  2704.                                                                                         <w:rPr>
  2705.                                                                                             <w:sz w:val="14"/>
  2706.                                                                                         </w:rPr>
  2707.                                                                                     </altova:CharacterProperties>
  2708.                                                                                 </altova:TextRun>
  2709.                                                                                 <xsl:for-each select="SCToolSL">
  2710.                                                                                     <xsl:for-each select="Value">
  2711.                                                                                         <altova:ContentHolder altova:CharPropertiesId="content_C_154">
  2712.                                                                                             <xsl:apply-templates/>
  2713.                                                                                             <altova:CharacterProperties>
  2714.                                                                                                 <w:rPr>
  2715.                                                                                                     <w:sz w:val="14"/>
  2716.                                                                                                 </w:rPr>
  2717.                                                                                             </altova:CharacterProperties>
  2718.                                                                                         </altova:ContentHolder>
  2719.                                                                                     </xsl:for-each>
  2720.                                                                                 </xsl:for-each>
  2721.                                                                                 <altova:TextRun altova:CharPropertiesId="text_C_155">&#160;<altova:CharacterProperties altova:whitespace="preserve-all">
  2722.                                                                                         <w:rPr>
  2723.                                                                                             <w:sz w:val="14"/>
  2724.                                                                                         </w:rPr>
  2725.                                                                                     </altova:CharacterProperties>
  2726.                                                                                 </altova:TextRun>
  2727.                                                                                 <xsl:for-each select="SCToolLengthUnit">
  2728.                                                                                     <altova:ContentHolder altova:CharPropertiesId="content_C_156">
  2729.                                                                                         <xsl:apply-templates/>
  2730.                                                                                         <altova:CharacterProperties>
  2731.                                                                                             <w:rPr>
  2732.                                                                                                 <w:sz w:val="14"/>
  2733.                                                                                             </w:rPr>
  2734.                                                                                         </altova:CharacterProperties>
  2735.                                                                                     </altova:ContentHolder>
  2736.                                                                                 </xsl:for-each>
  2737.                                                                                 <altova:NewLine/>
  2738.                                                                             </xsl:if>
  2739.                                                                             <xsl:if test="not(empty( SCToolTCL ))">
  2740.                                                                                 <altova:TextRun altova:CharPropertiesId="text_C_157">TCL: <altova:CharacterProperties altova:whitespace="preserve-all">
  2741.                                                                                         <w:rPr>
  2742.                                                                                             <w:sz w:val="14"/>
  2743.                                                                                         </w:rPr>
  2744.                                                                                     </altova:CharacterProperties>
  2745.                                                                                 </altova:TextRun>
  2746.                                                                                 <xsl:for-each select="SCToolTCL">
  2747.                                                                                     <altova:ContentHolder>
  2748.                                                                                         <xsl:apply-templates/>
  2749.                                                                                     </altova:ContentHolder>
  2750.                                                                                 </xsl:for-each>
  2751.                                                                                 <altova:TextRun altova:CharPropertiesId="text_C_158">&#160;<altova:CharacterProperties altova:whitespace="preserve-all">
  2752.                                                                                         <w:rPr>
  2753.                                                                                             <w:sz w:val="14"/>
  2754.                                                                                         </w:rPr>
  2755.                                                                                     </altova:CharacterProperties>
  2756.                                                                                 </altova:TextRun>
  2757.                                                                                 <xsl:for-each select="SCToolLengthUnit">
  2758.                                                                                     <altova:ContentHolder altova:CharPropertiesId="content_C_159">
  2759.                                                                                         <xsl:apply-templates/>
  2760.                                                                                         <altova:CharacterProperties>
  2761.                                                                                             <w:rPr>
  2762.                                                                                                 <w:sz w:val="14"/>
  2763.                                                                                             </w:rPr>
  2764.                                                                                         </altova:CharacterProperties>
  2765.                                                                                     </altova:ContentHolder>
  2766.                                                                                 </xsl:for-each>
  2767.                                                                                 <altova:NewLine/>
  2768.                                                                             </xsl:if>
  2769.                                                                             <xsl:if test="not(empty(ToolSW))">
  2770.                                                                                 <altova:TextRun altova:CharPropertiesId="text_C_160">SW:<altova:CharacterProperties altova:whitespace="preserve-all">
  2771.                                                                                         <w:rPr>
  2772.                                                                                             <w:sz w:val="14"/>
  2773.                                                                                         </w:rPr>
  2774.                                                                                     </altova:CharacterProperties>
  2775.                                                                                 </altova:TextRun>
  2776.                                                                                 <xsl:for-each select="ToolSW">
  2777.                                                                                     <xsl:for-each select="Value">
  2778.                                                                                         <altova:ContentHolder altova:CharPropertiesId="content_C_161">
  2779.                                                                                             <xsl:apply-templates/>
  2780.                                                                                             <altova:CharacterProperties>
  2781.                                                                                                 <w:rPr>
  2782.                                                                                                     <w:sz w:val="14"/>
  2783.                                                                                                 </w:rPr>
  2784.                                                                                             </altova:CharacterProperties>
  2785.                                                                                         </altova:ContentHolder>
  2786.                                                                                     </xsl:for-each>
  2787.                                                                                 </xsl:for-each>
  2788.                                                                                 <altova:TextRun altova:CharPropertiesId="text_C_162">&#160; <altova:CharacterProperties altova:whitespace="preserve-all">
  2789.                                                                                         <w:rPr>
  2790.                                                                                             <w:sz w:val="14"/>
  2791.                                                                                         </w:rPr>
  2792.                                                                                     </altova:CharacterProperties>
  2793.                                                                                 </altova:TextRun>
  2794.                                                                                 <xsl:for-each select="SCToolLengthUnit">
  2795.                                                                                     <altova:ContentHolder altova:CharPropertiesId="content_C_163">
  2796.                                                                                         <xsl:apply-templates/>
  2797.                                                                                         <altova:CharacterProperties>
  2798.                                                                                             <w:rPr>
  2799.                                                                                                 <w:sz w:val="14"/>
  2800.                                                                                             </w:rPr>
  2801.                                                                                         </altova:CharacterProperties>
  2802.                                                                                     </altova:ContentHolder>
  2803.                                                                                 </xsl:for-each>
  2804.                                                                                 <altova:NewLine/>
  2805.                                                                             </xsl:if>
  2806.                                                                             <xsl:if test="../../General/Settings/CheckMillH = &quot;1&quot; and not(empty( SCToolHig ))">
  2807.                                                                                 <altova:TextRun altova:CharPropertiesId="text_C_164">H: <altova:CharacterProperties altova:whitespace="preserve-all">
  2808.                                                                                         <w:rPr>
  2809.                                                                                             <w:sz w:val="14"/>
  2810.                                                                                         </w:rPr>
  2811.                                                                                     </altova:CharacterProperties>
  2812.                                                                                 </altova:TextRun>
  2813.                                                                                 <xsl:for-each select="SCToolHig">
  2814.                                                                                     <altova:ContentHolder altova:CharPropertiesId="content_C_165">
  2815.                                                                                         <xsl:apply-templates/>
  2816.                                                                                         <altova:CharacterProperties>
  2817.                                                                                             <w:rPr>
  2818.                                                                                                 <w:sz w:val="14"/>
  2819.                                                                                             </w:rPr>
  2820.                                                                                         </altova:CharacterProperties>
  2821.                                                                                     </altova:ContentHolder>
  2822.                                                                                 </xsl:for-each>
  2823.                                                                                 <altova:TextRun altova:CharPropertiesId="text_C_166">&#160;<altova:CharacterProperties altova:whitespace="preserve-all">
  2824.                                                                                         <w:rPr>
  2825.                                                                                             <w:sz w:val="14"/>
  2826.                                                                                         </w:rPr>
  2827.                                                                                     </altova:CharacterProperties>
  2828.                                                                                 </altova:TextRun>
  2829.                                                                                 <xsl:for-each select="SCToolLengthUnit">
  2830.                                                                                     <altova:ContentHolder altova:CharPropertiesId="content_C_167">
  2831.                                                                                         <xsl:apply-templates/>
  2832.                                                                                         <altova:CharacterProperties>
  2833.                                                                                             <w:rPr>
  2834.                                                                                                 <w:sz w:val="14"/>
  2835.                                                                                             </w:rPr>
  2836.                                                                                         </altova:CharacterProperties>
  2837.                                                                                     </altova:ContentHolder>
  2838.                                                                                 </xsl:for-each>
  2839.                                                                                 <altova:NewLine/>
  2840.                                                                             </xsl:if>
  2841.                                                                             <xsl:if test="../../General/Settings/CheckTurnE = &quot;1&quot; and not(empty( TToolE ))">
  2842.                                                                                 <altova:TextRun altova:CharPropertiesId="text_C_168">E: <altova:CharacterProperties altova:whitespace="preserve-all">
  2843.                                                                                         <w:rPr>
  2844.                                                                                             <w:sz w:val="14"/>
  2845.                                                                                         </w:rPr>
  2846.                                                                                     </altova:CharacterProperties>
  2847.                                                                                 </altova:TextRun>
  2848.                                                                                 <xsl:for-each select="TToolE">
  2849.                                                                                     <altova:ContentHolder altova:CharPropertiesId="content_C_169">
  2850.                                                                                         <xsl:apply-templates/>
  2851.                                                                                         <altova:CharacterProperties>
  2852.                                                                                             <w:rPr>
  2853.                                                                                                 <w:sz w:val="14"/>
  2854.                                                                                             </w:rPr>
  2855.                                                                                         </altova:CharacterProperties>
  2856.                                                                                     </altova:ContentHolder>
  2857.                                                                                 </xsl:for-each>
  2858.                                                                                 <altova:NewLine/>
  2859.                                                                             </xsl:if>
  2860.                                                                             <xsl:if test="../../General/Settings/CheckTurnF = &quot;1&quot; and not(empty( TToolF ))">
  2861.                                                                                 <altova:TextRun altova:CharPropertiesId="text_C_170">F: <altova:CharacterProperties altova:whitespace="preserve-all">
  2862.                                                                                         <w:rPr>
  2863.                                                                                             <w:sz w:val="14"/>
  2864.                                                                                         </w:rPr>
  2865.                                                                                     </altova:CharacterProperties>
  2866.                                                                                 </altova:TextRun>
  2867.                                                                                 <xsl:for-each select="TToolF">
  2868.                                                                                     <altova:ContentHolder altova:CharPropertiesId="content_C_171">
  2869.                                                                                         <xsl:apply-templates/>
  2870.                                                                                         <altova:CharacterProperties>
  2871.                                                                                             <w:rPr>
  2872.                                                                                                 <w:sz w:val="14"/>
  2873.                                                                                             </w:rPr>
  2874.                                                                                         </altova:CharacterProperties>
  2875.                                                                                     </altova:ContentHolder>
  2876.                                                                                 </xsl:for-each>
  2877.                                                                                 <altova:NewLine/>
  2878.                                                                             </xsl:if>
  2879.                                                                             <xsl:if test="../../General/Settings/CheckTurnG = &quot;1&quot; and not(empty( TToolG ))">
  2880.                                                                                 <altova:TextRun altova:CharPropertiesId="text_C_172">G: <altova:CharacterProperties altova:whitespace="preserve-all">
  2881.                                                                                         <w:rPr>
  2882.                                                                                             <w:sz w:val="14"/>
  2883.                                                                                         </w:rPr>
  2884.                                                                                     </altova:CharacterProperties>
  2885.                                                                                 </altova:TextRun>
  2886.                                                                                 <xsl:for-each select="TToolG">
  2887.                                                                                     <altova:ContentHolder altova:CharPropertiesId="content_C_173">
  2888.                                                                                         <xsl:apply-templates/>
  2889.                                                                                         <altova:CharacterProperties>
  2890.                                                                                             <w:rPr>
  2891.                                                                                                 <w:sz w:val="14"/>
  2892.                                                                                             </w:rPr>
  2893.                                                                                         </altova:CharacterProperties>
  2894.                                                                                     </altova:ContentHolder>
  2895.                                                                                 </xsl:for-each>
  2896.                                                                                 <altova:NewLine/>
  2897.                                                                             </xsl:if>
  2898.                                                                             <xsl:if test="../../General/Settings/CheckTurnH = &quot;1&quot; and not(empty( TToolH ))">
  2899.                                                                                 <altova:TextRun altova:CharPropertiesId="text_C_174">H: <altova:CharacterProperties altova:whitespace="preserve-all">
  2900.                                                                                         <w:rPr>
  2901.                                                                                             <w:sz w:val="14"/>
  2902.                                                                                         </w:rPr>
  2903.                                                                                     </altova:CharacterProperties>
  2904.                                                                                 </altova:TextRun>
  2905.                                                                                 <xsl:for-each select="TToolH">
  2906.                                                                                     <altova:ContentHolder altova:CharPropertiesId="content_C_175">
  2907.                                                                                         <xsl:apply-templates/>
  2908.                                                                                         <altova:CharacterProperties>
  2909.                                                                                             <w:rPr>
  2910.                                                                                                 <w:sz w:val="14"/>
  2911.                                                                                             </w:rPr>
  2912.                                                                                         </altova:CharacterProperties>
  2913.                                                                                     </altova:ContentHolder>
  2914.                                                                                 </xsl:for-each>
  2915.                                                                                 <altova:NewLine/>
  2916.                                                                             </xsl:if>
  2917.                                                                             <xsl:if test="../../General/Settings/CheckTurnK = &quot;1&quot; and not(empty( TToolK ))">
  2918.                                                                                 <altova:TextRun altova:CharPropertiesId="text_C_176">K: <altova:CharacterProperties altova:whitespace="preserve-all">
  2919.                                                                                         <w:rPr>
  2920.                                                                                             <w:sz w:val="14"/>
  2921.                                                                                         </w:rPr>
  2922.                                                                                     </altova:CharacterProperties>
  2923.                                                                                 </altova:TextRun>
  2924.                                                                                 <xsl:for-each select="TToolK">
  2925.                                                                                     <altova:ContentHolder altova:CharPropertiesId="content_C_177">
  2926.                                                                                         <xsl:apply-templates/>
  2927.                                                                                         <altova:CharacterProperties>
  2928.                                                                                             <w:rPr>
  2929.                                                                                                 <w:sz w:val="14"/>
  2930.                                                                                             </w:rPr>
  2931.                                                                                         </altova:CharacterProperties>
  2932.                                                                                     </altova:ContentHolder>
  2933.                                                                                 </xsl:for-each>
  2934.                                                                                 <altova:NewLine/>
  2935.                                                                             </xsl:if>
  2936.                                                                             <xsl:if test="not(empty(TToolShankType/Value))">
  2937.                                                                                 <xsl:for-each select="TToolShankType">
  2938.                                                                                     <xsl:for-each select="Value">
  2939.                                                                                         <altova:ContentHolder altova:CharPropertiesId="content_C_178">
  2940.                                                                                             <xsl:apply-templates/>
  2941.                                                                                             <altova:CharacterProperties>
  2942.                                                                                                 <w:rPr>
  2943.                                                                                                     <w:sz w:val="14"/>
  2944.                                                                                                 </w:rPr>
  2945.                                                                                             </altova:CharacterProperties>
  2946.                                                                                         </altova:ContentHolder>
  2947.                                                                                         <altova:NewLine/>
  2948.                                                                                     </xsl:for-each>
  2949.                                                                                 </xsl:for-each>
  2950.                                                                             </xsl:if>
  2951.                                                                             <xsl:if test="not(empty(TToolShankWidth/Value))">
  2952.                                                                                 <xsl:for-each select="TToolShankWidth">
  2953.                                                                                     <xsl:for-each select="Value">
  2954.                                                                                         <altova:ContentHolder altova:CharPropertiesId="content_C_179">
  2955.                                                                                             <xsl:apply-templates/>
  2956.                                                                                             <altova:CharacterProperties>
  2957.                                                                                                 <w:rPr>
  2958.                                                                                                     <w:sz w:val="14"/>
  2959.                                                                                                 </w:rPr>
  2960.                                                                                             </altova:CharacterProperties>
  2961.                                                                                         </altova:ContentHolder>
  2962.                                                                                         <altova:NewLine/>
  2963.                                                                                     </xsl:for-each>
  2964.                                                                                 </xsl:for-each>
  2965.                                                                             </xsl:if>
  2966.                                                                             <xsl:if test="not(empty(TToolLength/Value))">
  2967.                                                                                 <xsl:for-each select="TToolLength">
  2968.                                                                                     <xsl:for-each select="Value">
  2969.                                                                                         <altova:ContentHolder altova:CharPropertiesId="content_C_180">
  2970.                                                                                             <xsl:apply-templates/>
  2971.                                                                                             <altova:CharacterProperties>
  2972.                                                                                                 <w:rPr>
  2973.                                                                                                     <w:sz w:val="14"/>
  2974.                                                                                                 </w:rPr>
  2975.                                                                                             </altova:CharacterProperties>
  2976.                                                                                         </altova:ContentHolder>
  2977.                                                                                         <altova:NewLine/>
  2978.                                                                                     </xsl:for-each>
  2979.                                                                                 </xsl:for-each>
  2980.                                                                             </xsl:if>
  2981.                                                                             <xsl:if test="not(empty(TToolCutDir/Value))">
  2982.                                                                                 <xsl:for-each select="TToolCutDir">
  2983.                                                                                     <xsl:for-each select="Value">
  2984.                                                                                         <altova:ContentHolder altova:CharPropertiesId="content_C_181">
  2985.                                                                                             <xsl:apply-templates/>
  2986.                                                                                             <altova:CharacterProperties>
  2987.                                                                                                 <w:rPr>
  2988.                                                                                                     <w:sz w:val="14"/>
  2989.                                                                                                 </w:rPr>
  2990.                                                                                             </altova:CharacterProperties>
  2991.                                                                                         </altova:ContentHolder>
  2992.                                                                                         <altova:NewLine/>
  2993.                                                                                     </xsl:for-each>
  2994.                                                                                 </xsl:for-each>
  2995.                                                                             </xsl:if>
  2996.                                                                             <xsl:if test="not(empty(TToolInsertShape/Value))">
  2997.                                                                                 <xsl:for-each select="TToolInsertShape">
  2998.                                                                                     <xsl:for-each select="Value">
  2999.                                                                                         <altova:ContentHolder altova:CharPropertiesId="content_C_182">
  3000.                                                                                             <xsl:apply-templates/>
  3001.                                                                                             <altova:CharacterProperties>
  3002.                                                                                                 <w:rPr>
  3003.                                                                                                     <w:sz w:val="14"/>
  3004.                                                                                                 </w:rPr>
  3005.                                                                                             </altova:CharacterProperties>
  3006.                                                                                         </altova:ContentHolder>
  3007.                                                                                         <altova:NewLine/>
  3008.                                                                                     </xsl:for-each>
  3009.                                                                                 </xsl:for-each>
  3010.                                                                             </xsl:if>
  3011.                                                                             <xsl:if test="not(empty(TToolInsertD/Value))">
  3012.                                                                                 <xsl:for-each select="TToolInsertD">
  3013.                                                                                     <xsl:for-each select="Value">
  3014.                                                                                         <altova:ContentHolder altova:CharPropertiesId="content_C_183">
  3015.                                                                                             <xsl:apply-templates/>
  3016.                                                                                             <altova:CharacterProperties>
  3017.                                                                                                 <w:rPr>
  3018.                                                                                                     <w:sz w:val="14"/>
  3019.                                                                                                 </w:rPr>
  3020.                                                                                             </altova:CharacterProperties>
  3021.                                                                                         </altova:ContentHolder>
  3022.                                                                                         <altova:NewLine/>
  3023.                                                                                     </xsl:for-each>
  3024.                                                                                 </xsl:for-each>
  3025.                                                                             </xsl:if>
  3026.                                                                             <xsl:if test="not(empty(TToolInsertH/Value))">
  3027.                                                                                 <xsl:for-each select="TToolInsertH">
  3028.                                                                                     <xsl:for-each select="Value">
  3029.                                                                                         <altova:ContentHolder altova:CharPropertiesId="content_C_184">
  3030.                                                                                             <xsl:apply-templates/>
  3031.                                                                                             <altova:CharacterProperties>
  3032.                                                                                                 <w:rPr>
  3033.                                                                                                     <w:sz w:val="14"/>
  3034.                                                                                                 </w:rPr>
  3035.                                                                                             </altova:CharacterProperties>
  3036.                                                                                         </altova:ContentHolder>
  3037.                                                                                         <altova:NewLine/>
  3038.                                                                                     </xsl:for-each>
  3039.                                                                                 </xsl:for-each>
  3040.                                                                             </xsl:if>
  3041.                                                                             <xsl:if test="not(empty(TToolInsertA/Value))">
  3042.                                                                                 <xsl:for-each select="TToolInsertA">
  3043.                                                                                     <xsl:for-each select="Value">
  3044.                                                                                         <altova:ContentHolder altova:CharPropertiesId="content_C_185">
  3045.                                                                                             <xsl:apply-templates/>
  3046.                                                                                             <altova:CharacterProperties>
  3047.                                                                                                 <w:rPr>
  3048.                                                                                                     <w:sz w:val="14"/>
  3049.                                                                                                 </w:rPr>
  3050.                                                                                             </altova:CharacterProperties>
  3051.                                                                                         </altova:ContentHolder>
  3052.                                                                                         <altova:NewLine/>
  3053.                                                                                     </xsl:for-each>
  3054.                                                                                 </xsl:for-each>
  3055.                                                                             </xsl:if>
  3056.                                                                             <altova:Table altova:hide-rows="empty" altova:hide-cols="empty">
  3057.                                                                                 <altova:TableProperties>
  3058.                                                                                     <w:tblStyle w:val="TableStyle15"/>
  3059.                                                                                     <w:tblW w:w="5000" w:type="pct"/>
  3060.                                                                                 </altova:TableProperties>
  3061.                                                                                 <xsl:variable name="altova:CurrContextGrid_186" select="."/>
  3062.                                                                                 <xsl:variable name="altova:ColumnData">
  3063.                                                                                     <altova:Internal/>
  3064.                                                                                 </xsl:variable>
  3065.                                                                                 <altova:TableGrid>
  3066.                                                                                     <altova:GridCol altova:Width="2500" altova:Type="percent"/>
  3067.                                                                                     <altova:GridCol altova:Width="0" altova:Type="auto"/>
  3068.                                                                                 </altova:TableGrid>
  3069.                                                                                 <altova:TableBody>
  3070.                                                                                     <xsl:for-each select="TToolShankParam">
  3071.                                                                                         <altova:TableRow>
  3072.                                                                                             <altova:TableCell>
  3073.                                                                                                 <altova:TableCellProperties>
  3074.                                                                                                     <w:vAlign w:val="center"/>
  3075.                                                                                                 </altova:TableCellProperties>
  3076.                                                                                                 <altova:Paragraph>
  3077.                                                                                                     <xsl:for-each select="Lable">
  3078.                                                                                                         <altova:ContentHolder altova:CharPropertiesId="content_C_187">
  3079.                                                                                                             <xsl:apply-templates/>
  3080.                                                                                                             <altova:CharacterProperties>
  3081.                                                                                                                 <w:rPr>
  3082.                                                                                                                     <w:sz w:val="14"/>
  3083.                                                                                                                 </w:rPr>
  3084.                                                                                                             </altova:CharacterProperties>
  3085.                                                                                                         </altova:ContentHolder>
  3086.                                                                                                     </xsl:for-each>
  3087.                                                                                                 </altova:Paragraph>
  3088.                                                                                             </altova:TableCell>
  3089.                                                                                             <altova:TableCell>
  3090.                                                                                                 <altova:TableCellProperties>
  3091.                                                                                                     <w:vAlign w:val="center"/>
  3092.                                                                                                 </altova:TableCellProperties>
  3093.                                                                                                 <altova:Paragraph>
  3094.                                                                                                     <xsl:for-each select="Value">
  3095.                                                                                                         <altova:ContentHolder>
  3096.                                                                                                             <xsl:apply-templates/>
  3097.                                                                                                         </altova:ContentHolder>
  3098.                                                                                                     </xsl:for-each>
  3099.                                                                                                 </altova:Paragraph>
  3100.                                                                                             </altova:TableCell>
  3101.                                                                                         </altova:TableRow>
  3102.                                                                                     </xsl:for-each>
  3103.                                                                                 </altova:TableBody>
  3104.                                                                             </altova:Table>
  3105.                                                                         </altova:Paragraph>
  3106.                                                                     </altova:TableCell>
  3107.                                                                     <altova:TableCell>
  3108.                                                                         <altova:TableCellProperties>
  3109.                                                                             <w:vAlign w:val="top"/>
  3110.                                                                         </altova:TableCellProperties>
  3111.                                                                         <altova:Paragraph>
  3112.                                                                             <xsl:if test="../../General/Settings/CheckTurnAppDIR = &quot;1&quot; and not(empty( TToolAppDIR ))">
  3113.                                                                                 <xsl:for-each select="TToolAppDIR">
  3114.                                                                                     <xsl:for-each select="Lable">
  3115.                                                                                         <altova:ContentHolder altova:CharPropertiesId="content_C_188">
  3116.                                                                                             <xsl:apply-templates/>
  3117.                                                                                             <altova:CharacterProperties>
  3118.                                                                                                 <w:rPr>
  3119.                                                                                                     <w:sz w:val="14"/>
  3120.                                                                                                 </w:rPr>
  3121.                                                                                             </altova:CharacterProperties>
  3122.                                                                                         </altova:ContentHolder>
  3123.                                                                                     </xsl:for-each>
  3124.                                                                                     <altova:TextRun altova:CharPropertiesId="text_C_189">:<altova:CharacterProperties altova:whitespace="preserve-all">
  3125.                                                                                             <w:rPr>
  3126.                                                                                                 <w:sz w:val="14"/>
  3127.                                                                                             </w:rPr>
  3128.                                                                                         </altova:CharacterProperties>
  3129.                                                                                     </altova:TextRun>
  3130.                                                                                     <altova:NewLine/>
  3131.                                                                                 </xsl:for-each>
  3132.                                                                                 <xsl:for-each select="TToolAppDIR">
  3133.                                                                                     <xsl:for-each select="Value">
  3134.                                                                                         <altova:ContentHolder altova:CharPropertiesId="content_C_190">
  3135.                                                                                             <xsl:apply-templates/>
  3136.                                                                                             <altova:CharacterProperties>
  3137.                                                                                                 <w:rPr>
  3138.                                                                                                     <w:sz w:val="14"/>
  3139.                                                                                                 </w:rPr>
  3140.                                                                                             </altova:CharacterProperties>
  3141.                                                                                         </altova:ContentHolder>
  3142.                                                                                     </xsl:for-each>
  3143.                                                                                 </xsl:for-each>
  3144.                                                                                 <altova:TextRun altova:CharPropertiesId="text_C_191">&#160; <altova:CharacterProperties altova:whitespace="preserve-all">
  3145.                                                                                         <w:rPr>
  3146.                                                                                             <w:sz w:val="14"/>
  3147.                                                                                         </w:rPr>
  3148.                                                                                     </altova:CharacterProperties>
  3149.                                                                                 </altova:TextRun>
  3150.                                                                                 <xsl:for-each select="TToolAppDir">
  3151.                                                                                     <altova:ContentHolder altova:CharPropertiesId="content_C_192">
  3152.                                                                                         <xsl:apply-templates/>
  3153.                                                                                         <altova:CharacterProperties>
  3154.                                                                                             <w:rPr>
  3155.                                                                                                 <w:sz w:val="14"/>
  3156.                                                                                             </w:rPr>
  3157.                                                                                         </altova:CharacterProperties>
  3158.                                                                                     </altova:ContentHolder>
  3159.                                                                                 </xsl:for-each>
  3160.                                                                             </xsl:if>
  3161.                                                                             <xsl:if test="../../General/Settings/CheckTurnSpinDir = &quot;1&quot; and not(empty(  TToolSpinDir ))">
  3162.                                                                                 <altova:NewLine/>
  3163.                                                                                 <xsl:for-each select="TToolSpinDir">
  3164.                                                                                     <xsl:for-each select="Lable">
  3165.                                                                                         <altova:ContentHolder altova:CharPropertiesId="content_C_193">
  3166.                                                                                             <xsl:apply-templates/>
  3167.                                                                                             <altova:CharacterProperties>
  3168.                                                                                                 <w:rPr>
  3169.                                                                                                     <w:sz w:val="14"/>
  3170.                                                                                                 </w:rPr>
  3171.                                                                                             </altova:CharacterProperties>
  3172.                                                                                         </altova:ContentHolder>
  3173.                                                                                     </xsl:for-each>
  3174.                                                                                 </xsl:for-each>
  3175.                                                                                 <altova:TextRun altova:CharPropertiesId="text_C_194">: <altova:CharacterProperties altova:whitespace="preserve-all">
  3176.                                                                                         <w:rPr>
  3177.                                                                                             <w:sz w:val="14"/>
  3178.                                                                                         </w:rPr>
  3179.                                                                                     </altova:CharacterProperties>
  3180.                                                                                 </altova:TextRun>
  3181.                                                                                 <xsl:for-each select="TToolSpinDir">
  3182.                                                                                     <xsl:for-each select="Value">
  3183.                                                                                         <altova:ContentHolder altova:CharPropertiesId="content_C_195">
  3184.                                                                                             <xsl:apply-templates/>
  3185.                                                                                             <altova:CharacterProperties>
  3186.                                                                                                 <w:rPr>
  3187.                                                                                                     <w:sz w:val="14"/>
  3188.                                                                                                 </w:rPr>
  3189.                                                                                             </altova:CharacterProperties>
  3190.                                                                                         </altova:ContentHolder>
  3191.                                                                                     </xsl:for-each>
  3192.                                                                                 </xsl:for-each>
  3193.                                                                             </xsl:if>
  3194.                                                                             <xsl:if test="../../General/Settings/CheckTurnR = &quot;1&quot; and not(empty(  TToolR ))">
  3195.                                                                                 <altova:NewLine/>
  3196.                                                                                 <altova:TextRun altova:CharPropertiesId="text_C_196">R: <altova:CharacterProperties altova:whitespace="preserve-all">
  3197.                                                                                         <w:rPr>
  3198.                                                                                             <w:sz w:val="14"/>
  3199.                                                                                         </w:rPr>
  3200.                                                                                     </altova:CharacterProperties>
  3201.                                                                                 </altova:TextRun>
  3202.                                                                                 <xsl:for-each select="TToolR">
  3203.                                                                                     <altova:ContentHolder altova:CharPropertiesId="content_C_197">
  3204.                                                                                         <xsl:apply-templates/>
  3205.                                                                                         <altova:CharacterProperties>
  3206.                                                                                             <w:rPr>
  3207.                                                                                                 <w:sz w:val="14"/>
  3208.                                                                                             </w:rPr>
  3209.                                                                                         </altova:CharacterProperties>
  3210.                                                                                     </altova:ContentHolder>
  3211.                                                                                 </xsl:for-each>
  3212.                                                                             </xsl:if>
  3213.                                                                             <xsl:if test="../../General/Settings/CheckTurnRa = &quot;1&quot; and not(empty(  TToolRa ))">
  3214.                                                                                 <altova:NewLine/>
  3215.                                                                                 <altova:TextRun altova:CharPropertiesId="text_C_198">Ra: <altova:CharacterProperties altova:whitespace="preserve-all">
  3216.                                                                                         <w:rPr>
  3217.                                                                                             <w:sz w:val="14"/>
  3218.                                                                                         </w:rPr>
  3219.                                                                                     </altova:CharacterProperties>
  3220.                                                                                 </altova:TextRun>
  3221.                                                                                 <xsl:for-each select="TToolRa">
  3222.                                                                                     <altova:ContentHolder altova:CharPropertiesId="content_C_199">
  3223.                                                                                         <xsl:apply-templates/>
  3224.                                                                                         <altova:CharacterProperties>
  3225.                                                                                             <w:rPr>
  3226.                                                                                                 <w:sz w:val="14"/>
  3227.                                                                                             </w:rPr>
  3228.                                                                                         </altova:CharacterProperties>
  3229.                                                                                     </altova:ContentHolder>
  3230.                                                                                 </xsl:for-each>
  3231.                                                                             </xsl:if>
  3232.                                                                             <xsl:if test="../../General/Settings/CheckTurnRb = &quot;1&quot; and not(empty(  TToolRb ))">
  3233.                                                                                 <altova:NewLine/>
  3234.                                                                                 <altova:TextRun altova:CharPropertiesId="text_C_200">Rb: <altova:CharacterProperties altova:whitespace="preserve-all">
  3235.                                                                                         <w:rPr>
  3236.                                                                                             <w:sz w:val="14"/>
  3237.                                                                                         </w:rPr>
  3238.                                                                                     </altova:CharacterProperties>
  3239.                                                                                 </altova:TextRun>
  3240.                                                                                 <xsl:for-each select="TToolRb">
  3241.                                                                                     <altova:ContentHolder altova:CharPropertiesId="content_C_201">
  3242.                                                                                         <xsl:apply-templates/>
  3243.                                                                                         <altova:CharacterProperties>
  3244.                                                                                             <w:rPr>
  3245.                                                                                                 <w:sz w:val="14"/>
  3246.                                                                                             </w:rPr>
  3247.                                                                                         </altova:CharacterProperties>
  3248.                                                                                     </altova:ContentHolder>
  3249.                                                                                 </xsl:for-each>
  3250.                                                                             </xsl:if>
  3251.                                                                             <xsl:if test="../../General/Settings/CheckTurna = &quot;1&quot; and not(empty(  TToola ))">
  3252.                                                                                 <altova:NewLine/>
  3253.                                                                                 <altova:TextRun altova:CharPropertiesId="text_C_202">a: <altova:CharacterProperties altova:whitespace="preserve-all">
  3254.                                                                                         <w:rPr>
  3255.                                                                                             <w:sz w:val="14"/>
  3256.                                                                                         </w:rPr>
  3257.                                                                                     </altova:CharacterProperties>
  3258.                                                                                 </altova:TextRun>
  3259.                                                                                 <xsl:for-each select="TToola">
  3260.                                                                                     <altova:ContentHolder altova:CharPropertiesId="content_C_203">
  3261.                                                                                         <xsl:apply-templates/>
  3262.                                                                                         <altova:CharacterProperties>
  3263.                                                                                             <w:rPr>
  3264.                                                                                                 <w:sz w:val="14"/>
  3265.                                                                                             </w:rPr>
  3266.                                                                                         </altova:CharacterProperties>
  3267.                                                                                     </altova:ContentHolder>
  3268.                                                                                 </xsl:for-each>
  3269.                                                                             </xsl:if>
  3270.                                                                             <xsl:if test="../../General/Settings/CheckTurnb = &quot;1&quot; and not(empty(  TToolb ))">
  3271.                                                                                 <altova:NewLine/>
  3272.                                                                                 <altova:TextRun altova:CharPropertiesId="text_C_204">b: <altova:CharacterProperties altova:whitespace="preserve-all">
  3273.                                                                                         <w:rPr>
  3274.                                                                                             <w:sz w:val="14"/>
  3275.                                                                                         </w:rPr>
  3276.                                                                                     </altova:CharacterProperties>
  3277.                                                                                 </altova:TextRun>
  3278.                                                                                 <xsl:for-each select="TToolb">
  3279.                                                                                     <altova:ContentHolder altova:CharPropertiesId="content_C_205">
  3280.                                                                                         <xsl:apply-templates/>
  3281.                                                                                         <altova:CharacterProperties>
  3282.                                                                                             <w:rPr>
  3283.                                                                                                 <w:sz w:val="14"/>
  3284.                                                                                             </w:rPr>
  3285.                                                                                         </altova:CharacterProperties>
  3286.                                                                                     </altova:ContentHolder>
  3287.                                                                                 </xsl:for-each>
  3288.                                                                             </xsl:if>
  3289.                                                                             <xsl:if test="../../General/Settings/CheckMillH = &quot;1&quot; and not(empty(  SCToolH/Value ))">
  3290.                                                                                 <xsl:for-each select="SCToolH">
  3291.                                                                                     <xsl:for-each select="Lable">
  3292.                                                                                         <altova:ContentHolder altova:CharPropertiesId="content_C_206">
  3293.                                                                                             <xsl:apply-templates/>
  3294.                                                                                             <altova:CharacterProperties>
  3295.                                                                                                 <w:rPr>
  3296.                                                                                                     <w:sz w:val="14"/>
  3297.                                                                                                 </w:rPr>
  3298.                                                                                             </altova:CharacterProperties>
  3299.                                                                                         </altova:ContentHolder>
  3300.                                                                                     </xsl:for-each>
  3301.                                                                                 </xsl:for-each>
  3302.                                                                                 <altova:TextRun altova:CharPropertiesId="text_C_207">&#160;<altova:CharacterProperties altova:whitespace="preserve-all">
  3303.                                                                                         <w:rPr>
  3304.                                                                                             <w:sz w:val="14"/>
  3305.                                                                                         </w:rPr>
  3306.                                                                                     </altova:CharacterProperties>
  3307.                                                                                 </altova:TextRun>
  3308.                                                                                 <xsl:for-each select="SCToolH">
  3309.                                                                                     <xsl:for-each select="Value">
  3310.                                                                                         <altova:ContentHolder altova:CharPropertiesId="content_C_208">
  3311.                                                                                             <xsl:apply-templates/>
  3312.                                                                                             <altova:CharacterProperties>
  3313.                                                                                                 <w:rPr>
  3314.                                                                                                     <w:sz w:val="14"/>
  3315.                                                                                                 </w:rPr>
  3316.                                                                                             </altova:CharacterProperties>
  3317.                                                                                         </altova:ContentHolder>
  3318.                                                                                     </xsl:for-each>
  3319.                                                                                 </xsl:for-each>
  3320.                                                                                 <altova:TextRun altova:CharPropertiesId="text_C_209">&#160;&#160;&#160;&#160;&#160;&#160;&#160; <altova:CharacterProperties altova:whitespace="preserve-all">
  3321.                                                                                         <w:rPr>
  3322.                                                                                             <w:sz w:val="14"/>
  3323.                                                                                         </w:rPr>
  3324.                                                                                     </altova:CharacterProperties>
  3325.                                                                                 </altova:TextRun>
  3326.                                                                                 <xsl:for-each select="SCToolD">
  3327.                                                                                     <xsl:for-each select="Lable">
  3328.                                                                                         <altova:ContentHolder altova:CharPropertiesId="content_C_210">
  3329.                                                                                             <xsl:apply-templates/>
  3330.                                                                                             <altova:CharacterProperties>
  3331.                                                                                                 <w:rPr>
  3332.                                                                                                     <w:sz w:val="14"/>
  3333.                                                                                                 </w:rPr>
  3334.                                                                                             </altova:CharacterProperties>
  3335.                                                                                         </altova:ContentHolder>
  3336.                                                                                     </xsl:for-each>
  3337.                                                                                 </xsl:for-each>
  3338.                                                                                 <altova:TextRun altova:CharPropertiesId="text_C_211">&#160;<altova:CharacterProperties altova:whitespace="preserve-all">
  3339.                                                                                         <w:rPr>
  3340.                                                                                             <w:sz w:val="14"/>
  3341.                                                                                         </w:rPr>
  3342.                                                                                     </altova:CharacterProperties>
  3343.                                                                                 </altova:TextRun>
  3344.                                                                                 <xsl:for-each select="SCToolD">
  3345.                                                                                     <xsl:for-each select="Value">
  3346.                                                                                         <altova:ContentHolder altova:CharPropertiesId="content_C_212">
  3347.                                                                                             <xsl:apply-templates/>
  3348.                                                                                             <altova:CharacterProperties>
  3349.                                                                                                 <w:rPr>
  3350.                                                                                                     <w:sz w:val="14"/>
  3351.                                                                                                 </w:rPr>
  3352.                                                                                             </altova:CharacterProperties>
  3353.                                                                                         </altova:ContentHolder>
  3354.                                                                                     </xsl:for-each>
  3355.                                                                                 </xsl:for-each>
  3356.                                                                             </xsl:if>
  3357.                                                                             <xsl:if test="../../General/Settings/CheckMillFlutes = &quot;1&quot; and not(empty(  SCToolNFlutes/Value ))">
  3358.                                                                                 <altova:NewLine/>
  3359.                                                                                 <xsl:for-each select="SCToolNFlutes">
  3360.                                                                                     <xsl:for-each select="Lable">
  3361.                                                                                         <altova:ContentHolder altova:CharPropertiesId="content_C_213">
  3362.                                                                                             <xsl:apply-templates/>
  3363.                                                                                             <altova:CharacterProperties>
  3364.                                                                                                 <w:rPr>
  3365.                                                                                                     <w:sz w:val="14"/>
  3366.                                                                                                 </w:rPr>
  3367.                                                                                             </altova:CharacterProperties>
  3368.                                                                                         </altova:ContentHolder>
  3369.                                                                                     </xsl:for-each>
  3370.                                                                                 </xsl:for-each>
  3371.                                                                                 <altova:TextRun altova:CharPropertiesId="text_C_214">: <altova:CharacterProperties altova:whitespace="preserve-all">
  3372.                                                                                         <w:rPr>
  3373.                                                                                             <w:sz w:val="14"/>
  3374.                                                                                         </w:rPr>
  3375.                                                                                     </altova:CharacterProperties>
  3376.                                                                                 </altova:TextRun>
  3377.                                                                                 <xsl:for-each select="SCToolNFlutes">
  3378.                                                                                     <xsl:for-each select="Value">
  3379.                                                                                         <altova:ContentHolder altova:CharPropertiesId="content_C_215">
  3380.                                                                                             <xsl:apply-templates/>
  3381.                                                                                             <altova:CharacterProperties>
  3382.                                                                                                 <w:rPr>
  3383.                                                                                                     <w:sz w:val="14"/>
  3384.                                                                                                 </w:rPr>
  3385.                                                                                             </altova:CharacterProperties>
  3386.                                                                                         </altova:ContentHolder>
  3387.                                                                                     </xsl:for-each>
  3388.                                                                                 </xsl:for-each>
  3389.                                                                             </xsl:if>
  3390.                                                                             <xsl:if test="../../General/Settings/CheckMillRough = &quot;1&quot; and string(SCToolRough/Value) = &quot;1&quot;">
  3391.                                                                                 <altova:NewLine/>
  3392.                                                                                 <xsl:for-each select="SCToolRough">
  3393.                                                                                     <xsl:for-each select="Lable">
  3394.                                                                                         <altova:ContentHolder altova:CharPropertiesId="content_C_216">
  3395.                                                                                             <xsl:apply-templates/>
  3396.                                                                                             <altova:CharacterProperties>
  3397.                                                                                                 <w:rPr>
  3398.                                                                                                     <w:sz w:val="14"/>
  3399.                                                                                                 </w:rPr>
  3400.                                                                                             </altova:CharacterProperties>
  3401.                                                                                         </altova:ContentHolder>
  3402.                                                                                     </xsl:for-each>
  3403.                                                                                 </xsl:for-each>
  3404.                                                                             </xsl:if>
  3405.                                                                             <xsl:if test="not(empty(SCToolPitch/Value))">
  3406.                                                                                 <altova:NewLine/>
  3407.                                                                                 <xsl:for-each select="SCToolPitch">
  3408.                                                                                     <xsl:for-each select="Lable">
  3409.                                                                                         <altova:ContentHolder altova:CharPropertiesId="content_C_217">
  3410.                                                                                             <xsl:apply-templates/>
  3411.                                                                                             <altova:CharacterProperties>
  3412.                                                                                                 <w:rPr>
  3413.                                                                                                     <w:sz w:val="14"/>
  3414.                                                                                                 </w:rPr>
  3415.                                                                                             </altova:CharacterProperties>
  3416.                                                                                         </altova:ContentHolder>
  3417.                                                                                     </xsl:for-each>
  3418.                                                                                 </xsl:for-each>
  3419.                                                                                 <altova:TextRun altova:CharPropertiesId="text_C_218">: <altova:CharacterProperties altova:whitespace="preserve-all">
  3420.                                                                                         <w:rPr>
  3421.                                                                                             <w:sz w:val="14"/>
  3422.                                                                                         </w:rPr>
  3423.                                                                                     </altova:CharacterProperties>
  3424.                                                                                 </altova:TextRun>
  3425.                                                                                 <xsl:for-each select="SCToolPitch">
  3426.                                                                                     <xsl:for-each select="Value">
  3427.                                                                                         <altova:ContentHolder altova:CharPropertiesId="content_C_219">
  3428.                                                                                             <xsl:apply-templates/>
  3429.                                                                                             <altova:CharacterProperties>
  3430.                                                                                                 <w:rPr>
  3431.                                                                                                     <w:sz w:val="14"/>
  3432.                                                                                                 </w:rPr>
  3433.                                                                                             </altova:CharacterProperties>
  3434.                                                                                         </altova:ContentHolder>
  3435.                                                                                     </xsl:for-each>
  3436.                                                                                 </xsl:for-each>
  3437.                                                                                 <altova:TextRun altova:CharPropertiesId="text_C_220">&#160;<altova:CharacterProperties altova:whitespace="preserve-all">
  3438.                                                                                         <w:rPr>
  3439.                                                                                             <w:sz w:val="14"/>
  3440.                                                                                         </w:rPr>
  3441.                                                                                     </altova:CharacterProperties>
  3442.                                                                                 </altova:TextRun>
  3443.                                                                                 <xsl:for-each select="SCToolPitchUnit">
  3444.                                                                                     <xsl:for-each select="Value">
  3445.                                                                                         <altova:ContentHolder altova:CharPropertiesId="content_C_221">
  3446.                                                                                             <xsl:apply-templates/>
  3447.                                                                                             <altova:CharacterProperties>
  3448.                                                                                                 <w:rPr>
  3449.                                                                                                     <w:sz w:val="14"/>
  3450.                                                                                                 </w:rPr>
  3451.                                                                                             </altova:CharacterProperties>
  3452.                                                                                         </altova:ContentHolder>
  3453.                                                                                     </xsl:for-each>
  3454.                                                                                 </xsl:for-each>
  3455.                                                                             </xsl:if>
  3456.                                                                         </altova:Paragraph>
  3457.                                                                     </altova:TableCell>
  3458.                                                                 </altova:TableRow>
  3459.                                                             </altova:TableBody>
  3460.                                                         </altova:Table>
  3461.                                                     </altova:Paragraph>
  3462.                                                 </altova:TableCell>
  3463.                                             </altova:TableRow>
  3464.                                         </xsl:for-each>
  3465.                                     </xsl:for-each>
  3466.                                 </xsl:for-each>
  3467.                             </xsl:for-each>
  3468.                         </altova:TableBody>
  3469.                     </altova:Table>
  3470.                     <altova:NewLine/>
  3471.                 </xsl:if>
  3472.                 <xsl:if test="$XML1/SolidCAMPart/General/Settings/SCGenJobSummary = &quot;1&quot;">
  3473.                     <xsl:if test="$XML1/SolidCAMPart/General/Settings/SCGenMainPage  =  &quot;1&quot; or
  3474. $XML1/SolidCAMPart/General/Settings/SCGenImages    =  &quot;1&quot; or
  3475. $XML1/SolidCAMPart/General/Settings/SCGenToolTabel =  &quot;1&quot;">
  3476.                         <altova:PageBreak/>
  3477.                     </xsl:if>
  3478.                     <altova:Table altova:CharPropertiesId="table_C_222">
  3479.                         <altova:CharacterProperties>
  3480.                             <w:rPr>
  3481.                                 <w:rFonts w:ascii="arial" w:hAnsi="arial"/>
  3482.                             </w:rPr>
  3483.                         </altova:CharacterProperties>
  3484.                         <altova:TableProperties>
  3485.                             <w:tblStyle w:val="TableStyle16"/>
  3486.                             <w:tblW w:w="5000" w:type="pct"/>
  3487.                         </altova:TableProperties>
  3488.                         <xsl:variable name="altova:CurrContextGrid_222" select="."/>
  3489.                         <xsl:variable name="altova:ColumnData">
  3490.                             <altova:Internal/>
  3491.                         </xsl:variable>
  3492.                         <altova:TableGrid>
  3493.                             <altova:GridCol altova:Width="1000" altova:Type="percent"/>
  3494.                             <altova:GridCol altova:Width="3000" altova:Type="percent"/>
  3495.                             <altova:GridCol altova:Width="1000" altova:Type="percent"/>
  3496.                         </altova:TableGrid>
  3497.                         <altova:TableBody>
  3498.                             <altova:TableRow>
  3499.                                 <altova:TableCellProperties>
  3500.                                     <w:tcBorders>
  3501.                                         <w:bottom w:val="single" w:sz="32"/>
  3502.                                     </w:tcBorders>
  3503.                                 </altova:TableCellProperties>
  3504.                                 <altova:TableCell altova:ParaPropertiesId="table cell_P_223">
  3505.                                     <altova:ParagraphProperties>
  3506.                                         <w:pPr>
  3507.                                             <w:jc w:val="center"/>
  3508.                                         </w:pPr>
  3509.                                     </altova:ParagraphProperties>
  3510.                                     <altova:TableCellProperties>
  3511.                                         <w:vAlign w:val="top"/>
  3512.                                     </altova:TableCellProperties>
  3513.                                     <altova:Paragraph>
  3514.                                         <xsl:if test="false()">
  3515.                                             <xsl:for-each select="$XML1">
  3516.                                                 <xsl:for-each select="SolidCAMPart">
  3517.                                                     <xsl:for-each select="General">
  3518.                                                         <xsl:for-each select="SCMainPartImage">
  3519.                                                             <altova:Image altova:Src="{.}" altova:WidthEmu="571500" altova:HeightEmu="571500"/>
  3520.                                                         </xsl:for-each>
  3521.                                                     </xsl:for-each>
  3522.                                                 </xsl:for-each>
  3523.                                             </xsl:for-each>
  3524.                                         </xsl:if>
  3525.                                         <altova:NewLine/>
  3526.                                         <xsl:for-each select="$XML1">
  3527.                                             <xsl:for-each select="SolidCAMPart">
  3528.                                                 <xsl:for-each select="General">
  3529.                                                     <xsl:for-each select="SCDateCreated">
  3530.                                                         <altova:ContentHolder altova:CharPropertiesId="content_C_224">
  3531.                                                             <xsl:apply-templates/>
  3532.                                                             <altova:CharacterProperties>
  3533.                                                                 <w:rPr>
  3534.                                                                     <w:sz w:val="14"/>
  3535.                                                                 </w:rPr>
  3536.                                                             </altova:CharacterProperties>
  3537.                                                         </altova:ContentHolder>
  3538.                                                     </xsl:for-each>
  3539.                                                 </xsl:for-each>
  3540.                                             </xsl:for-each>
  3541.                                         </xsl:for-each>
  3542.                                     </altova:Paragraph>
  3543.                                 </altova:TableCell>
  3544.                                 <altova:TableCell altova:ParaPropertiesId="table cell_P_225">
  3545.                                     <altova:ParagraphProperties>
  3546.                                         <w:pPr>
  3547.                                             <w:jc w:val="center"/>
  3548.                                         </w:pPr>
  3549.                                     </altova:ParagraphProperties>
  3550.                                     <altova:TableCellProperties>
  3551.                                         <w:vAlign w:val="top"/>
  3552.                                     </altova:TableCellProperties>
  3553.                                     <altova:Paragraph>
  3554.                                         <xsl:for-each select="$XML1">
  3555.                                             <xsl:for-each select="SolidCAMPart">
  3556.                                                 <xsl:for-each select="General">
  3557.                                                     <xsl:for-each select="SCOperationSummary">
  3558.                                                         <altova:ContentHolder>
  3559.                                                             <xsl:apply-templates/>
  3560.                                                         </altova:ContentHolder>
  3561.                                                     </xsl:for-each>
  3562.                                                 </xsl:for-each>
  3563.                                             </xsl:for-each>
  3564.                                         </xsl:for-each>
  3565.                                         <altova:TextRun altova:CharPropertiesId="text_C_226">&#160; <altova:CharacterProperties altova:whitespace="preserve-all"/>
  3566.                                         </altova:TextRun>
  3567.                                         <xsl:for-each select="$XML1">
  3568.                                             <xsl:for-each select="SolidCAMPart">
  3569.                                                 <xsl:for-each select="General">
  3570.                                                     <xsl:for-each select="SCPartName">
  3571.                                                         <xsl:for-each select="Value">
  3572.                                                             <altova:ContentHolder altova:CharPropertiesId="content_C_227">
  3573.                                                                 <xsl:apply-templates/>
  3574.                                                                 <altova:CharacterProperties>
  3575.                                                                     <w:rPr>
  3576.                                                                         <w:b/>
  3577.                                                                     </w:rPr>
  3578.                                                                 </altova:CharacterProperties>
  3579.                                                             </altova:ContentHolder>
  3580.                                                         </xsl:for-each>
  3581.                                                     </xsl:for-each>
  3582.                                                 </xsl:for-each>
  3583.                                             </xsl:for-each>
  3584.                                         </xsl:for-each>
  3585.                                         <altova:Table>
  3586.                                             <altova:TableProperties>
  3587.                                                 <w:tblStyle w:val="TableStyle17"/>
  3588.                                                 <w:tblW w:w="5000" w:type="pct"/>
  3589.                                             </altova:TableProperties>
  3590.                                             <xsl:variable name="altova:CurrContextGrid_228" select="."/>
  3591.                                             <xsl:variable name="altova:ColumnData">
  3592.                                                 <altova:Internal/>
  3593.                                             </xsl:variable>
  3594.                                             <altova:TableGrid>
  3595.                                                 <altova:GridCol altova:Width="2500" altova:Type="percent"/>
  3596.                                                 <altova:GridCol altova:Width="2500" altova:Type="percent"/>
  3597.                                             </altova:TableGrid>
  3598.                                             <altova:TableBody>
  3599.                                                 <xsl:for-each select="$XML1">
  3600.                                                     <xsl:for-each select="SolidCAMPart">
  3601.                                                         <xsl:for-each select="General">
  3602.                                                             <xsl:for-each select="SCUserDefinedHeader">
  3603.                                                                 <altova:TableRow>
  3604.                                                                     <altova:TableCell altova:ParaPropertiesId="table cell_P_229">
  3605.                                                                         <altova:ParagraphProperties>
  3606.                                                                             <w:pPr>
  3607.                                                                                 <w:shd w:val="clear" w:fill="E1E1E1"/>
  3608.                                                                             </w:pPr>
  3609.                                                                         </altova:ParagraphProperties>
  3610.                                                                         <altova:TableCellProperties>
  3611.                                                                             <w:shd w:val="clear" w:fill="E1E1E1"/>
  3612.                                                                             <w:vAlign w:val="center"/>
  3613.                                                                         </altova:TableCellProperties>
  3614.                                                                         <altova:Paragraph>
  3615.                                                                             <xsl:for-each select="Lable">
  3616.                                                                                 <altova:ContentHolder>
  3617.                                                                                     <xsl:apply-templates/>
  3618.                                                                                 </altova:ContentHolder>
  3619.                                                                             </xsl:for-each>
  3620.                                                                         </altova:Paragraph>
  3621.                                                                     </altova:TableCell>
  3622.                                                                     <altova:TableCell>
  3623.                                                                         <altova:TableCellProperties>
  3624.                                                                             <w:vAlign w:val="center"/>
  3625.                                                                         </altova:TableCellProperties>
  3626.                                                                         <altova:Paragraph>
  3627.                                                                             <xsl:for-each select="Value">
  3628.                                                                                 <altova:ContentHolder>
  3629.                                                                                     <xsl:apply-templates/>
  3630.                                                                                 </altova:ContentHolder>
  3631.                                                                             </xsl:for-each>
  3632.                                                                         </altova:Paragraph>
  3633.                                                                     </altova:TableCell>
  3634.                                                                 </altova:TableRow>
  3635.                                                             </xsl:for-each>
  3636.                                                         </xsl:for-each>
  3637.                                                     </xsl:for-each>
  3638.                                                 </xsl:for-each>
  3639.                                             </altova:TableBody>
  3640.                                         </altova:Table>
  3641.                                     </altova:Paragraph>
  3642.                                 </altova:TableCell>
  3643.                                 <altova:TableCell altova:ParaPropertiesId="table cell_P_230">
  3644.                                     <altova:ParagraphProperties>
  3645.                                         <w:pPr>
  3646.                                             <w:jc w:val="center"/>
  3647.                                         </w:pPr>
  3648.                                     </altova:ParagraphProperties>
  3649.                                     <altova:TableCellProperties>
  3650.                                         <w:tcMar>
  3651.                                             <w:top w:w="15" w:type="dxa"/>
  3652.                                             <w:left w:w="15" w:type="dxa"/>
  3653.                                             <w:bottom w:w="15" w:type="dxa"/>
  3654.                                             <w:right w:w="15" w:type="dxa"/>
  3655.                                         </w:tcMar>
  3656.                                         <w:vAlign w:val="top"/>
  3657.                                     </altova:TableCellProperties>
  3658.                                     <altova:Paragraph>
  3659.                                         <xsl:if test="string-length( string($XML1/SolidCAMPart/General/SCCompanyLogo) ) &gt; 2">
  3660.                                             <xsl:for-each select="$XML1">
  3661.                                                 <xsl:for-each select="SolidCAMPart">
  3662.                                                     <xsl:for-each select="General">
  3663.                                                         <xsl:for-each select="SCCompanyLogo">
  3664.                                                             <altova:Image altova:Src="{.}" altova:WidthEmu="1097280" altova:HeightEmu="274320"/>
  3665.                                                         </xsl:for-each>
  3666.                                                     </xsl:for-each>
  3667.                                                 </xsl:for-each>
  3668.                                             </xsl:for-each>
  3669.                                         </xsl:if>
  3670.                                     </altova:Paragraph>
  3671.                                 </altova:TableCell>
  3672.                             </altova:TableRow>
  3673.                         </altova:TableBody>
  3674.                     </altova:Table>
  3675.                     <altova:NewLine/>
  3676.                     <altova:Table altova:CharPropertiesId="table_C_231">
  3677.                         <altova:CharacterProperties>
  3678.                             <w:rPr>
  3679.                                 <w:rFonts w:ascii="arial" w:hAnsi="arial"/>
  3680.                                 <w:sz w:val="14"/>
  3681.                             </w:rPr>
  3682.                         </altova:CharacterProperties>
  3683.                         <altova:TableProperties>
  3684.                             <w:tblStyle w:val="TableStyle18"/>
  3685.                             <w:tblW w:w="5000" w:type="pct"/>
  3686.                         </altova:TableProperties>
  3687.                         <xsl:variable name="altova:CurrContextGrid_231" select="."/>
  3688.                         <xsl:variable name="altova:ColumnData">
  3689.                             <altova:Internal/>
  3690.                         </xsl:variable>
  3691.                         <altova:TableGrid>
  3692.                             <altova:GridCol altova:Width="720" altova:Type="twips"/>
  3693.                             <altova:GridCol altova:Width="2160" altova:Type="twips"/>
  3694.                             <altova:GridCol altova:Width="0" altova:Type="auto"/>
  3695.                             <altova:GridCol altova:Width="0" altova:Type="auto"/>
  3696.                             <altova:GridCol altova:Width="0" altova:Type="auto"/>
  3697.                             <altova:GridCol altova:Width="0" altova:Type="auto"/>
  3698.                         </altova:TableGrid>
  3699.                         <altova:TableHeader>
  3700.                             <altova:TableRow altova:CharPropertiesId="table row_C_232">
  3701.                                 <altova:TableRowProperties>
  3702.                                     <w:trPr>
  3703.                                         <w:tblHeader/>
  3704.                                     </w:trPr>
  3705.                                 </altova:TableRowProperties>
  3706.                                 <altova:CharacterProperties>
  3707.                                     <w:rPr>
  3708.                                         <w:sz w:val="20"/>
  3709.                                         <w:shd w:val="clear" w:fill="E1E1E1"/>
  3710.                                     </w:rPr>
  3711.                                 </altova:CharacterProperties>
  3712.                                 <altova:TableCellProperties>
  3713.                                     <w:shd w:val="clear" w:fill="E1E1E1"/>
  3714.                                 </altova:TableCellProperties>
  3715.                                 <altova:TableCell altova:ParaPropertiesId="table cell_P_233">
  3716.                                     <altova:ParagraphProperties>
  3717.                                         <w:pPr>
  3718.                                             <w:jc w:val="center"/>
  3719.                                         </w:pPr>
  3720.                                     </altova:ParagraphProperties>
  3721.                                     <altova:TableCellProperties>
  3722.                                         <w:vMerge w:val="restart"/>
  3723.                                         <w:vAlign w:val="center"/>
  3724.                                     </altova:TableCellProperties>
  3725.                                     <altova:Paragraph>
  3726.                                         <altova:TextRun altova:CharPropertiesId="text_C_234">#<altova:CharacterProperties altova:whitespace="preserve-all">
  3727.                                                 <w:rPr>
  3728.                                                     <w:b/>
  3729.                                                 </w:rPr>
  3730.                                             </altova:CharacterProperties>
  3731.                                         </altova:TextRun>
  3732.                                     </altova:Paragraph>
  3733.                                 </altova:TableCell>
  3734.                                 <altova:TableCell altova:CharPropertiesId="table cell_C_235" altova:ParaPropertiesId="table cell_P_235">
  3735.                                     <altova:CharacterProperties>
  3736.                                         <w:rPr>
  3737.                                             <w:shd w:val="clear" w:fill="C3FFFF"/>
  3738.                                         </w:rPr>
  3739.                                     </altova:CharacterProperties>
  3740.                                     <altova:ParagraphProperties>
  3741.                                         <w:pPr>
  3742.                                             <w:shd w:val="clear" w:fill="C3FFFF"/>
  3743.                                             <w:jc w:val="left"/>
  3744.                                         </w:pPr>
  3745.                                     </altova:ParagraphProperties>
  3746.                                     <altova:TableCellProperties>
  3747.                                         <w:gridSpan w:val="5"/>
  3748.                                         <w:shd w:val="clear" w:fill="C3FFFF"/>
  3749.                                         <w:vAlign w:val="center"/>
  3750.                                     </altova:TableCellProperties>
  3751.                                     <altova:Paragraph>
  3752.                                         <altova:TextRun altova:CharPropertiesId="text_C_236">&#160;&#160;&#160;&#160;&#160; <altova:CharacterProperties altova:whitespace="preserve-all">
  3753.                                                 <w:rPr>
  3754.                                                     <w:b/>
  3755.                                                 </w:rPr>
  3756.                                             </altova:CharacterProperties>
  3757.                                         </altova:TextRun>
  3758.                                         <xsl:for-each select="$XML1">
  3759.                                             <xsl:for-each select="SolidCAMPart">
  3760.                                                 <xsl:for-each select="General">
  3761.                                                     <xsl:for-each select="SCOperationNameHeader">
  3762.                                                         <altova:ContentHolder altova:CharPropertiesId="content_C_237">
  3763.                                                             <xsl:apply-templates/>
  3764.                                                             <altova:CharacterProperties>
  3765.                                                                 <w:rPr>
  3766.                                                                     <w:b/>
  3767.                                                                 </w:rPr>
  3768.                                                             </altova:CharacterProperties>
  3769.                                                         </altova:ContentHolder>
  3770.                                                     </xsl:for-each>
  3771.                                                 </xsl:for-each>
  3772.                                             </xsl:for-each>
  3773.                                         </xsl:for-each>
  3774.                                         <altova:TextRun altova:CharPropertiesId="text_C_238"> (<altova:CharacterProperties altova:whitespace="preserve-all">
  3775.                                                 <w:rPr>
  3776.                                                     <w:b/>
  3777.                                                 </w:rPr>
  3778.                                             </altova:CharacterProperties>
  3779.                                         </altova:TextRun>
  3780.                                         <xsl:for-each select="$XML1">
  3781.                                             <xsl:for-each select="SolidCAMPart">
  3782.                                                 <xsl:for-each select="General">
  3783.                                                     <xsl:for-each select="SCOperationTypeHeader">
  3784.                                                         <altova:ContentHolder altova:CharPropertiesId="content_C_239">
  3785.                                                             <xsl:apply-templates/>
  3786.                                                             <altova:CharacterProperties>
  3787.                                                                 <w:rPr>
  3788.                                                                     <w:b/>
  3789.                                                                 </w:rPr>
  3790.                                                             </altova:CharacterProperties>
  3791.                                                         </altova:ContentHolder>
  3792.                                                     </xsl:for-each>
  3793.                                                 </xsl:for-each>
  3794.                                             </xsl:for-each>
  3795.                                         </xsl:for-each>
  3796.                                         <altova:TextRun altova:CharPropertiesId="text_C_240">) &lt;<altova:CharacterProperties altova:whitespace="preserve-all">
  3797.                                                 <w:rPr>
  3798.                                                     <w:b/>
  3799.                                                 </w:rPr>
  3800.                                             </altova:CharacterProperties>
  3801.                                         </altova:TextRun>
  3802.                                         <xsl:for-each select="$XML1">
  3803.                                             <xsl:for-each select="SolidCAMPart">
  3804.                                                 <xsl:for-each select="General">
  3805.                                                     <xsl:for-each select="SCTransformHeader">
  3806.                                                         <altova:ContentHolder altova:CharPropertiesId="content_C_241">
  3807.                                                             <xsl:apply-templates/>
  3808.                                                             <altova:CharacterProperties>
  3809.                                                                 <w:rPr>
  3810.                                                                     <w:b/>
  3811.                                                                 </w:rPr>
  3812.                                                             </altova:CharacterProperties>
  3813.                                                         </altova:ContentHolder>
  3814.                                                     </xsl:for-each>
  3815.                                                 </xsl:for-each>
  3816.                                             </xsl:for-each>
  3817.                                         </xsl:for-each>
  3818.                                         <altova:TextRun altova:CharPropertiesId="text_C_242">&gt;<altova:CharacterProperties altova:whitespace="preserve-all">
  3819.                                                 <w:rPr>
  3820.                                                     <w:b/>
  3821.                                                 </w:rPr>
  3822.                                             </altova:CharacterProperties>
  3823.                                         </altova:TextRun>
  3824.                                     </altova:Paragraph>
  3825.                                 </altova:TableCell>
  3826.                             </altova:TableRow>
  3827.                             <altova:TableRow altova:CharPropertiesId="table row_C_243">
  3828.                                 <altova:TableRowProperties>
  3829.                                     <w:trPr>
  3830.                                         <w:tblHeader/>
  3831.                                     </w:trPr>
  3832.                                 </altova:TableRowProperties>
  3833.                                 <altova:CharacterProperties>
  3834.                                     <w:rPr>
  3835.                                         <w:sz w:val="20"/>
  3836.                                         <w:shd w:val="clear" w:fill="E1E1E1"/>
  3837.                                     </w:rPr>
  3838.                                 </altova:CharacterProperties>
  3839.                                 <altova:TableCellProperties>
  3840.                                     <w:shd w:val="clear" w:fill="E1E1E1"/>
  3841.                                 </altova:TableCellProperties>
  3842.                                 <altova:TableCell>
  3843.                                     <altova:Paragraph/>
  3844.                                     <altova:TableCellProperties>
  3845.                                         <w:vMerge w:val="continue"/>
  3846.                                     </altova:TableCellProperties>
  3847.                                 </altova:TableCell>
  3848.                                 <altova:TableCell altova:ParaPropertiesId="table cell_P_244">
  3849.                                     <altova:ParagraphProperties>
  3850.                                         <w:pPr>
  3851.                                             <w:jc w:val="center"/>
  3852.                                         </w:pPr>
  3853.                                     </altova:ParagraphProperties>
  3854.                                     <altova:TableCellProperties>
  3855.                                         <w:vAlign w:val="center"/>
  3856.                                     </altova:TableCellProperties>
  3857.                                     <altova:Paragraph>
  3858.                                         <xsl:for-each select="$XML1">
  3859.                                             <xsl:for-each select="SolidCAMPart">
  3860.                                                 <xsl:for-each select="General">
  3861.                                                     <xsl:for-each select="SCCoordinateSystemHeader">
  3862.                                                         <altova:ContentHolder altova:CharPropertiesId="content_C_245">
  3863.                                                             <xsl:apply-templates/>
  3864.                                                             <altova:CharacterProperties>
  3865.                                                                 <w:rPr>
  3866.                                                                     <w:b/>
  3867.                                                                 </w:rPr>
  3868.                                                             </altova:CharacterProperties>
  3869.                                                         </altova:ContentHolder>
  3870.                                                     </xsl:for-each>
  3871.                                                 </xsl:for-each>
  3872.                                             </xsl:for-each>
  3873.                                         </xsl:for-each>
  3874.                                     </altova:Paragraph>
  3875.                                 </altova:TableCell>
  3876.                                 <altova:TableCell altova:ParaPropertiesId="table cell_P_246">
  3877.                                     <altova:ParagraphProperties>
  3878.                                         <w:pPr>
  3879.                                             <w:jc w:val="center"/>
  3880.                                         </w:pPr>
  3881.                                     </altova:ParagraphProperties>
  3882.                                     <altova:TableCellProperties>
  3883.                                         <w:vAlign w:val="center"/>
  3884.                                     </altova:TableCellProperties>
  3885.                                     <altova:Paragraph>
  3886.                                         <xsl:for-each select="$XML1">
  3887.                                             <xsl:for-each select="SolidCAMPart">
  3888.                                                 <xsl:for-each select="General">
  3889.                                                     <xsl:for-each select="SCSpinFinishHeader">
  3890.                                                         <altova:ContentHolder altova:CharPropertiesId="content_C_247">
  3891.                                                             <xsl:apply-templates/>
  3892.                                                             <altova:CharacterProperties>
  3893.                                                                 <w:rPr>
  3894.                                                                     <w:b/>
  3895.                                                                 </w:rPr>
  3896.                                                             </altova:CharacterProperties>
  3897.                                                         </altova:ContentHolder>
  3898.                                                     </xsl:for-each>
  3899.                                                 </xsl:for-each>
  3900.                                             </xsl:for-each>
  3901.                                         </xsl:for-each>
  3902.                                     </altova:Paragraph>
  3903.                                 </altova:TableCell>
  3904.                                 <altova:TableCell altova:ParaPropertiesId="table cell_P_248">
  3905.                                     <altova:ParagraphProperties>
  3906.                                         <w:pPr>
  3907.                                             <w:jc w:val="center"/>
  3908.                                         </w:pPr>
  3909.                                     </altova:ParagraphProperties>
  3910.                                     <altova:TableCellProperties>
  3911.                                         <w:vAlign w:val="center"/>
  3912.                                     </altova:TableCellProperties>
  3913.                                     <altova:Paragraph>
  3914.                                         <xsl:for-each select="$XML1">
  3915.                                             <xsl:for-each select="SolidCAMPart">
  3916.                                                 <xsl:for-each select="General">
  3917.                                                     <xsl:for-each select="SCFeedXYHeader">
  3918.                                                         <altova:ContentHolder altova:CharPropertiesId="content_C_249">
  3919.                                                             <xsl:apply-templates/>
  3920.                                                             <altova:CharacterProperties>
  3921.                                                                 <w:rPr>
  3922.                                                                     <w:b/>
  3923.                                                                 </w:rPr>
  3924.                                                             </altova:CharacterProperties>
  3925.                                                         </altova:ContentHolder>
  3926.                                                     </xsl:for-each>
  3927.                                                 </xsl:for-each>
  3928.                                             </xsl:for-each>
  3929.                                         </xsl:for-each>
  3930.                                         <altova:TextRun altova:CharPropertiesId="text_C_250">/<altova:CharacterProperties altova:whitespace="preserve-all">
  3931.                                                 <w:rPr>
  3932.                                                     <w:b/>
  3933.                                                 </w:rPr>
  3934.                                             </altova:CharacterProperties>
  3935.                                         </altova:TextRun>
  3936.                                         <xsl:for-each select="$XML1">
  3937.                                             <xsl:for-each select="SolidCAMPart">
  3938.                                                 <xsl:for-each select="General">
  3939.                                                     <xsl:for-each select="SCFeedNormalHeader">
  3940.                                                         <altova:ContentHolder altova:CharPropertiesId="content_C_251">
  3941.                                                             <xsl:apply-templates/>
  3942.                                                             <altova:CharacterProperties>
  3943.                                                                 <w:rPr>
  3944.                                                                     <w:b/>
  3945.                                                                 </w:rPr>
  3946.                                                             </altova:CharacterProperties>
  3947.                                                         </altova:ContentHolder>
  3948.                                                     </xsl:for-each>
  3949.                                                 </xsl:for-each>
  3950.                                             </xsl:for-each>
  3951.                                         </xsl:for-each>
  3952.                                     </altova:Paragraph>
  3953.                                 </altova:TableCell>
  3954.                                 <altova:TableCell altova:ParaPropertiesId="table cell_P_252">
  3955.                                     <altova:ParagraphProperties>
  3956.                                         <w:pPr>
  3957.                                             <w:jc w:val="center"/>
  3958.                                         </w:pPr>
  3959.                                     </altova:ParagraphProperties>
  3960.                                     <altova:TableCellProperties>
  3961.                                         <w:vAlign w:val="center"/>
  3962.                                     </altova:TableCellProperties>
  3963.                                     <altova:Paragraph>
  3964.                                         <xsl:for-each select="$XML1">
  3965.                                             <xsl:for-each select="SolidCAMPart">
  3966.                                                 <xsl:for-each select="General">
  3967.                                                     <xsl:for-each select="SCFeedZHeader">
  3968.                                                         <altova:ContentHolder altova:CharPropertiesId="content_C_253">
  3969.                                                             <xsl:apply-templates/>
  3970.                                                             <altova:CharacterProperties>
  3971.                                                                 <w:rPr>
  3972.                                                                     <w:b/>
  3973.                                                                 </w:rPr>
  3974.                                                             </altova:CharacterProperties>
  3975.                                                         </altova:ContentHolder>
  3976.                                                     </xsl:for-each>
  3977.                                                 </xsl:for-each>
  3978.                                             </xsl:for-each>
  3979.                                         </xsl:for-each>
  3980.                                         <altova:TextRun altova:CharPropertiesId="text_C_254">/<altova:CharacterProperties altova:whitespace="preserve-all">
  3981.                                                 <w:rPr>
  3982.                                                     <w:b/>
  3983.                                                 </w:rPr>
  3984.                                             </altova:CharacterProperties>
  3985.                                         </altova:TextRun>
  3986.                                         <xsl:for-each select="$XML1">
  3987.                                             <xsl:for-each select="SolidCAMPart">
  3988.                                                 <xsl:for-each select="General">
  3989.                                                     <xsl:for-each select="SCFeedFinishHeader">
  3990.                                                         <altova:ContentHolder altova:CharPropertiesId="content_C_255">
  3991.                                                             <xsl:apply-templates/>
  3992.                                                             <altova:CharacterProperties>
  3993.                                                                 <w:rPr>
  3994.                                                                     <w:b/>
  3995.                                                                 </w:rPr>
  3996.                                                             </altova:CharacterProperties>
  3997.                                                         </altova:ContentHolder>
  3998.                                                     </xsl:for-each>
  3999.                                                 </xsl:for-each>
  4000.                                             </xsl:for-each>
  4001.                                         </xsl:for-each>
  4002.                                     </altova:Paragraph>
  4003.                                 </altova:TableCell>
  4004.                                 <altova:TableCell altova:ParaPropertiesId="table cell_P_256">
  4005.                                     <altova:ParagraphProperties>
  4006.                                         <w:pPr>
  4007.                                             <w:jc w:val="center"/>
  4008.                                         </w:pPr>
  4009.                                     </altova:ParagraphProperties>
  4010.                                     <altova:TableCellProperties>
  4011.                                         <w:vAlign w:val="center"/>
  4012.                                     </altova:TableCellProperties>
  4013.                                     <altova:Paragraph>
  4014.                                         <xsl:for-each select="$XML1">
  4015.                                             <xsl:for-each select="SolidCAMPart">
  4016.                                                 <xsl:for-each select="General">
  4017.                                                     <xsl:for-each select="SCTimeHeader">
  4018.                                                         <altova:ContentHolder altova:CharPropertiesId="content_C_257">
  4019.                                                             <xsl:apply-templates/>
  4020.                                                             <altova:CharacterProperties>
  4021.                                                                 <w:rPr>
  4022.                                                                     <w:b/>
  4023.                                                                 </w:rPr>
  4024.                                                             </altova:CharacterProperties>
  4025.                                                         </altova:ContentHolder>
  4026.                                                     </xsl:for-each>
  4027.                                                 </xsl:for-each>
  4028.                                             </xsl:for-each>
  4029.                                         </xsl:for-each>
  4030.                                     </altova:Paragraph>
  4031.                                 </altova:TableCell>
  4032.                             </altova:TableRow>
  4033.                             <altova:TableRow altova:CharPropertiesId="table row_C_258">
  4034.                                 <altova:TableRowProperties>
  4035.                                     <w:trPr>
  4036.                                         <w:tblHeader/>
  4037.                                     </w:trPr>
  4038.                                 </altova:TableRowProperties>
  4039.                                 <altova:CharacterProperties>
  4040.                                     <w:rPr>
  4041.                                         <w:sz w:val="20"/>
  4042.                                         <w:shd w:val="clear" w:fill="E1E1E1"/>
  4043.                                     </w:rPr>
  4044.                                 </altova:CharacterProperties>
  4045.                                 <altova:TableCellProperties>
  4046.                                     <w:shd w:val="clear" w:fill="E1E1E1"/>
  4047.                                 </altova:TableCellProperties>
  4048.                                 <altova:TableCell>
  4049.                                     <altova:Paragraph/>
  4050.                                     <altova:TableCellProperties>
  4051.                                         <w:vMerge w:val="continue"/>
  4052.                                     </altova:TableCellProperties>
  4053.                                 </altova:TableCell>
  4054.                                 <altova:TableCell altova:ParaPropertiesId="table cell_P_259">
  4055.                                     <altova:ParagraphProperties>
  4056.                                         <w:pPr>
  4057.                                             <w:jc w:val="center"/>
  4058.                                         </w:pPr>
  4059.                                     </altova:ParagraphProperties>
  4060.                                     <altova:TableCellProperties>
  4061.                                         <w:vAlign w:val="center"/>
  4062.                                     </altova:TableCellProperties>
  4063.                                     <altova:Paragraph>
  4064.                                         <xsl:for-each select="$XML1">
  4065.                                             <xsl:for-each select="SolidCAMPart">
  4066.                                                 <xsl:for-each select="General">
  4067.                                                     <xsl:for-each select="SCToolNumberHeader">
  4068.                                                         <altova:ContentHolder altova:CharPropertiesId="content_C_260">
  4069.                                                             <xsl:apply-templates/>
  4070.                                                             <altova:CharacterProperties>
  4071.                                                                 <w:rPr>
  4072.                                                                     <w:b/>
  4073.                                                                 </w:rPr>
  4074.                                                             </altova:CharacterProperties>
  4075.                                                         </altova:ContentHolder>
  4076.                                                     </xsl:for-each>
  4077.                                                 </xsl:for-each>
  4078.                                             </xsl:for-each>
  4079.                                         </xsl:for-each>
  4080.                                     </altova:Paragraph>
  4081.                                 </altova:TableCell>
  4082.                                 <altova:TableCell altova:ParaPropertiesId="table cell_P_261">
  4083.                                     <altova:ParagraphProperties>
  4084.                                         <w:pPr>
  4085.                                             <w:jc w:val="center"/>
  4086.                                         </w:pPr>
  4087.                                     </altova:ParagraphProperties>
  4088.                                     <altova:TableCellProperties>
  4089.                                         <w:gridSpan w:val="4"/>
  4090.                                         <w:vAlign w:val="center"/>
  4091.                                     </altova:TableCellProperties>
  4092.                                     <altova:Paragraph>
  4093.                                         <xsl:for-each select="$XML1">
  4094.                                             <xsl:for-each select="SolidCAMPart">
  4095.                                                 <xsl:for-each select="General">
  4096.                                                     <xsl:for-each select="SCOperationToolCoolantHeader">
  4097.                                                         <altova:ContentHolder altova:CharPropertiesId="content_C_262">
  4098.                                                             <xsl:apply-templates/>
  4099.                                                             <altova:CharacterProperties>
  4100.                                                                 <w:rPr>
  4101.                                                                     <w:b/>
  4102.                                                                 </w:rPr>
  4103.                                                             </altova:CharacterProperties>
  4104.                                                         </altova:ContentHolder>
  4105.                                                     </xsl:for-each>
  4106.                                                 </xsl:for-each>
  4107.                                             </xsl:for-each>
  4108.                                         </xsl:for-each>
  4109.                                     </altova:Paragraph>
  4110.                                 </altova:TableCell>
  4111.                             </altova:TableRow>
  4112.                             <altova:TableRow altova:CharPropertiesId="table row_C_263">
  4113.                                 <altova:TableRowProperties>
  4114.                                     <w:trPr>
  4115.                                         <w:tblHeader/>
  4116.                                     </w:trPr>
  4117.                                 </altova:TableRowProperties>
  4118.                                 <altova:CharacterProperties>
  4119.                                     <w:rPr>
  4120.                                         <w:sz w:val="20"/>
  4121.                                         <w:shd w:val="clear" w:fill="E1E1E1"/>
  4122.                                     </w:rPr>
  4123.                                 </altova:CharacterProperties>
  4124.                                 <altova:TableCellProperties>
  4125.                                     <w:shd w:val="clear" w:fill="E1E1E1"/>
  4126.                                 </altova:TableCellProperties>
  4127.                                 <altova:TableCell>
  4128.                                     <altova:Paragraph/>
  4129.                                     <altova:TableCellProperties>
  4130.                                         <w:vMerge w:val="continue"/>
  4131.                                     </altova:TableCellProperties>
  4132.                                 </altova:TableCell>
  4133.                                 <altova:TableCell altova:ParaPropertiesId="table cell_P_264">
  4134.                                     <altova:ParagraphProperties>
  4135.                                         <w:pPr>
  4136.                                             <w:jc w:val="center"/>
  4137.                                         </w:pPr>
  4138.                                     </altova:ParagraphProperties>
  4139.                                     <altova:TableCellProperties>
  4140.                                         <w:gridSpan w:val="5"/>
  4141.                                         <w:vAlign w:val="center"/>
  4142.                                     </altova:TableCellProperties>
  4143.                                     <altova:Paragraph>
  4144.                                         <xsl:for-each select="$XML1">
  4145.                                             <xsl:for-each select="SolidCAMPart">
  4146.                                                 <xsl:for-each select="General">
  4147.                                                     <xsl:for-each select="SCOperationDescriptionHeader">
  4148.                                                         <altova:ContentHolder altova:CharPropertiesId="content_C_265">
  4149.                                                             <xsl:apply-templates/>
  4150.                                                             <altova:CharacterProperties>
  4151.                                                                 <w:rPr>
  4152.                                                                     <w:b/>
  4153.                                                                 </w:rPr>
  4154.                                                             </altova:CharacterProperties>
  4155.                                                         </altova:ContentHolder>
  4156.                                                     </xsl:for-each>
  4157.                                                 </xsl:for-each>
  4158.                                             </xsl:for-each>
  4159.                                         </xsl:for-each>
  4160.                                     </altova:Paragraph>
  4161.                                 </altova:TableCell>
  4162.                             </altova:TableRow>
  4163.                             <altova:TableRow altova:CharPropertiesId="table row_C_266">
  4164.                                 <altova:TableRowProperties>
  4165.                                     <w:trPr>
  4166.                                         <w:tblHeader/>
  4167.                                     </w:trPr>
  4168.                                 </altova:TableRowProperties>
  4169.                                 <altova:CharacterProperties>
  4170.                                     <w:rPr>
  4171.                                         <w:sz w:val="20"/>
  4172.                                         <w:shd w:val="clear" w:fill="E1E1E1"/>
  4173.                                     </w:rPr>
  4174.                                 </altova:CharacterProperties>
  4175.                                 <altova:TableCellProperties>
  4176.                                     <w:shd w:val="clear" w:fill="E1E1E1"/>
  4177.                                 </altova:TableCellProperties>
  4178.                                 <altova:TableCell>
  4179.                                     <altova:Paragraph/>
  4180.                                     <altova:TableCellProperties>
  4181.                                         <w:vMerge w:val="continue"/>
  4182.                                     </altova:TableCellProperties>
  4183.                                 </altova:TableCell>
  4184.                                 <altova:TableCell>
  4185.                                     <altova:TableCellProperties>
  4186.                                         <w:gridSpan w:val="5"/>
  4187.                                         <w:vAlign w:val="center"/>
  4188.                                     </altova:TableCellProperties>
  4189.                                     <altova:Paragraph>
  4190.                                         <altova:Table>
  4191.                                             <altova:TableProperties>
  4192.                                                 <w:tblStyle w:val="TableStyle19"/>
  4193.                                                 <w:tblW w:w="5000" w:type="pct"/>
  4194.                                             </altova:TableProperties>
  4195.                                             <xsl:variable name="altova:CurrContextGrid_267" select="."/>
  4196.                                             <xsl:variable name="altova:ColumnData">
  4197.                                                 <altova:Internal/>
  4198.                                             </xsl:variable>
  4199.                                             <altova:TableGrid>
  4200.                                                 <altova:GridCol altova:Width="800" altova:Type="percent"/>
  4201.                                                 <altova:GridCol altova:Width="800" altova:Type="percent"/>
  4202.                                                 <altova:GridCol altova:Width="800" altova:Type="percent"/>
  4203.                                                 <altova:GridCol altova:Width="800" altova:Type="percent"/>
  4204.                                                 <altova:GridCol altova:Width="800" altova:Type="percent"/>
  4205.                                                 <altova:GridCol altova:Width="0" altova:Type="auto"/>
  4206.                                             </altova:TableGrid>
  4207.                                             <altova:TableBody>
  4208.                                                 <altova:TableRow>
  4209.                                                     <altova:TableCell altova:ParaPropertiesId="table cell_P_268">
  4210.                                                         <altova:ParagraphProperties>
  4211.                                                             <w:pPr>
  4212.                                                                 <w:jc w:val="center"/>
  4213.                                                             </w:pPr>
  4214.                                                         </altova:ParagraphProperties>
  4215.                                                         <altova:TableCellProperties>
  4216.                                                             <w:vAlign w:val="center"/>
  4217.                                                         </altova:TableCellProperties>
  4218.                                                         <altova:Paragraph>
  4219.                                                             <altova:TextRun altova:CharPropertiesId="text_C_269">X <altova:CharacterProperties altova:whitespace="preserve-all">
  4220.                                                                     <w:rPr>
  4221.                                                                         <w:b/>
  4222.                                                                     </w:rPr>
  4223.                                                                 </altova:CharacterProperties>
  4224.                                                             </altova:TextRun>
  4225.                                                             <xsl:for-each select="$XML1">
  4226.                                                                 <xsl:for-each select="SolidCAMPart">
  4227.                                                                     <xsl:for-each select="General">
  4228.                                                                         <xsl:for-each select="SCMin">
  4229.                                                                             <altova:ContentHolder altova:CharPropertiesId="content_C_270">
  4230.                                                                                 <xsl:apply-templates/>
  4231.                                                                                 <altova:CharacterProperties>
  4232.                                                                                     <w:rPr>
  4233.                                                                                         <w:b/>
  4234.                                                                                     </w:rPr>
  4235.                                                                                 </altova:CharacterProperties>
  4236.                                                                             </altova:ContentHolder>
  4237.                                                                         </xsl:for-each>
  4238.                                                                     </xsl:for-each>
  4239.                                                                 </xsl:for-each>
  4240.                                                             </xsl:for-each>
  4241.                                                         </altova:Paragraph>
  4242.                                                     </altova:TableCell>
  4243.                                                     <altova:TableCell altova:ParaPropertiesId="table cell_P_271">
  4244.                                                         <altova:ParagraphProperties>
  4245.                                                             <w:pPr>
  4246.                                                                 <w:jc w:val="center"/>
  4247.                                                             </w:pPr>
  4248.                                                         </altova:ParagraphProperties>
  4249.                                                         <altova:TableCellProperties>
  4250.                                                             <w:vAlign w:val="center"/>
  4251.                                                         </altova:TableCellProperties>
  4252.                                                         <altova:Paragraph>
  4253.                                                             <altova:TextRun altova:CharPropertiesId="text_C_272">X <altova:CharacterProperties altova:whitespace="preserve-all">
  4254.                                                                     <w:rPr>
  4255.                                                                         <w:b/>
  4256.                                                                     </w:rPr>
  4257.                                                                 </altova:CharacterProperties>
  4258.                                                             </altova:TextRun>
  4259.                                                             <xsl:for-each select="$XML1">
  4260.                                                                 <xsl:for-each select="SolidCAMPart">
  4261.                                                                     <xsl:for-each select="General">
  4262.                                                                         <xsl:for-each select="SCMax">
  4263.                                                                             <altova:ContentHolder altova:CharPropertiesId="content_C_273">
  4264.                                                                                 <xsl:apply-templates/>
  4265.                                                                                 <altova:CharacterProperties>
  4266.                                                                                     <w:rPr>
  4267.                                                                                         <w:b/>
  4268.                                                                                     </w:rPr>
  4269.                                                                                 </altova:CharacterProperties>
  4270.                                                                             </altova:ContentHolder>
  4271.                                                                         </xsl:for-each>
  4272.                                                                     </xsl:for-each>
  4273.                                                                 </xsl:for-each>
  4274.                                                             </xsl:for-each>
  4275.                                                         </altova:Paragraph>
  4276.                                                     </altova:TableCell>
  4277.                                                     <altova:TableCell altova:ParaPropertiesId="table cell_P_274">
  4278.                                                         <altova:ParagraphProperties>
  4279.                                                             <w:pPr>
  4280.                                                                 <w:jc w:val="center"/>
  4281.                                                             </w:pPr>
  4282.                                                         </altova:ParagraphProperties>
  4283.                                                         <altova:TableCellProperties>
  4284.                                                             <w:vAlign w:val="center"/>
  4285.                                                         </altova:TableCellProperties>
  4286.                                                         <altova:Paragraph>
  4287.                                                             <altova:TextRun altova:CharPropertiesId="text_C_275">Y <altova:CharacterProperties altova:whitespace="preserve-all">
  4288.                                                                     <w:rPr>
  4289.                                                                         <w:b/>
  4290.                                                                     </w:rPr>
  4291.                                                                 </altova:CharacterProperties>
  4292.                                                             </altova:TextRun>
  4293.                                                             <xsl:for-each select="$XML1">
  4294.                                                                 <xsl:for-each select="SolidCAMPart">
  4295.                                                                     <xsl:for-each select="General">
  4296.                                                                         <xsl:for-each select="SCMin">
  4297.                                                                             <altova:ContentHolder altova:CharPropertiesId="content_C_276">
  4298.                                                                                 <xsl:apply-templates/>
  4299.                                                                                 <altova:CharacterProperties>
  4300.                                                                                     <w:rPr>
  4301.                                                                                         <w:b/>
  4302.                                                                                     </w:rPr>
  4303.                                                                                 </altova:CharacterProperties>
  4304.                                                                             </altova:ContentHolder>
  4305.                                                                         </xsl:for-each>
  4306.                                                                     </xsl:for-each>
  4307.                                                                 </xsl:for-each>
  4308.                                                             </xsl:for-each>
  4309.                                                         </altova:Paragraph>
  4310.                                                     </altova:TableCell>
  4311.                                                     <altova:TableCell altova:ParaPropertiesId="table cell_P_277">
  4312.                                                         <altova:ParagraphProperties>
  4313.                                                             <w:pPr>
  4314.                                                                 <w:jc w:val="center"/>
  4315.                                                             </w:pPr>
  4316.                                                         </altova:ParagraphProperties>
  4317.                                                         <altova:TableCellProperties>
  4318.                                                             <w:vAlign w:val="center"/>
  4319.                                                         </altova:TableCellProperties>
  4320.                                                         <altova:Paragraph>
  4321.                                                             <altova:TextRun altova:CharPropertiesId="text_C_278">Y <altova:CharacterProperties altova:whitespace="preserve-all">
  4322.                                                                     <w:rPr>
  4323.                                                                         <w:b/>
  4324.                                                                     </w:rPr>
  4325.                                                                 </altova:CharacterProperties>
  4326.                                                             </altova:TextRun>
  4327.                                                             <xsl:for-each select="$XML1">
  4328.                                                                 <xsl:for-each select="SolidCAMPart">
  4329.                                                                     <xsl:for-each select="General">
  4330.                                                                         <xsl:for-each select="SCMax">
  4331.                                                                             <altova:ContentHolder altova:CharPropertiesId="content_C_279">
  4332.                                                                                 <xsl:apply-templates/>
  4333.                                                                                 <altova:CharacterProperties>
  4334.                                                                                     <w:rPr>
  4335.                                                                                         <w:b/>
  4336.                                                                                     </w:rPr>
  4337.                                                                                 </altova:CharacterProperties>
  4338.                                                                             </altova:ContentHolder>
  4339.                                                                         </xsl:for-each>
  4340.                                                                     </xsl:for-each>
  4341.                                                                 </xsl:for-each>
  4342.                                                             </xsl:for-each>
  4343.                                                         </altova:Paragraph>
  4344.                                                     </altova:TableCell>
  4345.                                                     <altova:TableCell altova:ParaPropertiesId="table cell_P_280">
  4346.                                                         <altova:ParagraphProperties>
  4347.                                                             <w:pPr>
  4348.                                                                 <w:jc w:val="center"/>
  4349.                                                             </w:pPr>
  4350.                                                         </altova:ParagraphProperties>
  4351.                                                         <altova:TableCellProperties>
  4352.                                                             <w:vAlign w:val="center"/>
  4353.                                                         </altova:TableCellProperties>
  4354.                                                         <altova:Paragraph>
  4355.                                                             <altova:TextRun altova:CharPropertiesId="text_C_281">Z <altova:CharacterProperties altova:whitespace="preserve-all">
  4356.                                                                     <w:rPr>
  4357.                                                                         <w:b/>
  4358.                                                                     </w:rPr>
  4359.                                                                 </altova:CharacterProperties>
  4360.                                                             </altova:TextRun>
  4361.                                                             <xsl:for-each select="$XML1">
  4362.                                                                 <xsl:for-each select="SolidCAMPart">
  4363.                                                                     <xsl:for-each select="General">
  4364.                                                                         <xsl:for-each select="SCMin">
  4365.                                                                             <altova:ContentHolder altova:CharPropertiesId="content_C_282">
  4366.                                                                                 <xsl:apply-templates/>
  4367.                                                                                 <altova:CharacterProperties>
  4368.                                                                                     <w:rPr>
  4369.                                                                                         <w:b/>
  4370.                                                                                     </w:rPr>
  4371.                                                                                 </altova:CharacterProperties>
  4372.                                                                             </altova:ContentHolder>
  4373.                                                                         </xsl:for-each>
  4374.                                                                     </xsl:for-each>
  4375.                                                                 </xsl:for-each>
  4376.                                                             </xsl:for-each>
  4377.                                                         </altova:Paragraph>
  4378.                                                     </altova:TableCell>
  4379.                                                     <altova:TableCell altova:ParaPropertiesId="table cell_P_283">
  4380.                                                         <altova:ParagraphProperties>
  4381.                                                             <w:pPr>
  4382.                                                                 <w:jc w:val="center"/>
  4383.                                                             </w:pPr>
  4384.                                                         </altova:ParagraphProperties>
  4385.                                                         <altova:TableCellProperties>
  4386.                                                             <w:vAlign w:val="center"/>
  4387.                                                         </altova:TableCellProperties>
  4388.                                                         <altova:Paragraph>
  4389.                                                             <altova:TextRun altova:CharPropertiesId="text_C_284">Z <altova:CharacterProperties altova:whitespace="preserve-all">
  4390.                                                                     <w:rPr>
  4391.                                                                         <w:b/>
  4392.                                                                     </w:rPr>
  4393.                                                                 </altova:CharacterProperties>
  4394.                                                             </altova:TextRun>
  4395.                                                             <xsl:for-each select="$XML1">
  4396.                                                                 <xsl:for-each select="SolidCAMPart">
  4397.                                                                     <xsl:for-each select="General">
  4398.                                                                         <xsl:for-each select="SCMax">
  4399.                                                                             <altova:ContentHolder altova:CharPropertiesId="content_C_285">
  4400.                                                                                 <xsl:apply-templates/>
  4401.                                                                                 <altova:CharacterProperties>
  4402.                                                                                     <w:rPr>
  4403.                                                                                         <w:b/>
  4404.                                                                                     </w:rPr>
  4405.                                                                                 </altova:CharacterProperties>
  4406.                                                                             </altova:ContentHolder>
  4407.                                                                         </xsl:for-each>
  4408.                                                                     </xsl:for-each>
  4409.                                                                 </xsl:for-each>
  4410.                                                             </xsl:for-each>
  4411.                                                         </altova:Paragraph>
  4412.                                                     </altova:TableCell>
  4413.                                                 </altova:TableRow>
  4414.                                             </altova:TableBody>
  4415.                                         </altova:Table>
  4416.                                     </altova:Paragraph>
  4417.                                 </altova:TableCell>
  4418.                             </altova:TableRow>
  4419.                         </altova:TableHeader>
  4420.                         <altova:TableBody>
  4421.                             <xsl:for-each select="$XML1">
  4422.                                 <xsl:for-each select="SolidCAMPart">
  4423.                                     <xsl:for-each select="SCOperations">
  4424.                                         <xsl:for-each select="SCOperation">
  4425.                                             <altova:Level>
  4426.                                                 <altova:TableRow>
  4427.                                                     <altova:TableCell altova:ParaPropertiesId="table cell_P_286">
  4428.                                                         <altova:ParagraphProperties>
  4429.                                                             <w:pPr>
  4430.                                                                 <w:jc w:val="center"/>
  4431.                                                             </w:pPr>
  4432.                                                         </altova:ParagraphProperties>
  4433.                                                         <altova:TableCellProperties>
  4434.                                                             <w:vMerge w:val="restart"/>
  4435.                                                             <w:vAlign w:val="center"/>
  4436.                                                         </altova:TableCellProperties>
  4437.                                                         <altova:Paragraph>
  4438.                                                             <altova:TextRun altova:CharPropertiesId="text_C_287">&#160;<altova:CharacterProperties altova:whitespace="preserve-all">
  4439.                                                                     <w:rPr>
  4440.                                                                         <w:b/>
  4441.                                                                     </w:rPr>
  4442.                                                                 </altova:CharacterProperties>
  4443.                                                             </altova:TextRun>
  4444.                                                             <altova:Marker altova:Name="">
  4445.                                                                 <altova:TextRun altova:CharPropertiesId="numlvl_C_288">
  4446.                                                                     <altova:CharacterProperties>
  4447.                                                                         <w:rPr>
  4448.                                                                             <w:b/>
  4449.                                                                             <w:sz w:val="24"/>
  4450.                                                                         </w:rPr>
  4451.                                                                     </altova:CharacterProperties>
  4452.                                                                     <altova:NumLvl altova:Format="1.1.1"/>
  4453.                                                                 </altova:TextRun>
  4454.                                                                 <altova:TextRun altova:CharPropertiesId="text_C_289">&#160;<altova:CharacterProperties altova:whitespace="preserve-all">
  4455.                                                                         <w:rPr>
  4456.                                                                             <w:b/>
  4457.                                                                         </w:rPr>
  4458.                                                                     </altova:CharacterProperties>
  4459.                                                                 </altova:TextRun>
  4460.                                                             </altova:Marker>
  4461.                                                         </altova:Paragraph>
  4462.                                                     </altova:TableCell>
  4463.                                                     <altova:TableCell altova:CharPropertiesId="table cell_C_290" altova:ParaPropertiesId="table cell_P_290">
  4464.                                                         <altova:CharacterProperties>
  4465.                                                             <w:rPr>
  4466.                                                                 <w:shd w:val="clear" w:fill="C3FFFF"/>
  4467.                                                             </w:rPr>
  4468.                                                         </altova:CharacterProperties>
  4469.                                                         <altova:ParagraphProperties>
  4470.                                                             <w:pPr>
  4471.                                                                 <w:shd w:val="clear" w:fill="C3FFFF"/>
  4472.                                                                 <w:jc w:val="left"/>
  4473.                                                             </w:pPr>
  4474.                                                         </altova:ParagraphProperties>
  4475.                                                         <altova:TableCellProperties>
  4476.                                                             <w:gridSpan w:val="5"/>
  4477.                                                             <w:shd w:val="clear" w:fill="C3FFFF"/>
  4478.                                                             <w:vAlign w:val="center"/>
  4479.                                                         </altova:TableCellProperties>
  4480.                                                         <altova:Paragraph>
  4481.                                                             <altova:TextRun altova:CharPropertiesId="text_C_291">&#160;&#160;&#160;&#160;&#160; <altova:CharacterProperties altova:whitespace="preserve-all">
  4482.                                                                     <w:rPr>
  4483.                                                                         <w:b/>
  4484.                                                                     </w:rPr>
  4485.                                                                 </altova:CharacterProperties>
  4486.                                                             </altova:TextRun>
  4487.                                                             <xsl:for-each select="SCOperationName">
  4488.                                                                 <xsl:for-each select="Value">
  4489.                                                                     <altova:ContentHolder altova:CharPropertiesId="content_C_292">
  4490.                                                                         <xsl:apply-templates/>
  4491.                                                                         <altova:CharacterProperties>
  4492.                                                                             <w:rPr>
  4493.                                                                                 <w:b/>
  4494.                                                                                 <w:sz w:val="20"/>
  4495.                                                                             </w:rPr>
  4496.                                                                         </altova:CharacterProperties>
  4497.                                                                     </altova:ContentHolder>
  4498.                                                                 </xsl:for-each>
  4499.                                                             </xsl:for-each>
  4500.                                                             <altova:TextRun altova:CharPropertiesId="text_C_293"> (<altova:CharacterProperties altova:whitespace="preserve-all">
  4501.                                                                     <w:rPr>
  4502.                                                                         <w:b/>
  4503.                                                                     </w:rPr>
  4504.                                                                 </altova:CharacterProperties>
  4505.                                                             </altova:TextRun>
  4506.                                                             <xsl:for-each select="SCOperationType">
  4507.                                                                 <xsl:for-each select="Value">
  4508.                                                                     <altova:ContentHolder altova:CharPropertiesId="content_C_294">
  4509.                                                                         <xsl:apply-templates/>
  4510.                                                                         <altova:CharacterProperties>
  4511.                                                                             <w:rPr>
  4512.                                                                                 <w:b/>
  4513.                                                                                 <w:sz w:val="20"/>
  4514.                                                                             </w:rPr>
  4515.                                                                         </altova:CharacterProperties>
  4516.                                                                     </altova:ContentHolder>
  4517.                                                                 </xsl:for-each>
  4518.                                                             </xsl:for-each>
  4519.                                                             <altova:TextRun altova:CharPropertiesId="text_C_295">)&#160; <altova:CharacterProperties altova:whitespace="preserve-all">
  4520.                                                                     <w:rPr>
  4521.                                                                         <w:b/>
  4522.                                                                     </w:rPr>
  4523.                                                                 </altova:CharacterProperties>
  4524.                                                             </altova:TextRun>
  4525.                                                             <xsl:if test="not(empty(SCTransType/Value))">
  4526.                                                                 <altova:TextRun altova:CharPropertiesId="text_C_296">&lt;<altova:CharacterProperties altova:whitespace="preserve-all">
  4527.                                                                         <w:rPr>
  4528.                                                                             <w:b/>
  4529.                                                                         </w:rPr>
  4530.                                                                     </altova:CharacterProperties>
  4531.                                                                 </altova:TextRun>
  4532.                                                                 <xsl:for-each select="SCTransType">
  4533.                                                                     <xsl:for-each select="Value">
  4534.                                                                         <altova:ContentHolder altova:CharPropertiesId="content_C_297">
  4535.                                                                             <xsl:apply-templates/>
  4536.                                                                             <altova:CharacterProperties>
  4537.                                                                                 <w:rPr>
  4538.                                                                                     <w:b/>
  4539.                                                                                     <w:sz w:val="20"/>
  4540.                                                                                 </w:rPr>
  4541.                                                                             </altova:CharacterProperties>
  4542.                                                                         </altova:ContentHolder>
  4543.                                                                     </xsl:for-each>
  4544.                                                                 </xsl:for-each>
  4545.                                                                 <altova:TextRun altova:CharPropertiesId="text_C_298">&gt;<altova:CharacterProperties altova:whitespace="preserve-all">
  4546.                                                                         <w:rPr>
  4547.                                                                             <w:b/>
  4548.                                                                         </w:rPr>
  4549.                                                                     </altova:CharacterProperties>
  4550.                                                                 </altova:TextRun>
  4551.                                                             </xsl:if>
  4552.                                                         </altova:Paragraph>
  4553.                                                     </altova:TableCell>
  4554.                                                 </altova:TableRow>
  4555.                                                 <altova:TableRow>
  4556.                                                     <altova:TableCell>
  4557.                                                         <altova:Paragraph/>
  4558.                                                         <altova:TableCellProperties>
  4559.                                                             <w:vMerge w:val="continue"/>
  4560.                                                         </altova:TableCellProperties>
  4561.                                                     </altova:TableCell>
  4562.                                                     <altova:TableCell altova:ParaPropertiesId="table cell_P_299">
  4563.                                                         <altova:ParagraphProperties>
  4564.                                                             <w:pPr>
  4565.                                                                 <w:jc w:val="center"/>
  4566.                                                             </w:pPr>
  4567.                                                         </altova:ParagraphProperties>
  4568.                                                         <altova:TableCellProperties>
  4569.                                                             <w:vAlign w:val="center"/>
  4570.                                                         </altova:TableCellProperties>
  4571.                                                         <altova:Paragraph>
  4572.                                                             <xsl:for-each select="SCOperationHomeNumber">
  4573.                                                                 <xsl:for-each select="Value">
  4574.                                                                     <altova:ContentHolder altova:CharPropertiesId="content_C_300">
  4575.                                                                         <xsl:apply-templates/>
  4576.                                                                         <altova:CharacterProperties>
  4577.                                                                             <w:rPr>
  4578.                                                                                 <w:sz w:val="20"/>
  4579.                                                                             </w:rPr>
  4580.                                                                         </altova:CharacterProperties>
  4581.                                                                     </altova:ContentHolder>
  4582.                                                                 </xsl:for-each>
  4583.                                                             </xsl:for-each>
  4584.                                                         </altova:Paragraph>
  4585.                                                     </altova:TableCell>
  4586.                                                     <altova:TableCell altova:ParaPropertiesId="table cell_P_301">
  4587.                                                         <altova:ParagraphProperties>
  4588.                                                             <w:pPr>
  4589.                                                                 <w:jc w:val="center"/>
  4590.                                                             </w:pPr>
  4591.                                                         </altova:ParagraphProperties>
  4592.                                                         <altova:TableCellProperties>
  4593.                                                             <w:vAlign w:val="center"/>
  4594.                                                         </altova:TableCellProperties>
  4595.                                                         <altova:Paragraph>
  4596.                                                             <xsl:for-each select="SCOperationToolSpin1">
  4597.                                                                 <xsl:for-each select="Value">
  4598.                                                                     <altova:ContentHolder altova:CharPropertiesId="content_C_302">
  4599.                                                                         <xsl:apply-templates/>
  4600.                                                                         <altova:CharacterProperties>
  4601.                                                                             <w:rPr>
  4602.                                                                                 <w:sz w:val="20"/>
  4603.                                                                             </w:rPr>
  4604.                                                                         </altova:CharacterProperties>
  4605.                                                                     </altova:ContentHolder>
  4606.                                                                 </xsl:for-each>
  4607.                                                             </xsl:for-each>
  4608.                                                         </altova:Paragraph>
  4609.                                                     </altova:TableCell>
  4610.                                                     <altova:TableCell altova:ParaPropertiesId="table cell_P_303">
  4611.                                                         <altova:ParagraphProperties>
  4612.                                                             <w:pPr>
  4613.                                                                 <w:jc w:val="center"/>
  4614.                                                             </w:pPr>
  4615.                                                         </altova:ParagraphProperties>
  4616.                                                         <altova:TableCellProperties>
  4617.                                                             <w:vAlign w:val="center"/>
  4618.                                                         </altova:TableCellProperties>
  4619.                                                         <altova:Paragraph>
  4620.                                                             <xsl:for-each select="SCOperationToolFeed1">
  4621.                                                                 <xsl:for-each select="Value">
  4622.                                                                     <altova:ContentHolder altova:CharPropertiesId="content_C_304">
  4623.                                                                         <xsl:apply-templates/>
  4624.                                                                         <altova:CharacterProperties>
  4625.                                                                             <w:rPr>
  4626.                                                                                 <w:sz w:val="20"/>
  4627.                                                                             </w:rPr>
  4628.                                                                         </altova:CharacterProperties>
  4629.                                                                     </altova:ContentHolder>
  4630.                                                                 </xsl:for-each>
  4631.                                                             </xsl:for-each>
  4632.                                                         </altova:Paragraph>
  4633.                                                     </altova:TableCell>
  4634.                                                     <altova:TableCell altova:ParaPropertiesId="table cell_P_305">
  4635.                                                         <altova:ParagraphProperties>
  4636.                                                             <w:pPr>
  4637.                                                                 <w:jc w:val="center"/>
  4638.                                                             </w:pPr>
  4639.                                                         </altova:ParagraphProperties>
  4640.                                                         <altova:TableCellProperties>
  4641.                                                             <w:vAlign w:val="center"/>
  4642.                                                         </altova:TableCellProperties>
  4643.                                                         <altova:Paragraph>
  4644.                                                             <xsl:for-each select="SCOperationToolFeed2">
  4645.                                                                 <xsl:for-each select="Value">
  4646.                                                                     <altova:ContentHolder altova:CharPropertiesId="content_C_306">
  4647.                                                                         <xsl:apply-templates/>
  4648.                                                                         <altova:CharacterProperties>
  4649.                                                                             <w:rPr>
  4650.                                                                                 <w:sz w:val="20"/>
  4651.                                                                             </w:rPr>
  4652.                                                                         </altova:CharacterProperties>
  4653.                                                                     </altova:ContentHolder>
  4654.                                                                 </xsl:for-each>
  4655.                                                             </xsl:for-each>
  4656.                                                         </altova:Paragraph>
  4657.                                                     </altova:TableCell>
  4658.                                                     <altova:TableCell altova:ParaPropertiesId="table cell_P_307">
  4659.                                                         <altova:ParagraphProperties>
  4660.                                                             <w:pPr>
  4661.                                                                 <w:jc w:val="center"/>
  4662.                                                             </w:pPr>
  4663.                                                         </altova:ParagraphProperties>
  4664.                                                         <altova:TableCellProperties>
  4665.                                                             <w:vAlign w:val="center"/>
  4666.                                                         </altova:TableCellProperties>
  4667.                                                         <altova:Paragraph>
  4668.                                                             <xsl:for-each select="SCOperationTime">
  4669.                                                                 <xsl:for-each select="Value">
  4670.                                                                     <altova:ContentHolder altova:CharPropertiesId="content_C_308">
  4671.                                                                         <xsl:apply-templates/>
  4672.                                                                         <altova:CharacterProperties>
  4673.                                                                             <w:rPr>
  4674.                                                                                 <w:sz w:val="20"/>
  4675.                                                                             </w:rPr>
  4676.                                                                         </altova:CharacterProperties>
  4677.                                                                     </altova:ContentHolder>
  4678.                                                                 </xsl:for-each>
  4679.                                                             </xsl:for-each>
  4680.                                                         </altova:Paragraph>
  4681.                                                     </altova:TableCell>
  4682.                                                 </altova:TableRow>
  4683.                                                 <altova:TableRow>
  4684.                                                     <altova:TableCell>
  4685.                                                         <altova:Paragraph/>
  4686.                                                         <altova:TableCellProperties>
  4687.                                                             <w:vMerge w:val="continue"/>
  4688.                                                         </altova:TableCellProperties>
  4689.                                                     </altova:TableCell>
  4690.                                                     <altova:TableCell altova:ParaPropertiesId="table cell_P_309">
  4691.                                                         <altova:ParagraphProperties>
  4692.                                                             <w:pPr>
  4693.                                                                 <w:jc w:val="center"/>
  4694.                                                             </w:pPr>
  4695.                                                         </altova:ParagraphProperties>
  4696.                                                         <altova:TableCellProperties>
  4697.                                                             <w:vAlign w:val="center"/>
  4698.                                                         </altova:TableCellProperties>
  4699.                                                         <altova:Paragraph>
  4700.                                                             <xsl:for-each select="SCOperationToolNumber">
  4701.                                                                 <xsl:for-each select="Value">
  4702.                                                                     <altova:ContentHolder altova:CharPropertiesId="content_C_310">
  4703.                                                                         <xsl:apply-templates/>
  4704.                                                                         <altova:CharacterProperties>
  4705.                                                                             <w:rPr>
  4706.                                                                                 <w:b/>
  4707.                                                                                 <w:sz w:val="20"/>
  4708.                                                                             </w:rPr>
  4709.                                                                         </altova:CharacterProperties>
  4710.                                                                     </altova:ContentHolder>
  4711.                                                                 </xsl:for-each>
  4712.                                                             </xsl:for-each>
  4713.                                                         </altova:Paragraph>
  4714.                                                     </altova:TableCell>
  4715.                                                     <altova:TableCell altova:ParaPropertiesId="table cell_P_311">
  4716.                                                         <altova:ParagraphProperties>
  4717.                                                             <w:pPr>
  4718.                                                                 <w:jc w:val="center"/>
  4719.                                                             </w:pPr>
  4720.                                                         </altova:ParagraphProperties>
  4721.                                                         <altova:TableCellProperties>
  4722.                                                             <w:gridSpan w:val="3"/>
  4723.                                                             <w:vAlign w:val="center"/>
  4724.                                                         </altova:TableCellProperties>
  4725.                                                         <altova:Paragraph>
  4726.                                                             <xsl:for-each select="SCOperationToolCoolant">
  4727.                                                                 <xsl:for-each select="Value">
  4728.                                                                     <altova:ContentHolder altova:CharPropertiesId="content_C_312">
  4729.                                                                         <xsl:apply-templates/>
  4730.                                                                         <altova:CharacterProperties>
  4731.                                                                             <w:rPr>
  4732.                                                                                 <w:sz w:val="20"/>
  4733.                                                                             </w:rPr>
  4734.                                                                         </altova:CharacterProperties>
  4735.                                                                     </altova:ContentHolder>
  4736.                                                                 </xsl:for-each>
  4737.                                                             </xsl:for-each>
  4738.                                                         </altova:Paragraph>
  4739.                                                     </altova:TableCell>
  4740.                                                     <altova:TableCell altova:ParaPropertiesId="table cell_P_313">
  4741.                                                         <altova:ParagraphProperties>
  4742.                                                             <w:pPr>
  4743.                                                                 <w:jc w:val="center"/>
  4744.                                                             </w:pPr>
  4745.                                                         </altova:ParagraphProperties>
  4746.                                                         <altova:TableCellProperties>
  4747.                                                             <w:vAlign w:val="center"/>
  4748.                                                         </altova:TableCellProperties>
  4749.                                                         <altova:Paragraph/>
  4750.                                                     </altova:TableCell>
  4751.                                                 </altova:TableRow>
  4752.                                                 <altova:TableRow>
  4753.                                                     <altova:TableCell>
  4754.                                                         <altova:Paragraph/>
  4755.                                                         <altova:TableCellProperties>
  4756.                                                             <w:vMerge w:val="continue"/>
  4757.                                                         </altova:TableCellProperties>
  4758.                                                     </altova:TableCell>
  4759.                                                     <altova:TableCell altova:ParaPropertiesId="table cell_P_314">
  4760.                                                         <altova:ParagraphProperties>
  4761.                                                             <w:pPr>
  4762.                                                                 <w:jc w:val="center"/>
  4763.                                                             </w:pPr>
  4764.                                                         </altova:ParagraphProperties>
  4765.                                                         <altova:TableCellProperties>
  4766.                                                             <w:gridSpan w:val="5"/>
  4767.                                                             <w:vAlign w:val="center"/>
  4768.                                                         </altova:TableCellProperties>
  4769.                                                         <altova:Paragraph>
  4770.                                                             <xsl:for-each select="SCOperationDescription">
  4771.                                                                 <xsl:for-each select="Value">
  4772.                                                                     <altova:ContentHolder altova:CharPropertiesId="content_C_315">
  4773.                                                                         <xsl:apply-templates/>
  4774.                                                                         <altova:CharacterProperties>
  4775.                                                                             <w:rPr>
  4776.                                                                                 <w:sz w:val="20"/>
  4777.                                                                             </w:rPr>
  4778.                                                                         </altova:CharacterProperties>
  4779.                                                                     </altova:ContentHolder>
  4780.                                                                 </xsl:for-each>
  4781.                                                             </xsl:for-each>
  4782.                                                             <altova:TextRun altova:CharPropertiesId="text_C_316">&#160;<altova:CharacterProperties altova:whitespace="preserve-all"/>
  4783.                                                             </altova:TextRun>
  4784.                                                         </altova:Paragraph>
  4785.                                                     </altova:TableCell>
  4786.                                                 </altova:TableRow>
  4787.                                                 <altova:TableRow>
  4788.                                                     <altova:TableCell>
  4789.                                                         <altova:Paragraph/>
  4790.                                                         <altova:TableCellProperties>
  4791.                                                             <w:vMerge w:val="continue"/>
  4792.                                                         </altova:TableCellProperties>
  4793.                                                     </altova:TableCell>
  4794.                                                     <altova:TableCell>
  4795.                                                         <altova:TableCellProperties>
  4796.                                                             <w:gridSpan w:val="5"/>
  4797.                                                             <w:vAlign w:val="center"/>
  4798.                                                         </altova:TableCellProperties>
  4799.                                                         <altova:Paragraph>
  4800.                                                             <altova:Table>
  4801.                                                                 <altova:TableProperties>
  4802.                                                                     <w:tblStyle w:val="TableStyle20"/>
  4803.                                                                     <w:tblW w:w="5000" w:type="pct"/>
  4804.                                                                 </altova:TableProperties>
  4805.                                                                 <xsl:variable name="altova:CurrContextGrid_317" select="."/>
  4806.                                                                 <xsl:variable name="altova:ColumnData">
  4807.                                                                     <altova:Internal/>
  4808.                                                                 </xsl:variable>
  4809.                                                                 <altova:TableGrid>
  4810.                                                                     <altova:GridCol altova:Width="800" altova:Type="percent"/>
  4811.                                                                     <altova:GridCol altova:Width="800" altova:Type="percent"/>
  4812.                                                                     <altova:GridCol altova:Width="800" altova:Type="percent"/>
  4813.                                                                     <altova:GridCol altova:Width="800" altova:Type="percent"/>
  4814.                                                                     <altova:GridCol altova:Width="800" altova:Type="percent"/>
  4815.                                                                     <altova:GridCol altova:Width="0" altova:Type="auto"/>
  4816.                                                                 </altova:TableGrid>
  4817.                                                                 <altova:TableBody>
  4818.                                                                     <altova:TableRow>
  4819.                                                                         <altova:TableCell altova:ParaPropertiesId="table cell_P_318">
  4820.                                                                             <altova:ParagraphProperties>
  4821.                                                                                 <w:pPr>
  4822.                                                                                     <w:jc w:val="center"/>
  4823.                                                                                 </w:pPr>
  4824.                                                                             </altova:ParagraphProperties>
  4825.                                                                             <altova:TableCellProperties>
  4826.                                                                                 <w:vAlign w:val="center"/>
  4827.                                                                             </altova:TableCellProperties>
  4828.                                                                             <altova:Paragraph>
  4829.                                                                                 <xsl:for-each select="SCMotionLimitsMin">
  4830.                                                                                     <xsl:for-each select="X">
  4831.                                                                                         <altova:ContentHolder altova:CharPropertiesId="content_C_319">
  4832.                                                                                             <xsl:apply-templates/>
  4833.                                                                                             <altova:CharacterProperties>
  4834.                                                                                                 <w:rPr>
  4835.                                                                                                     <w:sz w:val="20"/>
  4836.                                                                                                 </w:rPr>
  4837.                                                                                             </altova:CharacterProperties>
  4838.                                                                                         </altova:ContentHolder>
  4839.                                                                                     </xsl:for-each>
  4840.                                                                                 </xsl:for-each>
  4841.                                                                             </altova:Paragraph>
  4842.                                                                         </altova:TableCell>
  4843.                                                                         <altova:TableCell altova:ParaPropertiesId="table cell_P_320">
  4844.                                                                             <altova:ParagraphProperties>
  4845.                                                                                 <w:pPr>
  4846.                                                                                     <w:jc w:val="center"/>
  4847.                                                                                 </w:pPr>
  4848.                                                                             </altova:ParagraphProperties>
  4849.                                                                             <altova:TableCellProperties>
  4850.                                                                                 <w:vAlign w:val="center"/>
  4851.                                                                             </altova:TableCellProperties>
  4852.                                                                             <altova:Paragraph>
  4853.                                                                                 <xsl:for-each select="SCMotionLimitsMax">
  4854.                                                                                     <xsl:for-each select="X">
  4855.                                                                                         <altova:ContentHolder altova:CharPropertiesId="content_C_321">
  4856.                                                                                             <xsl:apply-templates/>
  4857.                                                                                             <altova:CharacterProperties>
  4858.                                                                                                 <w:rPr>
  4859.                                                                                                     <w:sz w:val="20"/>
  4860.                                                                                                 </w:rPr>
  4861.                                                                                             </altova:CharacterProperties>
  4862.                                                                                         </altova:ContentHolder>
  4863.                                                                                     </xsl:for-each>
  4864.                                                                                 </xsl:for-each>
  4865.                                                                             </altova:Paragraph>
  4866.                                                                         </altova:TableCell>
  4867.                                                                         <altova:TableCell altova:ParaPropertiesId="table cell_P_322">
  4868.                                                                             <altova:ParagraphProperties>
  4869.                                                                                 <w:pPr>
  4870.                                                                                     <w:jc w:val="center"/>
  4871.                                                                                 </w:pPr>
  4872.                                                                             </altova:ParagraphProperties>
  4873.                                                                             <altova:TableCellProperties>
  4874.                                                                                 <w:vAlign w:val="center"/>
  4875.                                                                             </altova:TableCellProperties>
  4876.                                                                             <altova:Paragraph>
  4877.                                                                                 <xsl:for-each select="SCMotionLimitsMin">
  4878.                                                                                     <xsl:for-each select="Y">
  4879.                                                                                         <altova:ContentHolder altova:CharPropertiesId="content_C_323">
  4880.                                                                                             <xsl:apply-templates/>
  4881.                                                                                             <altova:CharacterProperties>
  4882.                                                                                                 <w:rPr>
  4883.                                                                                                     <w:sz w:val="20"/>
  4884.                                                                                                 </w:rPr>
  4885.                                                                                             </altova:CharacterProperties>
  4886.                                                                                         </altova:ContentHolder>
  4887.                                                                                     </xsl:for-each>
  4888.                                                                                 </xsl:for-each>
  4889.                                                                             </altova:Paragraph>
  4890.                                                                         </altova:TableCell>
  4891.                                                                         <altova:TableCell altova:ParaPropertiesId="table cell_P_324">
  4892.                                                                             <altova:ParagraphProperties>
  4893.                                                                                 <w:pPr>
  4894.                                                                                     <w:jc w:val="center"/>
  4895.                                                                                 </w:pPr>
  4896.                                                                             </altova:ParagraphProperties>
  4897.                                                                             <altova:TableCellProperties>
  4898.                                                                                 <w:vAlign w:val="center"/>
  4899.                                                                             </altova:TableCellProperties>
  4900.                                                                             <altova:Paragraph>
  4901.                                                                                 <xsl:for-each select="SCMotionLimitsMax">
  4902.                                                                                     <xsl:for-each select="Y">
  4903.                                                                                         <altova:ContentHolder altova:CharPropertiesId="content_C_325">
  4904.                                                                                             <xsl:apply-templates/>
  4905.                                                                                             <altova:CharacterProperties>
  4906.                                                                                                 <w:rPr>
  4907.                                                                                                     <w:sz w:val="20"/>
  4908.                                                                                                 </w:rPr>
  4909.                                                                                             </altova:CharacterProperties>
  4910.                                                                                         </altova:ContentHolder>
  4911.                                                                                     </xsl:for-each>
  4912.                                                                                 </xsl:for-each>
  4913.                                                                             </altova:Paragraph>
  4914.                                                                         </altova:TableCell>
  4915.                                                                         <altova:TableCell altova:ParaPropertiesId="table cell_P_326">
  4916.                                                                             <altova:ParagraphProperties>
  4917.                                                                                 <w:pPr>
  4918.                                                                                     <w:jc w:val="center"/>
  4919.                                                                                 </w:pPr>
  4920.                                                                             </altova:ParagraphProperties>
  4921.                                                                             <altova:TableCellProperties>
  4922.                                                                                 <w:vAlign w:val="center"/>
  4923.                                                                             </altova:TableCellProperties>
  4924.                                                                             <altova:Paragraph>
  4925.                                                                                 <xsl:for-each select="SCMotionLimitsMin">
  4926.                                                                                     <xsl:for-each select="Z">
  4927.                                                                                         <altova:ContentHolder altova:CharPropertiesId="content_C_327">
  4928.                                                                                             <xsl:apply-templates/>
  4929.                                                                                             <altova:CharacterProperties>
  4930.                                                                                                 <w:rPr>
  4931.                                                                                                     <w:sz w:val="20"/>
  4932.                                                                                                 </w:rPr>
  4933.                                                                                             </altova:CharacterProperties>
  4934.                                                                                         </altova:ContentHolder>
  4935.                                                                                     </xsl:for-each>
  4936.                                                                                 </xsl:for-each>
  4937.                                                                             </altova:Paragraph>
  4938.                                                                         </altova:TableCell>
  4939.                                                                         <altova:TableCell altova:ParaPropertiesId="table cell_P_328">
  4940.                                                                             <altova:ParagraphProperties>
  4941.                                                                                 <w:pPr>
  4942.                                                                                     <w:jc w:val="center"/>
  4943.                                                                                 </w:pPr>
  4944.                                                                             </altova:ParagraphProperties>
  4945.                                                                             <altova:TableCellProperties>
  4946.                                                                                 <w:vAlign w:val="center"/>
  4947.                                                                             </altova:TableCellProperties>
  4948.                                                                             <altova:Paragraph>
  4949.                                                                                 <xsl:for-each select="SCMotionLimitsMax">
  4950.                                                                                     <xsl:for-each select="Z">
  4951.                                                                                         <altova:ContentHolder altova:CharPropertiesId="content_C_329">
  4952.                                                                                             <xsl:apply-templates/>
  4953.                                                                                             <altova:CharacterProperties>
  4954.                                                                                                 <w:rPr>
  4955.                                                                                                     <w:sz w:val="20"/>
  4956.                                                                                                 </w:rPr>
  4957.                                                                                             </altova:CharacterProperties>
  4958.                                                                                         </altova:ContentHolder>
  4959.                                                                                     </xsl:for-each>
  4960.                                                                                 </xsl:for-each>
  4961.                                                                             </altova:Paragraph>
  4962.                                                                         </altova:TableCell>
  4963.                                                                     </altova:TableRow>
  4964.                                                                 </altova:TableBody>
  4965.                                                             </altova:Table>
  4966.                                                         </altova:Paragraph>
  4967.                                                     </altova:TableCell>
  4968.                                                 </altova:TableRow>
  4969.                                             </altova:Level>
  4970.                                         </xsl:for-each>
  4971.                                     </xsl:for-each>
  4972.                                 </xsl:for-each>
  4973.                             </xsl:for-each>
  4974.                             <altova:TableRow>
  4975.                                 <altova:TableCell altova:ParaPropertiesId="table cell_P_330">
  4976.                                     <altova:ParagraphProperties>
  4977.                                         <w:pPr>
  4978.                                             <w:jc w:val="right"/>
  4979.                                         </w:pPr>
  4980.                                     </altova:ParagraphProperties>
  4981.                                     <altova:TableCellProperties>
  4982.                                         <w:gridSpan w:val="5"/>
  4983.                                         <w:vAlign w:val="bottom"/>
  4984.                                     </altova:TableCellProperties>
  4985.                                     <altova:Paragraph>
  4986.                                         <xsl:for-each select="$XML1">
  4987.                                             <xsl:for-each select="SolidCAMPart">
  4988.                                                 <xsl:for-each select="General">
  4989.                                                     <xsl:for-each select="SCPartTotalTime">
  4990.                                                         <xsl:for-each select="Lable">
  4991.                                                             <altova:ContentHolder altova:CharPropertiesId="content_C_331">
  4992.                                                                 <xsl:apply-templates/>
  4993.                                                                 <altova:CharacterProperties>
  4994.                                                                     <w:rPr>
  4995.                                                                         <w:b/>
  4996.                                                                         <w:sz w:val="24"/>
  4997.                                                                     </w:rPr>
  4998.                                                                 </altova:CharacterProperties>
  4999.                                                             </altova:ContentHolder>
  5000.                                                         </xsl:for-each>
  5001.                                                     </xsl:for-each>
  5002.                                                 </xsl:for-each>
  5003.                                             </xsl:for-each>
  5004.                                         </xsl:for-each>
  5005.                                         <altova:TextRun altova:CharPropertiesId="text_C_332">:&#160; <altova:CharacterProperties altova:whitespace="preserve-all"/>
  5006.                                         </altova:TextRun>
  5007.                                     </altova:Paragraph>
  5008.                                 </altova:TableCell>
  5009.                                 <altova:TableCell altova:ParaPropertiesId="table cell_P_333">
  5010.                                     <altova:ParagraphProperties>
  5011.                                         <w:pPr>
  5012.                                             <w:jc w:val="center"/>
  5013.                                         </w:pPr>
  5014.                                     </altova:ParagraphProperties>
  5015.                                     <altova:TableCellProperties>
  5016.                                         <w:vAlign w:val="center"/>
  5017.                                     </altova:TableCellProperties>
  5018.                                     <altova:Paragraph>
  5019.                                         <xsl:for-each select="$XML1">
  5020.                                             <xsl:for-each select="SolidCAMPart">
  5021.                                                 <xsl:for-each select="General">
  5022.                                                     <xsl:for-each select="SCPartTotalTime">
  5023.                                                         <xsl:for-each select="Value">
  5024.                                                             <altova:ContentHolder altova:CharPropertiesId="content_C_334">
  5025.                                                                 <xsl:apply-templates/>
  5026.                                                                 <altova:CharacterProperties>
  5027.                                                                     <w:rPr>
  5028.                                                                         <w:b/>
  5029.                                                                         <w:sz w:val="24"/>
  5030.                                                                     </w:rPr>
  5031.                                                                 </altova:CharacterProperties>
  5032.                                                             </altova:ContentHolder>
  5033.                                                         </xsl:for-each>
  5034.                                                     </xsl:for-each>
  5035.                                                 </xsl:for-each>
  5036.                                             </xsl:for-each>
  5037.                                         </xsl:for-each>
  5038.                                     </altova:Paragraph>
  5039.                                 </altova:TableCell>
  5040.                             </altova:TableRow>
  5041.                         </altova:TableBody>
  5042.                     </altova:Table>
  5043.                     <altova:NewLine/>
  5044.                 </xsl:if>
  5045.                 <xsl:if test="not(empty(SolidCAMPart/SCFixtures)) and SolidCAMPart/General/Settings/SCGenFixtures = &quot;1&quot;">
  5046.                     <xsl:if test="$XML1/SolidCAMPart/General/Settings/SCGenMainPage   =  &quot;1&quot; or
  5047. $XML1/SolidCAMPart/General/Settings/SCGenImages     =  &quot;1&quot; or
  5048. $XML1/SolidCAMPart/General/Settings/SCGenToolTabel  =  &quot;1&quot; or
  5049. $XML1/SolidCAMPart/General/Settings/SCGenJobSummary =  &quot;1&quot;">
  5050.                         <altova:PageBreak/>
  5051.                     </xsl:if>
  5052.                     <altova:Table altova:CharPropertiesId="table_C_335">
  5053.                         <altova:CharacterProperties>
  5054.                             <w:rPr>
  5055.                                 <w:rFonts w:ascii="arial" w:hAnsi="arial"/>
  5056.                             </w:rPr>
  5057.                         </altova:CharacterProperties>
  5058.                         <altova:TableProperties>
  5059.                             <w:tblStyle w:val="TableStyle21"/>
  5060.                             <w:tblW w:w="5000" w:type="pct"/>
  5061.                         </altova:TableProperties>
  5062.                         <xsl:variable name="altova:CurrContextGrid_335" select="."/>
  5063.                         <xsl:variable name="altova:ColumnData">
  5064.                             <altova:Internal/>
  5065.                         </xsl:variable>
  5066.                         <altova:TableGrid>
  5067.                             <altova:GridCol altova:Width="1000" altova:Type="percent"/>
  5068.                             <altova:GridCol altova:Width="3000" altova:Type="percent"/>
  5069.                             <altova:GridCol altova:Width="1000" altova:Type="percent"/>
  5070.                         </altova:TableGrid>
  5071.                         <altova:TableBody>
  5072.                             <altova:TableRow>
  5073.                                 <altova:TableCellProperties>
  5074.                                     <w:tcBorders>
  5075.                                         <w:bottom w:val="single" w:sz="32"/>
  5076.                                     </w:tcBorders>
  5077.                                 </altova:TableCellProperties>
  5078.                                 <altova:TableCell altova:ParaPropertiesId="table cell_P_336">
  5079.                                     <altova:ParagraphProperties>
  5080.                                         <w:pPr>
  5081.                                             <w:jc w:val="center"/>
  5082.                                         </w:pPr>
  5083.                                     </altova:ParagraphProperties>
  5084.                                     <altova:TableCellProperties>
  5085.                                         <w:vAlign w:val="top"/>
  5086.                                     </altova:TableCellProperties>
  5087.                                     <altova:Paragraph>
  5088.                                         <xsl:if test="false()">
  5089.                                             <xsl:for-each select="$XML1">
  5090.                                                 <xsl:for-each select="SolidCAMPart">
  5091.                                                     <xsl:for-each select="General">
  5092.                                                         <xsl:for-each select="SCMainPartImage">
  5093.                                                             <altova:Image altova:Src="{.}" altova:WidthEmu="571500" altova:HeightEmu="571500"/>
  5094.                                                         </xsl:for-each>
  5095.                                                     </xsl:for-each>
  5096.                                                 </xsl:for-each>
  5097.                                             </xsl:for-each>
  5098.                                         </xsl:if>
  5099.                                         <altova:NewLine/>
  5100.                                         <xsl:for-each select="$XML1">
  5101.                                             <xsl:for-each select="SolidCAMPart">
  5102.                                                 <xsl:for-each select="General">
  5103.                                                     <xsl:for-each select="SCDateCreated">
  5104.                                                         <altova:ContentHolder altova:CharPropertiesId="content_C_337">
  5105.                                                             <xsl:apply-templates/>
  5106.                                                             <altova:CharacterProperties>
  5107.                                                                 <w:rPr>
  5108.                                                                     <w:sz w:val="14"/>
  5109.                                                                 </w:rPr>
  5110.                                                             </altova:CharacterProperties>
  5111.                                                         </altova:ContentHolder>
  5112.                                                     </xsl:for-each>
  5113.                                                 </xsl:for-each>
  5114.                                             </xsl:for-each>
  5115.                                         </xsl:for-each>
  5116.                                     </altova:Paragraph>
  5117.                                 </altova:TableCell>
  5118.                                 <altova:TableCell altova:ParaPropertiesId="table cell_P_338">
  5119.                                     <altova:ParagraphProperties>
  5120.                                         <w:pPr>
  5121.                                             <w:jc w:val="center"/>
  5122.                                         </w:pPr>
  5123.                                     </altova:ParagraphProperties>
  5124.                                     <altova:TableCellProperties>
  5125.                                         <w:vAlign w:val="top"/>
  5126.                                     </altova:TableCellProperties>
  5127.                                     <altova:Paragraph>
  5128.                                         <xsl:for-each select="$XML1">
  5129.                                             <xsl:for-each select="SolidCAMPart">
  5130.                                                 <xsl:for-each select="General">
  5131.                                                     <xsl:for-each select="SCFixtureHeader">
  5132.                                                         <altova:ContentHolder>
  5133.                                                             <xsl:apply-templates/>
  5134.                                                         </altova:ContentHolder>
  5135.                                                     </xsl:for-each>
  5136.                                                 </xsl:for-each>
  5137.                                             </xsl:for-each>
  5138.                                         </xsl:for-each>
  5139.                                         <altova:TextRun altova:CharPropertiesId="text_C_339">&#160; <altova:CharacterProperties altova:whitespace="preserve-all"/>
  5140.                                         </altova:TextRun>
  5141.                                         <xsl:for-each select="$XML1">
  5142.                                             <xsl:for-each select="SolidCAMPart">
  5143.                                                 <xsl:for-each select="General">
  5144.                                                     <xsl:for-each select="SCPartName">
  5145.                                                         <xsl:for-each select="Value">
  5146.                                                             <altova:ContentHolder altova:CharPropertiesId="content_C_340">
  5147.                                                                 <xsl:apply-templates/>
  5148.                                                                 <altova:CharacterProperties>
  5149.                                                                     <w:rPr>
  5150.                                                                         <w:b/>
  5151.                                                                     </w:rPr>
  5152.                                                                 </altova:CharacterProperties>
  5153.                                                             </altova:ContentHolder>
  5154.                                                         </xsl:for-each>
  5155.                                                     </xsl:for-each>
  5156.                                                 </xsl:for-each>
  5157.                                             </xsl:for-each>
  5158.                                         </xsl:for-each>
  5159.                                         <altova:Table>
  5160.                                             <altova:TableProperties>
  5161.                                                 <w:tblStyle w:val="TableStyle22"/>
  5162.                                                 <w:tblW w:w="5000" w:type="pct"/>
  5163.                                             </altova:TableProperties>
  5164.                                             <xsl:variable name="altova:CurrContextGrid_341" select="."/>
  5165.                                             <xsl:variable name="altova:ColumnData">
  5166.                                                 <altova:Internal/>
  5167.                                             </xsl:variable>
  5168.                                             <altova:TableGrid>
  5169.                                                 <altova:GridCol altova:Width="2500" altova:Type="percent"/>
  5170.                                                 <altova:GridCol altova:Width="2500" altova:Type="percent"/>
  5171.                                             </altova:TableGrid>
  5172.                                             <altova:TableBody>
  5173.                                                 <xsl:for-each select="$XML1">
  5174.                                                     <xsl:for-each select="SolidCAMPart">
  5175.                                                         <xsl:for-each select="General">
  5176.                                                             <xsl:for-each select="SCUserDefinedHeader">
  5177.                                                                 <altova:TableRow>
  5178.                                                                     <altova:TableCell altova:ParaPropertiesId="table cell_P_342">
  5179.                                                                         <altova:ParagraphProperties>
  5180.                                                                             <w:pPr>
  5181.                                                                                 <w:shd w:val="clear" w:fill="E1E1E1"/>
  5182.                                                                             </w:pPr>
  5183.                                                                         </altova:ParagraphProperties>
  5184.                                                                         <altova:TableCellProperties>
  5185.                                                                             <w:shd w:val="clear" w:fill="E1E1E1"/>
  5186.                                                                             <w:vAlign w:val="center"/>
  5187.                                                                         </altova:TableCellProperties>
  5188.                                                                         <altova:Paragraph>
  5189.                                                                             <xsl:for-each select="Lable">
  5190.                                                                                 <altova:ContentHolder>
  5191.                                                                                     <xsl:apply-templates/>
  5192.                                                                                 </altova:ContentHolder>
  5193.                                                                             </xsl:for-each>
  5194.                                                                         </altova:Paragraph>
  5195.                                                                     </altova:TableCell>
  5196.                                                                     <altova:TableCell>
  5197.                                                                         <altova:TableCellProperties>
  5198.                                                                             <w:vAlign w:val="center"/>
  5199.                                                                         </altova:TableCellProperties>
  5200.                                                                         <altova:Paragraph>
  5201.                                                                             <xsl:for-each select="Value">
  5202.                                                                                 <altova:ContentHolder>
  5203.                                                                                     <xsl:apply-templates/>
  5204.                                                                                 </altova:ContentHolder>
  5205.                                                                             </xsl:for-each>
  5206.                                                                         </altova:Paragraph>
  5207.                                                                     </altova:TableCell>
  5208.                                                                 </altova:TableRow>
  5209.                                                             </xsl:for-each>
  5210.                                                         </xsl:for-each>
  5211.                                                     </xsl:for-each>
  5212.                                                 </xsl:for-each>
  5213.                                             </altova:TableBody>
  5214.                                         </altova:Table>
  5215.                                     </altova:Paragraph>
  5216.                                 </altova:TableCell>
  5217.                                 <altova:TableCell altova:ParaPropertiesId="table cell_P_343">
  5218.                                     <altova:ParagraphProperties>
  5219.                                         <w:pPr>
  5220.                                             <w:jc w:val="center"/>
  5221.                                         </w:pPr>
  5222.                                     </altova:ParagraphProperties>
  5223.                                     <altova:TableCellProperties>
  5224.                                         <w:tcMar>
  5225.                                             <w:top w:w="15" w:type="dxa"/>
  5226.                                             <w:left w:w="15" w:type="dxa"/>
  5227.                                             <w:bottom w:w="15" w:type="dxa"/>
  5228.                                             <w:right w:w="15" w:type="dxa"/>
  5229.                                         </w:tcMar>
  5230.                                         <w:vAlign w:val="top"/>
  5231.                                     </altova:TableCellProperties>
  5232.                                     <altova:Paragraph>
  5233.                                         <xsl:if test="string-length( string($XML1/SolidCAMPart/General/SCCompanyLogo) ) &gt; 2">
  5234.                                             <xsl:for-each select="$XML1">
  5235.                                                 <xsl:for-each select="SolidCAMPart">
  5236.                                                     <xsl:for-each select="General">
  5237.                                                         <xsl:for-each select="SCCompanyLogo">
  5238.                                                             <altova:Image altova:Src="{.}" altova:WidthEmu="1097280" altova:HeightEmu="274320"/>
  5239.                                                         </xsl:for-each>
  5240.                                                     </xsl:for-each>
  5241.                                                 </xsl:for-each>
  5242.                                             </xsl:for-each>
  5243.                                         </xsl:if>
  5244.                                     </altova:Paragraph>
  5245.                                 </altova:TableCell>
  5246.                             </altova:TableRow>
  5247.                         </altova:TableBody>
  5248.                     </altova:Table>
  5249.                     <altova:NewLine/>
  5250.                     <altova:Table altova:CharPropertiesId="table_C_344">
  5251.                         <altova:CharacterProperties>
  5252.                             <w:rPr>
  5253.                                 <w:rFonts w:ascii="arial" w:hAnsi="arial"/>
  5254.                             </w:rPr>
  5255.                         </altova:CharacterProperties>
  5256.                         <altova:TableProperties>
  5257.                             <w:tblStyle w:val="TableStyle23"/>
  5258.                             <w:tblW w:w="5000" w:type="pct"/>
  5259.                         </altova:TableProperties>
  5260.                         <xsl:variable name="altova:CurrContextGrid_344" select="."/>
  5261.                         <xsl:variable name="altova:ColumnData">
  5262.                             <altova:Internal/>
  5263.                         </xsl:variable>
  5264.                         <altova:TableGrid>
  5265.                             <altova:GridCol altova:Width="0" altova:Type="auto"/>
  5266.                         </altova:TableGrid>
  5267.                         <altova:TableBody>
  5268.                             <xsl:for-each select="$XML1">
  5269.                                 <xsl:for-each select="SolidCAMPart">
  5270.                                     <xsl:for-each select="SCFixtures">
  5271.                                         <xsl:for-each select="SCFixture">
  5272.                                             <altova:TableRow>
  5273.                                                 <altova:TableCell altova:ParaPropertiesId="table cell_P_345">
  5274.                                                     <altova:ParagraphProperties>
  5275.                                                         <w:pPr>
  5276.                                                             <w:jc w:val="center"/>
  5277.                                                         </w:pPr>
  5278.                                                     </altova:ParagraphProperties>
  5279.                                                     <altova:TableCellProperties>
  5280.                                                         <w:vAlign w:val="center"/>
  5281.                                                     </altova:TableCellProperties>
  5282.                                                     <altova:Paragraph>
  5283.                                                         <xsl:for-each select="SCFixtureName">
  5284.                                                             <xsl:for-each select="Value">
  5285.                                                                 <altova:ContentHolder altova:CharPropertiesId="content_C_346">
  5286.                                                                     <xsl:apply-templates/>
  5287.                                                                     <altova:CharacterProperties>
  5288.                                                                         <w:rPr>
  5289.                                                                             <w:b/>
  5290.                                                                         </w:rPr>
  5291.                                                                     </altova:CharacterProperties>
  5292.                                                                 </altova:ContentHolder>
  5293.                                                             </xsl:for-each>
  5294.                                                         </xsl:for-each>
  5295.                                                         <altova:NewLine/>
  5296.                                                         <xsl:for-each select="SCFixtureImage">
  5297.                                                             <xsl:for-each select="Value">
  5298.                                                                 <altova:Image altova:Src="{.}" altova:WidthEmu="2857500" altova:HeightEmu="2857500"/>
  5299.                                                             </xsl:for-each>
  5300.                                                         </xsl:for-each>
  5301.                                                         <altova:NewLine/>
  5302.                                                         <xsl:for-each select="SCFixtureMessage">
  5303.                                                             <xsl:for-each select="Value">
  5304.                                                                 <altova:ContentHolder>
  5305.                                                                     <xsl:apply-templates/>
  5306.                                                                 </altova:ContentHolder>
  5307.                                                             </xsl:for-each>
  5308.                                                         </xsl:for-each>
  5309.                                                         <altova:NewLine/>
  5310.                                                     </altova:Paragraph>
  5311.                                                 </altova:TableCell>
  5312.                                             </altova:TableRow>
  5313.                                         </xsl:for-each>
  5314.                                     </xsl:for-each>
  5315.                                 </xsl:for-each>
  5316.                             </xsl:for-each>
  5317.                         </altova:TableBody>
  5318.                     </altova:Table>
  5319.                     <altova:NewLine/>
  5320.                 </xsl:if>
  5321.                 <xsl:if test="$XML1/SolidCAMPart/General/Settings/SCGenOperations  =  &quot;1&quot;">
  5322.                     <xsl:if test="$XML1/SolidCAMPart/General/Settings/SCGenMainPage   =  &quot;1&quot; or
  5323. $XML1/SolidCAMPart/General/Settings/SCGenImages     =  &quot;1&quot; or
  5324. $XML1/SolidCAMPart/General/Settings/SCGenToolTabel  =  &quot;1&quot; or
  5325. $XML1/SolidCAMPart/General/Settings/SCGenJobSummary =  &quot;1&quot; or
  5326. (count(  $XML1/SolidCAMPart/SCFixture  )  and  ($XML1/SolidCAMPart/SCGenFixtures  =  &quot;1&quot;))">
  5327.                         <altova:PageBreak/>
  5328.                     </xsl:if>
  5329.                     <altova:Table altova:CharPropertiesId="table_C_347">
  5330.                         <altova:CharacterProperties>
  5331.                             <w:rPr>
  5332.                                 <w:rFonts w:ascii="arial" w:hAnsi="arial"/>
  5333.                             </w:rPr>
  5334.                         </altova:CharacterProperties>
  5335.                         <altova:TableProperties>
  5336.                             <w:tblStyle w:val="TableStyle24"/>
  5337.                             <w:tblW w:w="5000" w:type="pct"/>
  5338.                         </altova:TableProperties>
  5339.                         <xsl:variable name="altova:CurrContextGrid_347" select="."/>
  5340.                         <xsl:variable name="altova:ColumnData">
  5341.                             <altova:Internal/>
  5342.                         </xsl:variable>
  5343.                         <altova:TableGrid>
  5344.                             <altova:GridCol altova:Width="1000" altova:Type="percent"/>
  5345.                             <altova:GridCol altova:Width="3000" altova:Type="percent"/>
  5346.                             <altova:GridCol altova:Width="1000" altova:Type="percent"/>
  5347.                         </altova:TableGrid>
  5348.                         <altova:TableBody>
  5349.                             <altova:TableRow>
  5350.                                 <altova:TableCellProperties>
  5351.                                     <w:tcBorders>
  5352.                                         <w:bottom w:val="single" w:sz="32"/>
  5353.                                     </w:tcBorders>
  5354.                                 </altova:TableCellProperties>
  5355.                                 <altova:TableCell altova:ParaPropertiesId="table cell_P_348">
  5356.                                     <altova:ParagraphProperties>
  5357.                                         <w:pPr>
  5358.                                             <w:jc w:val="center"/>
  5359.                                         </w:pPr>
  5360.                                     </altova:ParagraphProperties>
  5361.                                     <altova:TableCellProperties>
  5362.                                         <w:vAlign w:val="top"/>
  5363.                                     </altova:TableCellProperties>
  5364.                                     <altova:Paragraph>
  5365.                                         <xsl:if test="false()">
  5366.                                             <xsl:for-each select="$XML1">
  5367.                                                 <xsl:for-each select="SolidCAMPart">
  5368.                                                     <xsl:for-each select="General">
  5369.                                                         <xsl:for-each select="SCMainPartImage">
  5370.                                                             <altova:Image altova:Src="{.}" altova:WidthEmu="571500" altova:HeightEmu="571500"/>
  5371.                                                         </xsl:for-each>
  5372.                                                     </xsl:for-each>
  5373.                                                 </xsl:for-each>
  5374.                                             </xsl:for-each>
  5375.                                         </xsl:if>
  5376.                                         <altova:NewLine/>
  5377.                                         <xsl:for-each select="$XML1">
  5378.                                             <xsl:for-each select="SolidCAMPart">
  5379.                                                 <xsl:for-each select="General">
  5380.                                                     <xsl:for-each select="SCDateCreated">
  5381.                                                         <altova:ContentHolder altova:CharPropertiesId="content_C_349">
  5382.                                                             <xsl:apply-templates/>
  5383.                                                             <altova:CharacterProperties>
  5384.                                                                 <w:rPr>
  5385.                                                                     <w:sz w:val="14"/>
  5386.                                                                 </w:rPr>
  5387.                                                             </altova:CharacterProperties>
  5388.                                                         </altova:ContentHolder>
  5389.                                                     </xsl:for-each>
  5390.                                                 </xsl:for-each>
  5391.                                             </xsl:for-each>
  5392.                                         </xsl:for-each>
  5393.                                     </altova:Paragraph>
  5394.                                 </altova:TableCell>
  5395.                                 <altova:TableCell altova:ParaPropertiesId="table cell_P_350">
  5396.                                     <altova:ParagraphProperties>
  5397.                                         <w:pPr>
  5398.                                             <w:jc w:val="center"/>
  5399.                                         </w:pPr>
  5400.                                     </altova:ParagraphProperties>
  5401.                                     <altova:TableCellProperties>
  5402.                                         <w:vAlign w:val="top"/>
  5403.                                     </altova:TableCellProperties>
  5404.                                     <altova:Paragraph>
  5405.                                         <xsl:for-each select="$XML1">
  5406.                                             <xsl:for-each select="SolidCAMPart">
  5407.                                                 <xsl:for-each select="General">
  5408.                                                     <xsl:for-each select="SCOperationHeader">
  5409.                                                         <altova:ContentHolder>
  5410.                                                             <xsl:apply-templates/>
  5411.                                                         </altova:ContentHolder>
  5412.                                                     </xsl:for-each>
  5413.                                                 </xsl:for-each>
  5414.                                             </xsl:for-each>
  5415.                                         </xsl:for-each>
  5416.                                         <altova:TextRun altova:CharPropertiesId="text_C_351">&#160;<altova:CharacterProperties altova:whitespace="preserve-all"/>
  5417.                                         </altova:TextRun>
  5418.                                         <xsl:for-each select="$XML1">
  5419.                                             <xsl:for-each select="SolidCAMPart">
  5420.                                                 <xsl:for-each select="General">
  5421.                                                     <xsl:for-each select="SCPartName">
  5422.                                                         <xsl:for-each select="Value">
  5423.                                                             <altova:ContentHolder altova:CharPropertiesId="content_C_352">
  5424.                                                                 <xsl:apply-templates/>
  5425.                                                                 <altova:CharacterProperties>
  5426.                                                                     <w:rPr>
  5427.                                                                         <w:b/>
  5428.                                                                     </w:rPr>
  5429.                                                                 </altova:CharacterProperties>
  5430.                                                             </altova:ContentHolder>
  5431.                                                         </xsl:for-each>
  5432.                                                     </xsl:for-each>
  5433.                                                 </xsl:for-each>
  5434.                                             </xsl:for-each>
  5435.                                         </xsl:for-each>
  5436.                                         <altova:Table>
  5437.                                             <altova:TableProperties>
  5438.                                                 <w:tblStyle w:val="TableStyle25"/>
  5439.                                                 <w:tblW w:w="5000" w:type="pct"/>
  5440.                                             </altova:TableProperties>
  5441.                                             <xsl:variable name="altova:CurrContextGrid_353" select="."/>
  5442.                                             <xsl:variable name="altova:ColumnData">
  5443.                                                 <altova:Internal/>
  5444.                                             </xsl:variable>
  5445.                                             <altova:TableGrid>
  5446.                                                 <altova:GridCol altova:Width="2500" altova:Type="percent"/>
  5447.                                                 <altova:GridCol altova:Width="2500" altova:Type="percent"/>
  5448.                                             </altova:TableGrid>
  5449.                                             <altova:TableBody>
  5450.                                                 <xsl:for-each select="$XML1">
  5451.                                                     <xsl:for-each select="SolidCAMPart">
  5452.                                                         <xsl:for-each select="General">
  5453.                                                             <xsl:for-each select="SCUserDefinedHeader">
  5454.                                                                 <altova:TableRow>
  5455.                                                                     <altova:TableCell altova:ParaPropertiesId="table cell_P_354">
  5456.                                                                         <altova:ParagraphProperties>
  5457.                                                                             <w:pPr>
  5458.                                                                                 <w:shd w:val="clear" w:fill="E1E1E1"/>
  5459.                                                                             </w:pPr>
  5460.                                                                         </altova:ParagraphProperties>
  5461.                                                                         <altova:TableCellProperties>
  5462.                                                                             <w:shd w:val="clear" w:fill="E1E1E1"/>
  5463.                                                                             <w:vAlign w:val="center"/>
  5464.                                                                         </altova:TableCellProperties>
  5465.                                                                         <altova:Paragraph>
  5466.                                                                             <xsl:for-each select="Lable">
  5467.                                                                                 <altova:ContentHolder>
  5468.                                                                                     <xsl:apply-templates/>
  5469.                                                                                 </altova:ContentHolder>
  5470.                                                                             </xsl:for-each>
  5471.                                                                         </altova:Paragraph>
  5472.                                                                     </altova:TableCell>
  5473.                                                                     <altova:TableCell>
  5474.                                                                         <altova:TableCellProperties>
  5475.                                                                             <w:vAlign w:val="center"/>
  5476.                                                                         </altova:TableCellProperties>
  5477.                                                                         <altova:Paragraph>
  5478.                                                                             <xsl:for-each select="Value">
  5479.                                                                                 <altova:ContentHolder>
  5480.                                                                                     <xsl:apply-templates/>
  5481.                                                                                 </altova:ContentHolder>
  5482.                                                                             </xsl:for-each>
  5483.                                                                         </altova:Paragraph>
  5484.                                                                     </altova:TableCell>
  5485.                                                                 </altova:TableRow>
  5486.                                                             </xsl:for-each>
  5487.                                                         </xsl:for-each>
  5488.                                                     </xsl:for-each>
  5489.                                                 </xsl:for-each>
  5490.                                             </altova:TableBody>
  5491.                                         </altova:Table>
  5492.                                     </altova:Paragraph>
  5493.                                 </altova:TableCell>
  5494.                                 <altova:TableCell altova:ParaPropertiesId="table cell_P_355">
  5495.                                     <altova:ParagraphProperties>
  5496.                                         <w:pPr>
  5497.                                             <w:jc w:val="center"/>
  5498.                                         </w:pPr>
  5499.                                     </altova:ParagraphProperties>
  5500.                                     <altova:TableCellProperties>
  5501.                                         <w:tcMar>
  5502.                                             <w:top w:w="15" w:type="dxa"/>
  5503.                                             <w:left w:w="15" w:type="dxa"/>
  5504.                                             <w:bottom w:w="15" w:type="dxa"/>
  5505.                                             <w:right w:w="15" w:type="dxa"/>
  5506.                                         </w:tcMar>
  5507.                                         <w:vAlign w:val="top"/>
  5508.                                     </altova:TableCellProperties>
  5509.                                     <altova:Paragraph>
  5510.                                         <xsl:if test="string-length( string($XML1/SolidCAMPart/General/SCCompanyLogo) ) &gt; 2">
  5511.                                             <xsl:for-each select="$XML1">
  5512.                                                 <xsl:for-each select="SolidCAMPart">
  5513.                                                     <xsl:for-each select="General">
  5514.                                                         <xsl:for-each select="SCCompanyLogo">
  5515.                                                             <altova:Image altova:Src="{.}" altova:WidthEmu="1097280" altova:HeightEmu="274320"/>
  5516.                                                         </xsl:for-each>
  5517.                                                     </xsl:for-each>
  5518.                                                 </xsl:for-each>
  5519.                                             </xsl:for-each>
  5520.                                         </xsl:if>
  5521.                                     </altova:Paragraph>
  5522.                                 </altova:TableCell>
  5523.                             </altova:TableRow>
  5524.                         </altova:TableBody>
  5525.                     </altova:Table>
  5526.                     <altova:NewLine/>
  5527.                     <altova:Table altova:CharPropertiesId="table_C_356">
  5528.                         <altova:CharacterProperties>
  5529.                             <w:rPr>
  5530.                                 <w:rFonts w:ascii="arial" w:hAnsi="arial"/>
  5531.                                 <w:sz w:val="20"/>
  5532.                             </w:rPr>
  5533.                         </altova:CharacterProperties>
  5534.                         <altova:TableProperties>
  5535.                             <w:tblStyle w:val="TableStyle26"/>
  5536.                             <w:tblW w:w="5000" w:type="pct"/>
  5537.                         </altova:TableProperties>
  5538.                         <xsl:variable name="altova:CurrContextGrid_356" select="."/>
  5539.                         <xsl:variable name="altova:ColumnData">
  5540.                             <altova:Internal/>
  5541.                         </xsl:variable>
  5542.                         <altova:TableGrid>
  5543.                             <altova:GridCol altova:Width="0" altova:Type="auto"/>
  5544.                             <altova:GridCol altova:Width="0" altova:Type="auto"/>
  5545.                             <altova:GridCol altova:Width="45" altova:Type="twips"/>
  5546.                         </altova:TableGrid>
  5547.                         <altova:TableBody>
  5548.                             <xsl:for-each select="$XML1">
  5549.                                 <xsl:for-each select="SolidCAMPart">
  5550.                                     <xsl:for-each select="SCOperations">
  5551.                                         <xsl:for-each select="SCOperation">
  5552.                                             <altova:TableRow>
  5553.                                                 <altova:TableCell altova:ParaPropertiesId="table cell_P_357">
  5554.                                                     <altova:ParagraphProperties>
  5555.                                                         <w:pPr>
  5556.                                                             <w:jc w:val="left"/>
  5557.                                                         </w:pPr>
  5558.                                                     </altova:ParagraphProperties>
  5559.                                                     <altova:TableCellProperties>
  5560.                                                         <w:vMerge w:val="restart"/>
  5561.                                                         <w:vAlign w:val="top"/>
  5562.                                                     </altova:TableCellProperties>
  5563.                                                     <altova:Paragraph>
  5564.                                                         <altova:Paragraph altova:ParaPropertiesId="paragraph_P_358" altova:ParagraphType="h3">
  5565.                                                             <altova:ParagraphProperties>
  5566.                                                                 <w:pPr>
  5567.                                                                     <w:jc w:val="left"/>
  5568.                                                                 </w:pPr>
  5569.                                                             </altova:ParagraphProperties>
  5570.                                                             <xsl:for-each select="SCOperationName">
  5571.                                                                 <xsl:for-each select="Value">
  5572.                                                                     <altova:ContentHolder>
  5573.                                                                         <xsl:apply-templates/>
  5574.                                                                     </altova:ContentHolder>
  5575.                                                                 </xsl:for-each>
  5576.                                                             </xsl:for-each>
  5577.                                                         </altova:Paragraph>
  5578.                                                         <altova:Table>
  5579.                                                             <altova:TableProperties>
  5580.                                                                 <w:tblStyle w:val="TableStyle27"/>
  5581.                                                                 <w:tblW w:w="5000" w:type="pct"/>
  5582.                                                             </altova:TableProperties>
  5583.                                                             <xsl:variable name="altova:CurrContextGrid_359" select="."/>
  5584.                                                             <xsl:variable name="altova:ColumnData">
  5585.                                                                 <altova:Internal/>
  5586.                                                             </xsl:variable>
  5587.                                                             <altova:TableGrid>
  5588.                                                                 <altova:GridCol altova:Width="0" altova:Type="auto"/>
  5589.                                                                 <altova:GridCol altova:Width="0" altova:Type="auto"/>
  5590.                                                             </altova:TableGrid>
  5591.                                                             <altova:TableBody>
  5592.                                                                 <altova:TableRow>
  5593.                                                                     <altova:TableCell altova:ParaPropertiesId="table cell_P_360">
  5594.                                                                         <altova:ParagraphProperties>
  5595.                                                                             <w:pPr>
  5596.                                                                                 <w:shd w:val="clear" w:fill="E1E1E1"/>
  5597.                                                                             </w:pPr>
  5598.                                                                         </altova:ParagraphProperties>
  5599.                                                                         <altova:TableCellProperties>
  5600.                                                                             <w:shd w:val="clear" w:fill="E1E1E1"/>
  5601.                                                                             <w:vAlign w:val="center"/>
  5602.                                                                         </altova:TableCellProperties>
  5603.                                                                         <altova:Paragraph>
  5604.                                                                             <xsl:for-each select="SCOperationType">
  5605.                                                                                 <xsl:for-each select="Lable">
  5606.                                                                                     <altova:ContentHolder>
  5607.                                                                                         <xsl:apply-templates/>
  5608.                                                                                     </altova:ContentHolder>
  5609.                                                                                 </xsl:for-each>
  5610.                                                                             </xsl:for-each>
  5611.                                                                         </altova:Paragraph>
  5612.                                                                     </altova:TableCell>
  5613.                                                                     <altova:TableCell>
  5614.                                                                         <altova:TableCellProperties>
  5615.                                                                             <w:vAlign w:val="center"/>
  5616.                                                                         </altova:TableCellProperties>
  5617.                                                                         <altova:Paragraph>
  5618.                                                                             <xsl:for-each select="SCOperationType">
  5619.                                                                                 <xsl:for-each select="Value">
  5620.                                                                                     <altova:ContentHolder>
  5621.                                                                                         <xsl:apply-templates/>
  5622.                                                                                     </altova:ContentHolder>
  5623.                                                                                 </xsl:for-each>
  5624.                                                                             </xsl:for-each>
  5625.                                                                         </altova:Paragraph>
  5626.                                                                     </altova:TableCell>
  5627.                                                                 </altova:TableRow>
  5628.                                                                 <altova:TableRow>
  5629.                                                                     <altova:TableRowProperties>
  5630.                                                                         <w:trPr>
  5631.                                                                             <w:trHeight w:val="150"/>
  5632.                                                                         </w:trPr>
  5633.                                                                     </altova:TableRowProperties>
  5634.                                                                     <altova:TableCell>
  5635.                                                                         <altova:TableCellProperties>
  5636.                                                                             <w:gridSpan w:val="2"/>
  5637.                                                                             <w:vAlign w:val="center"/>
  5638.                                                                         </altova:TableCellProperties>
  5639.                                                                         <altova:Paragraph/>
  5640.                                                                     </altova:TableCell>
  5641.                                                                 </altova:TableRow>
  5642.                                                                 <altova:TableRow>
  5643.                                                                     <altova:TableCell altova:ParaPropertiesId="table cell_P_361">
  5644.                                                                         <altova:ParagraphProperties>
  5645.                                                                             <w:pPr>
  5646.                                                                                 <w:shd w:val="clear" w:fill="E1E1E1"/>
  5647.                                                                             </w:pPr>
  5648.                                                                         </altova:ParagraphProperties>
  5649.                                                                         <altova:TableCellProperties>
  5650.                                                                             <w:shd w:val="clear" w:fill="E1E1E1"/>
  5651.                                                                             <w:vAlign w:val="center"/>
  5652.                                                                         </altova:TableCellProperties>
  5653.                                                                         <altova:Paragraph>
  5654.                                                                             <xsl:for-each select="SCOperationTime">
  5655.                                                                                 <xsl:for-each select="Lable">
  5656.                                                                                     <altova:ContentHolder>
  5657.                                                                                         <xsl:apply-templates/>
  5658.                                                                                     </altova:ContentHolder>
  5659.                                                                                 </xsl:for-each>
  5660.                                                                             </xsl:for-each>
  5661.                                                                         </altova:Paragraph>
  5662.                                                                     </altova:TableCell>
  5663.                                                                     <altova:TableCell>
  5664.                                                                         <altova:TableCellProperties>
  5665.                                                                             <w:vAlign w:val="center"/>
  5666.                                                                         </altova:TableCellProperties>
  5667.                                                                         <altova:Paragraph>
  5668.                                                                             <xsl:for-each select="SCOperationTime">
  5669.                                                                                 <xsl:for-each select="Value">
  5670.                                                                                     <altova:ContentHolder>
  5671.                                                                                         <xsl:apply-templates/>
  5672.                                                                                     </altova:ContentHolder>
  5673.                                                                                 </xsl:for-each>
  5674.                                                                             </xsl:for-each>
  5675.                                                                         </altova:Paragraph>
  5676.                                                                     </altova:TableCell>
  5677.                                                                 </altova:TableRow>
  5678.                                                                 <altova:TableRow>
  5679.                                                                     <altova:TableCell altova:ParaPropertiesId="table cell_P_362">
  5680.                                                                         <altova:ParagraphProperties>
  5681.                                                                             <w:pPr>
  5682.                                                                                 <w:shd w:val="clear" w:fill="E1E1E1"/>
  5683.                                                                             </w:pPr>
  5684.                                                                         </altova:ParagraphProperties>
  5685.                                                                         <altova:TableCellProperties>
  5686.                                                                             <w:shd w:val="clear" w:fill="E1E1E1"/>
  5687.                                                                             <w:vAlign w:val="center"/>
  5688.                                                                         </altova:TableCellProperties>
  5689.                                                                         <altova:Paragraph>
  5690.                                                                             <xsl:for-each select="SCOperationTotalPathLength">
  5691.                                                                                 <xsl:for-each select="Lable">
  5692.                                                                                     <altova:ContentHolder>
  5693.                                                                                         <xsl:apply-templates/>
  5694.                                                                                     </altova:ContentHolder>
  5695.                                                                                 </xsl:for-each>
  5696.                                                                             </xsl:for-each>
  5697.                                                                         </altova:Paragraph>
  5698.                                                                     </altova:TableCell>
  5699.                                                                     <altova:TableCell>
  5700.                                                                         <altova:TableCellProperties>
  5701.                                                                             <w:vAlign w:val="center"/>
  5702.                                                                         </altova:TableCellProperties>
  5703.                                                                         <altova:Paragraph>
  5704.                                                                             <xsl:for-each select="SCOperationTotalPathLength">
  5705.                                                                                 <xsl:for-each select="Value">
  5706.                                                                                     <altova:ContentHolder>
  5707.                                                                                         <xsl:apply-templates/>
  5708.                                                                                     </altova:ContentHolder>
  5709.                                                                                 </xsl:for-each>
  5710.                                                                             </xsl:for-each>
  5711.                                                                         </altova:Paragraph>
  5712.                                                                     </altova:TableCell>
  5713.                                                                 </altova:TableRow>
  5714.                                                                 <altova:TableRow>
  5715.                                                                     <altova:TableRowProperties>
  5716.                                                                         <w:trPr>
  5717.                                                                             <w:trHeight w:val="150"/>
  5718.                                                                         </w:trPr>
  5719.                                                                     </altova:TableRowProperties>
  5720.                                                                     <altova:TableCell>
  5721.                                                                         <altova:TableCellProperties>
  5722.                                                                             <w:gridSpan w:val="2"/>
  5723.                                                                             <w:vAlign w:val="center"/>
  5724.                                                                         </altova:TableCellProperties>
  5725.                                                                         <altova:Paragraph/>
  5726.                                                                     </altova:TableCell>
  5727.                                                                 </altova:TableRow>
  5728.                                                                 <altova:TableRow>
  5729.                                                                     <altova:TableCell altova:ParaPropertiesId="table cell_P_363">
  5730.                                                                         <altova:ParagraphProperties>
  5731.                                                                             <w:pPr>
  5732.                                                                                 <w:shd w:val="clear" w:fill="E1E1E1"/>
  5733.                                                                             </w:pPr>
  5734.                                                                         </altova:ParagraphProperties>
  5735.                                                                         <altova:TableCellProperties>
  5736.                                                                             <w:shd w:val="clear" w:fill="E1E1E1"/>
  5737.                                                                             <w:vAlign w:val="center"/>
  5738.                                                                         </altova:TableCellProperties>
  5739.                                                                         <altova:Paragraph>
  5740.                                                                             <xsl:for-each select="SCOperationHomeNumber">
  5741.                                                                                 <xsl:for-each select="Lable">
  5742.                                                                                     <altova:ContentHolder>
  5743.                                                                                         <xsl:apply-templates/>
  5744.                                                                                     </altova:ContentHolder>
  5745.                                                                                 </xsl:for-each>
  5746.                                                                             </xsl:for-each>
  5747.                                                                         </altova:Paragraph>
  5748.                                                                     </altova:TableCell>
  5749.                                                                     <altova:TableCell>
  5750.                                                                         <altova:TableCellProperties>
  5751.                                                                             <w:vAlign w:val="center"/>
  5752.                                                                         </altova:TableCellProperties>
  5753.                                                                         <altova:Paragraph>
  5754.                                                                             <xsl:for-each select="SCOperationHomeNumber">
  5755.                                                                                 <xsl:for-each select="Value">
  5756.                                                                                     <altova:ContentHolder>
  5757.                                                                                         <xsl:apply-templates/>
  5758.                                                                                     </altova:ContentHolder>
  5759.                                                                                 </xsl:for-each>
  5760.                                                                             </xsl:for-each>
  5761.                                                                         </altova:Paragraph>
  5762.                                                                     </altova:TableCell>
  5763.                                                                 </altova:TableRow>
  5764.                                                                 <altova:TableRow>
  5765.                                                                     <altova:TableRowProperties>
  5766.                                                                         <w:trPr>
  5767.                                                                             <w:trHeight w:val="120"/>
  5768.                                                                         </w:trPr>
  5769.                                                                     </altova:TableRowProperties>
  5770.                                                                     <altova:TableCell>
  5771.                                                                         <altova:TableCellProperties>
  5772.                                                                             <w:gridSpan w:val="2"/>
  5773.                                                                             <w:vAlign w:val="center"/>
  5774.                                                                         </altova:TableCellProperties>
  5775.                                                                         <altova:Paragraph/>
  5776.                                                                     </altova:TableCell>
  5777.                                                                 </altova:TableRow>
  5778.                                                                 <altova:TableRow>
  5779.                                                                     <altova:TableCell altova:ParaPropertiesId="table cell_P_364">
  5780.                                                                         <altova:ParagraphProperties>
  5781.                                                                             <w:pPr>
  5782.                                                                                 <w:shd w:val="clear" w:fill="E1E1E1"/>
  5783.                                                                             </w:pPr>
  5784.                                                                         </altova:ParagraphProperties>
  5785.                                                                         <altova:TableCellProperties>
  5786.                                                                             <w:shd w:val="clear" w:fill="E1E1E1"/>
  5787.                                                                             <w:vAlign w:val="center"/>
  5788.                                                                         </altova:TableCellProperties>
  5789.                                                                         <altova:Paragraph>
  5790.                                                                             <xsl:for-each select="SCOperationToolSpin1">
  5791.                                                                                 <xsl:for-each select="Lable">
  5792.                                                                                     <altova:ContentHolder>
  5793.                                                                                         <xsl:apply-templates/>
  5794.                                                                                     </altova:ContentHolder>
  5795.                                                                                 </xsl:for-each>
  5796.                                                                             </xsl:for-each>
  5797.                                                                         </altova:Paragraph>
  5798.                                                                     </altova:TableCell>
  5799.                                                                     <altova:TableCell>
  5800.                                                                         <altova:TableCellProperties>
  5801.                                                                             <w:vAlign w:val="top"/>
  5802.                                                                         </altova:TableCellProperties>
  5803.                                                                         <altova:Paragraph>
  5804.                                                                             <xsl:for-each select="SCOperationToolSpin1">
  5805.                                                                                 <xsl:for-each select="Value">
  5806.                                                                                     <altova:ContentHolder>
  5807.                                                                                         <xsl:apply-templates/>
  5808.                                                                                     </altova:ContentHolder>
  5809.                                                                                 </xsl:for-each>
  5810.                                                                             </xsl:for-each>
  5811.                                                                         </altova:Paragraph>
  5812.                                                                     </altova:TableCell>
  5813.                                                                 </altova:TableRow>
  5814.                                                                 <altova:TableRow>
  5815.                                                                     <altova:TableCell altova:ParaPropertiesId="table cell_P_365">
  5816.                                                                         <altova:ParagraphProperties>
  5817.                                                                             <w:pPr>
  5818.                                                                                 <w:shd w:val="clear" w:fill="E1E1E1"/>
  5819.                                                                             </w:pPr>
  5820.                                                                         </altova:ParagraphProperties>
  5821.                                                                         <altova:TableCellProperties>
  5822.                                                                             <w:shd w:val="clear" w:fill="E1E1E1"/>
  5823.                                                                             <w:vAlign w:val="center"/>
  5824.                                                                         </altova:TableCellProperties>
  5825.                                                                         <altova:Paragraph>
  5826.                                                                             <xsl:for-each select="SCOperationToolSpin2">
  5827.                                                                                 <xsl:for-each select="Lable">
  5828.                                                                                     <altova:ContentHolder>
  5829.                                                                                         <xsl:apply-templates/>
  5830.                                                                                     </altova:ContentHolder>
  5831.                                                                                 </xsl:for-each>
  5832.                                                                             </xsl:for-each>
  5833.                                                                         </altova:Paragraph>
  5834.                                                                     </altova:TableCell>
  5835.                                                                     <altova:TableCell>
  5836.                                                                         <altova:TableCellProperties>
  5837.                                                                             <w:vAlign w:val="center"/>
  5838.                                                                         </altova:TableCellProperties>
  5839.                                                                         <altova:Paragraph>
  5840.                                                                             <xsl:for-each select="SCOperationToolSpin2">
  5841.                                                                                 <xsl:for-each select="Value">
  5842.                                                                                     <altova:ContentHolder>
  5843.                                                                                         <xsl:apply-templates/>
  5844.                                                                                     </altova:ContentHolder>
  5845.                                                                                 </xsl:for-each>
  5846.                                                                             </xsl:for-each>
  5847.                                                                         </altova:Paragraph>
  5848.                                                                     </altova:TableCell>
  5849.                                                                 </altova:TableRow>
  5850.                                                                 <altova:TableRow>
  5851.                                                                     <altova:TableCell altova:ParaPropertiesId="table cell_P_366">
  5852.                                                                         <altova:ParagraphProperties>
  5853.                                                                             <w:pPr>
  5854.                                                                                 <w:shd w:val="clear" w:fill="E1E1E1"/>
  5855.                                                                             </w:pPr>
  5856.                                                                         </altova:ParagraphProperties>
  5857.                                                                         <altova:TableCellProperties>
  5858.                                                                             <w:shd w:val="clear" w:fill="E1E1E1"/>
  5859.                                                                             <w:vAlign w:val="center"/>
  5860.                                                                         </altova:TableCellProperties>
  5861.                                                                         <altova:Paragraph>
  5862.                                                                             <xsl:for-each select="SCOperationToolFeed1">
  5863.                                                                                 <xsl:for-each select="Lable">
  5864.                                                                                     <altova:ContentHolder>
  5865.                                                                                         <xsl:apply-templates/>
  5866.                                                                                     </altova:ContentHolder>
  5867.                                                                                 </xsl:for-each>
  5868.                                                                             </xsl:for-each>
  5869.                                                                         </altova:Paragraph>
  5870.                                                                     </altova:TableCell>
  5871.                                                                     <altova:TableCell>
  5872.                                                                         <altova:TableCellProperties>
  5873.                                                                             <w:vAlign w:val="center"/>
  5874.                                                                         </altova:TableCellProperties>
  5875.                                                                         <altova:Paragraph>
  5876.                                                                             <xsl:for-each select="SCOperationToolFeed1">
  5877.                                                                                 <xsl:for-each select="Value">
  5878.                                                                                     <altova:ContentHolder>
  5879.                                                                                         <xsl:apply-templates/>
  5880.                                                                                     </altova:ContentHolder>
  5881.                                                                                 </xsl:for-each>
  5882.                                                                             </xsl:for-each>
  5883.                                                                         </altova:Paragraph>
  5884.                                                                     </altova:TableCell>
  5885.                                                                 </altova:TableRow>
  5886.                                                                 <altova:TableRow>
  5887.                                                                     <altova:TableCell altova:ParaPropertiesId="table cell_P_367">
  5888.                                                                         <altova:ParagraphProperties>
  5889.                                                                             <w:pPr>
  5890.                                                                                 <w:shd w:val="clear" w:fill="E1E1E1"/>
  5891.                                                                             </w:pPr>
  5892.                                                                         </altova:ParagraphProperties>
  5893.                                                                         <altova:TableCellProperties>
  5894.                                                                             <w:shd w:val="clear" w:fill="E1E1E1"/>
  5895.                                                                             <w:vAlign w:val="center"/>
  5896.                                                                         </altova:TableCellProperties>
  5897.                                                                         <altova:Paragraph>
  5898.                                                                             <xsl:for-each select="SCOperationToolFeed2">
  5899.                                                                                 <xsl:for-each select="Lable">
  5900.                                                                                     <altova:ContentHolder>
  5901.                                                                                         <xsl:apply-templates/>
  5902.                                                                                     </altova:ContentHolder>
  5903.                                                                                 </xsl:for-each>
  5904.                                                                             </xsl:for-each>
  5905.                                                                         </altova:Paragraph>
  5906.                                                                     </altova:TableCell>
  5907.                                                                     <altova:TableCell>
  5908.                                                                         <altova:TableCellProperties>
  5909.                                                                             <w:vAlign w:val="center"/>
  5910.                                                                         </altova:TableCellProperties>
  5911.                                                                         <altova:Paragraph>
  5912.                                                                             <xsl:for-each select="SCOperationToolFeed2">
  5913.                                                                                 <xsl:for-each select="Value">
  5914.                                                                                     <altova:ContentHolder>
  5915.                                                                                         <xsl:apply-templates/>
  5916.                                                                                     </altova:ContentHolder>
  5917.                                                                                 </xsl:for-each>
  5918.                                                                             </xsl:for-each>
  5919.                                                                         </altova:Paragraph>
  5920.                                                                     </altova:TableCell>
  5921.                                                                 </altova:TableRow>
  5922.                                                                 <altova:TableRow>
  5923.                                                                     <altova:TableCell altova:ParaPropertiesId="table cell_P_368">
  5924.                                                                         <altova:ParagraphProperties>
  5925.                                                                             <w:pPr>
  5926.                                                                                 <w:shd w:val="clear" w:fill="E1E1E1"/>
  5927.                                                                             </w:pPr>
  5928.                                                                         </altova:ParagraphProperties>
  5929.                                                                         <altova:TableCellProperties>
  5930.                                                                             <w:shd w:val="clear" w:fill="E1E1E1"/>
  5931.                                                                             <w:vAlign w:val="center"/>
  5932.                                                                         </altova:TableCellProperties>
  5933.                                                                         <altova:Paragraph>
  5934.                                                                             <xsl:for-each select="SCOperationToolFeed3">
  5935.                                                                                 <xsl:for-each select="Lable">
  5936.                                                                                     <altova:ContentHolder>
  5937.                                                                                         <xsl:apply-templates/>
  5938.                                                                                     </altova:ContentHolder>
  5939.                                                                                 </xsl:for-each>
  5940.                                                                             </xsl:for-each>
  5941.                                                                         </altova:Paragraph>
  5942.                                                                     </altova:TableCell>
  5943.                                                                     <altova:TableCell>
  5944.                                                                         <altova:TableCellProperties>
  5945.                                                                             <w:vAlign w:val="center"/>
  5946.                                                                         </altova:TableCellProperties>
  5947.                                                                         <altova:Paragraph>
  5948.                                                                             <xsl:for-each select="SCOperationToolFeed3">
  5949.                                                                                 <xsl:for-each select="Value">
  5950.                                                                                     <altova:ContentHolder>
  5951.                                                                                         <xsl:apply-templates/>
  5952.                                                                                     </altova:ContentHolder>
  5953.                                                                                 </xsl:for-each>
  5954.                                                                             </xsl:for-each>
  5955.                                                                         </altova:Paragraph>
  5956.                                                                     </altova:TableCell>
  5957.                                                                 </altova:TableRow>
  5958.                                                                 <altova:TableRow>
  5959.                                                                     <altova:TableCell altova:ParaPropertiesId="table cell_P_369">
  5960.                                                                         <altova:ParagraphProperties>
  5961.                                                                             <w:pPr>
  5962.                                                                                 <w:shd w:val="clear" w:fill="E1E1E1"/>
  5963.                                                                             </w:pPr>
  5964.                                                                         </altova:ParagraphProperties>
  5965.                                                                         <altova:TableCellProperties>
  5966.                                                                             <w:shd w:val="clear" w:fill="E1E1E1"/>
  5967.                                                                             <w:vAlign w:val="center"/>
  5968.                                                                         </altova:TableCellProperties>
  5969.                                                                         <altova:Paragraph/>
  5970.                                                                     </altova:TableCell>
  5971.                                                                     <altova:TableCell>
  5972.                                                                         <altova:TableCellProperties>
  5973.                                                                             <w:vAlign w:val="center"/>
  5974.                                                                         </altova:TableCellProperties>
  5975.                                                                         <altova:Paragraph/>
  5976.                                                                     </altova:TableCell>
  5977.                                                                 </altova:TableRow>
  5978.                                                                 <altova:TableRow>
  5979.                                                                     <altova:TableRowProperties>
  5980.                                                                         <w:trPr>
  5981.                                                                             <w:trHeight w:val="120"/>
  5982.                                                                         </w:trPr>
  5983.                                                                     </altova:TableRowProperties>
  5984.                                                                     <altova:TableCell>
  5985.                                                                         <altova:TableCellProperties>
  5986.                                                                             <w:gridSpan w:val="2"/>
  5987.                                                                             <w:vAlign w:val="center"/>
  5988.                                                                         </altova:TableCellProperties>
  5989.                                                                         <altova:Paragraph/>
  5990.                                                                     </altova:TableCell>
  5991.                                                                 </altova:TableRow>
  5992.                                                             </altova:TableBody>
  5993.                                                         </altova:Table>
  5994.                                                         <altova:Table>
  5995.                                                             <altova:TableProperties>
  5996.                                                                 <w:tblStyle w:val="TableStyle28"/>
  5997.                                                                 <w:tblW w:w="5000" w:type="pct"/>
  5998.                                                             </altova:TableProperties>
  5999.                                                             <xsl:variable name="altova:CurrContextGrid_370" select="."/>
  6000.                                                             <xsl:variable name="altova:ColumnData">
  6001.                                                                 <altova:Internal/>
  6002.                                                             </xsl:variable>
  6003.                                                             <altova:TableGrid>
  6004.                                                                 <altova:GridCol altova:Width="0" altova:Type="auto"/>
  6005.                                                                 <altova:GridCol altova:Width="0" altova:Type="auto"/>
  6006.                                                             </altova:TableGrid>
  6007.                                                             <altova:TableBody>
  6008.                                                                 <xsl:for-each select="SCOperationPar">
  6009.                                                                     <altova:TableRow>
  6010.                                                                         <altova:TableCell altova:ParaPropertiesId="table cell_P_371">
  6011.                                                                             <altova:ParagraphProperties>
  6012.                                                                                 <w:pPr>
  6013.                                                                                     <w:shd w:val="clear" w:fill="E1E1E1"/>
  6014.                                                                                 </w:pPr>
  6015.                                                                             </altova:ParagraphProperties>
  6016.                                                                             <altova:TableCellProperties>
  6017.                                                                                 <w:shd w:val="clear" w:fill="E1E1E1"/>
  6018.                                                                                 <w:vAlign w:val="center"/>
  6019.                                                                             </altova:TableCellProperties>
  6020.                                                                             <altova:Paragraph>
  6021.                                                                                 <xsl:for-each select="Lable">
  6022.                                                                                     <altova:ContentHolder>
  6023.                                                                                         <xsl:apply-templates/>
  6024.                                                                                     </altova:ContentHolder>
  6025.                                                                                 </xsl:for-each>
  6026.                                                                             </altova:Paragraph>
  6027.                                                                         </altova:TableCell>
  6028.                                                                         <altova:TableCell>
  6029.                                                                             <altova:TableCellProperties>
  6030.                                                                                 <w:vAlign w:val="center"/>
  6031.                                                                             </altova:TableCellProperties>
  6032.                                                                             <altova:Paragraph>
  6033.                                                                                 <xsl:for-each select="Value">
  6034.                                                                                     <altova:ContentHolder>
  6035.                                                                                         <xsl:apply-templates/>
  6036.                                                                                     </altova:ContentHolder>
  6037.                                                                                 </xsl:for-each>
  6038.                                                                             </altova:Paragraph>
  6039.                                                                         </altova:TableCell>
  6040.                                                                     </altova:TableRow>
  6041.                                                                 </xsl:for-each>
  6042.                                                             </altova:TableBody>
  6043.                                                         </altova:Table>
  6044.                                                     </altova:Paragraph>
  6045.                                                 </altova:TableCell>
  6046.                                                 <altova:TableCell altova:ParaPropertiesId="table cell_P_372">
  6047.                                                     <altova:ParagraphProperties>
  6048.                                                         <w:pPr>
  6049.                                                             <w:jc w:val="left"/>
  6050.                                                         </w:pPr>
  6051.                                                     </altova:ParagraphProperties>
  6052.                                                     <altova:TableCellProperties>
  6053.                                                         <w:vAlign w:val="top"/>
  6054.                                                     </altova:TableCellProperties>
  6055.                                                     <altova:Paragraph>
  6056.                                                         <xsl:for-each select="SCOperationImage">
  6057.                                                             <xsl:for-each select="Value">
  6058.                                                                 <xsl:variable name="altova:seqWidthHeight" as="xs:integer*">
  6059.                                                                     <xsl:choose use-when="function-available('altovaext:get-width-and-height-from-image-data')">
  6060.                                                                         <xsl:when test="unparsed-text-available(., 'x-binarytobase64')">
  6061.                                                                             <xsl:sequence select="altovaext:get-width-and-height-from-image-data(xs:base64Binary(unparsed-text(., 'x-binarytobase64')))"/>
  6062.                                                                         </xsl:when>
  6063.                                                                         <xsl:otherwise>
  6064.                                                                             <xsl:sequence select="(63, 63)"/>
  6065.                                                                         </xsl:otherwise>
  6066.                                                                     </xsl:choose>
  6067.                                                                     <xsl:sequence select="(63, 63)" use-when="not(function-available('altovaext:get-width-and-height-from-image-data'))"/>
  6068.                                                                 </xsl:variable>
  6069.                                                                 <altova:Image altova:Src="{.}" altova:WidthEmu="{altova:MapCssToWordml_WidthOrHeightToEmu(concat($altova:seqWidthHeight[1], 'px'))}" altova:HeightEmu="{altova:MapCssToWordml_WidthOrHeightToEmu(concat($altova:seqWidthHeight[2], 'px'))}"/>
  6070.                                                             </xsl:for-each>
  6071.                                                         </xsl:for-each>
  6072.                                                         <altova:NewLine/>
  6073.                                                         <altova:NewLine/>
  6074.                                                         <xsl:for-each select="SCOperationDescription">
  6075.                                                             <xsl:for-each select="Lable">
  6076.                                                                 <altova:ContentHolder altova:CharPropertiesId="content_C_373">
  6077.                                                                     <xsl:apply-templates/>
  6078.                                                                     <altova:CharacterProperties>
  6079.                                                                         <w:rPr>
  6080.                                                                             <w:b/>
  6081.                                                                         </w:rPr>
  6082.                                                                     </altova:CharacterProperties>
  6083.                                                                 </altova:ContentHolder>
  6084.                                                             </xsl:for-each>
  6085.                                                         </xsl:for-each>
  6086.                                                         <altova:TextRun altova:CharPropertiesId="text_C_374">: <altova:CharacterProperties altova:whitespace="preserve-all"/>
  6087.                                                         </altova:TextRun>
  6088.                                                         <xsl:for-each select="SCOperationDescription">
  6089.                                                             <xsl:for-each select="Value">
  6090.                                                                 <altova:ContentHolder>
  6091.                                                                     <xsl:apply-templates/>
  6092.                                                                 </altova:ContentHolder>
  6093.                                                             </xsl:for-each>
  6094.                                                         </xsl:for-each>
  6095.                                                     </altova:Paragraph>
  6096.                                                 </altova:TableCell>
  6097.                                                 <altova:TableCell>
  6098.                                                     <altova:TableCellProperties>
  6099.                                                         <w:vAlign w:val="center"/>
  6100.                                                     </altova:TableCellProperties>
  6101.                                                     <altova:Paragraph/>
  6102.                                                 </altova:TableCell>
  6103.                                             </altova:TableRow>
  6104.                                             <altova:TableRow>
  6105.                                                 <altova:TableCell>
  6106.                                                     <altova:Paragraph/>
  6107.                                                     <altova:TableCellProperties>
  6108.                                                         <w:vMerge w:val="continue"/>
  6109.                                                     </altova:TableCellProperties>
  6110.                                                 </altova:TableCell>
  6111.                                                 <altova:TableCell>
  6112.                                                     <altova:TableCellProperties>
  6113.                                                         <w:vAlign w:val="center"/>
  6114.                                                     </altova:TableCellProperties>
  6115.                                                     <altova:Paragraph/>
  6116.                                                 </altova:TableCell>
  6117.                                                 <altova:TableCell>
  6118.                                                     <altova:TableCellProperties>
  6119.                                                         <w:vAlign w:val="center"/>
  6120.                                                     </altova:TableCellProperties>
  6121.                                                     <altova:Paragraph/>
  6122.                                                 </altova:TableCell>
  6123.                                             </altova:TableRow>
  6124.                                             <altova:TableRow>
  6125.                                                 <altova:TableCell>
  6126.                                                     <altova:Paragraph/>
  6127.                                                     <altova:TableCellProperties>
  6128.                                                         <w:vMerge w:val="continue"/>
  6129.                                                     </altova:TableCellProperties>
  6130.                                                 </altova:TableCell>
  6131.                                                 <altova:TableCell>
  6132.                                                     <altova:TableCellProperties>
  6133.                                                         <w:vAlign w:val="top"/>
  6134.                                                     </altova:TableCellProperties>
  6135.                                                     <altova:Paragraph>
  6136.                                                         <altova:Table>
  6137.                                                             <altova:TableProperties>
  6138.                                                                 <w:tblStyle w:val="TableStyle29"/>
  6139.                                                                 <w:tblW w:w="5000" w:type="pct"/>
  6140.                                                             </altova:TableProperties>
  6141.                                                             <xsl:variable name="altova:CurrContextGrid_375" select="."/>
  6142.                                                             <xsl:variable name="altova:ColumnData">
  6143.                                                                 <altova:Internal/>
  6144.                                                             </xsl:variable>
  6145.                                                             <altova:TableGrid>
  6146.                                                                 <altova:GridCol altova:Width="0" altova:Type="auto"/>
  6147.                                                                 <altova:GridCol altova:Width="0" altova:Type="auto"/>
  6148.                                                             </altova:TableGrid>
  6149.                                                             <altova:TableBody>
  6150.                                                                 <altova:TableRow>
  6151.                                                                     <altova:TableCell altova:ParaPropertiesId="table cell_P_376">
  6152.                                                                         <altova:ParagraphProperties>
  6153.                                                                             <w:pPr>
  6154.                                                                                 <w:shd w:val="clear" w:fill="E1E1E1"/>
  6155.                                                                             </w:pPr>
  6156.                                                                         </altova:ParagraphProperties>
  6157.                                                                         <altova:TableCellProperties>
  6158.                                                                             <w:shd w:val="clear" w:fill="E1E1E1"/>
  6159.                                                                             <w:vAlign w:val="center"/>
  6160.                                                                         </altova:TableCellProperties>
  6161.                                                                         <altova:Paragraph>
  6162.                                                                             <xsl:for-each select="SCOperationToolNumber">
  6163.                                                                                 <xsl:for-each select="Lable">
  6164.                                                                                     <altova:ContentHolder>
  6165.                                                                                         <xsl:apply-templates/>
  6166.                                                                                     </altova:ContentHolder>
  6167.                                                                                 </xsl:for-each>
  6168.                                                                             </xsl:for-each>
  6169.                                                                         </altova:Paragraph>
  6170.                                                                     </altova:TableCell>
  6171.                                                                     <altova:TableCell>
  6172.                                                                         <altova:TableCellProperties>
  6173.                                                                             <w:vAlign w:val="center"/>
  6174.                                                                         </altova:TableCellProperties>
  6175.                                                                         <altova:Paragraph>
  6176.                                                                             <xsl:for-each select="SCOperationToolNumber">
  6177.                                                                                 <xsl:for-each select="Value">
  6178.                                                                                     <altova:ContentHolder>
  6179.                                                                                         <xsl:apply-templates/>
  6180.                                                                                     </altova:ContentHolder>
  6181.                                                                                 </xsl:for-each>
  6182.                                                                             </xsl:for-each>
  6183.                                                                         </altova:Paragraph>
  6184.                                                                     </altova:TableCell>
  6185.                                                                 </altova:TableRow>
  6186.                                                                 <altova:TableRow>
  6187.                                                                     <altova:TableCell altova:ParaPropertiesId="table cell_P_377">
  6188.                                                                         <altova:ParagraphProperties>
  6189.                                                                             <w:pPr>
  6190.                                                                                 <w:shd w:val="clear" w:fill="E1E1E1"/>
  6191.                                                                             </w:pPr>
  6192.                                                                         </altova:ParagraphProperties>
  6193.                                                                         <altova:TableCellProperties>
  6194.                                                                             <w:shd w:val="clear" w:fill="E1E1E1"/>
  6195.                                                                             <w:vAlign w:val="center"/>
  6196.                                                                         </altova:TableCellProperties>
  6197.                                                                         <altova:Paragraph>
  6198.                                                                             <xsl:for-each select="$XML1">
  6199.                                                                                 <xsl:for-each select="SolidCAMPart">
  6200.                                                                                     <xsl:for-each select="SCOperations">
  6201.                                                                                         <xsl:for-each select="SCOperation">
  6202.                                                                                             <xsl:for-each select="SCOperationToolNumber">
  6203.                                                                                                 <xsl:for-each select="Lable">
  6204.                                                                                                     <altova:ContentHolder>
  6205.                                                                                                         <xsl:apply-templates/>
  6206.                                                                                                     </altova:ContentHolder>
  6207.                                                                                                 </xsl:for-each>
  6208.                                                                                             </xsl:for-each>
  6209.                                                                                         </xsl:for-each>
  6210.                                                                                     </xsl:for-each>
  6211.                                                                                 </xsl:for-each>
  6212.                                                                             </xsl:for-each>
  6213.                                                                         </altova:Paragraph>
  6214.                                                                     </altova:TableCell>
  6215.                                                                     <altova:TableCell>
  6216.                                                                         <altova:TableCellProperties>
  6217.                                                                             <w:vAlign w:val="center"/>
  6218.                                                                         </altova:TableCellProperties>
  6219.                                                                         <altova:Paragraph>
  6220.                                                                             <xsl:for-each select="$XML1">
  6221.                                                                                 <xsl:for-each select="SolidCAMPart">
  6222.                                                                                     <xsl:for-each select="SCOperations">
  6223.                                                                                         <xsl:for-each select="SCOperation">
  6224.                                                                                             <xsl:for-each select="SCOperationToolNumber">
  6225.                                                                                                 <xsl:for-each select="Value">
  6226.                                                                                                     <altova:ContentHolder>
  6227.                                                                                                         <xsl:apply-templates/>
  6228.                                                                                                     </altova:ContentHolder>
  6229.                                                                                                 </xsl:for-each>
  6230.                                                                                             </xsl:for-each>
  6231.                                                                                         </xsl:for-each>
  6232.                                                                                     </xsl:for-each>
  6233.                                                                                 </xsl:for-each>
  6234.                                                                             </xsl:for-each>
  6235.                                                                         </altova:Paragraph>
  6236.                                                                     </altova:TableCell>
  6237.                                                                 </altova:TableRow>
  6238.                                                                 <altova:TableRow>
  6239.                                                                     <altova:TableCell altova:ParaPropertiesId="table cell_P_378">
  6240.                                                                         <altova:ParagraphProperties>
  6241.                                                                             <w:pPr>
  6242.                                                                                 <w:shd w:val="clear" w:fill="E1E1E1"/>
  6243.                                                                             </w:pPr>
  6244.                                                                         </altova:ParagraphProperties>
  6245.                                                                         <altova:TableCellProperties>
  6246.                                                                             <w:shd w:val="clear" w:fill="E1E1E1"/>
  6247.                                                                             <w:vAlign w:val="center"/>
  6248.                                                                         </altova:TableCellProperties>
  6249.                                                                         <altova:Paragraph>
  6250.                                                                             <xsl:for-each select="SCOperationToolType">
  6251.                                                                                 <xsl:for-each select="Lable">
  6252.                                                                                     <altova:ContentHolder>
  6253.                                                                                         <xsl:apply-templates/>
  6254.                                                                                     </altova:ContentHolder>
  6255.                                                                                 </xsl:for-each>
  6256.                                                                             </xsl:for-each>
  6257.                                                                         </altova:Paragraph>
  6258.                                                                     </altova:TableCell>
  6259.                                                                     <altova:TableCell>
  6260.                                                                         <altova:TableCellProperties>
  6261.                                                                             <w:vAlign w:val="center"/>
  6262.                                                                         </altova:TableCellProperties>
  6263.                                                                         <altova:Paragraph>
  6264.                                                                             <xsl:for-each select="SCOperationToolType">
  6265.                                                                                 <xsl:for-each select="Value">
  6266.                                                                                     <altova:ContentHolder>
  6267.                                                                                         <xsl:apply-templates/>
  6268.                                                                                     </altova:ContentHolder>
  6269.                                                                                 </xsl:for-each>
  6270.                                                                             </xsl:for-each>
  6271.                                                                         </altova:Paragraph>
  6272.                                                                     </altova:TableCell>
  6273.                                                                 </altova:TableRow>
  6274.                                                                 <altova:TableRow>
  6275.                                                                     <altova:TableCell altova:ParaPropertiesId="table cell_P_379">
  6276.                                                                         <altova:ParagraphProperties>
  6277.                                                                             <w:pPr>
  6278.                                                                                 <w:shd w:val="clear" w:fill="E1E1E1"/>
  6279.                                                                             </w:pPr>
  6280.                                                                         </altova:ParagraphProperties>
  6281.                                                                         <altova:TableCellProperties>
  6282.                                                                             <w:shd w:val="clear" w:fill="E1E1E1"/>
  6283.                                                                             <w:vAlign w:val="center"/>
  6284.                                                                         </altova:TableCellProperties>
  6285.                                                                         <altova:Paragraph>
  6286.                                                                             <xsl:for-each select="SCOperationToolDescription">
  6287.                                                                                 <xsl:for-each select="Lable">
  6288.                                                                                     <altova:ContentHolder>
  6289.                                                                                         <xsl:apply-templates/>
  6290.                                                                                     </altova:ContentHolder>
  6291.                                                                                 </xsl:for-each>
  6292.                                                                             </xsl:for-each>
  6293.                                                                         </altova:Paragraph>
  6294.                                                                     </altova:TableCell>
  6295.                                                                     <altova:TableCell>
  6296.                                                                         <altova:TableCellProperties>
  6297.                                                                             <w:vAlign w:val="center"/>
  6298.                                                                         </altova:TableCellProperties>
  6299.                                                                         <altova:Paragraph>
  6300.                                                                             <xsl:for-each select="SCOperationToolDescription">
  6301.                                                                                 <xsl:for-each select="Value">
  6302.                                                                                     <altova:ContentHolder>
  6303.                                                                                         <xsl:apply-templates/>
  6304.                                                                                     </altova:ContentHolder>
  6305.                                                                                 </xsl:for-each>
  6306.                                                                             </xsl:for-each>
  6307.                                                                         </altova:Paragraph>
  6308.                                                                     </altova:TableCell>
  6309.                                                                 </altova:TableRow>
  6310.                                                                 <altova:TableRow>
  6311.                                                                     <altova:TableCell altova:ParaPropertiesId="table cell_P_380">
  6312.                                                                         <altova:ParagraphProperties>
  6313.                                                                             <w:pPr>
  6314.                                                                                 <w:shd w:val="clear" w:fill="E1E1E1"/>
  6315.                                                                             </w:pPr>
  6316.                                                                         </altova:ParagraphProperties>
  6317.                                                                         <altova:TableCellProperties>
  6318.                                                                             <w:shd w:val="clear" w:fill="E1E1E1"/>
  6319.                                                                             <w:vAlign w:val="center"/>
  6320.                                                                         </altova:TableCellProperties>
  6321.                                                                         <altova:Paragraph>
  6322.                                                                             <xsl:for-each select="SCOperationToolPar1">
  6323.                                                                                 <xsl:for-each select="Lable">
  6324.                                                                                     <altova:ContentHolder>
  6325.                                                                                         <xsl:apply-templates/>
  6326.                                                                                     </altova:ContentHolder>
  6327.                                                                                 </xsl:for-each>
  6328.                                                                             </xsl:for-each>
  6329.                                                                         </altova:Paragraph>
  6330.                                                                     </altova:TableCell>
  6331.                                                                     <altova:TableCell>
  6332.                                                                         <altova:TableCellProperties>
  6333.                                                                             <w:vAlign w:val="center"/>
  6334.                                                                         </altova:TableCellProperties>
  6335.                                                                         <altova:Paragraph>
  6336.                                                                             <xsl:for-each select="SCOperationToolPar1">
  6337.                                                                                 <xsl:for-each select="Value">
  6338.                                                                                     <altova:ContentHolder>
  6339.                                                                                         <xsl:apply-templates/>
  6340.                                                                                     </altova:ContentHolder>
  6341.                                                                                 </xsl:for-each>
  6342.                                                                             </xsl:for-each>
  6343.                                                                         </altova:Paragraph>
  6344.                                                                     </altova:TableCell>
  6345.                                                                 </altova:TableRow>
  6346.                                                                 <altova:TableRow>
  6347.                                                                     <altova:TableCell altova:ParaPropertiesId="table cell_P_381">
  6348.                                                                         <altova:ParagraphProperties>
  6349.                                                                             <w:pPr>
  6350.                                                                                 <w:shd w:val="clear" w:fill="E1E1E1"/>
  6351.                                                                             </w:pPr>
  6352.                                                                         </altova:ParagraphProperties>
  6353.                                                                         <altova:TableCellProperties>
  6354.                                                                             <w:shd w:val="clear" w:fill="E1E1E1"/>
  6355.                                                                             <w:vAlign w:val="center"/>
  6356.                                                                         </altova:TableCellProperties>
  6357.                                                                         <altova:Paragraph>
  6358.                                                                             <xsl:for-each select="SCOperationToolPar2">
  6359.                                                                                 <xsl:for-each select="Lable">
  6360.                                                                                     <altova:ContentHolder>
  6361.                                                                                         <xsl:apply-templates/>
  6362.                                                                                     </altova:ContentHolder>
  6363.                                                                                 </xsl:for-each>
  6364.                                                                             </xsl:for-each>
  6365.                                                                         </altova:Paragraph>
  6366.                                                                     </altova:TableCell>
  6367.                                                                     <altova:TableCell>
  6368.                                                                         <altova:TableCellProperties>
  6369.                                                                             <w:vAlign w:val="center"/>
  6370.                                                                         </altova:TableCellProperties>
  6371.                                                                         <altova:Paragraph>
  6372.                                                                             <xsl:for-each select="SCOperationToolPar2">
  6373.                                                                                 <xsl:for-each select="Value">
  6374.                                                                                     <altova:ContentHolder>
  6375.                                                                                         <xsl:apply-templates/>
  6376.                                                                                     </altova:ContentHolder>
  6377.                                                                                 </xsl:for-each>
  6378.                                                                             </xsl:for-each>
  6379.                                                                         </altova:Paragraph>
  6380.                                                                     </altova:TableCell>
  6381.                                                                 </altova:TableRow>
  6382.                                                                 <altova:TableRow>
  6383.                                                                     <altova:TableCell altova:ParaPropertiesId="table cell_P_382">
  6384.                                                                         <altova:ParagraphProperties>
  6385.                                                                             <w:pPr>
  6386.                                                                                 <w:shd w:val="clear" w:fill="E1E1E1"/>
  6387.                                                                             </w:pPr>
  6388.                                                                         </altova:ParagraphProperties>
  6389.                                                                         <altova:TableCellProperties>
  6390.                                                                             <w:shd w:val="clear" w:fill="E1E1E1"/>
  6391.                                                                             <w:vAlign w:val="center"/>
  6392.                                                                         </altova:TableCellProperties>
  6393.                                                                         <altova:Paragraph>
  6394.                                                                             <xsl:for-each select="SCOperationToolPar3">
  6395.                                                                                 <xsl:for-each select="Lable">
  6396.                                                                                     <altova:ContentHolder>
  6397.                                                                                         <xsl:apply-templates/>
  6398.                                                                                     </altova:ContentHolder>
  6399.                                                                                 </xsl:for-each>
  6400.                                                                             </xsl:for-each>
  6401.                                                                         </altova:Paragraph>
  6402.                                                                     </altova:TableCell>
  6403.                                                                     <altova:TableCell>
  6404.                                                                         <altova:TableCellProperties>
  6405.                                                                             <w:vAlign w:val="center"/>
  6406.                                                                         </altova:TableCellProperties>
  6407.                                                                         <altova:Paragraph>
  6408.                                                                             <xsl:for-each select="SCOperationToolPar3">
  6409.                                                                                 <xsl:for-each select="Value">
  6410.                                                                                     <altova:ContentHolder>
  6411.                                                                                         <xsl:apply-templates/>
  6412.                                                                                     </altova:ContentHolder>
  6413.                                                                                 </xsl:for-each>
  6414.                                                                             </xsl:for-each>
  6415.                                                                         </altova:Paragraph>
  6416.                                                                     </altova:TableCell>
  6417.                                                                 </altova:TableRow>
  6418.                                                                 <altova:TableRow>
  6419.                                                                     <altova:TableCell altova:ParaPropertiesId="table cell_P_383">
  6420.                                                                         <altova:ParagraphProperties>
  6421.                                                                             <w:pPr>
  6422.                                                                                 <w:shd w:val="clear" w:fill="E1E1E1"/>
  6423.                                                                             </w:pPr>
  6424.                                                                         </altova:ParagraphProperties>
  6425.                                                                         <altova:TableCellProperties>
  6426.                                                                             <w:shd w:val="clear" w:fill="E1E1E1"/>
  6427.                                                                             <w:vAlign w:val="center"/>
  6428.                                                                         </altova:TableCellProperties>
  6429.                                                                         <altova:Paragraph>
  6430.                                                                             <xsl:for-each select="SCOperationToolPar4">
  6431.                                                                                 <xsl:for-each select="Lable">
  6432.                                                                                     <altova:ContentHolder>
  6433.                                                                                         <xsl:apply-templates/>
  6434.                                                                                     </altova:ContentHolder>
  6435.                                                                                 </xsl:for-each>
  6436.                                                                             </xsl:for-each>
  6437.                                                                         </altova:Paragraph>
  6438.                                                                     </altova:TableCell>
  6439.                                                                     <altova:TableCell>
  6440.                                                                         <altova:TableCellProperties>
  6441.                                                                             <w:vAlign w:val="center"/>
  6442.                                                                         </altova:TableCellProperties>
  6443.                                                                         <altova:Paragraph>
  6444.                                                                             <xsl:for-each select="SCOperationToolPar4">
  6445.                                                                                 <xsl:for-each select="Value">
  6446.                                                                                     <altova:ContentHolder>
  6447.                                                                                         <xsl:apply-templates/>
  6448.                                                                                     </altova:ContentHolder>
  6449.                                                                                 </xsl:for-each>
  6450.                                                                             </xsl:for-each>
  6451.                                                                         </altova:Paragraph>
  6452.                                                                     </altova:TableCell>
  6453.                                                                 </altova:TableRow>
  6454.                                                             </altova:TableBody>
  6455.                                                         </altova:Table>
  6456.                                                     </altova:Paragraph>
  6457.                                                 </altova:TableCell>
  6458.                                                 <altova:TableCell>
  6459.                                                     <altova:TableCellProperties>
  6460.                                                         <w:vAlign w:val="center"/>
  6461.                                                     </altova:TableCellProperties>
  6462.                                                     <altova:Paragraph/>
  6463.                                                 </altova:TableCell>
  6464.                                             </altova:TableRow>
  6465.                                         </xsl:for-each>
  6466.                                     </xsl:for-each>
  6467.                                 </xsl:for-each>
  6468.                             </xsl:for-each>
  6469.                         </altova:TableBody>
  6470.                     </altova:Table>
  6471.                     <altova:NewLine/>
  6472.                 </xsl:if>
  6473.             </altova:Paragraph>
  6474.             <altova:Background/>
  6475.             <altova:DocumentProperties altova:Author="" altova:Keywords="" altova:Subject="" altova:Title=""/>
  6476.             <altova:LastDocumentSectionEnd/>
  6477.         </altova:Document>
  6478.     </xsl:variable>
  6479.     <xsl:variable name="altova:DocumentMonolith">
  6480.         <xsl:apply-templates select="$altova:DocumentMonolithBeforeNumberingAndToc" mode="altova:AddNumberingAndToc"/>
  6481.     </xsl:variable>
  6482.     <xsl:key name="altova:BookmarksByName" match="altova:Bookmark" use="@altova:Name"/>
  6483.     <xsl:variable name="altova:nodesAllSeparateDocuments" as="node()" select="$altova:DocumentMonolith/altova:Document"/>
  6484.     <xsl:variable name="altova:toc-xslt-tree1">
  6485.         <xsl:for-each select="$altova:DocumentMonolithBeforeNumberingAndToc">
  6486.             <xsl:apply-templates mode="altova:generate-toc-xslt-tree"/>
  6487.         </xsl:for-each>
  6488.     </xsl:variable>
  6489.     <xsl:template match="altova:Level" mode="altova:generate-toc-xslt-tree">
  6490.         <altova:Level altova:design-id="{generate-id()}">
  6491.             <xsl:apply-templates mode="#current"/>
  6492.         </altova:Level>
  6493.     </xsl:template>
  6494.     <xsl:template match="altova:Marker" mode="altova:generate-toc-xslt-tree">
  6495.         <altova:Marker altova:design-id="{generate-id()}" altova:Name="{@altova:Name}">
  6496.             <xsl:apply-templates mode="#current"/>
  6497.         </altova:Marker>
  6498.     </xsl:template>
  6499.     <xsl:template match="@* | text()" mode="altova:generate-toc-xslt-tree"/>
  6500.     <xsl:template match="altova:UnescapedText" mode="altova:extract-text-from-marker">
  6501.         <xsl:param name="altova:level-design-id"/>
  6502.         <xsl:param name="altova:marker-design-id"/>
  6503.         <xsl:copy>
  6504.             <xsl:apply-templates select="@* | node()" mode="altova:extract-text-from-marker"/>
  6505.         </xsl:copy>
  6506.     </xsl:template>
  6507.     <xsl:template match="text()" mode="altova:extract-text-from-marker">
  6508.         <xsl:param name="altova:level-design-id"/>
  6509.         <xsl:param name="altova:marker-design-id"/>
  6510.         <xsl:value-of select="."/>
  6511.     </xsl:template>
  6512.     <xsl:template match="altova:NumLvl" mode="altova:extract-text-from-marker">
  6513.         <xsl:param name="altova:level-design-id"/>
  6514.         <xsl:param name="altova:marker-design-id"/>
  6515.         <xsl:copy>
  6516.             <xsl:copy-of select="@*"/>
  6517.             <xsl:attribute name="altova:level-design-id" select="$altova:level-design-id"/>
  6518.         </xsl:copy>
  6519.     </xsl:template>
  6520.     <xsl:template match="altova:NumSeq" mode="altova:extract-text-from-marker">
  6521.         <xsl:param name="altova:level-design-id"/>
  6522.         <xsl:param name="altova:marker-design-id"/>
  6523.         <xsl:copy>
  6524.             <xsl:copy-of select="@*"/>
  6525.             <xsl:attribute name="altova:marker-design-id" select="generate-id( ancestor::altova:Marker[1] )"/>
  6526.         </xsl:copy>
  6527.     </xsl:template>
  6528.     <xsl:variable name="altova:toc-xslt-tree" select="$altova:toc-xslt-tree1"/>
  6529.     <xsl:key name="altova:toc-xslt-tree-key" match="altova:Level | altova:Toc | altova:TocRef | altova:Marker" use="@altova:design-id"/>
  6530.     <xsl:template match="@* | node()" mode="altova:AddNumberingAndToc">
  6531.         <xsl:copy>
  6532.             <xsl:apply-templates select="@* | node()" mode="#current"/>
  6533.         </xsl:copy>
  6534.     </xsl:template>
  6535.     <xsl:template match="altova:Level" mode="altova:AddNumberingAndToc">
  6536.         <xsl:apply-templates select="node()" mode="#current"/>
  6537.     </xsl:template>
  6538.     <xsl:template match="altova:Toc | altova:TocRef" mode="altova:AddNumberingAndToc">
  6539.         <xsl:apply-templates select="$altova:toc-xslt-tree/key( 'altova:toc-xslt-tree-key', generate-id( current() ) )/node()" mode="#current"/>
  6540.     </xsl:template>
  6541.     <xsl:template match="altova:Marker" mode="altova:AddNumberingAndToc">
  6542.         <altova:Bookmark altova:Name="{generate-id()}"/>
  6543.         <xsl:apply-templates select="node()" mode="#current"/>
  6544.     </xsl:template>
  6545.     <xsl:template match="altova:NumLvl" mode="altova:AddNumberingAndToc">
  6546.         <xsl:variable name="altova:Format" select="@altova:Format"/>
  6547.         <xsl:variable name="altova:OmitLevels" select="@altova:OmitLevels"/>
  6548.         <xsl:variable name="altova:level-design-id">
  6549.             <xsl:choose>
  6550.                 <xsl:when test="@altova:level-design-id">
  6551.                     <xsl:value-of select="@altova:level-design-id"/>
  6552.                 </xsl:when>
  6553.                 <xsl:otherwise>
  6554.                     <xsl:value-of select="generate-id( ancestor::altova:Level[1] )"/>
  6555.                 </xsl:otherwise>
  6556.             </xsl:choose>
  6557.         </xsl:variable>
  6558.         <xsl:for-each select="$altova:toc-xslt-tree/key( 'altova:toc-xslt-tree-key', $altova:level-design-id )">
  6559.             <xsl:choose>
  6560.                 <xsl:when test="$altova:OmitLevels">
  6561.                     <xsl:number level="multiple" count="altova:Level[ count( ancestor::altova:Level ) &gt;= $altova:OmitLevels ]" format="{$altova:Format}"/>
  6562.                 </xsl:when>
  6563.                 <xsl:otherwise>
  6564.                     <xsl:number level="multiple" count="altova:Level" format="{$altova:Format}"/>
  6565.                 </xsl:otherwise>
  6566.             </xsl:choose>
  6567.         </xsl:for-each>
  6568.     </xsl:template>
  6569.     <xsl:template match="altova:NumSeq" mode="altova:AddNumberingAndToc">
  6570.         <xsl:variable name="altova:Format" select="@altova:Format"/>
  6571.         <xsl:variable name="altova:marker-design-id">
  6572.             <xsl:choose>
  6573.                 <xsl:when test="@altova:marker-design-id">
  6574.                     <xsl:value-of select="@altova:marker-design-id"/>
  6575.                 </xsl:when>
  6576.                 <xsl:otherwise>
  6577.                     <xsl:value-of select="generate-id( ancestor::altova:Marker[1] )"/>
  6578.                 </xsl:otherwise>
  6579.             </xsl:choose>
  6580.         </xsl:variable>
  6581.         <xsl:for-each select="$altova:toc-xslt-tree/key( 'altova:toc-xslt-tree-key', $altova:marker-design-id )">
  6582.             <xsl:variable name="altova:Name" select="@altova:Name"/>
  6583.             <xsl:number level="any" count="altova:Marker[ @altova:Name = $altova:Name ]" format="{$altova:Format}"/>
  6584.         </xsl:for-each>
  6585.     </xsl:template>
  6586.     <xsl:template match="altova:Table" mode="altova:AddNumberingAndToc">
  6587.         <xsl:choose>
  6588.             <xsl:when test="exists( @altova:hide-rows ) or exists( @altova:hide-cols )">
  6589.                 <xsl:variable name="altova:table">
  6590.                     <xsl:copy>
  6591.                         <xsl:apply-templates select="@* | node()" mode="#current"/>
  6592.                     </xsl:copy>
  6593.                 </xsl:variable>
  6594.                 <xsl:variable name="altova:col-count" select="sum( for $altova:cell in $altova:table/altova:Table/(altova:TableHeader | altova:TableBody | altova:TableFooter)[ 1 ]/altova:TableRow[ 1 ]/altova:TableCell return altova:col-span( $altova:cell ) )"/>
  6595.                 <xsl:variable name="altova:generate-cols" as="xs:boolean*">
  6596.                     <xsl:choose>
  6597.                         <xsl:when test="@altova:hide-cols = 'empty'">
  6598.                             <xsl:sequence select="for $altova:pos in 1 to $altova:col-count return some $altova:cell in $altova:table/altova:Table/(altova:TableHeader | altova:TableBody | altova:TableFooter)/altova:TableRow/altova:TableCell[ altova:col-position( . ) = $altova:pos ] satisfies not( altova:is-cell-empty( $altova:cell ) )"/>
  6599.                         </xsl:when>
  6600.                         <xsl:when test="@altova:hide-cols = 'body-empty'">
  6601.                             <xsl:sequence select="for $altova:pos in 1 to $altova:col-count return some $altova:cell in $altova:table/altova:Table/altova:TableBody/altova:TableRow/altova:TableCell[ altova:col-position( . ) = $altova:pos ] satisfies not( altova:is-cell-empty( $altova:cell ) )"/>
  6602.                         </xsl:when>
  6603.                         <xsl:otherwise>
  6604.                             <xsl:sequence select="for $altova:pos in 1 to $altova:col-count return true()"/>
  6605.                         </xsl:otherwise>
  6606.                     </xsl:choose>
  6607.                 </xsl:variable>
  6608.                 <xsl:apply-templates select="$altova:table" mode="altova:generate-table">
  6609.                     <xsl:with-param name="altova:generate-cols" select="$altova:generate-cols"/>
  6610.                 </xsl:apply-templates>
  6611.             </xsl:when>
  6612.             <xsl:otherwise>
  6613.                 <xsl:copy>
  6614.                     <xsl:apply-templates select="@* | node()" mode="#current"/>
  6615.                 </xsl:copy>
  6616.             </xsl:otherwise>
  6617.         </xsl:choose>
  6618.     </xsl:template>
  6619.     <xsl:function name="altova:col-span" as="xs:integer">
  6620.         <xsl:param name="altova:cell" as="element()"/>
  6621.         <xsl:sequence select="if ( exists( $altova:cell/altova:TableCellProperties/w:gridSpan/@w:val ) ) then xs:integer( $altova:cell/altova:TableCellProperties/w:gridSpan/@w:val ) else 1"/>
  6622.     </xsl:function>
  6623.     <xsl:function name="altova:is-cell-empty" as="xs:boolean">
  6624.         <xsl:param name="altova:cell" as="element()"/>
  6625.         <xsl:sequence select="every $altova:child in $altova:cell/altova:Paragraph/child::node() satisfies altova:is-node-empty( $altova:child )"/>
  6626.     </xsl:function>
  6627.     <xsl:function name="altova:is-node-empty" as="xs:boolean">
  6628.         <xsl:param name="altova:node" as="element()"/>
  6629.         <xsl:sequence select="every $altova:child in $altova:node/child::node() satisfies ( ( boolean( $altova:child/self::text() ) and string-length( $altova:child ) = 0 ) or boolean( $altova:child/self::altova:ParagraphProperties ) or boolean( $altova:child/self::altova:CharacterProperties ) or ( ( boolean( $altova:child/self::altova:TextRun ) or boolean( $altova:child/self::altova:Link ) ) and altova:is-node-empty( $altova:child ) ) )"/>
  6630.     </xsl:function>
  6631.     <xsl:template match="@* | node()" mode="altova:generate-table">
  6632.         <xsl:param name="altova:generate-cols"/>
  6633.         <xsl:copy>
  6634.             <xsl:apply-templates select="@* | node()" mode="#current">
  6635.                 <xsl:with-param name="altova:generate-cols" select="$altova:generate-cols"/>
  6636.             </xsl:apply-templates>
  6637.         </xsl:copy>
  6638.     </xsl:template>
  6639.     <xsl:template match="@altova:hide-rows | @altova:hide-cols" mode="altova:generate-table"/>
  6640.     <xsl:template match="altova:TableRow" mode="altova:generate-table">
  6641.         <xsl:param name="altova:generate-cols"/>
  6642.         <xsl:choose>
  6643.             <xsl:when test="ancestor::altova:Table[ 1 ]/@altova:hide-rows = 'empty'">
  6644.                 <xsl:if test="some $altova:cell in altova:TableCell satisfies not( altova:is-cell-empty( $altova:cell ) )">
  6645.                     <xsl:copy>
  6646.                         <xsl:apply-templates select="@* | node()" mode="#current">
  6647.                             <xsl:with-param name="altova:generate-cols" select="$altova:generate-cols"/>
  6648.                         </xsl:apply-templates>
  6649.                     </xsl:copy>
  6650.                 </xsl:if>
  6651.             </xsl:when>
  6652.             <xsl:when test="ancestor::altova:Table[ 1 ]/@altova:hide-rows = 'body-empty'">
  6653.                 <xsl:if test="not( exists( parent::altova:TableBody ) ) or ( some $altova:cell in altova:TableCell[altova:IsTableCellInBody(.)] satisfies not( altova:is-cell-empty( $altova:cell ) ) )">
  6654.                     <xsl:copy>
  6655.                         <xsl:apply-templates select="@* | node()" mode="#current">
  6656.                             <xsl:with-param name="altova:generate-cols" select="$altova:generate-cols"/>
  6657.                         </xsl:apply-templates>
  6658.                     </xsl:copy>
  6659.                 </xsl:if>
  6660.             </xsl:when>
  6661.             <xsl:otherwise>
  6662.                 <xsl:copy>
  6663.                     <xsl:apply-templates select="@* | node()" mode="#current">
  6664.                         <xsl:with-param name="altova:generate-cols" select="$altova:generate-cols"/>
  6665.                     </xsl:apply-templates>
  6666.                 </xsl:copy>
  6667.             </xsl:otherwise>
  6668.         </xsl:choose>
  6669.     </xsl:template>
  6670.     <xsl:function name="altova:col-position" as="xs:integer">
  6671.         <xsl:param name="altova:cell" as="element()"/>
  6672.         <xsl:sequence select="sum( for $altova:cell-before in $altova:cell/preceding-sibling::altova:TableCell return altova:col-span( $altova:cell-before ) ) + 1"/>
  6673.     </xsl:function>
  6674.     <xsl:template match="altova:GridCol" mode="altova:generate-table">
  6675.         <xsl:param name="altova:generate-cols"/>
  6676.         <xsl:variable name="altova:col-index" select="count( preceding-sibling::altova:GridCol ) + 1"/>
  6677.         <xsl:if test="$altova:generate-cols[ $altova:col-index ]">
  6678.             <xsl:copy>
  6679.                 <xsl:apply-templates select="@*" mode="#current">
  6680.                     <xsl:with-param name="altova:generate-cols" select="$altova:generate-cols"/>
  6681.                 </xsl:apply-templates>
  6682.                 <xsl:copy-of select="node()"/>
  6683.             </xsl:copy>
  6684.         </xsl:if>
  6685.     </xsl:template>
  6686.     <xsl:template match="altova:TableCell" mode="altova:generate-table">
  6687.         <xsl:param name="altova:generate-cols"/>
  6688.         <xsl:variable name="altova:this-cell" select="."/>
  6689.         <xsl:variable name="altova:col-index" select="altova:col-position( $altova:this-cell )"/>
  6690.         <xsl:choose>
  6691.             <xsl:when test="$altova:generate-cols[ $altova:col-index ]">
  6692.                 <xsl:copy>
  6693.                     <xsl:apply-templates select="@*" mode="#current">
  6694.                         <xsl:with-param name="altova:generate-cols" select="$altova:generate-cols"/>
  6695.                     </xsl:apply-templates>
  6696.                     <xsl:copy-of select="node()"/>
  6697.                 </xsl:copy>
  6698.             </xsl:when>
  6699.             <xsl:when test="altova:col-span( $altova:this-cell ) > 1">
  6700.                 <xsl:for-each select="for $altova:pos in $altova:col-index to ( $altova:col-index + altova:col-span( $altova:this-cell ) - 1 ) return if ( $altova:generate-cols[ $altova:pos ] ) then true() else ()">
  6701.                     <altova:TableCell>
  6702.                         <xsl:apply-templates select="$altova:this-cell/@* | $altova:this-cell/node()" mode="altova:copy-table-cell-properties"/>
  6703.                         <altova:Paragraph/>
  6704.                     </altova:TableCell>
  6705.                 </xsl:for-each>
  6706.             </xsl:when>
  6707.         </xsl:choose>
  6708.     </xsl:template>
  6709.     <xsl:template match="altova:TableCell/altova:TableCellProperties/w:gridSpan/@w:val" mode="altova:generate-table">
  6710.         <xsl:param name="altova:generate-cols"/>
  6711.         <xsl:choose>
  6712.             <xsl:when test="exists( ancestor::altova:Table[ 1 ]/@altova:hide-cols )">
  6713.                 <xsl:variable name="altova:col-index" select="altova:col-position( ancestor::altova:TableCell )"/>
  6714.                 <xsl:attribute name="w:val" select="sum( for $altova:pos in $altova:col-index to ( $altova:col-index + xs:integer( . ) - 1 ) return if ( $altova:generate-cols[ $altova:pos ] ) then 1 else 0 )"/>
  6715.             </xsl:when>
  6716.             <xsl:otherwise>
  6717.                 <xsl:attribute name="w:val" select="."/>
  6718.             </xsl:otherwise>
  6719.         </xsl:choose>
  6720.     </xsl:template>
  6721.     <xsl:template match="@* | node()" mode="altova:copy-table-cell-properties">
  6722.         <xsl:copy>
  6723.             <xsl:apply-templates select="@* | node()" mode="#current"/>
  6724.         </xsl:copy>
  6725.     </xsl:template>
  6726.     <xsl:template match="altova:TableCell/altova:TableCellProperties/w:gridSpan/@w:val" mode="altova:copy-table-cell-properties"/>
  6727.     <xsl:template match="/">
  6728.         <xsl:for-each select="$altova:nodesAllSeparateDocuments">
  6729.             <xsl:variable name="altova:nodeDocument" as="node()" select="."/>
  6730.             <xsl:variable name="altova:nodeDocumentAfterSplit">
  6731.                 <xsl:apply-templates select="$altova:nodeDocument" mode="altova:Split"/>
  6732.             </xsl:variable>
  6733.             <xsl:variable name="altova:seqDocumentSectionAddress" as="xs:string*" select="$altova:nodeDocument//altova:DocumentSection/@altova:Address"/>
  6734.             <xsl:variable name="altova:nodesHeadersAndFooters" as="node()*" select="$altova:nodesHeaderFooterInfo[exists(index-of($altova:seqDocumentSectionAddress, @Address))]//(altova:PageHeader | altova:PageFooter)"/>
  6735.             <xsl:variable name="altova:nodesReferencablePackageParts" as="node()+" select="$altova:nodeDocument, $altova:nodesHeadersAndFooters"/>
  6736.             <xsl:variable name="altova:nodeImages">
  6737.                 <altova:Images>
  6738.                     <xsl:for-each-group select="$altova:nodesReferencablePackageParts//altova:Image" group-by="altova:NormalizeUrlForImage(@altova:Src)">
  6739.                         <xsl:variable name="matchexpr" select="'(.+)\.([^\./\\]+)$'"/>
  6740.                         <xsl:variable name="ext" select="if (matches(current-grouping-key(), $matchexpr)) then replace(current-grouping-key(), $matchexpr, '$2') else (trace((), concat('No extension found in ', current-grouping-key(), '. Defaulting to bmp.')), 'bmp')"/>
  6741.                         <altova:Image altova:Src="{current-grouping-key()}" altova:Target="{if ( @altova:Target ) then @altova:Target else concat('media/image', string( position()), '.', $ext )}">
  6742.                             <xsl:copy-of select="@altova:bIsChart"/>
  6743.                             <xsl:copy-of select="@altova:ImageDataBase64"/>
  6744.                         </altova:Image>
  6745.                     </xsl:for-each-group>
  6746.                 </altova:Images>
  6747.             </xsl:variable>
  6748.             <xsl:variable name="altova:sPrefix" as="xs:string">
  6749.                 <xsl:choose>
  6750.                     <xsl:when test="string-length($altova:nodeDocument/@altova:Url) = 0">
  6751.                         <xsl:value-of select="''"/>
  6752.                     </xsl:when>
  6753.                     <xsl:when test="contains($altova:nodeDocument/@altova:Url, ':')">
  6754.                         <xsl:value-of select="concat($altova:nodeDocument/@altova:Url, $altova:sOutputDocumentMoveIntoZip)"/>
  6755.                     </xsl:when>
  6756.                     <xsl:otherwise>
  6757.                         <xsl:value-of select="concat($altova:sOutputDocumentMoveOutOfZip, $altova:nodeDocument/@altova:Url, $altova:sOutputDocumentMoveIntoZip)"/>
  6758.                     </xsl:otherwise>
  6759.                 </xsl:choose>
  6760.             </xsl:variable>
  6761.             <xsl:result-document href="{$altova:sPrefix}word\document.xml" format="zip-format">
  6762.                 <xsl:apply-templates select="$altova:nodeDocumentAfterSplit" mode="altova:Wordml">
  6763.                     <xsl:with-param name="nodeAltovaDocument" select="$altova:nodeDocument" as="node()" tunnel="yes"/>
  6764.                 </xsl:apply-templates>
  6765.             </xsl:result-document>
  6766.             <xsl:for-each select="$altova:nodesHeadersAndFooters">
  6767.                 <xsl:variable name="altova:nodeHeaderOrFooter" as="node()" select="."/>
  6768.                 <xsl:variable name="altova:sAddress" as="xs:string" select="$altova:nodeHeaderOrFooter/../../../@Address"/>
  6769.                 <xsl:variable name="altova:nodeUsage" as="node()" select="$altova:nodeHeaderOrFooter/.."/>
  6770.                 <xsl:variable name="altova:sHeaderOrFooter" as="xs:string" select="local-name($altova:nodeUsage/..)"/>
  6771.                 <xsl:variable name="altova:sUsage" as="xs:string" select="local-name($altova:nodeUsage)"/>
  6772.                 <xsl:result-document href="{$altova:sPrefix}word\Section_{$altova:sAddress}_{$altova:sHeaderOrFooter}{$altova:sUsage}.xml" format="zip-format">
  6773.                     <xsl:variable name="altova:nodeHeaderOrFooterAfterSplit">
  6774.                         <xsl:apply-templates select="$altova:nodeHeaderOrFooter" mode="altova:Split"/>
  6775.                     </xsl:variable>
  6776.                     <xsl:apply-templates select="$altova:nodeHeaderOrFooterAfterSplit" mode="altova:Wordml">
  6777.                         <xsl:with-param name="nodeAltovaDocument" as="node()" select="$altova:nodeDocument" tunnel="yes"/>
  6778.                     </xsl:apply-templates>
  6779.                 </xsl:result-document>
  6780.             </xsl:for-each>
  6781.             <xsl:result-document href="{$altova:sPrefix}word\styles.xml" format="zip-format" xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main">
  6782.                 <w:styles>
  6783.                     <w:docDefaults>
  6784.                         <w:rPrDefault>
  6785.                             <w:rPr>
  6786.                                 <w:rFonts w:ascii="{@altova:sDefaultFontFamily}" w:hAnsi="{@altova:sDefaultFontFamily}"/>
  6787.                                 <w:sz w:val="{@altova:nDefaultFontSize}"/>
  6788.                             </w:rPr>
  6789.                         </w:rPrDefault>
  6790.                     </w:docDefaults>
  6791.                     <w:style w:type="table" w:styleId="TableStyle1">
  6792.                         <w:tblPr>
  6793.                             <w:tblInd w:w="0" w:type="dxa"/>
  6794.                             <w:tblCellMar>
  6795.                                 <w:top w:w="15" w:type="dxa"/>
  6796.                                 <w:left w:w="15" w:type="dxa"/>
  6797.                                 <w:bottom w:w="15" w:type="dxa"/>
  6798.                                 <w:right w:w="15" w:type="dxa"/>
  6799.                             </w:tblCellMar>
  6800.                         </w:tblPr>
  6801.                     </w:style>
  6802.                     <w:style w:type="table" w:styleId="TableStyle2">
  6803.                         <w:tblPr>
  6804.                             <w:tblInd w:w="0" w:type="dxa"/>
  6805.                             <w:tblBorders>
  6806.                                 <w:top w:val="outset" w:color="000000" w:sz="6"/>
  6807.                                 <w:left w:val="outset" w:color="000000" w:sz="6"/>
  6808.                                 <w:bottom w:val="outset" w:color="000000" w:sz="6"/>
  6809.                                 <w:right w:val="outset" w:color="000000" w:sz="6"/>
  6810.                                 <w:insideH w:val="outset" w:sz="6" w:color="AAAAAA"/>
  6811.                                 <w:insideV w:val="outset" w:sz="6" w:color="AAAAAA"/>
  6812.                             </w:tblBorders>
  6813.                             <w:tblCellMar>
  6814.                                 <w:top w:w="0" w:type="dxa"/>
  6815.                                 <w:left w:w="0" w:type="dxa"/>
  6816.                                 <w:bottom w:w="0" w:type="dxa"/>
  6817.                                 <w:right w:w="0" w:type="dxa"/>
  6818.                             </w:tblCellMar>
  6819.                         </w:tblPr>
  6820.                     </w:style>
  6821.                     <w:style w:type="table" w:styleId="TableStyle3">
  6822.                         <w:tblPr>
  6823.                             <w:tblInd w:w="0" w:type="dxa"/>
  6824.                             <w:tblBorders>
  6825.                                 <w:top w:val="outset" w:color="AAAAAA" w:sz="6"/>
  6826.                                 <w:left w:val="outset" w:color="AAAAAA" w:sz="6"/>
  6827.                                 <w:bottom w:val="outset" w:color="AAAAAA" w:sz="6"/>
  6828.                                 <w:right w:val="outset" w:color="AAAAAA" w:sz="6"/>
  6829.                                 <w:insideH w:val="outset" w:sz="6" w:color="AAAAAA"/>
  6830.                                 <w:insideV w:val="outset" w:sz="6" w:color="AAAAAA"/>
  6831.                             </w:tblBorders>
  6832.                             <w:tblCellMar>
  6833.                                 <w:top w:w="0" w:type="dxa"/>
  6834.                                 <w:left w:w="0" w:type="dxa"/>
  6835.                                 <w:bottom w:w="0" w:type="dxa"/>
  6836.                                 <w:right w:w="0" w:type="dxa"/>
  6837.                             </w:tblCellMar>
  6838.                         </w:tblPr>
  6839.                     </w:style>
  6840.                     <w:style w:type="table" w:styleId="TableStyle4">
  6841.                         <w:tblPr>
  6842.                             <w:tblInd w:w="0" w:type="dxa"/>
  6843.                             <w:tblBorders>
  6844.                                 <w:top w:val="outset" w:color="000000" w:sz="6"/>
  6845.                                 <w:left w:val="outset" w:color="000000" w:sz="6"/>
  6846.                                 <w:bottom w:val="outset" w:color="000000" w:sz="6"/>
  6847.                                 <w:right w:val="outset" w:color="000000" w:sz="6"/>
  6848.                                 <w:insideH w:val="outset" w:sz="6" w:color="AAAAAA"/>
  6849.                                 <w:insideV w:val="outset" w:sz="6" w:color="AAAAAA"/>
  6850.                             </w:tblBorders>
  6851.                             <w:tblCellMar>
  6852.                                 <w:top w:w="0" w:type="dxa"/>
  6853.                                 <w:left w:w="0" w:type="dxa"/>
  6854.                                 <w:bottom w:w="0" w:type="dxa"/>
  6855.                                 <w:right w:w="0" w:type="dxa"/>
  6856.                             </w:tblCellMar>
  6857.                         </w:tblPr>
  6858.                     </w:style>
  6859.                     <w:style w:type="table" w:styleId="TableStyle5">
  6860.                         <w:tblPr>
  6861.                             <w:tblInd w:w="0" w:type="dxa"/>
  6862.                             <w:tblBorders>
  6863.                                 <w:top w:val="outset" w:color="AAAAAA" w:sz="6"/>
  6864.                                 <w:left w:val="outset" w:color="AAAAAA" w:sz="6"/>
  6865.                                 <w:bottom w:val="outset" w:color="AAAAAA" w:sz="6"/>
  6866.                                 <w:right w:val="outset" w:color="AAAAAA" w:sz="6"/>
  6867.                                 <w:insideH w:val="outset" w:sz="6" w:color="AAAAAA"/>
  6868.                                 <w:insideV w:val="outset" w:sz="6" w:color="AAAAAA"/>
  6869.                             </w:tblBorders>
  6870.                             <w:tblCellMar>
  6871.                                 <w:top w:w="0" w:type="dxa"/>
  6872.                                 <w:left w:w="0" w:type="dxa"/>
  6873.                                 <w:bottom w:w="0" w:type="dxa"/>
  6874.                                 <w:right w:w="0" w:type="dxa"/>
  6875.                             </w:tblCellMar>
  6876.                         </w:tblPr>
  6877.                     </w:style>
  6878.                     <w:style w:type="table" w:styleId="TableStyle6">
  6879.                         <w:tblPr>
  6880.                             <w:tblInd w:w="0" w:type="dxa"/>
  6881.                             <w:tblBorders>
  6882.                                 <w:top w:val="outset" w:color="000000" w:sz="6"/>
  6883.                                 <w:left w:val="outset" w:color="000000" w:sz="6"/>
  6884.                                 <w:bottom w:val="outset" w:color="000000" w:sz="6"/>
  6885.                                 <w:right w:val="outset" w:color="000000" w:sz="6"/>
  6886.                                 <w:insideH w:val="outset" w:sz="6" w:color="AAAAAA"/>
  6887.                                 <w:insideV w:val="outset" w:sz="6" w:color="AAAAAA"/>
  6888.                             </w:tblBorders>
  6889.                             <w:tblCellMar>
  6890.                                 <w:top w:w="15" w:type="dxa"/>
  6891.                                 <w:left w:w="15" w:type="dxa"/>
  6892.                                 <w:bottom w:w="15" w:type="dxa"/>
  6893.                                 <w:right w:w="15" w:type="dxa"/>
  6894.                             </w:tblCellMar>
  6895.                         </w:tblPr>
  6896.                     </w:style>
  6897.                     <w:style w:type="table" w:styleId="TableStyle7">
  6898.                         <w:tblPr>
  6899.                             <w:tblInd w:w="0" w:type="dxa"/>
  6900.                             <w:tblBorders>
  6901.                                 <w:top w:val="outset" w:color="000000" w:sz="6"/>
  6902.                                 <w:left w:val="outset" w:color="000000" w:sz="6"/>
  6903.                                 <w:bottom w:val="outset" w:color="000000" w:sz="6"/>
  6904.                                 <w:right w:val="outset" w:color="000000" w:sz="6"/>
  6905.                                 <w:insideH w:val="outset" w:sz="6" w:color="AAAAAA"/>
  6906.                                 <w:insideV w:val="outset" w:sz="6" w:color="AAAAAA"/>
  6907.                             </w:tblBorders>
  6908.                             <w:tblCellMar>
  6909.                                 <w:top w:w="0" w:type="dxa"/>
  6910.                                 <w:left w:w="0" w:type="dxa"/>
  6911.                                 <w:bottom w:w="0" w:type="dxa"/>
  6912.                                 <w:right w:w="0" w:type="dxa"/>
  6913.                             </w:tblCellMar>
  6914.                         </w:tblPr>
  6915.                     </w:style>
  6916.                     <w:style w:type="table" w:styleId="TableStyle8">
  6917.                         <w:tblPr>
  6918.                             <w:tblInd w:w="0" w:type="dxa"/>
  6919.                             <w:tblBorders>
  6920.                                 <w:top w:val="outset" w:color="AAAAAA" w:sz="6"/>
  6921.                                 <w:left w:val="outset" w:color="AAAAAA" w:sz="6"/>
  6922.                                 <w:bottom w:val="outset" w:color="AAAAAA" w:sz="6"/>
  6923.                                 <w:right w:val="outset" w:color="AAAAAA" w:sz="6"/>
  6924.                                 <w:insideH w:val="outset" w:sz="6" w:color="AAAAAA"/>
  6925.                                 <w:insideV w:val="outset" w:sz="6" w:color="AAAAAA"/>
  6926.                             </w:tblBorders>
  6927.                             <w:tblCellMar>
  6928.                                 <w:top w:w="0" w:type="dxa"/>
  6929.                                 <w:left w:w="0" w:type="dxa"/>
  6930.                                 <w:bottom w:w="0" w:type="dxa"/>
  6931.                                 <w:right w:w="0" w:type="dxa"/>
  6932.                             </w:tblCellMar>
  6933.                         </w:tblPr>
  6934.                     </w:style>
  6935.                     <w:style w:type="table" w:styleId="TableStyle9">
  6936.                         <w:tblPr>
  6937.                             <w:tblInd w:w="0" w:type="dxa"/>
  6938.                             <w:tblBorders>
  6939.                                 <w:top w:val="outset" w:color="000000" w:sz="6"/>
  6940.                                 <w:left w:val="outset" w:color="000000" w:sz="6"/>
  6941.                                 <w:bottom w:val="outset" w:color="000000" w:sz="6"/>
  6942.                                 <w:right w:val="outset" w:color="000000" w:sz="6"/>
  6943.                                 <w:insideH w:val="outset" w:sz="6" w:color="AAAAAA"/>
  6944.                                 <w:insideV w:val="outset" w:sz="6" w:color="AAAAAA"/>
  6945.                             </w:tblBorders>
  6946.                             <w:tblCellMar>
  6947.                                 <w:top w:w="0" w:type="dxa"/>
  6948.                                 <w:left w:w="0" w:type="dxa"/>
  6949.                                 <w:bottom w:w="0" w:type="dxa"/>
  6950.                                 <w:right w:w="0" w:type="dxa"/>
  6951.                             </w:tblCellMar>
  6952.                         </w:tblPr>
  6953.                     </w:style>
  6954.                     <w:style w:type="table" w:styleId="TableStyle10">
  6955.                         <w:tblPr>
  6956.                             <w:tblInd w:w="0" w:type="dxa"/>
  6957.                             <w:tblBorders>
  6958.                                 <w:top w:val="outset" w:color="000000" w:sz="6"/>
  6959.                                 <w:left w:val="outset" w:color="000000" w:sz="6"/>
  6960.                                 <w:bottom w:val="outset" w:color="000000" w:sz="6"/>
  6961.                                 <w:right w:val="outset" w:color="000000" w:sz="6"/>
  6962.                                 <w:insideH w:val="outset" w:sz="6" w:color="AAAAAA"/>
  6963.                                 <w:insideV w:val="outset" w:sz="6" w:color="AAAAAA"/>
  6964.                             </w:tblBorders>
  6965.                             <w:tblCellMar>
  6966.                                 <w:top w:w="0" w:type="dxa"/>
  6967.                                 <w:left w:w="0" w:type="dxa"/>
  6968.                                 <w:bottom w:w="0" w:type="dxa"/>
  6969.                                 <w:right w:w="0" w:type="dxa"/>
  6970.                             </w:tblCellMar>
  6971.                         </w:tblPr>
  6972.                     </w:style>
  6973.                     <w:style w:type="table" w:styleId="TableStyle11">
  6974.                         <w:tblPr>
  6975.                             <w:tblInd w:w="0" w:type="dxa"/>
  6976.                             <w:tblBorders>
  6977.                                 <w:top w:val="outset" w:color="AAAAAA" w:sz="6"/>
  6978.                                 <w:left w:val="outset" w:color="AAAAAA" w:sz="6"/>
  6979.                                 <w:bottom w:val="outset" w:color="AAAAAA" w:sz="6"/>
  6980.                                 <w:right w:val="outset" w:color="AAAAAA" w:sz="6"/>
  6981.                                 <w:insideH w:val="outset" w:sz="6" w:color="AAAAAA"/>
  6982.                                 <w:insideV w:val="outset" w:sz="6" w:color="AAAAAA"/>
  6983.                             </w:tblBorders>
  6984.                             <w:tblCellMar>
  6985.                                 <w:top w:w="0" w:type="dxa"/>
  6986.                                 <w:left w:w="0" w:type="dxa"/>
  6987.                                 <w:bottom w:w="0" w:type="dxa"/>
  6988.                                 <w:right w:w="0" w:type="dxa"/>
  6989.                             </w:tblCellMar>
  6990.                         </w:tblPr>
  6991.                     </w:style>
  6992.                     <w:style w:type="table" w:styleId="TableStyle12">
  6993.                         <w:tblPr>
  6994.                             <w:tblInd w:w="0" w:type="dxa"/>
  6995.                             <w:tblBorders>
  6996.                                 <w:top w:val="outset" w:color="000000" w:sz="6"/>
  6997.                                 <w:left w:val="outset" w:color="000000" w:sz="6"/>
  6998.                                 <w:bottom w:val="outset" w:color="000000" w:sz="6"/>
  6999.                                 <w:right w:val="outset" w:color="000000" w:sz="6"/>
  7000.                                 <w:insideH w:val="outset" w:sz="6" w:color="AAAAAA"/>
  7001.                                 <w:insideV w:val="outset" w:sz="6" w:color="AAAAAA"/>
  7002.                             </w:tblBorders>
  7003.                             <w:tblCellMar>
  7004.                                 <w:top w:w="15" w:type="dxa"/>
  7005.                                 <w:left w:w="15" w:type="dxa"/>
  7006.                                 <w:bottom w:w="15" w:type="dxa"/>
  7007.                                 <w:right w:w="15" w:type="dxa"/>
  7008.                             </w:tblCellMar>
  7009.                         </w:tblPr>
  7010.                     </w:style>
  7011.                     <w:style w:type="table" w:styleId="TableStyle13">
  7012.                         <w:tblPr>
  7013.                             <w:tblInd w:w="0" w:type="dxa"/>
  7014.                             <w:tblBorders>
  7015.                                 <w:top w:val="outset" w:color="AAAAAA" w:sz="6"/>
  7016.                                 <w:left w:val="outset" w:color="AAAAAA" w:sz="6"/>
  7017.                                 <w:bottom w:val="outset" w:color="AAAAAA" w:sz="6"/>
  7018.                                 <w:right w:val="outset" w:color="AAAAAA" w:sz="6"/>
  7019.                                 <w:insideH w:val="outset" w:sz="6" w:color="AAAAAA"/>
  7020.                                 <w:insideV w:val="outset" w:sz="6" w:color="AAAAAA"/>
  7021.                             </w:tblBorders>
  7022.                             <w:tblCellMar>
  7023.                                 <w:top w:w="15" w:type="dxa"/>
  7024.                                 <w:left w:w="15" w:type="dxa"/>
  7025.                                 <w:bottom w:w="15" w:type="dxa"/>
  7026.                                 <w:right w:w="15" w:type="dxa"/>
  7027.                             </w:tblCellMar>
  7028.                         </w:tblPr>
  7029.                     </w:style>
  7030.                     <w:style w:type="table" w:styleId="TableStyle14">
  7031.                         <w:tblPr>
  7032.                             <w:tblCellSpacing w:w="7" w:type="dxa"/>
  7033.                             <w:tblInd w:w="0" w:type="dxa"/>
  7034.                             <w:tblBorders>
  7035.                                 <w:top w:val="none" w:color="AAAAAA" w:sz="0"/>
  7036.                                 <w:left w:val="none" w:color="AAAAAA" w:sz="0"/>
  7037.                                 <w:bottom w:val="none" w:color="AAAAAA" w:sz="0"/>
  7038.                                 <w:right w:val="none" w:color="AAAAAA" w:sz="0"/>
  7039.                             </w:tblBorders>
  7040.                             <w:tblCellMar>
  7041.                                 <w:top w:w="15" w:type="dxa"/>
  7042.                                 <w:left w:w="15" w:type="dxa"/>
  7043.                                 <w:bottom w:w="15" w:type="dxa"/>
  7044.                                 <w:right w:w="15" w:type="dxa"/>
  7045.                             </w:tblCellMar>
  7046.                         </w:tblPr>
  7047.                     </w:style>
  7048.                     <w:style w:type="table" w:styleId="TableStyle15">
  7049.                         <w:tblPr>
  7050.                             <w:tblCellSpacing w:w="7" w:type="dxa"/>
  7051.                             <w:tblInd w:w="0" w:type="dxa"/>
  7052.                             <w:tblBorders>
  7053.                                 <w:top w:val="none" w:color="AAAAAA" w:sz="0"/>
  7054.                                 <w:left w:val="none" w:color="AAAAAA" w:sz="0"/>
  7055.                                 <w:bottom w:val="none" w:color="AAAAAA" w:sz="0"/>
  7056.                                 <w:right w:val="none" w:color="AAAAAA" w:sz="0"/>
  7057.                             </w:tblBorders>
  7058.                             <w:tblCellMar>
  7059.                                 <w:top w:w="15" w:type="dxa"/>
  7060.                                 <w:left w:w="15" w:type="dxa"/>
  7061.                                 <w:bottom w:w="15" w:type="dxa"/>
  7062.                                 <w:right w:w="15" w:type="dxa"/>
  7063.                             </w:tblCellMar>
  7064.                         </w:tblPr>
  7065.                     </w:style>
  7066.                     <w:style w:type="table" w:styleId="TableStyle16">
  7067.                         <w:tblPr>
  7068.                             <w:tblInd w:w="0" w:type="dxa"/>
  7069.                             <w:tblBorders>
  7070.                                 <w:top w:val="outset" w:color="000000" w:sz="6"/>
  7071.                                 <w:left w:val="outset" w:color="000000" w:sz="6"/>
  7072.                                 <w:bottom w:val="outset" w:color="000000" w:sz="6"/>
  7073.                                 <w:right w:val="outset" w:color="000000" w:sz="6"/>
  7074.                                 <w:insideH w:val="outset" w:sz="6" w:color="AAAAAA"/>
  7075.                                 <w:insideV w:val="outset" w:sz="6" w:color="AAAAAA"/>
  7076.                             </w:tblBorders>
  7077.                             <w:tblCellMar>
  7078.                                 <w:top w:w="0" w:type="dxa"/>
  7079.                                 <w:left w:w="0" w:type="dxa"/>
  7080.                                 <w:bottom w:w="0" w:type="dxa"/>
  7081.                                 <w:right w:w="0" w:type="dxa"/>
  7082.                             </w:tblCellMar>
  7083.                         </w:tblPr>
  7084.                     </w:style>
  7085.                     <w:style w:type="table" w:styleId="TableStyle17">
  7086.                         <w:tblPr>
  7087.                             <w:tblInd w:w="0" w:type="dxa"/>
  7088.                             <w:tblBorders>
  7089.                                 <w:top w:val="outset" w:color="AAAAAA" w:sz="6"/>
  7090.                                 <w:left w:val="outset" w:color="AAAAAA" w:sz="6"/>
  7091.                                 <w:bottom w:val="outset" w:color="AAAAAA" w:sz="6"/>
  7092.                                 <w:right w:val="outset" w:color="AAAAAA" w:sz="6"/>
  7093.                                 <w:insideH w:val="outset" w:sz="6" w:color="AAAAAA"/>
  7094.                                 <w:insideV w:val="outset" w:sz="6" w:color="AAAAAA"/>
  7095.                             </w:tblBorders>
  7096.                             <w:tblCellMar>
  7097.                                 <w:top w:w="0" w:type="dxa"/>
  7098.                                 <w:left w:w="0" w:type="dxa"/>
  7099.                                 <w:bottom w:w="0" w:type="dxa"/>
  7100.                                 <w:right w:w="0" w:type="dxa"/>
  7101.                             </w:tblCellMar>
  7102.                         </w:tblPr>
  7103.                     </w:style>
  7104.                     <w:style w:type="table" w:styleId="TableStyle18">
  7105.                         <w:tblPr>
  7106.                             <w:tblInd w:w="0" w:type="dxa"/>
  7107.                             <w:tblBorders>
  7108.                                 <w:top w:val="outset" w:color="000000" w:sz="6"/>
  7109.                                 <w:left w:val="outset" w:color="000000" w:sz="6"/>
  7110.                                 <w:bottom w:val="outset" w:color="000000" w:sz="6"/>
  7111.                                 <w:right w:val="outset" w:color="000000" w:sz="6"/>
  7112.                                 <w:insideH w:val="outset" w:sz="6" w:color="AAAAAA"/>
  7113.                                 <w:insideV w:val="outset" w:sz="6" w:color="AAAAAA"/>
  7114.                             </w:tblBorders>
  7115.                             <w:tblCellMar>
  7116.                                 <w:top w:w="0" w:type="dxa"/>
  7117.                                 <w:left w:w="0" w:type="dxa"/>
  7118.                                 <w:bottom w:w="0" w:type="dxa"/>
  7119.                                 <w:right w:w="0" w:type="dxa"/>
  7120.                             </w:tblCellMar>
  7121.                         </w:tblPr>
  7122.                     </w:style>
  7123.                     <w:style w:type="table" w:styleId="TableStyle19">
  7124.                         <w:tblPr>
  7125.                             <w:tblInd w:w="0" w:type="dxa"/>
  7126.                             <w:tblBorders>
  7127.                                 <w:top w:val="outset" w:color="AAAAAA" w:sz="6"/>
  7128.                                 <w:left w:val="outset" w:color="AAAAAA" w:sz="6"/>
  7129.                                 <w:bottom w:val="outset" w:color="AAAAAA" w:sz="6"/>
  7130.                                 <w:right w:val="outset" w:color="AAAAAA" w:sz="6"/>
  7131.                                 <w:insideH w:val="outset" w:sz="6" w:color="AAAAAA"/>
  7132.                                 <w:insideV w:val="outset" w:sz="6" w:color="AAAAAA"/>
  7133.                             </w:tblBorders>
  7134.                             <w:tblCellMar>
  7135.                                 <w:top w:w="0" w:type="dxa"/>
  7136.                                 <w:left w:w="0" w:type="dxa"/>
  7137.                                 <w:bottom w:w="0" w:type="dxa"/>
  7138.                                 <w:right w:w="0" w:type="dxa"/>
  7139.                             </w:tblCellMar>
  7140.                         </w:tblPr>
  7141.                     </w:style>
  7142.                     <w:style w:type="table" w:styleId="TableStyle20">
  7143.                         <w:tblPr>
  7144.                             <w:tblInd w:w="0" w:type="dxa"/>
  7145.                             <w:tblBorders>
  7146.                                 <w:top w:val="outset" w:color="AAAAAA" w:sz="6"/>
  7147.                                 <w:left w:val="outset" w:color="AAAAAA" w:sz="6"/>
  7148.                                 <w:bottom w:val="outset" w:color="AAAAAA" w:sz="6"/>
  7149.                                 <w:right w:val="outset" w:color="AAAAAA" w:sz="6"/>
  7150.                                 <w:insideH w:val="outset" w:sz="6" w:color="AAAAAA"/>
  7151.                                 <w:insideV w:val="outset" w:sz="6" w:color="AAAAAA"/>
  7152.                             </w:tblBorders>
  7153.                             <w:tblCellMar>
  7154.                                 <w:top w:w="0" w:type="dxa"/>
  7155.                                 <w:left w:w="0" w:type="dxa"/>
  7156.                                 <w:bottom w:w="0" w:type="dxa"/>
  7157.                                 <w:right w:w="0" w:type="dxa"/>
  7158.                             </w:tblCellMar>
  7159.                         </w:tblPr>
  7160.                     </w:style>
  7161.                     <w:style w:type="table" w:styleId="TableStyle21">
  7162.                         <w:tblPr>
  7163.                             <w:tblInd w:w="0" w:type="dxa"/>
  7164.                             <w:tblBorders>
  7165.                                 <w:top w:val="outset" w:color="000000" w:sz="6"/>
  7166.                                 <w:left w:val="outset" w:color="000000" w:sz="6"/>
  7167.                                 <w:bottom w:val="outset" w:color="000000" w:sz="6"/>
  7168.                                 <w:right w:val="outset" w:color="000000" w:sz="6"/>
  7169.                                 <w:insideH w:val="outset" w:sz="6" w:color="AAAAAA"/>
  7170.                                 <w:insideV w:val="outset" w:sz="6" w:color="AAAAAA"/>
  7171.                             </w:tblBorders>
  7172.                             <w:tblCellMar>
  7173.                                 <w:top w:w="0" w:type="dxa"/>
  7174.                                 <w:left w:w="0" w:type="dxa"/>
  7175.                                 <w:bottom w:w="0" w:type="dxa"/>
  7176.                                 <w:right w:w="0" w:type="dxa"/>
  7177.                             </w:tblCellMar>
  7178.                         </w:tblPr>
  7179.                     </w:style>
  7180.                     <w:style w:type="table" w:styleId="TableStyle22">
  7181.                         <w:tblPr>
  7182.                             <w:tblInd w:w="0" w:type="dxa"/>
  7183.                             <w:tblBorders>
  7184.                                 <w:top w:val="outset" w:color="AAAAAA" w:sz="6"/>
  7185.                                 <w:left w:val="outset" w:color="AAAAAA" w:sz="6"/>
  7186.                                 <w:bottom w:val="outset" w:color="AAAAAA" w:sz="6"/>
  7187.                                 <w:right w:val="outset" w:color="AAAAAA" w:sz="6"/>
  7188.                                 <w:insideH w:val="outset" w:sz="6" w:color="AAAAAA"/>
  7189.                                 <w:insideV w:val="outset" w:sz="6" w:color="AAAAAA"/>
  7190.                             </w:tblBorders>
  7191.                             <w:tblCellMar>
  7192.                                 <w:top w:w="0" w:type="dxa"/>
  7193.                                 <w:left w:w="0" w:type="dxa"/>
  7194.                                 <w:bottom w:w="0" w:type="dxa"/>
  7195.                                 <w:right w:w="0" w:type="dxa"/>
  7196.                             </w:tblCellMar>
  7197.                         </w:tblPr>
  7198.                     </w:style>
  7199.                     <w:style w:type="table" w:styleId="TableStyle23">
  7200.                         <w:tblPr>
  7201.                             <w:tblInd w:w="0" w:type="dxa"/>
  7202.                             <w:tblBorders>
  7203.                                 <w:top w:val="outset" w:color="000000" w:sz="6"/>
  7204.                                 <w:left w:val="outset" w:color="000000" w:sz="6"/>
  7205.                                 <w:bottom w:val="outset" w:color="000000" w:sz="6"/>
  7206.                                 <w:right w:val="outset" w:color="000000" w:sz="6"/>
  7207.                                 <w:insideH w:val="outset" w:sz="6" w:color="AAAAAA"/>
  7208.                                 <w:insideV w:val="outset" w:sz="6" w:color="AAAAAA"/>
  7209.                             </w:tblBorders>
  7210.                             <w:tblCellMar>
  7211.                                 <w:top w:w="0" w:type="dxa"/>
  7212.                                 <w:left w:w="0" w:type="dxa"/>
  7213.                                 <w:bottom w:w="0" w:type="dxa"/>
  7214.                                 <w:right w:w="0" w:type="dxa"/>
  7215.                             </w:tblCellMar>
  7216.                         </w:tblPr>
  7217.                     </w:style>
  7218.                     <w:style w:type="table" w:styleId="TableStyle24">
  7219.                         <w:tblPr>
  7220.                             <w:tblInd w:w="0" w:type="dxa"/>
  7221.                             <w:tblBorders>
  7222.                                 <w:top w:val="outset" w:color="000000" w:sz="6"/>
  7223.                                 <w:left w:val="outset" w:color="000000" w:sz="6"/>
  7224.                                 <w:bottom w:val="outset" w:color="000000" w:sz="6"/>
  7225.                                 <w:right w:val="outset" w:color="000000" w:sz="6"/>
  7226.                                 <w:insideH w:val="outset" w:sz="6" w:color="AAAAAA"/>
  7227.                                 <w:insideV w:val="outset" w:sz="6" w:color="AAAAAA"/>
  7228.                             </w:tblBorders>
  7229.                             <w:tblCellMar>
  7230.                                 <w:top w:w="0" w:type="dxa"/>
  7231.                                 <w:left w:w="0" w:type="dxa"/>
  7232.                                 <w:bottom w:w="0" w:type="dxa"/>
  7233.                                 <w:right w:w="0" w:type="dxa"/>
  7234.                             </w:tblCellMar>
  7235.                         </w:tblPr>
  7236.                     </w:style>
  7237.                     <w:style w:type="table" w:styleId="TableStyle25">
  7238.                         <w:tblPr>
  7239.                             <w:tblInd w:w="0" w:type="dxa"/>
  7240.                             <w:tblBorders>
  7241.                                 <w:top w:val="outset" w:color="AAAAAA" w:sz="6"/>
  7242.                                 <w:left w:val="outset" w:color="AAAAAA" w:sz="6"/>
  7243.                                 <w:bottom w:val="outset" w:color="AAAAAA" w:sz="6"/>
  7244.                                 <w:right w:val="outset" w:color="AAAAAA" w:sz="6"/>
  7245.                                 <w:insideH w:val="outset" w:sz="6" w:color="AAAAAA"/>
  7246.                                 <w:insideV w:val="outset" w:sz="6" w:color="AAAAAA"/>
  7247.                             </w:tblBorders>
  7248.                             <w:tblCellMar>
  7249.                                 <w:top w:w="0" w:type="dxa"/>
  7250.                                 <w:left w:w="0" w:type="dxa"/>
  7251.                                 <w:bottom w:w="0" w:type="dxa"/>
  7252.                                 <w:right w:w="0" w:type="dxa"/>
  7253.                             </w:tblCellMar>
  7254.                         </w:tblPr>
  7255.                     </w:style>
  7256.                     <w:style w:type="table" w:styleId="TableStyle26">
  7257.                         <w:tblPr>
  7258.                             <w:tblInd w:w="0" w:type="dxa"/>
  7259.                             <w:tblBorders>
  7260.                                 <w:top w:val="outset" w:color="000000" w:sz="6"/>
  7261.                                 <w:left w:val="outset" w:color="000000" w:sz="6"/>
  7262.                                 <w:bottom w:val="outset" w:color="000000" w:sz="6"/>
  7263.                                 <w:right w:val="outset" w:color="000000" w:sz="6"/>
  7264.                                 <w:insideH w:val="outset" w:sz="6" w:color="AAAAAA"/>
  7265.                                 <w:insideV w:val="outset" w:sz="6" w:color="AAAAAA"/>
  7266.                             </w:tblBorders>
  7267.                             <w:tblCellMar>
  7268.                                 <w:top w:w="0" w:type="dxa"/>
  7269.                                 <w:left w:w="0" w:type="dxa"/>
  7270.                                 <w:bottom w:w="0" w:type="dxa"/>
  7271.                                 <w:right w:w="0" w:type="dxa"/>
  7272.                             </w:tblCellMar>
  7273.                         </w:tblPr>
  7274.                     </w:style>
  7275.                     <w:style w:type="table" w:styleId="TableStyle27">
  7276.                         <w:tblPr>
  7277.                             <w:tblInd w:w="0" w:type="dxa"/>
  7278.                             <w:tblBorders>
  7279.                                 <w:top w:val="outset" w:color="AAAAAA" w:sz="6"/>
  7280.                                 <w:left w:val="outset" w:color="AAAAAA" w:sz="6"/>
  7281.                                 <w:bottom w:val="outset" w:color="AAAAAA" w:sz="6"/>
  7282.                                 <w:right w:val="outset" w:color="AAAAAA" w:sz="6"/>
  7283.                                 <w:insideH w:val="outset" w:sz="6" w:color="AAAAAA"/>
  7284.                                 <w:insideV w:val="outset" w:sz="6" w:color="AAAAAA"/>
  7285.                             </w:tblBorders>
  7286.                             <w:tblCellMar>
  7287.                                 <w:top w:w="0" w:type="dxa"/>
  7288.                                 <w:left w:w="0" w:type="dxa"/>
  7289.                                 <w:bottom w:w="0" w:type="dxa"/>
  7290.                                 <w:right w:w="0" w:type="dxa"/>
  7291.                             </w:tblCellMar>
  7292.                         </w:tblPr>
  7293.                     </w:style>
  7294.                     <w:style w:type="table" w:styleId="TableStyle28">
  7295.                         <w:tblPr>
  7296.                             <w:tblInd w:w="0" w:type="dxa"/>
  7297.                             <w:tblBorders>
  7298.                                 <w:top w:val="outset" w:color="AAAAAA" w:sz="6"/>
  7299.                                 <w:left w:val="outset" w:color="AAAAAA" w:sz="6"/>
  7300.                                 <w:bottom w:val="outset" w:color="AAAAAA" w:sz="6"/>
  7301.                                 <w:right w:val="outset" w:color="AAAAAA" w:sz="6"/>
  7302.                                 <w:insideH w:val="outset" w:sz="6" w:color="AAAAAA"/>
  7303.                                 <w:insideV w:val="outset" w:sz="6" w:color="AAAAAA"/>
  7304.                             </w:tblBorders>
  7305.                             <w:tblCellMar>
  7306.                                 <w:top w:w="0" w:type="dxa"/>
  7307.                                 <w:left w:w="0" w:type="dxa"/>
  7308.                                 <w:bottom w:w="0" w:type="dxa"/>
  7309.                                 <w:right w:w="0" w:type="dxa"/>
  7310.                             </w:tblCellMar>
  7311.                         </w:tblPr>
  7312.                     </w:style>
  7313.                     <w:style w:type="table" w:styleId="TableStyle29">
  7314.                         <w:tblPr>
  7315.                             <w:tblInd w:w="0" w:type="dxa"/>
  7316.                             <w:tblBorders>
  7317.                                 <w:top w:val="outset" w:color="AAAAAA" w:sz="6"/>
  7318.                                 <w:left w:val="outset" w:color="AAAAAA" w:sz="6"/>
  7319.                                 <w:bottom w:val="outset" w:color="AAAAAA" w:sz="6"/>
  7320.                                 <w:right w:val="outset" w:color="AAAAAA" w:sz="6"/>
  7321.                                 <w:insideH w:val="outset" w:sz="6" w:color="AAAAAA"/>
  7322.                                 <w:insideV w:val="outset" w:sz="6" w:color="AAAAAA"/>
  7323.                             </w:tblBorders>
  7324.                             <w:tblCellMar>
  7325.                                 <w:top w:w="0" w:type="dxa"/>
  7326.                                 <w:left w:w="0" w:type="dxa"/>
  7327.                                 <w:bottom w:w="0" w:type="dxa"/>
  7328.                                 <w:right w:w="0" w:type="dxa"/>
  7329.                             </w:tblCellMar>
  7330.                         </w:tblPr>
  7331.                     </w:style>
  7332.                     <xsl:sequence select="altova:GenerateStylesForXMLTables($altova:nodesReferencablePackageParts)"/>
  7333.                     <xsl:sequence select="altova:GenerateStylesForCharacters($altova:nodesReferencablePackageParts)"/>
  7334.                     <xsl:sequence select="altova:GenerateStylesForParagraphs($altova:nodesReferencablePackageParts, @altova:sDefaultFontFamily, @altova:nDefaultFontSize)"/>
  7335.                 </w:styles>
  7336.             </xsl:result-document>
  7337.             <xsl:result-document href="{$altova:sPrefix}[Content_Types].xml" format="zip-format">
  7338.                 <Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types">
  7339.                     <Default Extension="bmp" ContentType="image/bmp"/>
  7340.                     <Default Extension="emf" ContentType="image/x-emf"/>
  7341.                     <Default Extension="gif" ContentType="image/gif"/>
  7342.                     <Default Extension="jpeg" ContentType="image/jpeg"/>
  7343.                     <Default Extension="jpg" ContentType="image/jpg"/>
  7344.                     <Default Extension="pcx" ContentType="image/pcx"/>
  7345.                     <Default Extension="png" ContentType="image/png"/>
  7346.                     <Default Extension="rels" ContentType="application/vnd.openxmlformats-package.relationships+xml"/>
  7347.                     <Default Extension="tif" ContentType="image/tif"/>
  7348.                     <Default Extension="tiff" ContentType="image/tiff"/>
  7349.                     <Default Extension="xml" ContentType="application/xml"/>
  7350.                     <Override PartName="/word/document.xml" ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml"/>
  7351.                     <Override PartName="/word/settings.xml" ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml"/>
  7352.                     <Override PartName="/word/styles.xml" ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml"/>
  7353.                     <xsl:for-each select="$altova:nodesHeadersAndFooters">
  7354.                         <xsl:variable name="altova:nodeHeaderOrFooter" as="node()" select="."/>
  7355.                         <xsl:variable name="altova:sAddress" as="xs:string" select="$altova:nodeHeaderOrFooter/../../../@Address"/>
  7356.                         <xsl:variable name="altova:nodeUsage" as="node()" select="$altova:nodeHeaderOrFooter/.."/>
  7357.                         <xsl:variable name="altova:sHeaderOrFooter" as="xs:string" select="local-name($altova:nodeUsage/..)"/>
  7358.                         <xsl:variable name="altova:sUsage" as="xs:string" select="local-name($altova:nodeUsage)"/>
  7359.                         <Override PartName="/word/Section_{$altova:sAddress}_{$altova:sHeaderOrFooter}{$altova:sUsage}.xml" ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.{lower-case($altova:sHeaderOrFooter)}+xml"/>
  7360.                     </xsl:for-each>
  7361.                     <Override PartName="/docProps/core.xml" ContentType="application/vnd.openxmlformats-package.core-properties+xml"/>
  7362.                 </Types>
  7363.             </xsl:result-document>
  7364.             <xsl:result-document href="{$altova:sPrefix}_rels\.rels" format="zip-format">
  7365.                 <Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">
  7366.                     <Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" Target="word/document.xml"/>
  7367.                     <Relationship Id="rId2" Type="http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties" Target="docProps/core.xml"/>
  7368.                 </Relationships>
  7369.             </xsl:result-document>
  7370.             <xsl:result-document href="{$altova:sPrefix}word\_rels\document.xml.rels" format="zip-format">
  7371.                 <Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">
  7372.                     <Relationship Id="rId3" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/settings" Target="settings.xml"/>
  7373.                     <Relationship Id="rId4" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles" Target="styles.xml"/>
  7374.                     <xsl:for-each select="$altova:nodeDocument//altova:Image">
  7375.                         <Relationship Id="{concat('rId', altova:CalcRefIdForImage(.))}" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/image" Target="{altova:ResolveUrlForImage($altova:nodeImages, @altova:Src, $altova:bEmbedImages or exists(@altova:ImageDataBase64))}">
  7376.                             <xsl:if test="$altova:bEmbedImages = false() and empty(@altova:ImageDataBase64)">
  7377.                                 <xsl:attribute name="TargetMode" select="'External'"/>
  7378.                             </xsl:if>
  7379.                         </Relationship>
  7380.                     </xsl:for-each>
  7381.                     <xsl:for-each select="$altova:nodeDocument//altova:Link">
  7382.                         <xsl:variable name="altova:sTargetUrl" as="xs:string" select="altova:ResolveUrlForLink(., $altova:nodeDocument)"/>
  7383.                         <xsl:if test="$altova:sTargetUrl">
  7384.                             <Relationship Id="{altova:CalcRefIdForExternalLink(.)}" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink" Target="{$altova:sTargetUrl}" TargetMode="External"/>
  7385.                         </xsl:if>
  7386.                     </xsl:for-each>
  7387.                     <xsl:for-each select="$altova:nodesHeadersAndFooters">
  7388.                         <xsl:variable name="altova:nodeHeaderOrFooter" as="node()" select="."/>
  7389.                         <xsl:variable name="altova:sAddress" as="xs:string" select="$altova:nodeHeaderOrFooter/../../../@Address"/>
  7390.                         <xsl:variable name="altova:nodeUsage" as="node()" select="$altova:nodeHeaderOrFooter/.."/>
  7391.                         <xsl:variable name="altova:sHeaderOrFooter" as="xs:string" select="local-name($altova:nodeUsage/..)"/>
  7392.                         <xsl:variable name="altova:sUsage" as="xs:string" select="local-name($altova:nodeUsage)"/>
  7393.                         <Relationship Id="{$altova:nodeUsage/@altova:Id}" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/{lower-case($altova:sHeaderOrFooter)}" Target="Section_{$altova:sAddress}_{$altova:sHeaderOrFooter}{$altova:sUsage}.xml"/>
  7394.                     </xsl:for-each>
  7395.                 </Relationships>
  7396.             </xsl:result-document>
  7397.             <xsl:for-each select="$altova:nodesHeadersAndFooters">
  7398.                 <xsl:variable name="altova:nodeHeaderOrFooter" as="node()" select="."/>
  7399.                 <xsl:variable name="altova:sAddress" as="xs:string" select="$altova:nodeHeaderOrFooter/../../../@Address"/>
  7400.                 <xsl:variable name="altova:nodeUsage" as="node()" select="$altova:nodeHeaderOrFooter/.."/>
  7401.                 <xsl:variable name="altova:sHeaderOrFooter" as="xs:string" select="local-name($altova:nodeUsage/..)"/>
  7402.                 <xsl:variable name="altova:sUsage" as="xs:string" select="local-name($altova:nodeUsage)"/>
  7403.                 <xsl:result-document href="{$altova:sPrefix}word\_rels\Section_{$altova:sAddress}_{$altova:sHeaderOrFooter}{$altova:sUsage}.xml.rels" format="zip-format">
  7404.                     <Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">
  7405.                         <xsl:for-each select="$altova:nodeHeaderOrFooter//altova:Image">
  7406.                             <Relationship Id="{concat('rId', altova:CalcRefIdForImage(.))}" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/image" Target="{altova:ResolveUrlForImage($altova:nodeImages, @altova:Src, $altova:bEmbedImages or exists(@altova:ImageDataBase64))}">
  7407.                                 <xsl:if test="$altova:bEmbedImages = false() and empty(@altova:ImageDataBase64)">
  7408.                                     <xsl:attribute name="TargetMode" select="'External'"/>
  7409.                                 </xsl:if>
  7410.                             </Relationship>
  7411.                         </xsl:for-each>
  7412.                         <xsl:for-each select="$altova:nodeHeaderOrFooter//altova:Link">
  7413.                             <xsl:variable name="altova:sTargetUrl" as="xs:string" select="altova:ResolveUrlForLink(., $altova:nodeDocument)"/>
  7414.                             <xsl:if test="$altova:sTargetUrl">
  7415.                                 <Relationship Id="{altova:CalcRefIdForExternalLink(.)}" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink" Target="{$altova:sTargetUrl}" TargetMode="External"/>
  7416.                             </xsl:if>
  7417.                         </xsl:for-each>
  7418.                     </Relationships>
  7419.                 </xsl:result-document>
  7420.             </xsl:for-each>
  7421.             <xsl:result-document href="{$altova:sPrefix}word\settings.xml" format="zip-format" xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main">
  7422.                 <w:settings>
  7423.                     <w:view w:val="print"/>
  7424.                     <w:zoom w:val="none" w:percent="100"/>
  7425.                     <w:displayBackgroundShape/>
  7426.                     <w:evenAndOddHeaders w:val="1"/>
  7427.                 </w:settings>
  7428.             </xsl:result-document>
  7429.             <xsl:if test="$altova:bEmbedImages">
  7430.                 <xsl:for-each select="$altova:nodeImages//altova:Image[empty(@altova:ImageDataBase64)]">
  7431.                     <xsl:choose>
  7432.                         <xsl:when test="unparsed-text-available(@altova:Src, 'binarytobase64')">
  7433.                             <xsl:result-document href="{$altova:sPrefix}word/{@altova:Target}" format="zip-format" method="text" encoding="base64tobinary">
  7434.                                 <xsl:value-of select="unparsed-text(@altova:Src, 'binarytobase64')"/>
  7435.                             </xsl:result-document>
  7436.                         </xsl:when>
  7437.                         <xsl:otherwise>
  7438.                             <xsl:message terminate="yes" select="concat('The image ', @altova:Src, ' is not accessible. Note: When image embedding is active, each image must be accessible for StyleVision in order to generate the output file.')"/>
  7439.                         </xsl:otherwise>
  7440.                     </xsl:choose>
  7441.                 </xsl:for-each>
  7442.             </xsl:if>
  7443.             <xsl:if test="not($altova:bEmbedImages) and $altova:bGeneratingFromPxf">
  7444.                 <xsl:for-each select="distinct-values(for $i in $altova:nodeImages//altova:Image[not(@altova:ImageDataBase64)]/@altova:Src return lower-case($i))">
  7445.                     <xsl:if test="unparsed-text-available(., 'binarytobase64')">
  7446.                         <xsl:if test="not(starts-with(., 'http://') or starts-with(., 'ftp://'))">
  7447.                             <xsl:result-document href="{concat('..\', substring-after(., '%7czip/'))}" method="text" encoding="base64tobinary">
  7448.                                 <xsl:value-of select="unparsed-text(., 'binarytobase64')"/>
  7449.                             </xsl:result-document>
  7450.                         </xsl:if>
  7451.                     </xsl:if>
  7452.                 </xsl:for-each>
  7453.             </xsl:if>
  7454.             <xsl:for-each select="$altova:nodeImages//altova:Image[exists(@altova:ImageDataBase64)]">
  7455.                 <xsl:result-document href="{$altova:sPrefix}word/{@altova:Target}" format="zip-format" method="text" encoding="base64tobinary">
  7456.                     <xsl:value-of select="@altova:ImageDataBase64"/>
  7457.                 </xsl:result-document>
  7458.             </xsl:for-each>
  7459.             <xsl:result-document href="{$altova:sPrefix}docProps\core.xml" format="zip-format">
  7460.                 <cp:coreProperties xmlns:cp="http://schemas.openxmlformats.org/package/2006/metadata/core-properties" xmlns:dc="http://purl.org/dc/elements/1.1/">
  7461.                     <xsl:if test="string-length(xs:string(altova:DocumentProperties/@altova:Author)) gt 0">
  7462.                         <dc:creator>
  7463.                             <xsl:value-of select="altova:DocumentProperties/@altova:Author"/>
  7464.                         </dc:creator>
  7465.                     </xsl:if>
  7466.                     <xsl:if test="string-length(xs:string(altova:DocumentProperties/@altova:Keywords)) gt 0">
  7467.                         <cp:keywords>
  7468.                             <xsl:value-of select="altova:DocumentProperties/@altova:Keywords"/>
  7469.                         </cp:keywords>
  7470.                     </xsl:if>
  7471.                     <xsl:if test="string-length(xs:string(altova:DocumentProperties/@altova:Subject)) gt 0">
  7472.                         <dc:subject>
  7473.                             <xsl:value-of select="altova:DocumentProperties/@altova:Subject"/>
  7474.                         </dc:subject>
  7475.                     </xsl:if>
  7476.                     <xsl:if test="string-length(xs:string(altova:DocumentProperties/@altova:Title)) gt 0">
  7477.                         <dc:title>
  7478.                             <xsl:value-of select="altova:DocumentProperties/@altova:Title"/>
  7479.                         </dc:title>
  7480.                     </xsl:if>
  7481.                 </cp:coreProperties>
  7482.             </xsl:result-document>
  7483.         </xsl:for-each>
  7484.     </xsl:template>
  7485.     <xsl:variable name="altova:nodesHeaderFooterInfo" as="node()*">
  7486.         <altova:DocumentSectionInfo Address="5">
  7487.             <altova:Header>
  7488.                 <altova:Default altova:Id="Section_5_Header_Default">
  7489.                     <altova:PageHeader>
  7490.                         <altova:Paragraph/>
  7491.                     </altova:PageHeader>
  7492.                 </altova:Default>
  7493.             </altova:Header>
  7494.             <altova:Footer>
  7495.                 <altova:Default altova:Id="Section_5_Footer_Default">
  7496.                     <altova:PageFooter>
  7497.                         <altova:Paragraph>
  7498.                             <altova:ContentHolder altova:CharPropertiesId="calltemplate_C_384">
  7499.                                 <xsl:call-template name="legacy_footerall"/>
  7500.                                 <altova:CharacterProperties>
  7501.                                     <w:rPr>
  7502.                                         <w:rFonts w:ascii="Arial" w:hAnsi="Arial"/>
  7503.                                     </w:rPr>
  7504.                                 </altova:CharacterProperties>
  7505.                             </altova:ContentHolder>
  7506.                         </altova:Paragraph>
  7507.                     </altova:PageFooter>
  7508.                 </altova:Default>
  7509.             </altova:Footer>
  7510.         </altova:DocumentSectionInfo>
  7511.     </xsl:variable>
  7512.     <xsl:variable name="altova:nLastStaticId" select="4"/>
  7513.     <xsl:function name="altova:calc-relative-path" as="xs:string">
  7514.         <xsl:param name="altova:source-path"/>
  7515.         <xsl:param name="altova:target-path"/>
  7516.         <xsl:choose>
  7517.             <xsl:when test="$altova:source-path = $altova:target-path">
  7518.                 <xsl:sequence select="''"/>
  7519.             </xsl:when>
  7520.             <xsl:when test="starts-with($altova:target-path,'http:') or starts-with($altova:target-path,'ftp:') or starts-with($altova:target-path,'file:')">
  7521.                 <xsl:sequence select="$altova:target-path"/>
  7522.             </xsl:when>
  7523.             <xsl:otherwise>
  7524.                 <xsl:variable name="altova:source-parts" select="tokenize($altova:source-path,'[/\\]')"/>
  7525.                 <xsl:variable name="altova:target-parts" select="tokenize($altova:target-path,'[/\\]')"/>
  7526.                 <xsl:variable name="altova:common-part-count" select="sum(for $i in (1 to count($altova:source-parts) - 1) return if( subsequence($altova:source-parts,1,$i) = subsequence($altova:target-parts,1,$i) ) then 1 else 0)"/>
  7527.                 <xsl:sequence select="string-join((for $i in ($altova:common-part-count + 1 to count($altova:source-parts) - 1) return '..',for $i in ($altova:common-part-count + 1 to count($altova:target-parts)) return $altova:target-parts[$i]),'/')"/>
  7528.             </xsl:otherwise>
  7529.         </xsl:choose>
  7530.     </xsl:function>
  7531.     <xsl:function name="altova:map-preview-filepath" as="xs:string">
  7532.         <xsl:param name="filepath"/>
  7533.         <xsl:sequence select="altovaext:create-temp-file-mapping($filepath)" use-when="function-available('altovaext:create-temp-file-mapping',1)"/>
  7534.         <xsl:sequence select="$filepath" use-when="not(function-available('altovaext:create-temp-file-mapping',1))"/>
  7535.     </xsl:function>
  7536.     <xsl:function name="altova:GetChartYValuesForSingleSeries">
  7537.         <xsl:param name="seqCategoryLeafPos" as="node()*"/>
  7538.         <xsl:param name="nodeSeriesLeafPos" as="node()"/>
  7539.         <xsl:param name="bValuesInCategory" as="xs:boolean"/>
  7540.         <xsl:for-each select="$seqCategoryLeafPos">
  7541.             <xsl:element name="altova:Value">
  7542.                 <xsl:value-of select="altova:GetChartYValueForSingleSeriesPos($nodeSeriesLeafPos, ., $bValuesInCategory)"/>
  7543.             </xsl:element>
  7544.         </xsl:for-each>
  7545.     </xsl:function>
  7546.     <xsl:function name="altova:GetChartYValueForSingleSeriesPos">
  7547.         <xsl:param name="nodeSeriesLeafPos" as="node()"/>
  7548.         <xsl:param name="nodeCategoryLeafPos" as="node()"/>
  7549.         <xsl:param name="bValuesInCategory" as="xs:boolean"/>
  7550.         <xsl:variable name="altova:seqCategoryContextIds" select="$nodeCategoryLeafPos/altova:Context/@altova:ContextId" as="xs:string*"/>
  7551.         <xsl:variable name="altova:seqSeriesContextIds" select="$nodeSeriesLeafPos/altova:Context/@altova:ContextId" as="xs:string*"/>
  7552.         <xsl:variable name="altova:sCommonContextId" select="for $i in $altova:seqCategoryContextIds return if (some $j in $altova:seqSeriesContextIds satisfies $i eq $j) then $i else ()" as="xs:string*"/>
  7553.         <xsl:choose>
  7554.             <xsl:when test="count($altova:sCommonContextId) gt 1">
  7555.                 <xsl:message select="concat('XBRL Chart: Error: Found several values instead of a single one (contexts: ', string-join($altova:sCommonContextId, ', '), ').')" terminate="yes"/>
  7556.             </xsl:when>
  7557.             <xsl:when test="count($altova:sCommonContextId) lt 1">
  7558.                 <xsl:message select="concat('XBRL Chart: Info: No value found for position labeled &quot;', $nodeCategoryLeafPos/@altova:sLabel, '&quot;')" terminate="no"/>
  7559.                 <xsl:sequence select="'altova:no-value'"/>
  7560.             </xsl:when>
  7561.             <xsl:when test="$bValuesInCategory">
  7562.                 <xsl:sequence select="xs:string($nodeCategoryLeafPos/altova:Context[@altova:ContextId eq $altova:sCommonContextId]/@altova:Value)"/>
  7563.             </xsl:when>
  7564.             <xsl:otherwise>
  7565.                 <xsl:sequence select="xs:string($nodeSeriesLeafPos/altova:Context[@altova:ContextId eq $altova:sCommonContextId]/@altova:Value)"/>
  7566.             </xsl:otherwise>
  7567.         </xsl:choose>
  7568.     </xsl:function>
  7569.     <xsl:function name="altova:GetChartLabelForPos" as="xs:string">
  7570.         <xsl:param name="nodeParam" as="node()"/>
  7571.         <xsl:value-of select="string-join($nodeParam/ancestor-or-self::altova:Pos/@altova:sLabel, ' ')"/>
  7572.     </xsl:function>
  7573.     <xsl:function name="altova:convert-length-to-pixel" as="xs:decimal">
  7574.         <xsl:param name="altova:length"/>
  7575.         <xsl:variable name="normLength" select="normalize-space($altova:length)"/>
  7576.         <xsl:choose>
  7577.             <xsl:when test="ends-with($normLength, 'px')">
  7578.                 <xsl:value-of select="substring-before($normLength, 'px')"/>
  7579.             </xsl:when>
  7580.             <xsl:when test="ends-with($normLength, 'in')">
  7581.                 <xsl:value-of select="xs:decimal(substring-before($normLength, 'in')) * $altova:nPxPerIn"/>
  7582.             </xsl:when>
  7583.             <xsl:when test="ends-with($normLength, 'cm')">
  7584.                 <xsl:value-of select="xs:decimal(substring-before($normLength, 'cm')) * $altova:nPxPerIn div 2.54"/>
  7585.             </xsl:when>
  7586.             <xsl:when test="ends-with($normLength, 'mm')">
  7587.                 <xsl:value-of select="xs:decimal(substring-before($normLength, 'mm')) * $altova:nPxPerIn div 25.4"/>
  7588.             </xsl:when>
  7589.             <xsl:when test="ends-with($normLength, 'pt')">
  7590.                 <xsl:value-of select="xs:decimal(substring-before($normLength, 'pt')) * $altova:nPxPerIn div 72.0"/>
  7591.             </xsl:when>
  7592.             <xsl:when test="ends-with($normLength, 'pc')">
  7593.                 <xsl:value-of select="xs:decimal(substring-before($normLength, 'pc')) * $altova:nPxPerIn div 6.0"/>
  7594.             </xsl:when>
  7595.             <xsl:otherwise>
  7596.                 <xsl:value-of select="$normLength"/>
  7597.             </xsl:otherwise>
  7598.         </xsl:choose>
  7599.     </xsl:function>
  7600.     <xsl:function name="altova:convert-length-to-mm" as="xs:decimal">
  7601.         <xsl:param name="altova:length"/>
  7602.         <xsl:variable name="normLength" select="normalize-space($altova:length)"/>
  7603.         <xsl:choose>
  7604.             <xsl:when test="ends-with($normLength, 'px')">
  7605.                 <xsl:value-of select="xs:decimal(substring-before($normLength, 'px')) div $altova:nPxPerIn * 25.4"/>
  7606.             </xsl:when>
  7607.             <xsl:when test="ends-with($normLength, 'in')">
  7608.                 <xsl:value-of select="xs:decimal(substring-before($normLength, 'in')) * 25.4"/>
  7609.             </xsl:when>
  7610.             <xsl:when test="ends-with($normLength, 'cm')">
  7611.                 <xsl:value-of select="xs:decimal(substring-before($normLength, 'cm')) * 10"/>
  7612.             </xsl:when>
  7613.             <xsl:when test="ends-with($normLength, 'mm')">
  7614.                 <xsl:value-of select="substring-before($normLength, 'mm') "/>
  7615.             </xsl:when>
  7616.             <xsl:when test="ends-with($normLength, 'pt')">
  7617.                 <xsl:value-of select="xs:decimal(substring-before($normLength, 'pt')) * 25.4 div 72.0"/>
  7618.             </xsl:when>
  7619.             <xsl:when test="ends-with($normLength, 'pc')">
  7620.                 <xsl:value-of select="xs:decimal(substring-before($normLength, 'pc')) * 25.4 div 6.0"/>
  7621.             </xsl:when>
  7622.             <xsl:otherwise>
  7623.                 <xsl:value-of select="number($normLength) div $altova:nPxPerIn * 25.4"/>
  7624.             </xsl:otherwise>
  7625.         </xsl:choose>
  7626.     </xsl:function>
  7627.     <xsl:variable name="altova:seqPredefinedColorNames" as="xs:string+" select="('WHITE','IVORY','LIGHTYELLOW','YELLOW','SNOW','FLORALWHITE','LEMONCHIFFON','CORNSILK','SEASHELL','LAVENDERBLUSH','PAPAYAWHIP','BLANCHEDALMOND','MISTYROSE','BISQUE','MOCCASIN','NAVAJOWHITE','PEACHPUFF','GOLD','PINK','LIGHTPINK','ORANGE','LIGHTSALMON','DARKORANGE','CORAL','HOTPINK','TOMATO','ORANGERED','DEEPPINK','FUCHSIA','MAGENTA','RED','OLDLACE','LIGHTGOLDENRODYELLOW','LINEN','ANTIQUEWHITE','SALMON','GHOSTWHITE','MINTCREAM','WHITESMOKE','BEIGE','WHEAT','SANDYBROWN','AZURE','HONEYDEW','ALICEBLUE','KHAKI','LIGHTCORAL','PALEGOLDENROD','VIOLET','DARKSALMON','LAVENDER','LIGHTCYAN','BURLYWOOD','PLUM','GAINSBORO','CRIMSON','PALEVIOLETRED','GOLDENROD','ORCHID','THISTLE','LIGHTGRAY','TAN','CHOCOLATE','PERU','INDIANRED','MEDIUMVIOLETRED','SILVER','DARKKHAKI','ROSYBROWN','MEDIUMORCHID','DARKGOLDENROD','FIREBRICK','POWDERBLUE','LIGHTSTEELBLUE','PALETURQUOISE','GREENYELLOW','LIGHTBLUE','DARKGRAY','BROWN','SIENNA','YELLOWGREEN','DARKORCHID','PALEGREEN','DARKVIOLET','MEDIUMPURPLE','LIGHTGREEN','DARKSEAGREEN','SADDLEBROWN','DARKMAGENTA','DARKRED','BLUEVIOLET','LIGHTSKYBLUE','SKYBLUE','GRAY','OLIVE','PURPLE','MAROON','AQUAMARINE','CHARTREUSE','LAWNGREEN','MEDIUMSLATEBLUE','LIGHTSLATEGRAY','SLATEGRAY','OLIVEDRAB','SLATEBLUE','DIMGRAY','MEDIUMAQUAMARINE','CORNFLOWERBLUE','CADETBLUE','DARKOLIVEGREEN','INDIGO','MEDIUMTURQUOISE','DARKSLATEBLUE','STEELBLUE','ROYALBLUE','TURQUOISE','MEDIUMSEAGREEN','LIMEGREEN','DARKSLATEGRAY','SEAGREEN','FORESTGREEN','LIGHTSEAGREEN','DODGERBLUE','MIDNIGHTBLUE','CYAN','AQUA','SPRINGGREEN','LIME','MEDIUMSPRINGGREEN','DARKTURQUOISE','DEEPSKYBLUE','DARKCYAN','TEAL','GREEN','DARKGREEN','BLUE','MEDIUMBLUE','DARKBLUE','NAVY','BLACK')"/>
  7628.     <xsl:variable name="altova:seqPredefinedColorHexValues" as="xs:string+" select="('FFFFFF','FFFFF0','FFFFE0','FFFF00','FFFAFA','FFFAF0','FFFACD','FFF8DC','FFF5EE','FFF0F5','FFEFD5','FFEBCD','FFE4E1','FFE4C4','FFE4B5','FFDEAD','FFDAB9','FFD700','FFC0CB','FFB6C1','FFA500','FFA07A','FF8C00','FF7F50','FF69B4','FF6347','FF4500','FF1493','FF00FF','FF00FF','FF0000','FDF5E6','FAFAD2','FAF0E6','FAEBD7','FA8072','F8F8FF','F5FFFA','F5F5F5','F5F5DC','F5DEB3','F4A460','F0FFFF','F0FFF0','F0F8FF','F0E68C','F08080','EEE8AA','EE82EE','E9967A','E6E6FA','E0FFFF','DEB887','DDA0DD','DCDCDC','DC143C','DB7093','DAA520','DA70D6','D8BFD8','D3D3D3','D2B48C','D2691E','CD853F','CD5C5C','C71585','C0C0C0','BDB76B','BC8F8F','BA55D3','B8860B','B22222','B0E0E6','B0C4DE','AFEEEE','ADFF2F','ADD8E6','A9A9A9','A52A2A','A0522D','9ACD32','9932CC','98FB98','9400D3','9370DB','90EE90','8FBC8B','8B4513','8B008B','8B0000','8A2BE2','87CEFA','87CEEB','808080','808000','800080','800000','7FFFD4','7FFF00','7CFC00','7B68EE','778899','708090','6B8E23','6A5ACD','696969','66CDAA','6495ED','5F9EA0','556B2F','4B0082','48D1CC','483D8B','4682B4','4169E1','40E0D0','3CB371','32CD32','2F4F4F','2E8B57','228B22','20B2AA','1E90FF','191970','00FFFF','00FFFF','00FF7F','00FF00','00FA9A','00CED1','00BFFF','008B8B','008080','008000','006400','0000FF','0000CD','00008B','000080','000000')"/>
  7629.     <xsl:variable name="altova:seqHexDigits" as="xs:string+" select="('0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F')"/>
  7630.     <xsl:variable name="altova:nEmuPerCm" as="xs:integer" select="360000"/>
  7631.     <xsl:variable name="altova:nEmuPerPoint" as="xs:integer" select="12700"/>
  7632.     <xsl:variable name="altova:nDefaultFontSizePt" as="xs:integer" select="12"/>
  7633.     <xsl:variable name="altova:nCmPerIn" as="xs:double" select="2.54"/>
  7634.     <xsl:variable name="altova:nPercentPerEm" as="xs:integer" select="100"/>
  7635.     <xsl:variable name="altova:nPercentPerEx" as="xs:integer" select="50"/>
  7636.     <xsl:variable name="altova:nPtPerPc" as="xs:integer" select="12"/>
  7637.     <xsl:variable name="altova:nPtPerIn" as="xs:integer" select="72"/>
  7638.     <xsl:variable name="altova:nFontScalingFactor" as="xs:double" select="1.2"/>
  7639.     <xsl:variable name="altova:nTwipsPerPt" as="xs:integer" select="20"/>
  7640.     <xsl:variable name="altova:seqCausesSplitNever" as="xs:string+" select="('altova:Bookmark', 'altova:ControlButton', 'altova:ControlCheckBox', 'altova:ControlComboBox', 'altova:ControlEditField', 'altova:ControlRadioButton', 'altova:Image', 'altova:Link', 'altova:NewLine', 'altova:TextRun')"/>
  7641.     <xsl:variable name="altova:seqCausesSplitAlways" as="xs:string+" select="('altova:List', 'altova:Paragraph', 'altova:Table')"/>
  7642.     <xsl:template match="text()|@*">
  7643.         <xsl:choose>
  7644.             <xsl:when test="name(..) = 'altova:TextRun'">
  7645.                 <xsl:copy/>
  7646.             </xsl:when>
  7647.             <xsl:otherwise>
  7648.                 <altova:TextRun>
  7649.                     <xsl:copy/>
  7650.                 </altova:TextRun>
  7651.             </xsl:otherwise>
  7652.         </xsl:choose>
  7653.     </xsl:template>
  7654.     <xsl:template match="node()" mode="altova:CopyOwnDocument">
  7655.         <xsl:copy>
  7656.             <xsl:copy-of select="@*"/>
  7657.             <xsl:apply-templates select="node()" mode="#current"/>
  7658.         </xsl:copy>
  7659.     </xsl:template>
  7660.     <xsl:template match="altova:Document" mode="altova:CopyOwnDocument"/>
  7661.     <xsl:template match="text()" mode="altova:Split">
  7662.         <xsl:copy/>
  7663.     </xsl:template>
  7664.     <xsl:template match="@*" mode="altova:Split">
  7665.         <xsl:copy/>
  7666.     </xsl:template>
  7667.     <xsl:template match="*|/" mode="altova:Split">
  7668.         <xsl:copy>
  7669.             <xsl:apply-templates select="@*" mode="altova:Split"/>
  7670.             <xsl:apply-templates mode="altova:Split"/>
  7671.         </xsl:copy>
  7672.     </xsl:template>
  7673.     <xsl:template match="altova:CharacterProperties" mode="altova:Split">
  7674.         <xsl:if test="@altova:whitespace">
  7675.             <altova:CharacterProperties>
  7676.                 <xsl:apply-templates select="@altova:whitespace" mode="altova:Split"/>
  7677.             </altova:CharacterProperties>
  7678.         </xsl:if>
  7679.     </xsl:template>
  7680.     <xsl:template match="altova:Field" mode="altova:Split">
  7681.         <xsl:variable name="sStyleName" as="xs:string" select="altova:BuildStyleNameForNode_Char(.)"/>
  7682.         <altova:Field>
  7683.             <xsl:copy-of select="@* except @altova:CharPropertiesId" copy-namespaces="no"/>
  7684.             <xsl:if test="$sStyleName">
  7685.                 <xsl:attribute name="altova:CharPropertiesId">
  7686.                     <xsl:value-of select="$sStyleName"/>
  7687.                 </xsl:attribute>
  7688.             </xsl:if>
  7689.             <xsl:apply-templates mode="altova:Split"/>
  7690.         </altova:Field>
  7691.     </xsl:template>
  7692.     <xsl:template match="altova:Link" mode="altova:Split">
  7693.         <xsl:variable name="nFirstNonPropertyChildIndex" as="xs:integer" select="count(./*[name() != 'altova:CharacterProperties' and name() != 'altova:ParagraphProperties'][1]/preceding-sibling::*) + 1"/>
  7694.         <xsl:variable name="nodeFirstNonPropertyChild" as="node()?" select="./*[$nFirstNonPropertyChildIndex]"/>
  7695.         <xsl:choose>
  7696.             <xsl:when test="not(altova:DoesElementCauseParagraphSplit($nodeFirstNonPropertyChild)) and empty($nodeFirstNonPropertyChild//*[altova:DoesElementCauseParagraphSplit(.)])">
  7697.                 <altova:Link>
  7698.                     <xsl:copy-of select="@*"/>
  7699.                     <xsl:apply-templates select="$nodeFirstNonPropertyChild" mode="altova:Split"/>
  7700.                 </altova:Link>
  7701.                 <xsl:apply-templates select="./*[position() ne $nFirstNonPropertyChildIndex]" mode="altova:Split"/>
  7702.             </xsl:when>
  7703.             <xsl:otherwise>
  7704.                 <altova:Link>
  7705.                     <xsl:copy-of select="@*"/>
  7706.                 </altova:Link>
  7707.                 <xsl:apply-templates select="./*" mode="altova:Split"/>
  7708.             </xsl:otherwise>
  7709.         </xsl:choose>
  7710.     </xsl:template>
  7711.     <xsl:template match="altova:Paragraph" mode="altova:Split">
  7712.         <xsl:sequence select="altova:SplitParagraph(.)"/>
  7713.     </xsl:template>
  7714.     <xsl:template match="altova:ParagraphProperties" mode="altova:Split"/>
  7715.     <xsl:template match="altova:TableCell" mode="altova:Split">
  7716.         <altova:TableCell>
  7717.             <xsl:copy-of select="w:tcPr" copy-namespaces="no"/>
  7718.             <xsl:apply-templates select="*" mode="altova:Split"/>
  7719.             <xsl:variable name="nodeTableCell" as="node()" select="."/>
  7720.             <xsl:variable name="nodeSuperParagraph" as="node()" select="altova:Paragraph"/>
  7721.             <xsl:variable name="nodeLastTableInSuperParagraph" as="node()?" select="$nodeSuperParagraph/descendant::altova:Table[ancestor::altova:TableCell[1] is $nodeTableCell][last()]"/>
  7722.             <xsl:variable name="nodeLastInTable" as="node()?" select="($nodeLastTableInSuperParagraph//*)[last()]"/>
  7723.             <xsl:variable name="nodesInSuperParagraphFollowingLastTable" as="node()*" select="$nodeSuperParagraph//*[. >> $nodeLastInTable]"/>
  7724.             <xsl:variable name="nodesInSuperParagraphFollowingLastTableTopmost" as="node()*" select="$nodesInSuperParagraphFollowingLastTable[empty(index-of($nodesInSuperParagraphFollowingLastTable, ancestor::*[1]))]"/>
  7725.             <xsl:variable name="nodesInSuperParagraphFollowingLastTableTopmostExceptProperties" as="node()*" select="$nodesInSuperParagraphFollowingLastTableTopmost[not(altova:IsAltovaPropertiesElement(.))]"/>
  7726.             <xsl:variable name="bAppendParagraph" as="xs:boolean" select="exists($nodeLastTableInSuperParagraph) and empty($nodesInSuperParagraphFollowingLastTableTopmostExceptProperties[some $a in ancestor::* satisfies $a is $nodeSuperParagraph])"/>
  7727.             <xsl:if test="$bAppendParagraph">
  7728.                 <altova:Paragraph/>
  7729.             </xsl:if>
  7730.         </altova:TableCell>
  7731.     </xsl:template>
  7732.     <xsl:template match="altova:TextRun" mode="altova:Split">
  7733.         <xsl:variable name="sStyleName" as="xs:string" select="altova:BuildStyleNameForNode_Char(.)"/>
  7734.         <altova:TextRun>
  7735.             <xsl:if test="$sStyleName">
  7736.                 <xsl:attribute name="altova:CharPropertiesId">
  7737.                     <xsl:value-of select="$sStyleName"/>
  7738.                 </xsl:attribute>
  7739.             </xsl:if>
  7740.             <xsl:apply-templates mode="altova:Split"/>
  7741.         </altova:TextRun>
  7742.     </xsl:template>
  7743.     <xsl:template match="*" mode="altova:CopyParagraphProperties">
  7744.         <xsl:copy copy-namespaces="no">
  7745.             <xsl:apply-templates select="@*" mode="altova:CopyParagraphProperties"/>
  7746.             <xsl:apply-templates select="*" mode="altova:CopyParagraphProperties"/>
  7747.         </xsl:copy>
  7748.     </xsl:template>
  7749.     <xsl:template match="@*" mode="altova:CopyParagraphProperties">
  7750.         <xsl:attribute name="{node-name(.)}">
  7751.             <xsl:value-of select="."/>
  7752.         </xsl:attribute>
  7753.     </xsl:template>
  7754.     <xsl:template match="w:pPr/w:ind/@w:left" mode="altova:CopyParagraphProperties">
  7755.         <xsl:attribute name="w:left">
  7756.             <xsl:value-of select="sum(ancestor::*/altova:ParagraphProperties/w:pPr/w:ind/@w:left)"/>
  7757.         </xsl:attribute>
  7758.     </xsl:template>
  7759.     <xsl:template match="altova:Bookmark" mode="altova:Wordml">
  7760.         <xsl:variable name="nId" as="xs:integer" select="altova:CalcIdForBookmark(.)"/>
  7761.         <w:bookmarkStart w:id="{$nId}" w:name="{@altova:Name}"/>
  7762.         <w:bookmarkEnd w:id="{$nId}"/>
  7763.     </xsl:template>
  7764.     <xsl:template match="altova:ColumnBreak" mode="altova:Wordml">
  7765.         <w:r>
  7766.             <w:br w:type="column"/>
  7767.         </w:r>
  7768.     </xsl:template>
  7769.     <xsl:template match="altova:ControlButton" mode="altova:Wordml">
  7770.         <xsl:apply-templates mode="altova:Wordml"/>
  7771.     </xsl:template>
  7772.     <xsl:template match="altova:ControlCheckBox" mode="altova:Wordml">
  7773.         <w:r>
  7774.             <w:fldChar w:fldCharType="begin">
  7775.                 <w:ffData>
  7776.                     <w:name w:val=""/>
  7777.                     <w:enabled w:val="true"/>
  7778.                     <w:calcOnExit w:val="false"/>
  7779.                     <w:checkBox>
  7780.                         <w:size w:val="20"/>
  7781.                         <w:checked w:val="{if (index-of(altova:Values/altova:Value/text(), @altova:CurrValue)) then 1 else 0}"/>
  7782.                     </w:checkBox>
  7783.                 </w:ffData>
  7784.             </w:fldChar>
  7785.         </w:r>
  7786.         <w:r>
  7787.             <w:instrText xml:space="preserve">FORMCHECKBOX</w:instrText>
  7788.         </w:r>
  7789.         <w:r>
  7790.             <w:fldChar w:fldCharType="end"/>
  7791.         </w:r>
  7792.     </xsl:template>
  7793.     <xsl:template match="altova:ControlComboBox" mode="altova:Wordml">
  7794.         <w:r>
  7795.             <w:fldChar w:fldCharType="begin">
  7796.                 <w:ffData>
  7797.                     <w:name w:val=""/>
  7798.                     <w:enabled w:val="true"/>
  7799.                     <w:calcOnExit w:val="false"/>
  7800.                     <w:ddList>
  7801.                         <xsl:variable name="seqMax24Positions" as="xs:integer*" select="for $i in 1 to min((count(altova:Values/altova:Value), 24)) return $i"/>
  7802.                         <xsl:variable name="nCurrValuePos" as="xs:integer?" select="index-of(altova:Values/altova:Value/@altova:XmlValue, @altova:CurrValue)"/>
  7803.                         <xsl:variable name="nLastPosition" as="xs:integer?">
  7804.                             <xsl:if test="count(altova:Values/altova:Value) gt 25">
  7805.                                 <xsl:choose>
  7806.                                     <xsl:when test="not($nCurrValuePos) or $nCurrValuePos le 25">
  7807.                                         <xsl:sequence select="25"/>
  7808.                                     </xsl:when>
  7809.                                     <xsl:otherwise>
  7810.                                         <xsl:sequence select="$nCurrValuePos"/>
  7811.                                     </xsl:otherwise>
  7812.                                 </xsl:choose>
  7813.                             </xsl:if>
  7814.                         </xsl:variable>
  7815.                         <xsl:variable name="seqMax25Positions" as="xs:integer*" select="($seqMax24Positions, $nLastPosition)"/>
  7816.                         <w:result w:val="{if (empty($nCurrValuePos)) then 0 else if ($nCurrValuePos gt 25) then 24 else $nCurrValuePos - 1}"/>
  7817.                         <xsl:variable name="nodesValuesUsed" as="node()*" select="altova:Values/altova:Value[boolean(index-of($seqMax25Positions, position()))]"/>
  7818.                         <xsl:variable name="seqTextsUsed" as="xs:string*" select="if (altova:Values/altova:Value[1]/@altova:DisplayValue) then $nodesValuesUsed/@altova:DisplayValue else $nodesValuesUsed/@altova:XmlValue"/>
  7819.                         <xsl:for-each select="$seqTextsUsed">
  7820.                             <w:listEntry w:val="{.}"/>
  7821.                         </xsl:for-each>
  7822.                     </w:ddList>
  7823.                 </w:ffData>
  7824.             </w:fldChar>
  7825.         </w:r>
  7826.         <w:r>
  7827.             <w:instrText xml:space="preserve">FORMDROPDOWN</w:instrText>
  7828.         </w:r>
  7829.         <w:r>
  7830.             <w:fldChar w:fldCharType="end"/>
  7831.         </w:r>
  7832.     </xsl:template>
  7833.     <xsl:template match="altova:ControlEditField" mode="altova:Wordml">
  7834.         <w:r>
  7835.             <w:pict>
  7836.                 <xsl:variable name="sStyle">
  7837.                     <xsl:choose>
  7838.                         <xsl:when test="@nWidthPt">
  7839.                             <xsl:value-of select="concat('width:', @nWidthPt,'pt;')"/>
  7840.                         </xsl:when>
  7841.                         <xsl:otherwise>width:108pt;</xsl:otherwise>
  7842.                     </xsl:choose>
  7843.                     <xsl:choose>
  7844.                         <xsl:when test="@nHeightPt">
  7845.                             <xsl:copy-of select="concat('height:', @nHeightPt, 'pt;')"/>
  7846.                         </xsl:when>
  7847.                         <xsl:otherwise>height:12pt;</xsl:otherwise>
  7848.                     </xsl:choose>
  7849.                     <xsl:text>mso-position-horizontal-relative:char;mso-position-vertical:bottom;mso-position-vertical-relative:line;mso-width-relative:margin;mso-height-relative:margin;v-text-anchor:top;</xsl:text>
  7850.                 </xsl:variable>
  7851.                 <v:rect style="{$sStyle}">
  7852.                     <xsl:attribute name="stroked">f</xsl:attribute>
  7853.                     <xsl:if test="altova:VmlRectProperties/@fillcolor">
  7854.                         <xsl:choose>
  7855.                             <xsl:when test="altova:VmlRectProperties/@fillcolor eq 'transparent'">
  7856.                                 <xsl:attribute name="filled">
  7857.                                     <xsl:text>no</xsl:text>
  7858.                                 </xsl:attribute>
  7859.                             </xsl:when>
  7860.                             <xsl:otherwise>
  7861.                                 <xsl:attribute name="fillcolor">
  7862.                                     <xsl:value-of select="altova:VmlRectProperties/@fillcolor"/>
  7863.                                 </xsl:attribute>
  7864.                             </xsl:otherwise>
  7865.                         </xsl:choose>
  7866.                     </xsl:if>
  7867.                     <xsl:if test="altova:VmlRectProperties/v:stroke">
  7868.                         <xsl:copy-of select="altova:VmlRectProperties/v:stroke" copy-namespaces="no"/>
  7869.                     </xsl:if>
  7870.                     <v:textbox>
  7871.                         <xsl:if test="altova:VmlRectProperties/@inset">
  7872.                             <xsl:attribute name="inset">
  7873.                                 <xsl:value-of select="altova:VmlRectProperties/@inset"/>
  7874.                             </xsl:attribute>
  7875.                         </xsl:if>
  7876.                         <w:txbxContent>
  7877.                             <xsl:apply-templates mode="altova:Wordml"/>
  7878.                         </w:txbxContent>
  7879.                     </v:textbox>
  7880.                     <wd:anchorlock/>
  7881.                 </v:rect>
  7882.             </w:pict>
  7883.         </w:r>
  7884.     </xsl:template>
  7885.     <xsl:template match="altova:ControlRadioButton" mode="altova:Wordml">
  7886.         <w:r>
  7887.             <w:fldChar w:fldCharType="begin">
  7888.                 <w:ffData>
  7889.                     <w:name w:val=""/>
  7890.                     <w:enabled w:val="true"/>
  7891.                     <w:calcOnExit w:val="false"/>
  7892.                     <w:checkBox>
  7893.                         <w:size w:val="20"/>
  7894.                         <w:checked w:val="{if (index-of(altova:Values/altova:Value/text(), @altova:CurrValue)) then 1 else 0}"/>
  7895.                     </w:checkBox>
  7896.                 </w:ffData>
  7897.             </w:fldChar>
  7898.         </w:r>
  7899.         <w:r>
  7900.             <w:instrText xml:space="preserve">FORMCHECKBOX</w:instrText>
  7901.         </w:r>
  7902.         <w:r>
  7903.             <w:fldChar w:fldCharType="end"/>
  7904.         </w:r>
  7905.     </xsl:template>
  7906.     <xsl:template match="altova:ContentHolder" mode="altova:Wordml">
  7907.         <xsl:apply-templates mode="altova:Wordml"/>
  7908.     </xsl:template>
  7909.     <xsl:template match="altova:Document" mode="altova:Wordml">
  7910.         <w:document xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main">
  7911.             <xsl:if test="altova:Background/@altova:Color">
  7912.                 <w:background>
  7913.                     <xsl:attribute name="w:color" select="substring(altova:Background/@altova:Color, 2)"/>
  7914.                 </w:background>
  7915.             </xsl:if>
  7916.             <w:body>
  7917.                 <xsl:apply-templates mode="altova:Wordml"/>
  7918.             </w:body>
  7919.         </w:document>
  7920.     </xsl:template>
  7921.     <xsl:template match="altova:DocumentSection" mode="altova:Wordml">
  7922.         <xsl:variable name="nodePreviousAltovaDocumentSection" as="node()?" select="preceding::altova:DocumentSection[1]"/>
  7923.         <xsl:if test="$nodePreviousAltovaDocumentSection">
  7924.             <w:pPr>
  7925.                 <xsl:copy-of select="$nodePreviousAltovaDocumentSection/w:sectPr" copy-namespaces="no"/>
  7926.             </w:pPr>
  7927.         </xsl:if>
  7928.     </xsl:template>
  7929.     <xsl:template match="altova:Field" mode="altova:Wordml">
  7930.         <xsl:param name="nodeAltovaDocument" as="node()" tunnel="yes"/>
  7931.         <xsl:choose>
  7932.             <xsl:when test="@altova:Name = 'PageNum'">
  7933.                 <w:r>
  7934.                     <xsl:if test="@altova:CharPropertiesId">
  7935.                         <w:rPr>
  7936.                             <w:rStyle w:val="{@altova:CharPropertiesId}"/>
  7937.                         </w:rPr>
  7938.                     </xsl:if>
  7939.                     <w:pgNum/>
  7940.                 </w:r>
  7941.             </xsl:when>
  7942.             <xsl:when test="@altova:Name = 'PageCnt'">
  7943.                 <w:r>
  7944.                     <w:fldChar w:fldCharType="begin"/>
  7945.                 </w:r>
  7946.                 <w:r>
  7947.                     <xsl:if test="@altova:CharPropertiesId">
  7948.                         <w:rPr>
  7949.                             <w:rStyle w:val="{@altova:CharPropertiesId}"/>
  7950.                         </w:rPr>
  7951.                     </xsl:if>
  7952.                     <w:instrText>NUMPAGES</w:instrText>
  7953.                 </w:r>
  7954.                 <w:r>
  7955.                     <w:fldChar w:fldCharType="end"/>
  7956.                 </w:r>
  7957.             </xsl:when>
  7958.             <xsl:when test="@altova:Name = 'PageRef'">
  7959.                 <xsl:variable name="altova:SourceDocument" as="node()" select="$nodeAltovaDocument"/>
  7960.                 <xsl:variable name="altova:nodeBookmark" as="node()?" select="$altova:DocumentMonolith/key('altova:BookmarksByName', current()/@altova:Dest)[1]"/>
  7961.                 <xsl:if test="$altova:nodeBookmark">
  7962.                     <xsl:variable name="altova:TargetDocument" as="node()" select="$altova:nodeBookmark/ancestor::altova:Document[1]"/>
  7963.                     <xsl:if test="$altova:SourceDocument/@altova:Url eq $altova:TargetDocument/@altova:Url">
  7964.                         <w:r>
  7965.                             <w:fldChar w:fldCharType="begin"/>
  7966.                         </w:r>
  7967.                         <w:r>
  7968.                             <w:rPr>
  7969.                                 <w:rStyle w:val="{@altova:CharPropertiesId}"/>
  7970.                             </w:rPr>
  7971.                             <w:instrText>
  7972.                                 <xsl:sequence select="concat('PAGEREF ', @altova:Dest)"/>
  7973.                             </w:instrText>
  7974.                         </w:r>
  7975.                         <w:r>
  7976.                             <w:fldChar w:fldCharType="separate"/>
  7977.                         </w:r>
  7978.                         <w:r>
  7979.                             <w:fldChar w:fldCharType="end"/>
  7980.                         </w:r>
  7981.                     </xsl:if>
  7982.                 </xsl:if>
  7983.             </xsl:when>
  7984.             <xsl:otherwise>
  7985.                 <xsl:message select="concat('Error: Unknown field: ', @altova:Name)"/>
  7986.             </xsl:otherwise>
  7987.         </xsl:choose>
  7988.     </xsl:template>
  7989.     <xsl:template match="altova:Image" mode="altova:Wordml">
  7990.         <w:r>
  7991.             <w:drawing>
  7992.                 <wp:inline distT="0" distB="0" distL="0" distR="0">
  7993.                     <wp:extent cx="{@altova:WidthEmu}" cy="{@altova:HeightEmu}"/>
  7994.                     <wp:docPr id="1" name="{@altova:Src}"/>
  7995.                     <a:graphic>
  7996.                         <a:graphicData uri="http://schemas.openxmlformats.org/drawingml/2006/picture">
  7997.                             <pic:pic>
  7998.                                 <xsl:variable name="nRefId" as="xs:integer" select="altova:CalcRefIdForImage(.)"/>
  7999.                                 <pic:nvPicPr>
  8000.                                     <pic:cNvPr id="{$nRefId}" name="{@altova:Src}"/>
  8001.                                     <pic:cNvPicPr/>
  8002.                                 </pic:nvPicPr>
  8003.                                 <pic:blipFill>
  8004.                                     <xsl:choose>
  8005.                                         <xsl:when test="$altova:bEmbedImages = true() or @altova:ImageDataBase64">
  8006.                                             <a:blip r:embed="{concat('rId', $nRefId)}"/>
  8007.                                         </xsl:when>
  8008.                                         <xsl:otherwise>
  8009.                                             <a:blip r:link="{concat('rId', $nRefId)}"/>
  8010.                                         </xsl:otherwise>
  8011.                                     </xsl:choose>
  8012.                                     <a:stretch>
  8013.                                         <a:fillRect/>
  8014.                                     </a:stretch>
  8015.                                 </pic:blipFill>
  8016.                                 <pic:spPr>
  8017.                                     <a:xfrm>
  8018.                                         <a:off x="0" y="0"/>
  8019.                                         <a:ext cx="{@altova:WidthEmu}" cy="{@altova:HeightEmu}"/>
  8020.                                     </a:xfrm>
  8021.                                     <a:prstGeom prst="rect">
  8022.                                         <a:avLst/>
  8023.                                     </a:prstGeom>
  8024.                                 </pic:spPr>
  8025.                             </pic:pic>
  8026.                         </a:graphicData>
  8027.                     </a:graphic>
  8028.                 </wp:inline>
  8029.             </w:drawing>
  8030.         </w:r>
  8031.     </xsl:template>
  8032.     <xsl:template match="altova:LastDocumentSectionEnd" mode="altova:Wordml">
  8033.         <xsl:variable name="nodeLastDocumentSection" as="node()" select="(//altova:DocumentSection)[last()]"/>
  8034.         <xsl:copy-of select="$nodeLastDocumentSection/w:sectPr" copy-namespaces="no"/>
  8035.     </xsl:template>
  8036.     <xsl:template match="altova:LayoutContainer" mode="altova:Wordml">
  8037.         <w:r>
  8038.             <xsl:if test="not(@altova:bSizeToPage)">
  8039.                 <w:br/>
  8040.             </xsl:if>
  8041.             <w:pict>
  8042.                 <v:group style="{concat('width: ', @nWidthPt, 'pt; height: ', @nHeightPt, 'pt; mso-position-horizontal-relative:char; mso-position-vertical-relative:line; position: absolute')}" coordsize="{concat(@nWidthPt * 10, ',', @nHeightPt * 10)}">
  8043.                     <v:rect style="{concat('position: absolute; left: 0; top: 0; width: ', @nWidthPt * 10, '; height: ', @nHeightPt * 10)}">
  8044.                         <xsl:attribute name="stroked">f</xsl:attribute>
  8045.                         <xsl:if test="altova:VmlRectProperties/@fillcolor">
  8046.                             <xsl:choose>
  8047.                                 <xsl:when test="altova:VmlRectProperties/@fillcolor eq 'transparent'">
  8048.                                     <xsl:attribute name="filled">
  8049.                                         <xsl:text>no</xsl:text>
  8050.                                     </xsl:attribute>
  8051.                                 </xsl:when>
  8052.                                 <xsl:otherwise>
  8053.                                     <xsl:attribute name="fillcolor">
  8054.                                         <xsl:value-of select="altova:VmlRectProperties/@fillcolor"/>
  8055.                                     </xsl:attribute>
  8056.                                 </xsl:otherwise>
  8057.                             </xsl:choose>
  8058.                         </xsl:if>
  8059.                         <xsl:if test="altova:VmlRectProperties/v:stroke">
  8060.                             <xsl:copy-of select="altova:VmlRectProperties/v:stroke" copy-namespaces="no"/>
  8061.                         </xsl:if>
  8062.                     </v:rect>
  8063.                     <xsl:apply-templates mode="altova:Wordml"/>
  8064.                 </v:group>
  8065.             </w:pict>
  8066.             <w:pict>
  8067.                 <v:shape style="{concat('width: ', @nWidthPt, 'pt; height: ', @nHeightPt, 'pt')}"/>
  8068.             </w:pict>
  8069.             <xsl:if test="not(@altova:bSizeToPage)">
  8070.                 <w:br/>
  8071.             </xsl:if>
  8072.         </w:r>
  8073.     </xsl:template>
  8074.     <xsl:template match="altova:Leader" mode="altova:Wordml">
  8075.         <w:r>
  8076.             <w:tab/>
  8077.         </w:r>
  8078.     </xsl:template>
  8079.     <xsl:template match="altova:Level" mode="altova:Wordml">
  8080.         <xsl:apply-templates mode="altova:Wordml"/>
  8081.     </xsl:template>
  8082.     <xsl:template match="altova:Link" mode="altova:Wordml">
  8083.         <xsl:param name="nodeAltovaDocument" as="node()" tunnel="yes"/>
  8084.         <xsl:variable name="sDest" as="xs:string" select="string(@altova:Dest)"/>
  8085.         <w:hyperlink>
  8086.             <xsl:variable name="bRefersToOutputDoc" as="xs:boolean" select="substring($sDest, 1, 1) = '#' or $sDest eq ''"/>
  8087.             <xsl:choose>
  8088.                 <xsl:when test="$bRefersToOutputDoc = true()">
  8089.                     <xsl:variable name="altova:nodeBookmark" as="node()?" select="$altova:DocumentMonolith/key('altova:BookmarksByName', substring(current()/@altova:Dest, 2))[1]"/>
  8090.                     <xsl:choose>
  8091.                         <xsl:when test="empty($altova:nodeBookmark)">
  8092.                             <xsl:attribute name="w:anchor">
  8093.                                 <xsl:value-of select="$nodeAltovaDocument/@altova:Url"/>
  8094.                             </xsl:attribute>
  8095.                         </xsl:when>
  8096.                         <xsl:otherwise>
  8097.                             <xsl:variable name="altova:SourceDocument" as="node()" select="$nodeAltovaDocument"/>
  8098.                             <xsl:variable name="altova:TargetDocument" as="node()" select="$altova:nodeBookmark/ancestor::altova:Document[1]"/>
  8099.                             <xsl:choose>
  8100.                                 <xsl:when test="$altova:SourceDocument/@altova:Url eq $altova:TargetDocument/@altova:Url">
  8101.                                     <xsl:attribute name="w:anchor">
  8102.                                         <xsl:variable name="sDestNormalized" as="xs:string" select="altova:NormalizeUrlForLink($sDest)"/>
  8103.                                         <xsl:value-of select="substring($sDestNormalized, 2)"/>
  8104.                                     </xsl:attribute>
  8105.                                 </xsl:when>
  8106.                                 <xsl:otherwise>
  8107.                                     <xsl:variable name="sRefId" as="xs:string" select="altova:CalcRefIdForExternalLink(.)"/>
  8108.                                     <xsl:attribute name="r:id">
  8109.                                         <xsl:value-of select="$sRefId"/>
  8110.                                     </xsl:attribute>
  8111.                                 </xsl:otherwise>
  8112.                             </xsl:choose>
  8113.                         </xsl:otherwise>
  8114.                     </xsl:choose>
  8115.                 </xsl:when>
  8116.                 <xsl:otherwise>
  8117.                     <xsl:variable name="sRefId" as="xs:string" select="altova:CalcRefIdForExternalLink(.)"/>
  8118.                     <xsl:attribute name="r:id">
  8119.                         <xsl:value-of select="$sRefId"/>
  8120.                     </xsl:attribute>
  8121.                 </xsl:otherwise>
  8122.             </xsl:choose>
  8123.             <xsl:apply-templates mode="altova:Wordml"/>
  8124.         </w:hyperlink>
  8125.     </xsl:template>
  8126.     <xsl:template match="altova:Marker" mode="altova:Wordml">
  8127.         <xsl:apply-templates mode="altova:Wordml"/>
  8128.     </xsl:template>
  8129.     <xsl:template match="altova:NewLine" mode="altova:Wordml">
  8130.         <w:r>
  8131.             <w:br/>
  8132.         </w:r>
  8133.     </xsl:template>
  8134.     <xsl:template match="altova:PageBreak" mode="altova:Wordml">
  8135.         <w:r>
  8136.             <w:br w:type="page"/>
  8137.         </w:r>
  8138.     </xsl:template>
  8139.     <xsl:template match="altova:PageFooter" mode="altova:Wordml">
  8140.         <w:ftr>
  8141.             <xsl:apply-templates mode="altova:Wordml"/>
  8142.         </w:ftr>
  8143.     </xsl:template>
  8144.     <xsl:template match="altova:PageHeader" mode="altova:Wordml">
  8145.         <w:hdr>
  8146.             <xsl:apply-templates mode="altova:Wordml"/>
  8147.         </w:hdr>
  8148.     </xsl:template>
  8149.     <xsl:template match="altova:Paragraph" mode="altova:Wordml">
  8150.         <w:p>
  8151.             <xsl:choose>
  8152.                 <xsl:when test="altova:DocumentSection">
  8153.                     <xsl:apply-templates mode="altova:Wordml"/>
  8154.                 </xsl:when>
  8155.                 <xsl:otherwise>
  8156.                     <xsl:variable name="bListItem" as="xs:boolean" select="exists(ancestor::altova:List)"/>
  8157.                     <xsl:choose>
  8158.                         <xsl:when test="@altova:ParagraphStyle or $bListItem">
  8159.                             <w:pPr>
  8160.                                 <xsl:if test="@altova:ParagraphStyle">
  8161.                                     <w:pStyle w:val="{@altova:ParagraphStyle}"/>
  8162.                                 </xsl:if>
  8163.                                 <xsl:if test="$bListItem">
  8164.                                     <xsl:variable name="nodeAltovaList" as="node()" select="ancestor::altova:List[1]"/>
  8165.                                     <xsl:variable name="nListNum" as="xs:integer" select="count(preceding::altova:List) + 1"/>
  8166.                                     <w:numPr>
  8167.                                         <w:ilvl w:val="0"/>
  8168.                                         <w:numId w:val="{$nListNum + 1}"/>
  8169.                                     </w:numPr>
  8170.                                 </xsl:if>
  8171.                                 <xsl:if test="xs:string(node-name(*[last()])) eq 'altova:ColumnBreak'">
  8172.                                     <w:rPr>
  8173.                                         <w:sz w:val="0"/>
  8174.                                     </w:rPr>
  8175.                                 </xsl:if>
  8176.                             </w:pPr>
  8177.                         </xsl:when>
  8178.                         <xsl:otherwise>
  8179.                             <xsl:if test="xs:string(node-name(*[last()])) eq 'altova:ColumnBreak'">
  8180.                                 <w:pPr>
  8181.                                     <w:rPr>
  8182.                                         <w:sz w:val="0"/>
  8183.                                     </w:rPr>
  8184.                                 </w:pPr>
  8185.                             </xsl:if>
  8186.                         </xsl:otherwise>
  8187.                     </xsl:choose>
  8188.                     <xsl:apply-templates mode="altova:Wordml"/>
  8189.                 </xsl:otherwise>
  8190.             </xsl:choose>
  8191.         </w:p>
  8192.     </xsl:template>
  8193.     <xsl:template match="altova:Ref" mode="altova:Wordml">
  8194.         <xsl:apply-templates mode="altova:Wordml"/>
  8195.     </xsl:template>
  8196.     <xsl:template match="altova:ShapeLine" mode="altova:Wordml">
  8197.         <v:line from="{concat(@nFromXPt * 10, ', ', @nFromYPt * 10)}" to="{concat(@nToXPt * 10, ', ', @nToYPt * 10)}" style="position: absolute" strokecolor="{@altova:Color}" strokeweight="{@altova:Width}">
  8198.             <v:stroke dashstyle="{@altova:DashStyle}" endcap="round"/>
  8199.         </v:line>
  8200.     </xsl:template>
  8201.     <xsl:template match="altova:Table" mode="altova:Wordml">
  8202.         <xsl:choose>
  8203.             <xsl:when test="empty(.//altova:TableCell)"/>
  8204.             <xsl:otherwise>
  8205.                 <w:tbl>
  8206.                     <xsl:apply-templates select="altova:TableProperties" mode="altova:Wordml"/>
  8207.                     <w:tblGrid/>
  8208.                     <xsl:apply-templates select="*[name() != 'altova:TableProperties']" mode="altova:Wordml"/>
  8209.                 </w:tbl>
  8210.             </xsl:otherwise>
  8211.         </xsl:choose>
  8212.     </xsl:template>
  8213.     <xsl:template match="altova:TableBody" mode="altova:Wordml">
  8214.         <xsl:apply-templates mode="altova:Wordml"/>
  8215.     </xsl:template>
  8216.     <xsl:template match="altova:TableCell" mode="altova:Wordml">
  8217.         <w:tc>
  8218.             <w:tcPr>
  8219.                 <xsl:variable name="nCell" as="xs:integer" select="sum(for $cell in preceding-sibling::altova:TableCell return if($cell/altova:TableCellProperties/w:gridSpan/@w:val) then xs:integer($cell/altova:TableCellProperties/w:gridSpan/@w:val) else 1) + 1"/>
  8220.                 <xsl:variable name="nColSpan" as="xs:integer" select="if (altova:TableCellProperties/w:gridSpan/@w:val) then xs:integer(altova:TableCellProperties/w:gridSpan/@w:val) else 1"/>
  8221.                 <xsl:variable name="nodeAltovaTableGrid" as="node()" select="ancestor::altova:Table[1]/altova:TableGrid"/>
  8222.                 <xsl:variable name="nodeAltovaTableGridCol" as="node()" select="$nodeAltovaTableGrid/altova:GridCol[$nCell]"/>
  8223.                 <xsl:variable name="sType" as="xs:string">
  8224.                     <xsl:choose>
  8225.                         <xsl:when test="$nodeAltovaTableGridCol/@altova:Type eq 'twips'">
  8226.                             <xsl:text>dxa</xsl:text>
  8227.                         </xsl:when>
  8228.                         <xsl:when test="$nodeAltovaTableGridCol/@altova:Type eq 'percent'">
  8229.                             <xsl:text>pct</xsl:text>
  8230.                         </xsl:when>
  8231.                         <xsl:when test="$nodeAltovaTableGridCol/@altova:Type eq 'auto'">
  8232.                             <xsl:text>auto</xsl:text>
  8233.                         </xsl:when>
  8234.                         <xsl:otherwise>
  8235.                             <xsl:message select="concat('Error: Unknown length type for table column width: ', $nodeAltovaTableGridCol/@altova:Type)"/>
  8236.                         </xsl:otherwise>
  8237.                     </xsl:choose>
  8238.                 </xsl:variable>
  8239.                 <w:tcW w:type="{$sType}">
  8240.                     <xsl:if test="$nodeAltovaTableGridCol/@altova:Type ne 'auto'">
  8241.                         <xsl:attribute name="w:w" select="sum( $nodeAltovaTableGrid/altova:GridCol[ position() ge $nCell and position() lt ($nCell + $nColSpan) and @altova:Type eq $nodeAltovaTableGridCol/@altova:Type ]/@altova:Width )"/>
  8242.                     </xsl:if>
  8243.                 </w:tcW>
  8244.                 <xsl:sequence select="altova:BuildTableCellProperties(., 'w:gridSpan')"/>
  8245.                 <xsl:sequence select="altova:BuildTableCellProperties(., 'w:vMerge')"/>
  8246.                 <xsl:sequence select="altova:BuildTableCellProperties(., 'w:tcBorders')"/>
  8247.                 <xsl:sequence select="altova:BuildTableCellProperties(., 'w:shd')"/>
  8248.                 <xsl:sequence select="altova:BuildTableCellProperties(., 'w:tcMar')"/>
  8249.                 <xsl:copy-of select="altova:TableCellProperties/w:textDirection" copy-namespaces="no"/>
  8250.                 <xsl:sequence select="altova:BuildTableCellProperties(., 'w:vAlign')"/>
  8251.             </w:tcPr>
  8252.             <xsl:apply-templates mode="altova:Wordml"/>
  8253.         </w:tc>
  8254.     </xsl:template>
  8255.     <xsl:template match="altova:TableProperties" mode="altova:Wordml">
  8256.         <w:tblPr>
  8257.             <xsl:copy-of select="*" copy-namespaces="no"/>
  8258.         </w:tblPr>
  8259.     </xsl:template>
  8260.     <xsl:template match="altova:TableRow" mode="altova:Wordml">
  8261.         <w:tr>
  8262.             <xsl:apply-templates mode="altova:Wordml"/>
  8263.         </w:tr>
  8264.     </xsl:template>
  8265.     <xsl:template match="altova:TableRowProperties" mode="altova:Wordml">
  8266.         <xsl:copy-of select="*" copy-namespaces="no"/>
  8267.     </xsl:template>
  8268.     <xsl:template match="altova:TextBox" mode="altova:Wordml">
  8269.         <xsl:variable name="sStyle" as="xs:string" select="concat('position: absolute; left: ', @nLeft * 10, '; top: ', @nTop * 10, '; width: ', @nWidth * 10, '; height: ', @nHeight * 10)"/>
  8270.         <v:rect style="{$sStyle}">
  8271.             <xsl:attribute name="stroked">f</xsl:attribute>
  8272.             <xsl:if test="altova:VmlRectProperties/@fillcolor">
  8273.                 <xsl:choose>
  8274.                     <xsl:when test="altova:VmlRectProperties/@fillcolor eq 'transparent'">
  8275.                         <xsl:attribute name="filled">
  8276.                             <xsl:text>no</xsl:text>
  8277.                         </xsl:attribute>
  8278.                     </xsl:when>
  8279.                     <xsl:otherwise>
  8280.                         <xsl:attribute name="fillcolor">
  8281.                             <xsl:value-of select="altova:VmlRectProperties/@fillcolor"/>
  8282.                         </xsl:attribute>
  8283.                     </xsl:otherwise>
  8284.                 </xsl:choose>
  8285.             </xsl:if>
  8286.             <xsl:if test="altova:VmlRectProperties/v:stroke">
  8287.                 <xsl:copy-of select="altova:VmlRectProperties/v:stroke" copy-namespaces="no"/>
  8288.             </xsl:if>
  8289.             <v:textbox>
  8290.                 <xsl:if test="@nRotation">
  8291.                     <xsl:attribute name="style">
  8292.                         <xsl:choose>
  8293.                             <xsl:when test="@nRotation = 90">
  8294.                                 <xsl:text>layout-flow:vertical</xsl:text>
  8295.                             </xsl:when>
  8296.                             <xsl:when test="@nRotation = 270">
  8297.                                 <xsl:text>layout-flow:vertical;mso-layout-flow-alt:bottom-to-top</xsl:text>
  8298.                             </xsl:when>
  8299.                         </xsl:choose>
  8300.                     </xsl:attribute>
  8301.                 </xsl:if>
  8302.                 <xsl:if test="altova:VmlRectProperties/@inset">
  8303.                     <xsl:attribute name="inset">
  8304.                         <xsl:value-of select="altova:VmlRectProperties/@inset"/>
  8305.                     </xsl:attribute>
  8306.                 </xsl:if>
  8307.                 <w:txbxContent>
  8308.                     <xsl:apply-templates mode="altova:Wordml"/>
  8309.                 </w:txbxContent>
  8310.             </v:textbox>
  8311.         </v:rect>
  8312.     </xsl:template>
  8313.     <xsl:template match="altova:TextRun" mode="altova:Wordml">
  8314.         <xsl:variable name="sWhitespace" select="(ancestor-or-self::*/altova:CharacterProperties/@altova:whitespace)[last()]"/>
  8315.         <xsl:variable name="bPreserveAllWhitespace" select="$sWhitespace and $sWhitespace eq 'preserve-all'"/>
  8316.         <xsl:variable name="bPreserveNewlines" select="$bPreserveAllWhitespace or ($sWhitespace and $sWhitespace eq 'preserve-newlines')"/>
  8317.         <w:r>
  8318.             <xsl:choose>
  8319.                 <xsl:when test="$bPreserveAllWhitespace">
  8320.                     <xsl:sequence select="altova:HandleWhitespace_PreserveAll(.)"/>
  8321.                 </xsl:when>
  8322.                 <xsl:otherwise>
  8323.                     <xsl:choose>
  8324.                         <xsl:when test="$bPreserveNewlines">
  8325.                             <xsl:sequence select="altova:HandleWhitespace_PreserveNewlines(.)"/>
  8326.                         </xsl:when>
  8327.                         <xsl:otherwise>
  8328.                             <xsl:sequence select="altova:HandleWhitespace_PreserveNone(.)"/>
  8329.                         </xsl:otherwise>
  8330.                     </xsl:choose>
  8331.                 </xsl:otherwise>
  8332.             </xsl:choose>
  8333.         </w:r>
  8334.     </xsl:template>
  8335.     <xsl:template match="altova:UnescapedText" mode="altova:Wordml">
  8336.         <xsl:value-of select="." disable-output-escaping="yes"/>
  8337.     </xsl:template>
  8338.     <xsl:template match="altova:VmlRectProperties" mode="altova:Wordml"/>
  8339.     <xsl:function name="altova:AddParagraphStylesForHtml" as="node()*">
  8340.         <xsl:param name="sParaType" as="xs:string"/>
  8341.         <xsl:choose>
  8342.             <xsl:when test="$sParaType = 'address'">
  8343.                 <xsl:sequence select="altova:AddParagraphStylesForHtml_Address()"/>
  8344.             </xsl:when>
  8345.             <xsl:when test="$sParaType = 'blockquote'">
  8346.                 <xsl:sequence select="altova:AddParagraphStylesForHtml_Blockquote()"/>
  8347.             </xsl:when>
  8348.             <xsl:when test="$sParaType = 'center'">
  8349.                 <xsl:sequence select="altova:AddParagraphStylesForHtml_Center()"/>
  8350.             </xsl:when>
  8351.             <xsl:when test="$sParaType = 'div'">
  8352.                 <xsl:sequence select="altova:AddParagraphStylesForHtml_Div()"/>
  8353.             </xsl:when>
  8354.             <xsl:when test="$sParaType = 'fieldset'">
  8355.                 <xsl:sequence select="altova:AddParagraphStylesForHtml_Fieldset()"/>
  8356.             </xsl:when>
  8357.             <xsl:when test="$sParaType = 'h1'">
  8358.                 <xsl:sequence select="altova:AddParagraphStylesForHtml_H1()"/>
  8359.             </xsl:when>
  8360.             <xsl:when test="$sParaType = 'h2'">
  8361.                 <xsl:sequence select="altova:AddParagraphStylesForHtml_H2()"/>
  8362.             </xsl:when>
  8363.             <xsl:when test="$sParaType = 'h3'">
  8364.                 <xsl:sequence select="altova:AddParagraphStylesForHtml_H3()"/>
  8365.             </xsl:when>
  8366.             <xsl:when test="$sParaType = 'h4'">
  8367.                 <xsl:sequence select="altova:AddParagraphStylesForHtml_H4()"/>
  8368.             </xsl:when>
  8369.             <xsl:when test="$sParaType = 'h5'">
  8370.                 <xsl:sequence select="altova:AddParagraphStylesForHtml_H5()"/>
  8371.             </xsl:when>
  8372.             <xsl:when test="$sParaType = 'h6'">
  8373.                 <xsl:sequence select="altova:AddParagraphStylesForHtml_H6()"/>
  8374.             </xsl:when>
  8375.             <xsl:when test="$sParaType = 'p'">
  8376.                 <xsl:sequence select="altova:AddParagraphStylesForHtml_P()"/>
  8377.             </xsl:when>
  8378.             <xsl:when test="$sParaType = 'pre'">
  8379.                 <xsl:sequence select="altova:AddParagraphStylesForHtml_Pre()"/>
  8380.             </xsl:when>
  8381.             <xsl:when test="$sParaType = 'prewrap'">
  8382.                 <xsl:sequence select="altova:AddParagraphStylesForHtml_Prewrap()"/>
  8383.             </xsl:when>
  8384.         </xsl:choose>
  8385.     </xsl:function>
  8386.     <xsl:function name="altova:AddParagraphStylesForHtml_Address" as="node()*">
  8387.         <w:rPr>
  8388.             <w:i/>
  8389.         </w:rPr>
  8390.     </xsl:function>
  8391.     <xsl:function name="altova:AddParagraphStylesForHtml_Blockquote" as="node()+">
  8392.         <w:pPr>
  8393.             <w:spacing w:before="269" w:after="269" w:line="240" w:lineRule="auto"/>
  8394.             <w:ind w:left="800" w:right="800"/>
  8395.         </w:pPr>
  8396.     </xsl:function>
  8397.     <xsl:function name="altova:AddParagraphStylesForHtml_Center" as="node()+">
  8398.         <w:pPr>
  8399.             <w:jc w:val="center"/>
  8400.         </w:pPr>
  8401.     </xsl:function>
  8402.     <xsl:function name="altova:AddParagraphStylesForHtml_Div" as="node()*"/>
  8403.     <xsl:function name="altova:AddParagraphStylesForHtml_Fieldset" as="node()+">
  8404.         <w:pPr>
  8405.             <w:pBdr>
  8406.                 <w:top w:val="single" w:color="808080" w:sz="6"/>
  8407.                 <w:left w:val="single" w:color="808080" w:sz="6"/>
  8408.                 <w:bottom w:val="single" w:color="808080" w:sz="6"/>
  8409.                 <w:right w:val="single" w:color="808080" w:sz="6"/>
  8410.                 <w:between w:val="single" w:color="808080" w:sz="6"/>
  8411.             </w:pBdr>
  8412.             <w:spacing w:before="269" w:after="269" w:line="240" w:lineRule="auto"/>
  8413.         </w:pPr>
  8414.     </xsl:function>
  8415.     <xsl:function name="altova:AddParagraphStylesForHtml_H1" as="node()+">
  8416.         <w:pPr>
  8417.             <w:spacing w:before="161" w:after="161" w:line="240" w:lineRule="auto"/>
  8418.         </w:pPr>
  8419.         <w:rPr>
  8420.             <w:b/>
  8421.             <w:sz w:val="48"/>
  8422.         </w:rPr>
  8423.     </xsl:function>
  8424.     <xsl:function name="altova:AddParagraphStylesForHtml_H2" as="node()+">
  8425.         <w:pPr>
  8426.             <w:spacing w:before="180" w:after="180" w:line="240" w:lineRule="auto"/>
  8427.         </w:pPr>
  8428.         <w:rPr>
  8429.             <w:b/>
  8430.             <w:sz w:val="36"/>
  8431.         </w:rPr>
  8432.     </xsl:function>
  8433.     <xsl:function name="altova:AddParagraphStylesForHtml_H3" as="node()+">
  8434.         <w:pPr>
  8435.             <w:spacing w:before="199" w:after="199" w:line="240" w:lineRule="auto"/>
  8436.         </w:pPr>
  8437.         <w:rPr>
  8438.             <w:b/>
  8439.             <w:sz w:val="28"/>
  8440.         </w:rPr>
  8441.     </xsl:function>
  8442.     <xsl:function name="altova:AddParagraphStylesForHtml_H4" as="node()+">
  8443.         <w:pPr>
  8444.             <w:spacing w:before="269" w:after="269" w:line="240" w:lineRule="auto"/>
  8445.         </w:pPr>
  8446.         <w:rPr>
  8447.             <w:b/>
  8448.         </w:rPr>
  8449.     </xsl:function>
  8450.     <xsl:function name="altova:AddParagraphStylesForHtml_H5" as="node()+">
  8451.         <w:pPr>
  8452.             <w:spacing w:before="360" w:after="360" w:line="240" w:lineRule="auto"/>
  8453.         </w:pPr>
  8454.         <w:rPr>
  8455.             <w:b/>
  8456.             <w:sz w:val="20"/>
  8457.         </w:rPr>
  8458.     </xsl:function>
  8459.     <xsl:function name="altova:AddParagraphStylesForHtml_H6" as="node()+">
  8460.         <w:pPr>
  8461.             <w:spacing w:before="401" w:after="401" w:line="240" w:lineRule="auto"/>
  8462.         </w:pPr>
  8463.         <w:rPr>
  8464.             <w:b/>
  8465.             <w:sz w:val="18"/>
  8466.         </w:rPr>
  8467.     </xsl:function>
  8468.     <xsl:function name="altova:AddParagraphStylesForHtml_P" as="node()+">
  8469.         <w:pPr>
  8470.             <w:spacing w:before="269" w:after="269" w:line="240" w:lineRule="auto"/>
  8471.         </w:pPr>
  8472.     </xsl:function>
  8473.     <xsl:function name="altova:AddParagraphStylesForHtml_Pre" as="node()+">
  8474.         <w:rPr/>
  8475.     </xsl:function>
  8476.     <xsl:function name="altova:AddParagraphStylesForHtml_Prewrap" as="node()+">
  8477.         <w:rPr/>
  8478.     </xsl:function>
  8479.     <xsl:function name="altova:BuildGridCol_AddCol" as="xs:integer*">
  8480.         <xsl:param name="seqOrig" as="xs:integer*"/>
  8481.         <xsl:param name="nAdd" as="xs:integer"/>
  8482.         <xsl:choose>
  8483.             <xsl:when test="sum($seqOrig) lt $nAdd">
  8484.                 <xsl:sequence select="($seqOrig, $nAdd)"/>
  8485.             </xsl:when>
  8486.             <xsl:otherwise>
  8487.                 <xsl:variable name="nIndex" as="xs:integer?" select="altova:BuildGridCol_GetColIndexBeforeOrEqualToGridPos($seqOrig, $nAdd)"/>
  8488.                 <xsl:variable name="nSumToIndex" as="xs:integer" select="sum(subsequence($seqOrig, 1, $nIndex))"/>
  8489.                 <xsl:choose>
  8490.                     <xsl:when test="$nSumToIndex eq $nAdd">
  8491.                         <xsl:sequence select="$seqOrig"/>
  8492.                     </xsl:when>
  8493.                     <xsl:otherwise>
  8494.                         <xsl:sequence select="(subsequence($seqOrig, 1, $nIndex), $nAdd - $nSumToIndex, $seqOrig[$nIndex+1] - ($nAdd - $nSumToIndex), subsequence($seqOrig, $nIndex+2))"/>
  8495.                     </xsl:otherwise>
  8496.                 </xsl:choose>
  8497.             </xsl:otherwise>
  8498.         </xsl:choose>
  8499.     </xsl:function>
  8500.     <xsl:function name="altova:BuildGridCol_AddRow" as="xs:integer*">
  8501.         <xsl:param name="seqOrig" as="xs:integer*"/>
  8502.         <xsl:param name="seqAdd" as="xs:integer*"/>
  8503.         <xsl:choose>
  8504.             <xsl:when test="empty($seqAdd)">
  8505.                 <xsl:sequence select="$seqOrig"/>
  8506.             </xsl:when>
  8507.             <xsl:otherwise>
  8508.                 <xsl:variable name="seqOrigPlus1Col" as="xs:integer+" select="altova:BuildGridCol_AddCol($seqOrig, sum($seqAdd))"/>
  8509.                 <xsl:sequence select="altova:BuildGridCol_AddRow($seqOrigPlus1Col, subsequence($seqAdd, 1, count($seqAdd) - 1))"/>
  8510.             </xsl:otherwise>
  8511.         </xsl:choose>
  8512.     </xsl:function>
  8513.     <xsl:function name="altova:BuildGridCol_GetColIndexBeforeOrEqualToGridPos" as="xs:integer*">
  8514.         <xsl:param name="seqColWidths" as="xs:integer*"/>
  8515.         <xsl:param name="nGridPos" as="xs:integer"/>
  8516.         <xsl:sequence select="altova:BuildGridCol_GetColIndexBeforeOrEqualToGridPos_Core($seqColWidths, $nGridPos, 0, 0)"/>
  8517.     </xsl:function>
  8518.     <xsl:function name="altova:BuildGridCol_GetColIndexBeforeOrEqualToGridPos_Core" as="xs:integer*">
  8519.         <xsl:param name="seqColWidths" as="xs:integer*"/>
  8520.         <xsl:param name="nGridPos" as="xs:integer"/>
  8521.         <xsl:param name="nCurrIndex" as="xs:integer"/>
  8522.         <xsl:param name="nCurrSum" as="xs:integer"/>
  8523.         <xsl:choose>
  8524.             <xsl:when test="$nCurrIndex ge count($seqColWidths)">
  8525.                 <xsl:sequence select="$nCurrIndex"/>
  8526.             </xsl:when>
  8527.             <xsl:otherwise>
  8528.                 <xsl:variable name="nNewSum" as="xs:integer" select="$nCurrSum + $seqColWidths[$nCurrIndex + 1]"/>
  8529.                 <xsl:choose>
  8530.                     <xsl:when test="$nNewSum gt $nGridPos">
  8531.                         <xsl:sequence select="$nCurrIndex"/>
  8532.                     </xsl:when>
  8533.                     <xsl:otherwise>
  8534.                         <xsl:sequence select="altova:BuildGridCol_GetColIndexBeforeOrEqualToGridPos_Core($seqColWidths, $nGridPos, $nCurrIndex + 1, $nNewSum)"/>
  8535.                     </xsl:otherwise>
  8536.                 </xsl:choose>
  8537.             </xsl:otherwise>
  8538.         </xsl:choose>
  8539.     </xsl:function>
  8540.     <xsl:function name="altova:BuildStyleNameForNode_Char" as="xs:string">
  8541.         <xsl:param name="nodePassed" as="node()"/>
  8542.         <xsl:variable name="sStyleName" as="xs:string?">
  8543.             <xsl:choose>
  8544.                 <xsl:when test="$nodePassed/@altova:bInherit = 'false'">
  8545.                     <xsl:value-of select="$nodePassed/@altova:CharPropertiesId"/>
  8546.                 </xsl:when>
  8547.                 <xsl:otherwise>
  8548.                     <xsl:value-of select="string-join($nodePassed/ancestor-or-self::*/@altova:CharPropertiesId, '-')"/>
  8549.                 </xsl:otherwise>
  8550.             </xsl:choose>
  8551.         </xsl:variable>
  8552.         <xsl:sequence select="if ($sStyleName) then concat('StyleVision ', $sStyleName) else ''"/>
  8553.     </xsl:function>
  8554.     <xsl:function name="altova:BuildStyleNameForNode_CharCore" as="xs:string">
  8555.         <xsl:param name="nodePassed" as="node()"/>
  8556.         <xsl:choose>
  8557.             <xsl:when test="not($nodePassed/..)">
  8558.                 <xsl:value-of select="$nodePassed/@altova:CharPropertiesId"/>
  8559.             </xsl:when>
  8560.             <xsl:when test="not($nodePassed/@altova:CharPropertiesId)">
  8561.                 <xsl:value-of select="altova:BuildStyleNameForNode_CharCore($nodePassed/..)"/>
  8562.             </xsl:when>
  8563.             <xsl:when test="$nodePassed/@altova:CharPropertiesId">
  8564.                 <xsl:variable name="sStyleNameForParent" as="xs:string" select="altova:BuildStyleNameForNode_CharCore($nodePassed/..)"/>
  8565.                 <xsl:value-of select="if ($sStyleNameForParent) then concat($sStyleNameForParent, '-', $nodePassed/@altova:CharPropertiesId) else $nodePassed/@altova:CharPropertiesId"/>
  8566.             </xsl:when>
  8567.             <xsl:otherwise>
  8568.                 <xsl:message select="concat('Error: altova:BuildStyleNameForNode_CharCore(): ID ', $nodePassed/@altova:CharPropertiesId)"/>
  8569.             </xsl:otherwise>
  8570.         </xsl:choose>
  8571.     </xsl:function>
  8572.     <xsl:function name="altova:BuildStyleNameForNode_Para" as="xs:string">
  8573.         <xsl:param name="nodePassed" as="node()"/>
  8574.         <xsl:variable name="sStyleName" as="xs:string?">
  8575.             <xsl:choose>
  8576.                 <xsl:when test="$nodePassed/@altova:bInherit = 'false'">
  8577.                     <xsl:value-of select="$nodePassed/@altova:ParaPropertiesId"/>
  8578.                 </xsl:when>
  8579.                 <xsl:otherwise>
  8580.                     <xsl:value-of select="altova:BuildStyleNameForNode_ParaCore($nodePassed)"/>
  8581.                 </xsl:otherwise>
  8582.             </xsl:choose>
  8583.         </xsl:variable>
  8584.         <xsl:sequence select="if ($sStyleName) then concat('StyleVision ', $sStyleName) else ''"/>
  8585.     </xsl:function>
  8586.     <xsl:function name="altova:BuildStyleNameForNode_ParaCore" as="xs:string">
  8587.         <xsl:param name="nodePassed" as="node()"/>
  8588.         <xsl:choose>
  8589.             <xsl:when test="not($nodePassed/..)">
  8590.                 <xsl:value-of select="altova:BuildStyleNameForNode_Para_LocalPart($nodePassed)"/>
  8591.             </xsl:when>
  8592.             <xsl:otherwise>
  8593.                 <xsl:variable name="sLocalPart" as="xs:string" select="altova:BuildStyleNameForNode_Para_LocalPart($nodePassed)"/>
  8594.                 <xsl:variable name="sParentPart" as="xs:string" select="altova:BuildStyleNameForNode_ParaCore($nodePassed/..)"/>
  8595.                 <xsl:choose>
  8596.                     <xsl:when test="$sParentPart and $sLocalPart">
  8597.                         <xsl:value-of select="concat($sParentPart, '-', $sLocalPart)"/>
  8598.                     </xsl:when>
  8599.                     <xsl:otherwise>
  8600.                         <xsl:value-of select="concat($sParentPart, $sLocalPart)"/>
  8601.                     </xsl:otherwise>
  8602.                 </xsl:choose>
  8603.             </xsl:otherwise>
  8604.         </xsl:choose>
  8605.     </xsl:function>
  8606.     <xsl:function name="altova:BuildStyleNameForNode_Para_LocalPart" as="xs:string">
  8607.         <xsl:param name="nodePassed" as="node()"/>
  8608.         <xsl:choose>
  8609.             <xsl:when test="$nodePassed/@altova:ParagraphType and $nodePassed/altova:ParagraphProperties">
  8610.                 <xsl:value-of select="concat($nodePassed/@altova:ParagraphType, '-', $nodePassed/@altova:ParaPropertiesId)"/>
  8611.             </xsl:when>
  8612.             <xsl:when test="$nodePassed/@altova:ParagraphType">
  8613.                 <xsl:value-of select="$nodePassed/@altova:ParagraphType"/>
  8614.             </xsl:when>
  8615.             <xsl:when test="$nodePassed/altova:ParagraphProperties">
  8616.                 <xsl:value-of select="$nodePassed/@altova:ParaPropertiesId"/>
  8617.             </xsl:when>
  8618.             <xsl:otherwise>
  8619.                 <xsl:value-of select="''"/>
  8620.             </xsl:otherwise>
  8621.         </xsl:choose>
  8622.     </xsl:function>
  8623.     <xsl:function name="altova:BuildTableCellProperties" as="node()?">
  8624.         <xsl:param name="nodeCurr" as="node()"/>
  8625.         <xsl:param name="sPropName" as="xs:string"/>
  8626.         <xsl:variable name="nodeProperty" as="node()?" select="altova:BuildTableCellPropertiesCore($nodeCurr, $sPropName)"/>
  8627.         <xsl:if test="$nodeProperty">
  8628.             <xsl:copy-of select="$nodeProperty" copy-namespaces="no"/>
  8629.         </xsl:if>
  8630.     </xsl:function>
  8631.     <xsl:function name="altova:BuildTableCellPropertiesCore" as="node()?">
  8632.         <xsl:param name="nodeCurr" as="node()"/>
  8633.         <xsl:param name="sPropName" as="xs:string"/>
  8634.         <xsl:variable name="nodeProperty" as="node()?" select="$nodeCurr/altova:TableCellProperties/*[name() = $sPropName]"/>
  8635.         <xsl:choose>
  8636.             <xsl:when test="$nodeProperty">
  8637.                 <xsl:sequence select="$nodeProperty"/>
  8638.             </xsl:when>
  8639.             <xsl:when test="name($nodeCurr) != 'altova:Table'">
  8640.                 <xsl:sequence select="altova:BuildTableCellPropertiesCore($nodeCurr/.., $sPropName)"/>
  8641.             </xsl:when>
  8642.             <xsl:otherwise>
  8643.                 <xsl:sequence select="()"/>
  8644.             </xsl:otherwise>
  8645.         </xsl:choose>
  8646.     </xsl:function>
  8647.     <xsl:function name="altova:CalcIdForBookmark" as="xs:integer">
  8648.         <xsl:param name="nodeBookmark" as="node()"/>
  8649.         <xsl:sequence select="count($nodeBookmark/preceding::altova:Bookmark)"/>
  8650.     </xsl:function>
  8651.     <xsl:function name="altova:CalcRefIdForExternalLink" as="xs:string">
  8652.         <xsl:param name="nodeLink" as="node()"/>
  8653.         <xsl:variable name="nodeRoot" as="node()">
  8654.             <xsl:choose>
  8655.                 <xsl:when test="$nodeLink/ancestor::altova:PageHeader">
  8656.                     <xsl:sequence select="$nodeLink/ancestor::altova:PageHeader"/>
  8657.                 </xsl:when>
  8658.                 <xsl:when test="$nodeLink/ancestor::altova:PageFooter">
  8659.                     <xsl:sequence select="$nodeLink/ancestor::altova:PageFooter"/>
  8660.                 </xsl:when>
  8661.                 <xsl:when test="$nodeLink/ancestor::altova:Document">
  8662.                     <xsl:sequence select="$nodeLink/ancestor::altova:Document"/>
  8663.                 </xsl:when>
  8664.                 <xsl:otherwise>
  8665.                     <xsl:message select="'Internal error in altova:CalcRefIdForExternalLink()'" terminate="yes"/>
  8666.                 </xsl:otherwise>
  8667.             </xsl:choose>
  8668.         </xsl:variable>
  8669.         <xsl:variable name="nPredecessors" as="xs:integer" select="count($nodeLink/preceding::altova:Link[some $a in ancestor::* satisfies $a is $nodeRoot])"/>
  8670.         <xsl:variable name="nAncestors" as="xs:integer" select="count($nodeLink/ancestor::altova:Link[some $a in ancestor::* satisfies $a is $nodeRoot])"/>
  8671.         <xsl:value-of select="concat('rId-Link-', $nPredecessors + $nAncestors)"/>
  8672.     </xsl:function>
  8673.     <xsl:function name="altova:CalcRefIdForImage" as="xs:integer">
  8674.         <xsl:param name="nodeImage" as="node()"/>
  8675.         <xsl:variable name="nodeRoot" as="node()">
  8676.             <xsl:choose>
  8677.                 <xsl:when test="$nodeImage/ancestor::altova:PageHeader">
  8678.                     <xsl:sequence select="$nodeImage/ancestor::altova:PageHeader"/>
  8679.                 </xsl:when>
  8680.                 <xsl:when test="$nodeImage/ancestor::altova:PageFooter">
  8681.                     <xsl:sequence select="$nodeImage/ancestor::altova:PageFooter"/>
  8682.                 </xsl:when>
  8683.                 <xsl:when test="$nodeImage/ancestor::altova:Document">
  8684.                     <xsl:sequence select="$nodeImage/ancestor::altova:Document"/>
  8685.                 </xsl:when>
  8686.                 <xsl:otherwise>
  8687.                     <xsl:message select="'Internal error in altova:CalcRefIdForImage()'" terminate="yes"/>
  8688.                 </xsl:otherwise>
  8689.             </xsl:choose>
  8690.         </xsl:variable>
  8691.         <xsl:variable name="nPredecessors" as="xs:integer" select="count($nodeImage/preceding::altova:Image[some $a in ancestor::* satisfies $a is $nodeRoot])"/>
  8692.         <xsl:value-of select="$altova:nLastStaticId + $nPredecessors + 1"/>
  8693.     </xsl:function>
  8694.     <xsl:function name="altova:CollectDirectChildrenIgnoringContentHolders" as="node()*">
  8695.         <xsl:param name="nodePassed" as="node()"/>
  8696.         <xsl:sequence select="altova:CollectDirectChildrenIgnoringContentHoldersCore($nodePassed, 1)"/>
  8697.     </xsl:function>
  8698.     <xsl:function name="altova:CollectDirectChildrenIgnoringContentHoldersCore" as="node()*">
  8699.         <xsl:param name="nodePassed" as="node()?"/>
  8700.         <xsl:param name="nFromChild" as="xs:integer"/>
  8701.         <xsl:if test="$nodePassed">
  8702.             <xsl:variable name="nodeFirstChild" as="node()?" select="$nodePassed/*[$nFromChild]"/>
  8703.             <xsl:choose>
  8704.                 <xsl:when test="not($nodeFirstChild)">
  8705.                     <xsl:sequence select="()"/>
  8706.                 </xsl:when>
  8707.                 <xsl:when test="name($nodeFirstChild) != 'altova:ContentHolder'">
  8708.                     <xsl:sequence select="($nodeFirstChild, altova:CollectDirectChildrenIgnoringContentHoldersCore($nodePassed, $nFromChild + 1))"/>
  8709.                 </xsl:when>
  8710.                 <xsl:otherwise>
  8711.                     <xsl:sequence select="(altova:CollectDirectChildrenIgnoringContentHoldersCore($nodeFirstChild, 1), altova:CollectDirectChildrenIgnoringContentHoldersCore($nodePassed, $nFromChild + 1))"/>
  8712.                 </xsl:otherwise>
  8713.             </xsl:choose>
  8714.         </xsl:if>
  8715.     </xsl:function>
  8716.     <xsl:function name="altova:CopyOwnDocument" as="node()+">
  8717.         <xsl:param name="nodeAltovaDocument" as="node()"/>
  8718.         <xsl:for-each select="$nodeAltovaDocument">
  8719.             <xsl:copy>
  8720.                 <xsl:copy-of select="@*"/>
  8721.                 <xsl:apply-templates select="node()" mode="altova:CopyOwnDocument"/>
  8722.             </xsl:copy>
  8723.         </xsl:for-each>
  8724.     </xsl:function>
  8725.     <xsl:function name="altova:DoesElementCauseParagraphSplit" as="xs:boolean">
  8726.         <xsl:param name="nodeElement" as="node()"/>
  8727.         <xsl:sequence select="exists(index-of($altova:seqCausesSplitAlways, name($nodeElement)))"/>
  8728.     </xsl:function>
  8729.     <xsl:function name="altova:DoesTableCellNeedParagraph" as="xs:boolean">
  8730.         <xsl:param name="nodesCellChildren" as="node()*"/>
  8731.         <xsl:sequence select="altova:DoesTableCellNeedParagraphCore($nodesCellChildren, count($nodesCellChildren))"/>
  8732.     </xsl:function>
  8733.     <xsl:function name="altova:DoesTableCellNeedParagraphCore" as="xs:boolean">
  8734.         <xsl:param name="nodesCellChildren" as="node()*"/>
  8735.         <xsl:param name="nCurrIndex" as="xs:integer"/>
  8736.         <xsl:choose>
  8737.             <xsl:when test="$nCurrIndex = 0">
  8738.                 <xsl:sequence select="true()"/>
  8739.             </xsl:when>
  8740.             <xsl:otherwise>
  8741.                 <xsl:variable name="sLastNodeName" as="xs:string" select="name($nodesCellChildren[$nCurrIndex])"/>
  8742.                 <xsl:choose>
  8743.                     <xsl:when test="$sLastNodeName = 'altova:Paragraph' or $sLastNodeName = 'altova:List' or exists(index-of($altova:seqCausesSplitNever, $sLastNodeName))">
  8744.                         <xsl:sequence select="false()"/>
  8745.                     </xsl:when>
  8746.                     <xsl:when test="$sLastNodeName = 'altova:Table'">
  8747.                         <xsl:sequence select="true()"/>
  8748.                     </xsl:when>
  8749.                     <xsl:when test="exists(index-of(('altova:CharacterProperties', 'altova:ParagraphProperties', 'altova:TableCellProperties', 'altova:CellWidth'), $sLastNodeName))">
  8750.                         <xsl:sequence select="altova:DoesTableCellNeedParagraphCore($nodesCellChildren, $nCurrIndex - 1)"/>
  8751.                     </xsl:when>
  8752.                     <xsl:otherwise>
  8753.                         <xsl:message select="concat('altova:DoesTableCellNeedParagraphCore(): ', $sLastNodeName)"/>
  8754.                         <xsl:sequence select="true()"/>
  8755.                     </xsl:otherwise>
  8756.                 </xsl:choose>
  8757.             </xsl:otherwise>
  8758.         </xsl:choose>
  8759.     </xsl:function>
  8760.     <xsl:function name="altova:EncloseSiblingsWithAltovaParagraph" as="node()*">
  8761.         <xsl:param name="nodesParaChildren" as="node()*"/>
  8762.         <xsl:if test="exists($nodesParaChildren)">
  8763.             <xsl:variable name="nodesParaChildrenNoProps" as="node()*" select="$nodesParaChildren[not(self::altova:ParagraphProperties | self::altova:TableCellProperties | self::altova:CellWidth)]"/>
  8764.             <xsl:variable name="nCnt" as="xs:integer" select="count($nodesParaChildrenNoProps)"/>
  8765.             <xsl:variable name="nCntWithoutTrailingNewline" as="xs:integer" select="if (subsequence($nodesParaChildrenNoProps, $nCnt, 1)/name() = 'altova:NewLine') then $nCnt - 1 else $nCnt"/>
  8766.             <xsl:variable name="nodesToEnclose" as="node()*" select="subsequence($nodesParaChildrenNoProps, 1, $nCntWithoutTrailingNewline)"/>
  8767.             <xsl:choose>
  8768.                 <xsl:when test="empty($nodesParaChildrenNoProps)"/>
  8769.                 <xsl:when test="exists($nodesToEnclose)">
  8770.                     <xsl:variable name="sParaStyle" as="xs:string" select="altova:BuildStyleNameForNode_Para($nodesToEnclose[1]/..)"/>
  8771.                     <altova:Paragraph>
  8772.                         <xsl:if test="$sParaStyle">
  8773.                             <xsl:attribute name="altova:ParagraphStyle">
  8774.                                 <xsl:value-of select="$sParaStyle"/>
  8775.                             </xsl:attribute>
  8776.                         </xsl:if>
  8777.                         <xsl:apply-templates select="$nodesToEnclose" mode="altova:Split"/>
  8778.                     </altova:Paragraph>
  8779.                 </xsl:when>
  8780.                 <xsl:when test="count($nodesParaChildrenNoProps) = 1 and name($nodesParaChildrenNoProps[1]) = 'altova:NewLine'">
  8781.                     <altova:Paragraph/>
  8782.                 </xsl:when>
  8783.                 <xsl:otherwise>
  8784.                     <xsl:message select="'Error: altova:EncloseSiblingsWithAltovaParagraph(): Should not get here.'"/>
  8785.                 </xsl:otherwise>
  8786.             </xsl:choose>
  8787.         </xsl:if>
  8788.     </xsl:function>
  8789.     <xsl:function name="altova:GenerateNumbering_Abstract" as="node()*">
  8790.         <xsl:param name="seqAltovaList" as="node()*"/>
  8791.         <xsl:param name="nFirstNode" as="xs:integer"/>
  8792.         <xsl:variable name="nodeFirst" as="node()?" select="$seqAltovaList[$nFirstNode]"/>
  8793.         <xsl:if test="$nodeFirst">
  8794.             <xsl:variable name="nListNum" as="xs:integer" select="count($nodeFirst/preceding::altova:List) + 1"/>
  8795.             <xsl:variable name="nLevel" as="xs:integer" select="count($nodeFirst/ancestor::altova:List) + 1"/>
  8796.             <w:abstractNum w:abstractNumId="{$nListNum}">
  8797.                 <w:multiLevelType w:val="hybridMultilevel"/>
  8798.                 <w:lvl w:ilvl="0">
  8799.                     <w:start w:val="{$nodeFirst/@altova:Start}"/>
  8800.                     <w:numFmt w:val="{$nodeFirst/@altova:Format}"/>
  8801.                     <w:lvlText w:val="{$nodeFirst/@altova:Text}"/>
  8802.                     <w:pPr>
  8803.                         <w:tabs>
  8804.                             <w:tab w:val="num" w:pos="720"/>
  8805.                         </w:tabs>
  8806.                         <w:ind w:left="{720 * $nLevel}" w:hanging="360"/>
  8807.                     </w:pPr>
  8808.                     <w:rPr>
  8809.                         <w:rFonts w:ascii="{$nodeFirst/@altova:Font}" w:hAnsi="{$nodeFirst/@altova:Font}" w:hint="default"/>
  8810.                     </w:rPr>
  8811.                 </w:lvl>
  8812.             </w:abstractNum>
  8813.             <xsl:sequence select="altova:GenerateNumbering_Abstract($seqAltovaList, $nFirstNode + 1)"/>
  8814.         </xsl:if>
  8815.     </xsl:function>
  8816.     <xsl:function name="altova:GenerateNumbering_Real" as="node()*">
  8817.         <xsl:param name="seqAltovaList" as="node()*"/>
  8818.         <xsl:param name="nFirstNode" as="xs:integer"/>
  8819.         <xsl:variable name="nodeFirst" as="node()?" select="$seqAltovaList[$nFirstNode]"/>
  8820.         <xsl:if test="$nodeFirst">
  8821.             <xsl:variable name="nListNum" as="xs:integer" select="count($nodeFirst/preceding::altova:List) + 1"/>
  8822.             <w:num w:numId="{$nListNum + 1}">
  8823.                 <w:abstractNumId w:val="{$nListNum}"/>
  8824.             </w:num>
  8825.             <xsl:sequence select="altova:GenerateNumbering_Real($seqAltovaList, $nFirstNode + 1)"/>
  8826.         </xsl:if>
  8827.     </xsl:function>
  8828.     <xsl:function name="altova:GenerateStylesForCharacters" as="node()*">
  8829.         <xsl:param name="nodesReferencablePackageParts" as="node()+"/>
  8830.         <xsl:for-each-group select="$nodesReferencablePackageParts//*[@altova:CharPropertiesId]" group-by="altova:BuildStyleNameForNode_Char(.)">
  8831.             <xsl:variable name="sCurrStylePath" select="current-grouping-key()"/>
  8832.             <w:style w:type="character" w:styleId="{$sCurrStylePath}">
  8833.                 <w:name w:val="{$sCurrStylePath}"/>
  8834.                 <xsl:variable name="sStyleNameParts" as="xs:string+" select="tokenize(substring($sCurrStylePath, 13), '-')"/>
  8835.                 <xsl:choose>
  8836.                     <xsl:when test="count($sStyleNameParts) gt 1">
  8837.                         <w:basedOn w:val="{concat('StyleVision ', string-join(subsequence($sStyleNameParts, 1, count($sStyleNameParts) - 1), '-'))}"/>
  8838.                     </xsl:when>
  8839.                     <xsl:otherwise/>
  8840.                 </xsl:choose>
  8841.                 <xsl:variable name="nodeClassInfo" select="if (altova:CharacterProperties/altova:DynamicClass) then $altova:nodeCssClasses/Class[@sSelector eq current()/altova:CharacterProperties/altova:DynamicClass/@sValue and ($altova:sCssSwitch eq '' or @sFile eq $altova:sCssSwitch)] else ()" as="node()*"/>
  8842.                 <xsl:choose>
  8843.                     <xsl:when test="altova:CharacterProperties/altova:RichEditStyles or $nodeClassInfo/w:rPr">
  8844.                         <xsl:sequence select="altova:MergeRichEditCharacterStyles(altova:CharacterProperties/w:rPr, altova:CharacterProperties/altova:RichEditStyles/@sValue, $nodeClassInfo/w:rPr)"/>
  8845.                     </xsl:when>
  8846.                     <xsl:otherwise>
  8847.                         <xsl:copy-of select="altova:CharacterProperties/w:rPr" copy-namespaces="no"/>
  8848.                     </xsl:otherwise>
  8849.                 </xsl:choose>
  8850.             </w:style>
  8851.         </xsl:for-each-group>
  8852.     </xsl:function>
  8853.     <xsl:function name="altova:GenerateStylesForParagraph_AddLocalProperties" as="node()*">
  8854.         <xsl:param name="nodePassed" as="node()"/>
  8855.         <xsl:variable name="nodeClassInfo" select="if ($nodePassed/altova:ParagraphProperties/altova:DynamicClass) then $altova:nodeCssClasses/Class[@sSelector eq $nodePassed/altova:ParagraphProperties/altova:DynamicClass/@sValue and ($altova:sCssSwitch eq '' or @sFile eq $altova:sCssSwitch)] else ()" as="node()*"/>
  8856.         <xsl:choose>
  8857.             <xsl:when test="$nodePassed/altova:ParagraphProperties/altova:RichEditStyles or $nodeClassInfo/w:pPr">
  8858.                 <xsl:sequence select="altova:MergeRichEditParagraphStyles($nodePassed/altova:ParagraphProperties/w:pPr, $nodePassed/altova:ParagraphProperties/altova:RichEditStyles/@sValue, $nodeClassInfo/w:pPr)"/>
  8859.             </xsl:when>
  8860.             <xsl:otherwise>
  8861.                 <xsl:apply-templates select="$nodePassed/altova:ParagraphProperties/(* except altova:DynamicClass)" mode="altova:CopyParagraphProperties"/>
  8862.             </xsl:otherwise>
  8863.         </xsl:choose>
  8864.     </xsl:function>
  8865.     <xsl:function name="altova:GenerateStylesForParagraphs" as="node()*">
  8866.         <xsl:param name="nodesReferencablePackageParts" as="node()+"/>
  8867.         <xsl:param name="sDefaultFontFamily" as="xs:string"/>
  8868.         <xsl:param name="nDefaultFontSize" as="xs:integer"/>
  8869.         <xsl:variable name="nodesWithAnyParaStyle" as="node()*" select="$nodesReferencablePackageParts//*[@altova:ParagraphType or @altova:ParaPropertiesId]"/>
  8870.         <xsl:variable name="seqNodeParaStyles" as="xs:string*" select="for $i in $nodesWithAnyParaStyle return altova:BuildStyleNameForNode_Para($i)"/>
  8871.         <xsl:variable name="seqDistinctStylePos" as="xs:integer*" select="for $i in 1 to count($seqNodeParaStyles) return if (empty(index-of(subsequence($seqNodeParaStyles, 1, $i - 1), $seqNodeParaStyles[$i]))) then $i else ()"/>
  8872.         <w:style w:type="paragraph" w:styleId="StyleVision default paragraph style without spacing">
  8873.             <w:name w:val="StyleVision default paragraph style without spacing"/>
  8874.             <w:pPr>
  8875.                 <w:spacing w:before="0" w:after="0"/>
  8876.             </w:pPr>
  8877.         </w:style>
  8878.         <xsl:for-each select="$seqDistinctStylePos">
  8879.             <xsl:variable name="nCurrStylePos" as="xs:integer" select="."/>
  8880.             <xsl:variable name="sCurrStyleName" as="xs:string" select="$seqNodeParaStyles[$nCurrStylePos]"/>
  8881.             <xsl:variable name="nodeWithCurrStyle" as="node()" select="$nodesWithAnyParaStyle[$nCurrStylePos]"/>
  8882.             <xsl:variable name="sStyleNameParts" as="xs:string+" select="tokenize(substring($sCurrStyleName, 13), '-')"/>
  8883.             <xsl:if test="$nodeWithCurrStyle/@altova:ParagraphType and $nodeWithCurrStyle/@altova:ParaPropertiesId">
  8884.                 <w:style w:type="paragraph" w:styleId="{concat('StyleVision ', string-join(subsequence($sStyleNameParts, 1, count($sStyleNameParts) - 1), '-'))}">
  8885.                     <xsl:if test="count($sStyleNameParts) gt 2">
  8886.                         <w:basedOn w:val="{concat('StyleVision ', string-join(subsequence($sStyleNameParts, 1, count($sStyleNameParts) - 2), '-'))}"/>
  8887.                     </xsl:if>
  8888.                     <xsl:sequence select="altova:AddParagraphStylesForHtml($sStyleNameParts[last() - 1])"/>
  8889.                 </w:style>
  8890.             </xsl:if>
  8891.             <w:style w:type="paragraph" w:styleId="{$sCurrStyleName}">
  8892.                 <w:name w:val="{$sCurrStyleName}"/>
  8893.                 <xsl:choose>
  8894.                     <xsl:when test="count($sStyleNameParts) gt 1">
  8895.                         <w:basedOn w:val="{concat('StyleVision ', string-join(subsequence($sStyleNameParts, 1, count($sStyleNameParts) - 1), '-'))}"/>
  8896.                     </xsl:when>
  8897.                     <xsl:otherwise>
  8898.                         <w:basedOn w:val="StyleVision default paragraph style without spacing"/>
  8899.                     </xsl:otherwise>
  8900.                 </xsl:choose>
  8901.                 <xsl:choose>
  8902.                     <xsl:when test="$nodeWithCurrStyle/@altova:ParagraphType and $nodeWithCurrStyle/@altova:ParaPropertiesId">
  8903.                         <xsl:sequence select="altova:GenerateStylesForParagraph_AddLocalProperties($nodeWithCurrStyle)"/>
  8904.                     </xsl:when>
  8905.                     <xsl:when test="$nodeWithCurrStyle/@altova:ParagraphType">
  8906.                         <xsl:sequence select="altova:AddParagraphStylesForHtml($sStyleNameParts[last()])"/>
  8907.                     </xsl:when>
  8908.                     <xsl:when test="$nodeWithCurrStyle/@altova:ParaPropertiesId">
  8909.                         <xsl:sequence select="altova:GenerateStylesForParagraph_AddLocalProperties($nodeWithCurrStyle)"/>
  8910.                     </xsl:when>
  8911.                     <xsl:otherwise>
  8912.                         <xsl:message select="'Error: altova:GenerateStylesForParagraphs(): Should not get here.'"/>
  8913.                     </xsl:otherwise>
  8914.                 </xsl:choose>
  8915.             </w:style>
  8916.         </xsl:for-each>
  8917.         <w:style w:type="paragraph" w:default="1" w:styleId="Normal">
  8918.             <w:name w:val="Normal"/>
  8919.             <w:qFormat/>
  8920.             <w:pPr>
  8921.                 <w:widowControl w:val="0"/>
  8922.                 <w:autoSpaceDE w:val="0"/>
  8923.                 <w:autoSpaceDN w:val="0"/>
  8924.                 <w:adjustRightInd w:val="0"/>
  8925.                 <w:spacing w:after="0" w:before="0" w:line="240" w:lineRule="auto"/>
  8926.             </w:pPr>
  8927.             <w:rPr>
  8928.                 <w:rFonts w:ascii="{$sDefaultFontFamily}" w:hAnsi="{$sDefaultFontFamily}" w:cs="{$sDefaultFontFamily}"/>
  8929.                 <w:sz w:val="{$nDefaultFontSize}"/>
  8930.                 <w:szCs w:val="{$nDefaultFontSize}"/>
  8931.             </w:rPr>
  8932.         </w:style>
  8933.     </xsl:function>
  8934.     <xsl:function name="altova:GenerateStylesForXMLTables" as="node()*">
  8935.         <xsl:param name="nodesReferencablePackageParts" as="node()+"/>
  8936.         <xsl:for-each select="$nodesReferencablePackageParts//altova:Table[@altova:TableType='CALS' or @altova:TableType='HTML']">
  8937.             <w:style w:type="table" w:styleId="{altova:TableProperties/w:tblStyle/@w:val}">
  8938.                 <w:tblPr/>
  8939.             </w:style>
  8940.         </xsl:for-each>
  8941.     </xsl:function>
  8942.     <xsl:function name="altova:GetAvailablePageWidth" as="xs:integer">
  8943.         <xsl:param name="nodeCurr" as="node()"/>
  8944.         <xsl:variable name="nodeDocumentSection" as="node()" select="$nodeCurr/preceding::altova:DocumentSection[1]"/>
  8945.         <xsl:value-of select="$nodeDocumentSection/w:sectPr/w:pgSz/@w:w - $nodeDocumentSection/w:sectPr/w:pgMar/@w:left - $nodeDocumentSection/w:sectPr/w:pgMar/@w:right"/>
  8946.     </xsl:function>
  8947.     <xsl:function name="altova:GetCommonAncestor" as="node()">
  8948.         <xsl:param name="node1" as="node()"/>
  8949.         <xsl:param name="node2" as="node()"/>
  8950.         <xsl:variable name="nNode1Higher" as="xs:integer" select="count($node2/ancestor::*) - count($node1/ancestor::*)"/>
  8951.         <xsl:choose>
  8952.             <xsl:when test="$nNode1Higher gt 0">
  8953.                 <xsl:sequence select="altova:GetCommonAncestorCore($node1, $node2/ancestor::*[$nNode1Higher])"/>
  8954.             </xsl:when>
  8955.             <xsl:when test="$nNode1Higher lt 0">
  8956.                 <xsl:sequence select="altova:GetCommonAncestorCore($node1/ancestor::*[-$nNode1Higher], $node2)"/>
  8957.             </xsl:when>
  8958.             <xsl:otherwise>
  8959.                 <xsl:sequence select="altova:GetCommonAncestorCore($node1, $node2)"/>
  8960.             </xsl:otherwise>
  8961.         </xsl:choose>
  8962.     </xsl:function>
  8963.     <xsl:function name="altova:GetCommonAncestorCore" as="node()">
  8964.         <xsl:param name="node1" as="node()"/>
  8965.         <xsl:param name="node2" as="node()"/>
  8966.         <xsl:choose>
  8967.             <xsl:when test="$node1 is $node2">
  8968.                 <xsl:sequence select="$node1"/>
  8969.             </xsl:when>
  8970.             <xsl:otherwise>
  8971.                 <xsl:sequence select="altova:GetCommonAncestorCore($node1/.., $node2/..)"/>
  8972.             </xsl:otherwise>
  8973.         </xsl:choose>
  8974.     </xsl:function>
  8975.     <xsl:function name="altova:GetFirstSiblingDisallowedInParagraph" as="xs:integer">
  8976.         <xsl:param name="nodesSiblings" as="node()*"/>
  8977.         <xsl:variable name="nodeBadElement" as="node()?" select="$nodesSiblings[not(altova:IsValidParagraphChild(.))][1]"/>
  8978.         <xsl:sequence select="if ($nodeBadElement) then count($nodeBadElement/preceding-sibling::*) - count($nodesSiblings[1]/preceding-sibling::*) + 1 else -1"/>
  8979.     </xsl:function>
  8980.     <xsl:function name="altova:GetLastNodeIndex" as="xs:integer">
  8981.         <xsl:param name="nodesPassed" as="node()*"/>
  8982.         <xsl:param name="sNodeName" as="xs:string"/>
  8983.         <xsl:sequence select="altova:GetLastNodeIndexCore($nodesPassed, $sNodeName, count($nodesPassed))"/>
  8984.     </xsl:function>
  8985.     <xsl:function name="altova:GetLastNodeIndexCore" as="xs:integer">
  8986.         <xsl:param name="nodesPassed" as="node()*"/>
  8987.         <xsl:param name="sNodeName" as="xs:string"/>
  8988.         <xsl:param name="nLastNode" as="xs:integer"/>
  8989.         <xsl:variable name="nodeLast" as="node()?" select="$nodesPassed[$nLastNode]"/>
  8990.         <xsl:choose>
  8991.             <xsl:when test="not($nodeLast)">
  8992.                 <xsl:sequence select="-1"/>
  8993.             </xsl:when>
  8994.             <xsl:when test="name($nodeLast) = $sNodeName">
  8995.                 <xsl:sequence select="$nLastNode"/>
  8996.             </xsl:when>
  8997.             <xsl:otherwise>
  8998.                 <xsl:sequence select="altova:GetLastNodeIndexCore($nodesPassed, $sNodeName, $nLastNode - 1)"/>
  8999.             </xsl:otherwise>
  9000.         </xsl:choose>
  9001.     </xsl:function>
  9002.     <xsl:function name="altova:GetLastNodeIndexSeq" as="xs:integer">
  9003.         <xsl:param name="nodesPassed" as="node()*"/>
  9004.         <xsl:param name="seqNodeNames" as="xs:string*"/>
  9005.         <xsl:choose>
  9006.             <xsl:when test="empty($seqNodeNames)">
  9007.                 <xsl:sequence select="-1"/>
  9008.             </xsl:when>
  9009.             <xsl:otherwise>
  9010.                 <xsl:variable name="nIndex1" as="xs:integer" select="altova:GetLastNodeIndex($nodesPassed, $seqNodeNames[1])"/>
  9011.                 <xsl:variable name="nIndex2" as="xs:integer" select="altova:GetLastNodeIndexSeq($nodesPassed, subsequence($seqNodeNames, 2))"/>
  9012.                 <xsl:sequence select="max(($nIndex1, $nIndex2))"/>
  9013.             </xsl:otherwise>
  9014.         </xsl:choose>
  9015.     </xsl:function>
  9016.     <xsl:function name="altova:GetNodesFromAncestorToDescendant" as="node()+">
  9017.         <xsl:param name="nodeAncestor" as="node()"/>
  9018.         <xsl:param name="nodeDescendant" as="node()"/>
  9019.         <xsl:sequence select="($nodeDescendant union $nodeDescendant/ancestor::*) except $nodeAncestor/ancestor::*"/>
  9020.     </xsl:function>
  9021.     <xsl:function name="altova:GetPositionInParent" as="xs:integer">
  9022.         <xsl:param name="nodeChild" as="node()"/>
  9023.         <xsl:sequence select="count($nodeChild/preceding-sibling::*) + 1"/>
  9024.     </xsl:function>
  9025.     <xsl:function name="altova:HandleWhitespace_PreserveAll" as="node()*">
  9026.         <xsl:param name="nodeTextRun" as="node()"/>
  9027.         <xsl:variable name="seqLines" select="tokenize(string($nodeTextRun), '\r|\n')" as="xs:string*"/>
  9028.         <xsl:for-each select="$seqLines">
  9029.             <xsl:if test="position() = 1">
  9030.                 <xsl:if test="$nodeTextRun/@altova:CharPropertiesId">
  9031.                     <w:rPr>
  9032.                         <w:rStyle w:val="{$nodeTextRun/@altova:CharPropertiesId}"/>
  9033.                     </w:rPr>
  9034.                 </xsl:if>
  9035.             </xsl:if>
  9036.             <w:t xml:space="preserve">
  9037.                 <xsl:value-of select="."/>
  9038.             </w:t>
  9039.             <xsl:if test="position() ne last()">
  9040.                 <w:br/>
  9041.             </xsl:if>
  9042.         </xsl:for-each>
  9043.     </xsl:function>
  9044.     <xsl:function name="altova:HandleWhitespace_PreserveNewlines" as="node()*">
  9045.         <xsl:param name="nodeTextRun" as="node()"/>
  9046.         <xsl:variable name="seqLines" select="tokenize(string($nodeTextRun), '\r|\n')" as="xs:string*"/>
  9047.         <xsl:for-each select="$seqLines">
  9048.             <xsl:if test="position() = 1">
  9049.                 <xsl:if test="$nodeTextRun/@altova:CharPropertiesId">
  9050.                     <w:rPr>
  9051.                         <w:rStyle w:val="{$nodeTextRun/@altova:CharPropertiesId}"/>
  9052.                     </w:rPr>
  9053.                 </xsl:if>
  9054.             </xsl:if>
  9055.             <w:t xml:space="preserve">
  9056.                 <xsl:value-of select="normalize-space(.)"/>
  9057.                 <xsl:if test="position() ne last()">
  9058.                     <xsl:text> </xsl:text>
  9059.                 </xsl:if>
  9060.             </w:t>
  9061.             <xsl:if test="position() ne last()">
  9062.                 <w:br/>
  9063.             </xsl:if>
  9064.         </xsl:for-each>
  9065.     </xsl:function>
  9066.     <xsl:function name="altova:HandleWhitespace_PreserveNone" as="node()*">
  9067.         <xsl:param name="nodeTextRun" as="node()"/>
  9068.         <xsl:variable name="seqLines" select="tokenize(string($nodeTextRun), '\n')" as="xs:string*"/>
  9069.         <xsl:for-each select="$seqLines">
  9070.             <xsl:if test="position() = 1">
  9071.                 <xsl:if test="$nodeTextRun/@altova:CharPropertiesId">
  9072.                     <w:rPr>
  9073.                         <w:rStyle w:val="{$nodeTextRun/@altova:CharPropertiesId}"/>
  9074.                     </w:rPr>
  9075.                 </xsl:if>
  9076.             </xsl:if>
  9077.             <w:t xml:space="preserve">
  9078.                 <xsl:if test="starts-with(., ' ')">
  9079.                     <xsl:text> </xsl:text>
  9080.                 </xsl:if>
  9081.                 <xsl:value-of select="normalize-space(.)"/>
  9082.                 <xsl:if test="position() ne last()">
  9083.                     <xsl:text> </xsl:text>
  9084.                 </xsl:if>
  9085.                 <xsl:if test="substring(., string-length(.)) = ' '">
  9086.                     <xsl:text> </xsl:text>
  9087.                 </xsl:if>
  9088.             </w:t>
  9089.         </xsl:for-each>
  9090.     </xsl:function>
  9091.     <xsl:function name="altova:IsAltovaPropertiesElement" as="xs:boolean">
  9092.         <xsl:param name="nodeElem" as="node()"/>
  9093.         <xsl:sequence select="exists(index-of(('altova:CharacterProperties', 'altova:ParagraphProperties', 'altova:TableProperties', 'altova:TableRowProperties', 'altova:TableCellProperties', 'altova:VmlRectProperties'), string(node-name($nodeElem))))"/>
  9094.     </xsl:function>
  9095.     <xsl:function name="altova:IsAncestorAndDescendant" as="xs:boolean">
  9096.         <xsl:param name="nodeAncestor" as="node()"/>
  9097.         <xsl:param name="nodeDescendant" as="node()"/>
  9098.         <xsl:sequence select="some $i in $nodeDescendant/ancestor::* satisfies $i is $nodeAncestor"/>
  9099.     </xsl:function>
  9100.     <xsl:function name="altova:IsAncestorPresent" as="xs:boolean">
  9101.         <xsl:param name="nodePotentialDescendant" as="node()"/>
  9102.         <xsl:param name="nodesPotentialAncestor" as="node()*"/>
  9103.         <xsl:sequence select="some $i in $nodesPotentialAncestor satisfies altova:IsAncestorAndDescendant($i, $nodePotentialDescendant)"/>
  9104.     </xsl:function>
  9105.     <xsl:function name="altova:IsTableCellInBody" as="xs:boolean">
  9106.         <xsl:param name="nodeTableCell" as="node()"/>
  9107.         <xsl:value-of select="xs:string(node-name($nodeTableCell/../..)) eq 'altova:TableBody'"/>
  9108.     </xsl:function>
  9109.     <xsl:function name="altova:IsValidParagraphChild" as="xs:boolean">
  9110.         <xsl:param name="nodeElement" as="node()"/>
  9111.         <xsl:variable name="bOkStatic" as="xs:boolean" select="empty(index-of($altova:seqCausesSplitAlways, name($nodeElement)))"/>
  9112.         <xsl:variable name="bBadInContent" as="xs:boolean" select="name($nodeElement) = 'altova:ContentHolder' and $nodeElement//(altova:List | altova:Paragraph | altova:Table)"/>
  9113.         <xsl:sequence select="$bOkStatic and not($bBadInContent)"/>
  9114.     </xsl:function>
  9115.     <xsl:function name="altova:MapColor255OrPercentTo255" as="xs:integer?">
  9116.         <xsl:param name="sColor" as="xs:string"/>
  9117.         <xsl:choose>
  9118.             <xsl:when test="matches($sColor, '^(\d{1,2}|100)%$')">
  9119.                 <xsl:sequence select="xs:integer(round(xs:integer(substring-before($sColor, '%')) * 255 div 100))"/>
  9120.             </xsl:when>
  9121.             <xsl:when test="matches($sColor, '^\d{1,3}$')">
  9122.                 <xsl:variable name="nValue" as="xs:integer" select="xs:integer($sColor)"/>
  9123.                 <xsl:if test="$nValue ge 0 and $nValue le 255">
  9124.                     <xsl:sequence select="$nValue"/>
  9125.                 </xsl:if>
  9126.             </xsl:when>
  9127.             <xsl:otherwise/>
  9128.         </xsl:choose>
  9129.     </xsl:function>
  9130.     <xsl:function name="altova:MapColorAnyStringToHashSixHexDigits" as="xs:string">
  9131.         <xsl:param name="sColor" as="xs:string"/>
  9132.         <xsl:variable name="sSixHexDigits" as="xs:string" select="altova:MapColorAnyStringToSixHexDigits($sColor)"/>
  9133.         <xsl:sequence select="concat('#', $sSixHexDigits)"/>
  9134.     </xsl:function>
  9135.     <xsl:function name="altova:MapColorAnyStringToHashSixHexDigits_AbsentOk" as="xs:string">
  9136.         <xsl:param name="sColor" as="xs:string?"/>
  9137.         <xsl:choose>
  9138.             <xsl:when test="not($sColor)">000000</xsl:when>
  9139.             <xsl:otherwise>
  9140.                 <xsl:value-of select="altova:MapColorAnyStringToHashSixHexDigits($sColor)"/>
  9141.             </xsl:otherwise>
  9142.         </xsl:choose>
  9143.     </xsl:function>
  9144.     <xsl:function name="altova:MapColorAnyStringToSixHexDigits" as="xs:string">
  9145.         <xsl:param name="sColor" as="xs:string"/>
  9146.         <xsl:variable name="sColorUpper" as="xs:string" select="upper-case($sColor)"/>
  9147.         <xsl:choose>
  9148.             <xsl:when test="matches($sColorUpper, '^#[0-9A-F]{6}$')">
  9149.                 <xsl:value-of select="upper-case(substring($sColorUpper, 2))"/>
  9150.             </xsl:when>
  9151.             <xsl:when test="matches($sColorUpper, '^#[0-9A-F]{3}$')">
  9152.                 <xsl:value-of select="upper-case(concat(substring($sColorUpper, 2, 1), substring($sColorUpper, 2, 1), substring($sColorUpper, 3, 1), substring($sColorUpper, 3, 1), substring($sColorUpper, 4, 1), substring($sColorUpper, 4, 1)))"/>
  9153.             </xsl:when>
  9154.             <xsl:otherwise>
  9155.                 <xsl:variable name="sSixHexDigits" as="xs:string?" select="altova:MapColorRgbToSixHexDigits($sColorUpper)"/>
  9156.                 <xsl:choose>
  9157.                     <xsl:when test="$sSixHexDigits">
  9158.                         <xsl:sequence select="$sSixHexDigits"/>
  9159.                     </xsl:when>
  9160.                     <xsl:otherwise>
  9161.                         <xsl:variable name="nIndex" select="index-of($altova:seqPredefinedColorNames, $sColorUpper)"/>
  9162.                         <xsl:choose>
  9163.                             <xsl:when test="$nIndex &gt;= 0">
  9164.                                 <xsl:value-of select="$altova:seqPredefinedColorHexValues[$nIndex]"/>
  9165.                             </xsl:when>
  9166.                             <xsl:otherwise>
  9167.                                 <xsl:value-of select="''"/>
  9168.                             </xsl:otherwise>
  9169.                         </xsl:choose>
  9170.                     </xsl:otherwise>
  9171.                 </xsl:choose>
  9172.             </xsl:otherwise>
  9173.         </xsl:choose>
  9174.     </xsl:function>
  9175.     <xsl:function name="altova:MapColorAnyStringToSixHexDigits_AbsentOk" as="xs:string">
  9176.         <xsl:param name="sColor" as="xs:string?"/>
  9177.         <xsl:choose>
  9178.             <xsl:when test="not($sColor)">000000</xsl:when>
  9179.             <xsl:otherwise>
  9180.                 <xsl:value-of select="altova:MapColorAnyStringToSixHexDigits($sColor)"/>
  9181.             </xsl:otherwise>
  9182.         </xsl:choose>
  9183.     </xsl:function>
  9184.     <xsl:function name="altova:MapColorRgbToSixHexDigits" as="xs:string?">
  9185.         <xsl:param name="sColorUpper" as="xs:string"/>
  9186.         <xsl:variable name="sDelimitedValues" as="xs:string?" select="replace(replace($sColorUpper, '^RGB\(', ''), '\)$', '')"/>
  9187.         <xsl:variable name="seqValues" as="xs:string*" select="tokenize($sDelimitedValues, ',\s*')"/>
  9188.         <xsl:if test="count($seqValues) = 3">
  9189.             <xsl:variable name="nRed" as="xs:integer*" select="altova:MapColor255OrPercentTo255($seqValues[1])"/>
  9190.             <xsl:variable name="nGreen" as="xs:integer*" select="altova:MapColor255OrPercentTo255($seqValues[2])"/>
  9191.             <xsl:variable name="nBlue" as="xs:integer*" select="altova:MapColor255OrPercentTo255($seqValues[3])"/>
  9192.             <xsl:if test="not(empty($nRed)) and not(empty($nGreen)) and not(empty($nBlue))">
  9193.                 <xsl:sequence select="concat(altova:MapDecToHex($nRed, 2), altova:MapDecToHex($nGreen, 2), altova:MapDecToHex($nBlue, 2))"/>
  9194.             </xsl:if>
  9195.         </xsl:if>
  9196.     </xsl:function>
  9197.     <xsl:function name="altova:MapCssToVmlBorderWidth" as="xs:string">
  9198.         <xsl:param name="sCssBorderWidth" as="xs:string"/>
  9199.         <xsl:variable name="dPoints" as="xs:double">
  9200.             <xsl:choose>
  9201.                 <xsl:when test="$sCssBorderWidth = 'medium'">
  9202.                     <xsl:sequence select="3"/>
  9203.                 </xsl:when>
  9204.                 <xsl:when test="$sCssBorderWidth = 'thick'">
  9205.                     <xsl:sequence select="4"/>
  9206.                 </xsl:when>
  9207.                 <xsl:when test="$sCssBorderWidth = 'thin'">
  9208.                     <xsl:sequence select="1.5"/>
  9209.                 </xsl:when>
  9210.                 <xsl:otherwise>
  9211.                     <xsl:sequence select="altova:MapLengthUnitEmExToPointsUnrounded($sCssBorderWidth)"/>
  9212.                 </xsl:otherwise>
  9213.             </xsl:choose>
  9214.         </xsl:variable>
  9215.         <xsl:sequence select="concat(xs:string(round($dPoints * 100) div 100), 'pt')"/>
  9216.     </xsl:function>
  9217.     <xsl:function name="altova:MapCssToVmlBorderWidth_AbsentOk" as="xs:string">
  9218.         <xsl:param name="sCssBorderWidth" as="xs:string?"/>
  9219.         <xsl:choose>
  9220.             <xsl:when test="not($sCssBorderWidth)">3pt</xsl:when>
  9221.             <xsl:otherwise>
  9222.                 <xsl:value-of select="altova:MapCssToVmlBorderWidth($sCssBorderWidth)"/>
  9223.             </xsl:otherwise>
  9224.         </xsl:choose>
  9225.     </xsl:function>
  9226.     <xsl:function name="altova:MapCssToVmlDashStyle" as="xs:string">
  9227.         <xsl:param name="sCssBorderStyle" as="xs:string"/>
  9228.         <xsl:choose>
  9229.             <xsl:when test="exists(index-of(('solid', 'double', 'groove', 'inset', 'outset', 'ridge'), $sCssBorderStyle))">
  9230.                 <xsl:sequence select="'solid'"/>
  9231.             </xsl:when>
  9232.             <xsl:when test="$sCssBorderStyle = 'dashed'">
  9233.                 <xsl:sequence select="'dash'"/>
  9234.             </xsl:when>
  9235.             <xsl:when test="$sCssBorderStyle = 'dotted'">
  9236.                 <xsl:sequence select="'dot'"/>
  9237.             </xsl:when>
  9238.             <xsl:when test="$sCssBorderStyle = 'none'">
  9239.                 <xsl:sequence select="'solid'"/>
  9240.             </xsl:when>
  9241.             <xsl:otherwise>
  9242.                 <xsl:message select="concat('&quot;', $sCssBorderStyle, '&quot; is not a valid border style; using default.')"/>
  9243.                 <xsl:sequence select="'solid'"/>
  9244.             </xsl:otherwise>
  9245.         </xsl:choose>
  9246.     </xsl:function>
  9247.     <xsl:function name="altova:MapCssToVmlDashStyle_AbsentOk" as="xs:string">
  9248.         <xsl:param name="sCssBorderStyle" as="xs:string?"/>
  9249.         <xsl:choose>
  9250.             <xsl:when test="not($sCssBorderStyle)">solid</xsl:when>
  9251.             <xsl:otherwise>
  9252.                 <xsl:value-of select="altova:MapCssToVmlDashStyle($sCssBorderStyle)"/>
  9253.             </xsl:otherwise>
  9254.         </xsl:choose>
  9255.     </xsl:function>
  9256.     <xsl:function name="altova:MapCssToVmlLineStyle" as="xs:string">
  9257.         <xsl:param name="sCssBorderStyle" as="xs:string"/>
  9258.         <xsl:choose>
  9259.             <xsl:when test="exists(index-of(('double', 'groove', 'inset', 'outset', 'ridge'), $sCssBorderStyle))">
  9260.                 <xsl:sequence select="'thinThin'"/>
  9261.             </xsl:when>
  9262.             <xsl:when test="exists(index-of(('dashed', 'dotted', 'none', 'solid'), $sCssBorderStyle))">
  9263.                 <xsl:sequence select="'single'"/>
  9264.             </xsl:when>
  9265.             <xsl:otherwise>
  9266.                 <xsl:message select="concat('&quot;', $sCssBorderStyle, '&quot; is not a valid border style; using default.')"/>
  9267.                 <xsl:sequence select="'single'"/>
  9268.             </xsl:otherwise>
  9269.         </xsl:choose>
  9270.     </xsl:function>
  9271.     <xsl:function name="altova:MapCssToVmlLineStyle_AbsentOk" as="xs:string">
  9272.         <xsl:param name="sCssBorderStyle" as="xs:string?"/>
  9273.         <xsl:choose>
  9274.             <xsl:when test="not($sCssBorderStyle)">single</xsl:when>
  9275.             <xsl:otherwise>
  9276.                 <xsl:value-of select="altova:MapCssToVmlLineStyle($sCssBorderStyle)"/>
  9277.             </xsl:otherwise>
  9278.         </xsl:choose>
  9279.     </xsl:function>
  9280.     <xsl:function name="altova:MapCssToWordmlBorderStyle" as="xs:string">
  9281.         <xsl:param name="sCssBorderStyle" as="xs:string"/>
  9282.         <xsl:choose>
  9283.             <xsl:when test="exists(index-of(('dashed', 'dotted', 'double', 'inset', 'outset'), $sCssBorderStyle))">
  9284.                 <xsl:sequence select="$sCssBorderStyle"/>
  9285.             </xsl:when>
  9286.             <xsl:when test="$sCssBorderStyle = 'solid'">
  9287.                 <xsl:sequence select="'single'"/>
  9288.             </xsl:when>
  9289.             <xsl:when test="$sCssBorderStyle = 'groove'">
  9290.                 <xsl:sequence select="'threeDEngrave'"/>
  9291.             </xsl:when>
  9292.             <xsl:when test="$sCssBorderStyle = 'ridge'">
  9293.                 <xsl:sequence select="'threeDEmboss'"/>
  9294.             </xsl:when>
  9295.             <xsl:when test="$sCssBorderStyle = 'none'">
  9296.                 <xsl:sequence select="''"/>
  9297.             </xsl:when>
  9298.             <xsl:otherwise>
  9299.                 <xsl:message select="concat('&quot;', $sCssBorderStyle, '&quot; is not a valid border style; using default.')"/>
  9300.                 <xsl:sequence select="'single'"/>
  9301.             </xsl:otherwise>
  9302.         </xsl:choose>
  9303.     </xsl:function>
  9304.     <xsl:function name="altova:MapCssToWordmlBorderStyle_AbsentOk" as="xs:string">
  9305.         <xsl:param name="sCssBorderStyle" as="xs:string?"/>
  9306.         <xsl:choose>
  9307.             <xsl:when test="not($sCssBorderStyle)">
  9308.                 <xsl:sequence select="''"/>
  9309.             </xsl:when>
  9310.             <xsl:otherwise>
  9311.                 <xsl:value-of select="altova:MapCssToWordmlBorderStyle($sCssBorderStyle)"/>
  9312.             </xsl:otherwise>
  9313.         </xsl:choose>
  9314.     </xsl:function>
  9315.     <xsl:function name="altova:MapCssToWordmlBorderWidth" as="xs:integer">
  9316.         <xsl:param name="sCssBorderWidth" as="xs:string"/>
  9317.         <xsl:variable name="dPoints" as="xs:double">
  9318.             <xsl:choose>
  9319.                 <xsl:when test="$sCssBorderWidth = 'medium'">
  9320.                     <xsl:sequence select="3"/>
  9321.                 </xsl:when>
  9322.                 <xsl:when test="$sCssBorderWidth = 'thick'">
  9323.                     <xsl:sequence select="4"/>
  9324.                 </xsl:when>
  9325.                 <xsl:when test="$sCssBorderWidth = 'thin'">
  9326.                     <xsl:sequence select="1.5"/>
  9327.                 </xsl:when>
  9328.                 <xsl:otherwise>
  9329.                     <xsl:sequence select="altova:MapLengthUnitEmExToPointsUnrounded($sCssBorderWidth)"/>
  9330.                 </xsl:otherwise>
  9331.             </xsl:choose>
  9332.         </xsl:variable>
  9333.         <xsl:sequence select="xs:integer(round($dPoints * 8))"/>
  9334.     </xsl:function>
  9335.     <xsl:function name="altova:MapCssToWordmlBorderWidth_AbsentOk" as="xs:integer">
  9336.         <xsl:param name="sCssBorderWidth" as="xs:string?"/>
  9337.         <xsl:choose>
  9338.             <xsl:when test="not($sCssBorderWidth)">3</xsl:when>
  9339.             <xsl:otherwise>
  9340.                 <xsl:value-of select="altova:MapCssToWordmlBorderWidth($sCssBorderWidth)"/>
  9341.             </xsl:otherwise>
  9342.         </xsl:choose>
  9343.     </xsl:function>
  9344.     <xsl:function name="altova:MapCssToWordml_direction" as="xs:string">
  9345.         <xsl:param name="sDirection" as="xs:string"/>
  9346.         <xsl:choose>
  9347.             <xsl:when test="$sDirection = 'ltr'">
  9348.                 <xsl:value-of select="'0'"/>
  9349.             </xsl:when>
  9350.             <xsl:when test="$sDirection = 'rtl'">
  9351.                 <xsl:value-of select="'1'"/>
  9352.             </xsl:when>
  9353.             <xsl:otherwise>
  9354.                 <xsl:message select="concat('&quot;', $sDirection, '&quot; is not a valid direction, using default.')"/>
  9355.                 <xsl:value-of select="'0'"/>
  9356.             </xsl:otherwise>
  9357.         </xsl:choose>
  9358.     </xsl:function>
  9359.     <xsl:function name="altova:MapCssToWordml_direction_AbsentOk" as="xs:string">
  9360.         <xsl:param name="sDirection" as="xs:string?"/>
  9361.         <xsl:choose>
  9362.             <xsl:when test="not($sDirection)">0</xsl:when>
  9363.             <xsl:otherwise>
  9364.                 <xsl:value-of select="altova:MapCssToWordml_direction($sDirection)"/>
  9365.             </xsl:otherwise>
  9366.         </xsl:choose>
  9367.     </xsl:function>
  9368.     <xsl:function name="altova:MapCssToWordml_fontstyle" as="xs:string">
  9369.         <xsl:param name="sFontStyle" as="xs:string"/>
  9370.         <xsl:choose>
  9371.             <xsl:when test="$sFontStyle = 'italic'">
  9372.                 <xsl:value-of select="1"/>
  9373.             </xsl:when>
  9374.             <xsl:when test="$sFontStyle = 'oblique'">
  9375.                 <xsl:value-of select="1"/>
  9376.             </xsl:when>
  9377.             <xsl:when test="$sFontStyle = 'normal'">
  9378.                 <xsl:value-of select="0"/>
  9379.             </xsl:when>
  9380.             <xsl:otherwise>
  9381.                 <xsl:message select="concat('&quot;', $sFontStyle, '&quot; is not a valid font style, using default.')"/>
  9382.                 <xsl:value-of select="0"/>
  9383.             </xsl:otherwise>
  9384.         </xsl:choose>
  9385.     </xsl:function>
  9386.     <xsl:function name="altova:MapCssToWordml_fontstyle_AbsentOk" as="xs:string">
  9387.         <xsl:param name="sFontStyle" as="xs:string?"/>
  9388.         <xsl:choose>
  9389.             <xsl:when test="not($sFontStyle)">0</xsl:when>
  9390.             <xsl:otherwise>
  9391.                 <xsl:value-of select="altova:MapCssToWordml_fontstyle($sFontStyle)"/>
  9392.             </xsl:otherwise>
  9393.         </xsl:choose>
  9394.     </xsl:function>
  9395.     <xsl:function name="altova:MapCssToWordml_fontvariant" as="xs:string">
  9396.         <xsl:param name="sFontVariant" as="xs:string"/>
  9397.         <xsl:choose>
  9398.             <xsl:when test="$sFontVariant = 'small-caps'">
  9399.                 <xsl:value-of select="1"/>
  9400.             </xsl:when>
  9401.             <xsl:when test="$sFontVariant = 'normal'">
  9402.                 <xsl:value-of select="0"/>
  9403.             </xsl:when>
  9404.             <xsl:otherwise>
  9405.                 <xsl:message select="concat('&quot;', $sFontVariant, '&quot; is not a valid font variant, using default.')"/>
  9406.                 <xsl:value-of select="0"/>
  9407.             </xsl:otherwise>
  9408.         </xsl:choose>
  9409.     </xsl:function>
  9410.     <xsl:function name="altova:MapCssToWordml_fontvariant_AbsentOk" as="xs:string">
  9411.         <xsl:param name="sFontVariant" as="xs:string?"/>
  9412.         <xsl:choose>
  9413.             <xsl:when test="not($sFontVariant)">0</xsl:when>
  9414.             <xsl:otherwise>
  9415.                 <xsl:value-of select="altova:MapCssToWordml_fontvariant($sFontVariant)"/>
  9416.             </xsl:otherwise>
  9417.         </xsl:choose>
  9418.     </xsl:function>
  9419.     <xsl:function name="altova:MapCssToWordml_fontweight" as="xs:string">
  9420.         <xsl:param name="sFontWeight" as="xs:string"/>
  9421.         <xsl:choose>
  9422.             <xsl:when test="$sFontWeight = 'normal'">
  9423.                 <xsl:value-of select="0"/>
  9424.             </xsl:when>
  9425.             <xsl:when test="$sFontWeight = 'bold'">
  9426.                 <xsl:value-of select="1"/>
  9427.             </xsl:when>
  9428.             <xsl:when test="$sFontWeight = 'bolder'">
  9429.                 <xsl:value-of select="1"/>
  9430.             </xsl:when>
  9431.             <xsl:when test="$sFontWeight = 'lighter'">
  9432.                 <xsl:value-of select="0"/>
  9433.             </xsl:when>
  9434.             <xsl:when test="$sFontWeight = '100'">
  9435.                 <xsl:value-of select="0"/>
  9436.             </xsl:when>
  9437.             <xsl:when test="$sFontWeight = '200'">
  9438.                 <xsl:value-of select="0"/>
  9439.             </xsl:when>
  9440.             <xsl:when test="$sFontWeight = '300'">
  9441.                 <xsl:value-of select="0"/>
  9442.             </xsl:when>
  9443.             <xsl:when test="$sFontWeight = '400'">
  9444.                 <xsl:value-of select="0"/>
  9445.             </xsl:when>
  9446.             <xsl:when test="$sFontWeight = '500'">
  9447.                 <xsl:value-of select="0"/>
  9448.             </xsl:when>
  9449.             <xsl:when test="$sFontWeight = '600'">
  9450.                 <xsl:value-of select="1"/>
  9451.             </xsl:when>
  9452.             <xsl:when test="$sFontWeight = '700'">
  9453.                 <xsl:value-of select="1"/>
  9454.             </xsl:when>
  9455.             <xsl:when test="$sFontWeight = '800'">
  9456.                 <xsl:value-of select="1"/>
  9457.             </xsl:when>
  9458.             <xsl:when test="$sFontWeight = '900'">
  9459.                 <xsl:value-of select="1"/>
  9460.             </xsl:when>
  9461.             <xsl:otherwise>
  9462.                 <xsl:message select="concat('&quot;', $sFontWeight, '&quot; is not a valid font weight, using default.')"/>
  9463.                 <xsl:value-of select="0"/>
  9464.             </xsl:otherwise>
  9465.         </xsl:choose>
  9466.     </xsl:function>
  9467.     <xsl:function name="altova:MapCssToWordml_fontweight_AbsentOk" as="xs:string">
  9468.         <xsl:param name="sFontWeight" as="xs:string?"/>
  9469.         <xsl:choose>
  9470.             <xsl:when test="not($sFontWeight)">0</xsl:when>
  9471.             <xsl:otherwise>
  9472.                 <xsl:value-of select="altova:MapCssToWordml_fontweight($sFontWeight)"/>
  9473.             </xsl:otherwise>
  9474.         </xsl:choose>
  9475.     </xsl:function>
  9476.     <xsl:function name="altova:MapCssToWordml_letterspacing" as="xs:integer">
  9477.         <xsl:param name="sCssLetterSpacing" as="xs:string"/>
  9478.         <xsl:choose>
  9479.             <xsl:when test="$sCssLetterSpacing = 'normal'">
  9480.                 <xsl:sequence select="0"/>
  9481.             </xsl:when>
  9482.             <xsl:otherwise>
  9483.                 <xsl:variable name="nTwips" as="xs:integer" select="altova:MapUnitPtToTwips(altova:MapLengthUnitEmExPercentToPointsUnrounded($sCssLetterSpacing))"/>
  9484.                 <xsl:choose>
  9485.                     <xsl:when test="$nTwips = -1">
  9486.                         <xsl:message select="concat('&quot;', $sCssLetterSpacing, '&quot; is not a valid letter spacing; using default.')"/>
  9487.                         <xsl:sequence select="0"/>
  9488.                     </xsl:when>
  9489.                     <xsl:otherwise>
  9490.                         <xsl:sequence select="$nTwips"/>
  9491.                     </xsl:otherwise>
  9492.                 </xsl:choose>
  9493.             </xsl:otherwise>
  9494.         </xsl:choose>
  9495.     </xsl:function>
  9496.     <xsl:function name="altova:MapCssToWordml_letterspacing_AbsentOk" as="xs:integer">
  9497.         <xsl:param name="sCssLetterSpacing" as="xs:string?"/>
  9498.         <xsl:choose>
  9499.             <xsl:when test="not($sCssLetterSpacing)">0</xsl:when>
  9500.             <xsl:otherwise>
  9501.                 <xsl:value-of select="altova:MapCssToWordml_letterspacing($sCssLetterSpacing)"/>
  9502.             </xsl:otherwise>
  9503.         </xsl:choose>
  9504.     </xsl:function>
  9505.     <xsl:function name="altova:MapCssToWordml_lineheight" as="xs:integer">
  9506.         <xsl:param name="sCssLineHeight" as="xs:string"/>
  9507.         <xsl:choose>
  9508.             <xsl:when test="$sCssLineHeight = 'normal'">
  9509.                 <xsl:sequence select="altova:MapUnitPtToTwips(12)"/>
  9510.             </xsl:when>
  9511.             <xsl:otherwise>
  9512.                 <xsl:variable name="dPoints" as="xs:double" select="altova:MapLengthUnitToPointsUnrounded($sCssLineHeight)"/>
  9513.                 <xsl:choose>
  9514.                     <xsl:when test="$dPoints != -1">
  9515.                         <xsl:sequence select="altova:MapUnitPtToTwips($dPoints)"/>
  9516.                     </xsl:when>
  9517.                     <xsl:otherwise>
  9518.                         <xsl:message select="concat('&quot;', $sCssLineHeight, '&quot; is not a valid line height; using default.')"/>
  9519.                         <xsl:sequence select="altova:MapUnitPtToTwips(12)"/>
  9520.                     </xsl:otherwise>
  9521.                 </xsl:choose>
  9522.             </xsl:otherwise>
  9523.         </xsl:choose>
  9524.     </xsl:function>
  9525.     <xsl:function name="altova:MapCssToWordml_lineheight_AbsentOk" as="xs:integer">
  9526.         <xsl:param name="sCssLineHeight" as="xs:string?"/>
  9527.         <xsl:choose>
  9528.             <xsl:when test="not($sCssLineHeight)">
  9529.                 <xsl:sequence select="altova:MapCssToWordml_lineheight('normal')"/>
  9530.             </xsl:when>
  9531.             <xsl:otherwise>
  9532.                 <xsl:value-of select="altova:MapCssToWordml_lineheight($sCssLineHeight)"/>
  9533.             </xsl:otherwise>
  9534.         </xsl:choose>
  9535.     </xsl:function>
  9536.     <xsl:function name="altova:MapCssToWordml_rowheight" as="xs:integer">
  9537.         <xsl:param name="sCssRowHeight" as="xs:string"/>
  9538.         <xsl:variable name="dPoints" as="xs:double" select="altova:MapLengthUnitEmExToPointsUnrounded($sCssRowHeight)"/>
  9539.         <xsl:choose>
  9540.             <xsl:when test="$dPoints != -1">
  9541.                 <xsl:sequence select="altova:MapUnitPtToTwips($dPoints)"/>
  9542.             </xsl:when>
  9543.             <xsl:otherwise>
  9544.                 <xsl:message select="concat('&quot;', $sCssRowHeight, '&quot; is not a valid row height; using default.')"/>
  9545.                 <xsl:sequence select="altova:MapUnitPtToTwips(14)"/>
  9546.             </xsl:otherwise>
  9547.         </xsl:choose>
  9548.     </xsl:function>
  9549.     <xsl:function name="altova:MapCssToWordml_rowheight_AbsentOk" as="xs:integer">
  9550.         <xsl:param name="sCssRowHeight" as="xs:string?"/>
  9551.         <xsl:choose>
  9552.             <xsl:when test="not($sCssRowHeight)">0</xsl:when>
  9553.             <xsl:otherwise>
  9554.                 <xsl:value-of select="altova:MapCssToWordml_rowheight($sCssRowHeight)"/>
  9555.             </xsl:otherwise>
  9556.         </xsl:choose>
  9557.     </xsl:function>
  9558.     <xsl:function name="altova:MapCssToWordml_textalign" as="xs:string">
  9559.         <xsl:param name="sCssTextAlign" as="xs:string"/>
  9560.         <xsl:choose>
  9561.             <xsl:when test="$sCssTextAlign = 'left' or $sCssTextAlign = 'right' or $sCssTextAlign = 'center'">
  9562.                 <xsl:sequence select="$sCssTextAlign"/>
  9563.             </xsl:when>
  9564.             <xsl:when test="$sCssTextAlign = 'justify'">
  9565.                 <xsl:sequence select="'both'"/>
  9566.             </xsl:when>
  9567.             <xsl:otherwise>
  9568.                 <xsl:message select="concat('&quot;', $sCssTextAlign, '&quot; is not a valid text alignment; using default.')"/>
  9569.                 <xsl:sequence select="'left'"/>
  9570.             </xsl:otherwise>
  9571.         </xsl:choose>
  9572.     </xsl:function>
  9573.     <xsl:function name="altova:MapCssToWordml_textalign_AbsentOk" as="xs:string">
  9574.         <xsl:param name="sCssTextAlign" as="xs:string?"/>
  9575.         <xsl:choose>
  9576.             <xsl:when test="not($sCssTextAlign)">left</xsl:when>
  9577.             <xsl:otherwise>
  9578.                 <xsl:value-of select="altova:MapCssToWordml_textalign($sCssTextAlign)"/>
  9579.             </xsl:otherwise>
  9580.         </xsl:choose>
  9581.     </xsl:function>
  9582.     <xsl:function name="altova:MapCssToWordml_textdecoration_blink" as="xs:string">
  9583.         <xsl:param name="sTextDecoration" as="xs:string"/>
  9584.         <xsl:choose>
  9585.             <xsl:when test="contains($sTextDecoration,'blink')">
  9586.                 <xsl:sequence select="'blinkBackground'"/>
  9587.             </xsl:when>
  9588.             <xsl:otherwise>
  9589.                 <xsl:sequence select="'none'"/>
  9590.             </xsl:otherwise>
  9591.         </xsl:choose>
  9592.     </xsl:function>
  9593.     <xsl:function name="altova:MapCssToWordml_textdecoration_blink_AbsentOk" as="xs:string">
  9594.         <xsl:param name="sTextDecoration" as="xs:string?"/>
  9595.         <xsl:choose>
  9596.             <xsl:when test="not($sTextDecoration)">none</xsl:when>
  9597.             <xsl:otherwise>
  9598.                 <xsl:value-of select="altova:MapCssToWordml_textdecoration_blink($sTextDecoration)"/>
  9599.             </xsl:otherwise>
  9600.         </xsl:choose>
  9601.     </xsl:function>
  9602.     <xsl:function name="altova:MapCssToWordml_textdecoration_linethrough" as="xs:string">
  9603.         <xsl:param name="sTextDecoration" as="xs:string"/>
  9604.         <xsl:choose>
  9605.             <xsl:when test="contains($sTextDecoration,'line-through')">
  9606.                 <xsl:sequence select="'1'"/>
  9607.             </xsl:when>
  9608.             <xsl:otherwise>
  9609.                 <xsl:sequence select="'0'"/>
  9610.             </xsl:otherwise>
  9611.         </xsl:choose>
  9612.     </xsl:function>
  9613.     <xsl:function name="altova:MapCssToWordml_textdecoration_linethrough_AbsentOk" as="xs:string">
  9614.         <xsl:param name="sTextDecoration" as="xs:string?"/>
  9615.         <xsl:choose>
  9616.             <xsl:when test="not($sTextDecoration)">0</xsl:when>
  9617.             <xsl:otherwise>
  9618.                 <xsl:value-of select="altova:MapCssToWordml_textdecoration_linethrough($sTextDecoration)"/>
  9619.             </xsl:otherwise>
  9620.         </xsl:choose>
  9621.     </xsl:function>
  9622.     <xsl:function name="altova:MapCssToWordml_textdecoration_underline" as="xs:string">
  9623.         <xsl:param name="sTextDecoration" as="xs:string"/>
  9624.         <xsl:choose>
  9625.             <xsl:when test="contains($sTextDecoration,'underline')">
  9626.                 <xsl:sequence select="'single'"/>
  9627.             </xsl:when>
  9628.             <xsl:otherwise>
  9629.                 <xsl:sequence select="'none'"/>
  9630.             </xsl:otherwise>
  9631.         </xsl:choose>
  9632.     </xsl:function>
  9633.     <xsl:function name="altova:MapCssToWordml_textdecoration_underline_AbsentOk" as="xs:string">
  9634.         <xsl:param name="sTextDecoration" as="xs:string?"/>
  9635.         <xsl:choose>
  9636.             <xsl:when test="not($sTextDecoration)">none</xsl:when>
  9637.             <xsl:otherwise>
  9638.                 <xsl:value-of select="altova:MapCssToWordml_textdecoration_underline($sTextDecoration)"/>
  9639.             </xsl:otherwise>
  9640.         </xsl:choose>
  9641.     </xsl:function>
  9642.     <xsl:function name="altova:MapCssToWordml_textindent" as="xs:integer">
  9643.         <xsl:param name="sCssTextIndent" as="xs:string"/>
  9644.         <xsl:variable name="dPoints" as="xs:double" select="altova:MapLengthUnitToPointsUnrounded($sCssTextIndent)"/>
  9645.         <xsl:choose>
  9646.             <xsl:when test="$dPoints != -1">
  9647.                 <xsl:sequence select="altova:MapUnitPtToTwips($dPoints)"/>
  9648.             </xsl:when>
  9649.             <xsl:otherwise>
  9650.                 <xsl:message select="concat('&quot;', $sCssTextIndent, '&quot; is not a valid text indent; using default.')"/>
  9651.                 <xsl:sequence select="altova:MapUnitPtToTwips(0)"/>
  9652.             </xsl:otherwise>
  9653.         </xsl:choose>
  9654.     </xsl:function>
  9655.     <xsl:function name="altova:MapCssToWordml_textindent_AbsentOk" as="xs:integer">
  9656.         <xsl:param name="sCssTextIndent" as="xs:string?"/>
  9657.         <xsl:choose>
  9658.             <xsl:when test="not($sCssTextIndent)">0</xsl:when>
  9659.             <xsl:otherwise>
  9660.                 <xsl:value-of select="altova:MapCssToWordml_textindent($sCssTextIndent)"/>
  9661.             </xsl:otherwise>
  9662.         </xsl:choose>
  9663.     </xsl:function>
  9664.     <xsl:function name="altova:MapCssToWordml_texttransform" as="xs:string">
  9665.         <xsl:param name="sTextTransform" as="xs:string"/>
  9666.         <xsl:choose>
  9667.             <xsl:when test="$sTextTransform = 'none'">
  9668.                 <xsl:sequence select="'0'"/>
  9669.             </xsl:when>
  9670.             <xsl:when test="$sTextTransform = 'uppercase'">
  9671.                 <xsl:sequence select="'1'"/>
  9672.             </xsl:when>
  9673.             <xsl:otherwise>
  9674.                 <xsl:message select="concat('&quot;', $sTextTransform, '&quot; is not a valid text transformation; using default.')"/>
  9675.                 <xsl:sequence select="'0'"/>
  9676.             </xsl:otherwise>
  9677.         </xsl:choose>
  9678.     </xsl:function>
  9679.     <xsl:function name="altova:MapCssToWordml_texttransform_AbsentOk" as="xs:string">
  9680.         <xsl:param name="sTextTransform" as="xs:string?"/>
  9681.         <xsl:choose>
  9682.             <xsl:when test="not($sTextTransform)">0</xsl:when>
  9683.             <xsl:otherwise>
  9684.                 <xsl:value-of select="altova:MapCssToWordml_texttransform($sTextTransform)"/>
  9685.             </xsl:otherwise>
  9686.         </xsl:choose>
  9687.     </xsl:function>
  9688.     <xsl:function name="altova:MapCssToWordml_verticalalign" as="xs:string">
  9689.         <xsl:param name="sVerticalAlign" as="xs:string"/>
  9690.         <xsl:choose>
  9691.             <xsl:when test="$sVerticalAlign = 'baseline'">
  9692.                 <xsl:sequence select="'baseline'"/>
  9693.             </xsl:when>
  9694.             <xsl:when test="$sVerticalAlign = 'sub'">
  9695.                 <xsl:sequence select="'subscript'"/>
  9696.             </xsl:when>
  9697.             <xsl:when test="$sVerticalAlign = 'super'">
  9698.                 <xsl:sequence select="'superscript'"/>
  9699.             </xsl:when>
  9700.             <xsl:otherwise>
  9701.                 <xsl:message select="concat('&quot;', $sVerticalAlign, '&quot; is not a valid vertical alignment; using default.')"/>
  9702.                 <xsl:sequence select="'baseline'"/>
  9703.             </xsl:otherwise>
  9704.         </xsl:choose>
  9705.     </xsl:function>
  9706.     <xsl:function name="altova:MapCssToWordml_verticalalign_AbsentOk" as="xs:string">
  9707.         <xsl:param name="sVerticalAlign" as="xs:string?"/>
  9708.         <xsl:choose>
  9709.             <xsl:when test="not($sVerticalAlign)">baseline</xsl:when>
  9710.             <xsl:otherwise>
  9711.                 <xsl:value-of select="altova:MapCssToWordml_verticalalign($sVerticalAlign)"/>
  9712.             </xsl:otherwise>
  9713.         </xsl:choose>
  9714.     </xsl:function>
  9715.     <xsl:function name="altova:MapCssToWordml_verticalalign_table" as="xs:string">
  9716.         <xsl:param name="sVerticalAlign" as="xs:string"/>
  9717.         <xsl:choose>
  9718.             <xsl:when test="$sVerticalAlign = 'top' or $sVerticalAlign = 'baseline'">
  9719.                 <xsl:sequence select="'top'"/>
  9720.             </xsl:when>
  9721.             <xsl:when test="$sVerticalAlign = 'middle'">
  9722.                 <xsl:sequence select="'center'"/>
  9723.             </xsl:when>
  9724.             <xsl:when test="$sVerticalAlign = 'bottom'">
  9725.                 <xsl:sequence select="'bottom'"/>
  9726.             </xsl:when>
  9727.             <xsl:otherwise>
  9728.                 <xsl:message select="concat('&quot;', $sVerticalAlign, '&quot; is not a valid vertical-align in a table context; using default.')"/>
  9729.                 <xsl:sequence select="'center'"/>
  9730.             </xsl:otherwise>
  9731.         </xsl:choose>
  9732.     </xsl:function>
  9733.     <xsl:function name="altova:MapCssToWordml_verticalalign_table_AbsentOk" as="xs:string">
  9734.         <xsl:param name="sVerticalAlign" as="xs:string?"/>
  9735.         <xsl:choose>
  9736.             <xsl:when test="not($sVerticalAlign)">center</xsl:when>
  9737.             <xsl:otherwise>
  9738.                 <xsl:value-of select="altova:MapCssToWordml_verticalalign_table($sVerticalAlign)"/>
  9739.             </xsl:otherwise>
  9740.         </xsl:choose>
  9741.     </xsl:function>
  9742.     <xsl:function name="altova:MapCssToWordml_WidthOrHeightToEmu" as="xs:integer">
  9743.         <xsl:param name="sWidthOrHeight" as="xs:string"/>
  9744.         <xsl:variable name="dPoints" as="xs:double" select="altova:MapCssToWordml_WidthOrHeightToPointsUnrounded($sWidthOrHeight)"/>
  9745.         <xsl:sequence select="altova:MapUnitPtToEmu($dPoints)"/>
  9746.     </xsl:function>
  9747.     <xsl:function name="altova:MapCssToWordml_WidthOrHeightToPointsUnrounded" as="xs:double">
  9748.         <xsl:param name="sWidthOrHeight" as="xs:string"/>
  9749.         <xsl:variable name="dPointsFromStyle" as="xs:double" select="altova:MapLengthUnitToPointsUnrounded($sWidthOrHeight)"/>
  9750.         <xsl:variable name="dPointsEffective" as="xs:double">
  9751.             <xsl:choose>
  9752.                 <xsl:when test="$dPointsFromStyle != -1">
  9753.                     <xsl:sequence select="$dPointsFromStyle"/>
  9754.                 </xsl:when>
  9755.                 <xsl:when test="matches($sWidthOrHeight, '^\d+$')">
  9756.                     <xsl:sequence select="altova:MapUnitPxToPt(xs:double($sWidthOrHeight))"/>
  9757.                 </xsl:when>
  9758.                 <xsl:otherwise>
  9759.                     <xsl:message select="concat('&quot;', $sWidthOrHeight, '&quot; is not a valid width/height; using default.')"/>
  9760.                     <xsl:sequence select="72"/>
  9761.                 </xsl:otherwise>
  9762.             </xsl:choose>
  9763.         </xsl:variable>
  9764.         <xsl:sequence select="$dPointsEffective"/>
  9765.     </xsl:function>
  9766.     <xsl:function name="altova:MapCssToWordml_WidthOrHeightToTwips" as="xs:integer">
  9767.         <xsl:param name="sWidthOrHeight" as="xs:string"/>
  9768.         <xsl:variable name="dPoints" as="xs:double" select="altova:MapCssToWordml_WidthOrHeightToPointsUnrounded($sWidthOrHeight)"/>
  9769.         <xsl:sequence select="altova:MapUnitPtToTwips($dPoints)"/>
  9770.     </xsl:function>
  9771.     <xsl:function name="altova:MapDecToHex" as="xs:string">
  9772.         <xsl:param name="nDecValue" as="xs:integer"/>
  9773.         <xsl:param name="nMinLen" as="xs:integer"/>
  9774.         <xsl:choose>
  9775.             <xsl:when test="$nDecValue &lt; 0">
  9776.                 <xsl:message select="concat('MapDecToHex: Bad value &quot;', $nDecValue, '&quot;')"/>
  9777.                 <xsl:text>'0'</xsl:text>
  9778.             </xsl:when>
  9779.             <xsl:otherwise>
  9780.                 <xsl:value-of select="altova:StringPadLeft(altova:MapDecToHexRecursive($nDecValue), $nMinLen, '0')"/>
  9781.             </xsl:otherwise>
  9782.         </xsl:choose>
  9783.     </xsl:function>
  9784.     <xsl:function name="altova:MapDecToHexRecursive" as="xs:string">
  9785.         <xsl:param name="nDecValue" as="xs:integer"/>
  9786.         <xsl:choose>
  9787.             <xsl:when test="$nDecValue &lt; 16">
  9788.                 <xsl:value-of select="$altova:seqHexDigits[$nDecValue + 1]"/>
  9789.             </xsl:when>
  9790.             <xsl:otherwise>
  9791.                 <xsl:value-of select="concat(altova:MapDecToHexRecursive($nDecValue idiv 16), altova:MapDecToHexRecursive($nDecValue mod 16))"/>
  9792.             </xsl:otherwise>
  9793.         </xsl:choose>
  9794.     </xsl:function>
  9795.     <xsl:function name="altova:MapFontSizeToHalfPoints" as="xs:integer">
  9796.         <xsl:param name="sFontSize" as="xs:string"/>
  9797.         <xsl:sequence select="xs:integer(round(altova:MapFontSizeToPointsUnrounded($sFontSize) * 2))"/>
  9798.     </xsl:function>
  9799.     <xsl:function name="altova:MapFontSizeToHalfPoints_AbsentOk" as="xs:integer">
  9800.         <xsl:param name="sFontSize" as="xs:string?"/>
  9801.         <xsl:choose>
  9802.             <xsl:when test="not($sFontSize)">
  9803.                 <xsl:sequence select="$altova:nDefaultFontSizePt * 2"/>
  9804.             </xsl:when>
  9805.             <xsl:otherwise>
  9806.                 <xsl:value-of select="altova:MapFontSizeToHalfPoints($sFontSize)"/>
  9807.             </xsl:otherwise>
  9808.         </xsl:choose>
  9809.     </xsl:function>
  9810.     <xsl:function name="altova:MapFontSizeToPointsUnrounded" as="xs:double">
  9811.         <xsl:param name="sFontSize" as="xs:string"/>
  9812.         <xsl:variable name="sFontSizeNormalized" as="xs:string" select="normalize-space($sFontSize)"/>
  9813.         <xsl:choose>
  9814.             <xsl:when test="$sFontSizeNormalized = 'xx-small'">
  9815.                 <xsl:value-of select="altova:ScaleFont($altova:nDefaultFontSizePt, -3)"/>
  9816.             </xsl:when>
  9817.             <xsl:when test="$sFontSizeNormalized = 'x-small'">
  9818.                 <xsl:value-of select="altova:ScaleFont($altova:nDefaultFontSizePt, -2)"/>
  9819.             </xsl:when>
  9820.             <xsl:when test="$sFontSizeNormalized = 'small'">
  9821.                 <xsl:value-of select="altova:ScaleFont($altova:nDefaultFontSizePt, -1)"/>
  9822.             </xsl:when>
  9823.             <xsl:when test="$sFontSizeNormalized = 'medium'">
  9824.                 <xsl:value-of select="altova:ScaleFont($altova:nDefaultFontSizePt, 0)"/>
  9825.             </xsl:when>
  9826.             <xsl:when test="$sFontSizeNormalized = 'large'">
  9827.                 <xsl:value-of select="altova:ScaleFont($altova:nDefaultFontSizePt, 1)"/>
  9828.             </xsl:when>
  9829.             <xsl:when test="$sFontSizeNormalized = 'x-large'">
  9830.                 <xsl:value-of select="altova:ScaleFont($altova:nDefaultFontSizePt, 2)"/>
  9831.             </xsl:when>
  9832.             <xsl:when test="$sFontSizeNormalized = 'xx-large'">
  9833.                 <xsl:value-of select="altova:ScaleFont($altova:nDefaultFontSizePt, 3)"/>
  9834.             </xsl:when>
  9835.             <xsl:when test="$sFontSizeNormalized = 'smaller'">
  9836.                 <xsl:message select="concat('MapFontSizeToPointsUnrounded: Font size &quot;', $sFontSize, '&quot; not supported, using default.')"/>
  9837.                 <xsl:value-of select="$altova:nDefaultFontSizePt"/>
  9838.             </xsl:when>
  9839.             <xsl:when test="$sFontSizeNormalized = 'larger'">
  9840.                 <xsl:message select="concat('MapFontSizeToPointsUnrounded: Font size &quot;', $sFontSize, '&quot; not supported, using default.')"/>
  9841.                 <xsl:value-of select="$altova:nDefaultFontSizePt"/>
  9842.             </xsl:when>
  9843.             <xsl:otherwise>
  9844.                 <xsl:variable name="dPoints" as="xs:double" select="altova:MapLengthUnitEmExPercentToPointsUnrounded($sFontSizeNormalized)"/>
  9845.                 <xsl:choose>
  9846.                     <xsl:when test="$dPoints &gt;= 0">
  9847.                         <xsl:value-of select="$dPoints"/>
  9848.                     </xsl:when>
  9849.                     <xsl:otherwise>
  9850.                         <xsl:message select="concat('MapFontSizeToPointsUnrounded: Unknown font size &quot;', $sFontSize, '&quot;, using default.')"/>
  9851.                         <xsl:value-of select="$altova:nDefaultFontSizePt"/>
  9852.                     </xsl:otherwise>
  9853.                 </xsl:choose>
  9854.             </xsl:otherwise>
  9855.         </xsl:choose>
  9856.     </xsl:function>
  9857.     <xsl:function name="altova:MapLengthUnitEmExPercentToPointsUnrounded" as="xs:double">
  9858.         <xsl:param name="sLength" as="xs:string"/>
  9859.         <xsl:sequence select="altova:MapLengthUnitToPointsUnroundedCore($sLength, true(), true())"/>
  9860.     </xsl:function>
  9861.     <xsl:function name="altova:MapLengthUnitEmExPercentToPointsUnrounded_AbsentOk" as="xs:double">
  9862.         <xsl:param name="sLength" as="xs:string?"/>
  9863.         <xsl:choose>
  9864.             <xsl:when test="not($sLength)">0</xsl:when>
  9865.             <xsl:otherwise>
  9866.                 <xsl:value-of select="altova:MapLengthUnitEmExPercentToPointsUnrounded($sLength)"/>
  9867.             </xsl:otherwise>
  9868.         </xsl:choose>
  9869.     </xsl:function>
  9870.     <xsl:function name="altova:MapLengthUnitEmExToPointsUnrounded" as="xs:double">
  9871.         <xsl:param name="sLength" as="xs:string"/>
  9872.         <xsl:sequence select="altova:MapLengthUnitToPointsUnroundedCore($sLength, true(), false())"/>
  9873.     </xsl:function>
  9874.     <xsl:function name="altova:MapLengthUnitEmExToPointsUnrounded_AbsentOk" as="xs:double">
  9875.         <xsl:param name="sLength" as="xs:string?"/>
  9876.         <xsl:choose>
  9877.             <xsl:when test="not($sLength)">0</xsl:when>
  9878.             <xsl:otherwise>
  9879.                 <xsl:value-of select="altova:MapLengthUnitEmExToPointsUnrounded($sLength)"/>
  9880.             </xsl:otherwise>
  9881.         </xsl:choose>
  9882.     </xsl:function>
  9883.     <xsl:function name="altova:MapLengthUnitPercentToPointsUnrounded" as="xs:double">
  9884.         <xsl:param name="sLength" as="xs:string"/>
  9885.         <xsl:sequence select="altova:MapLengthUnitToPointsUnroundedCore($sLength, false(), true())"/>
  9886.     </xsl:function>
  9887.     <xsl:function name="altova:MapLengthUnitPercentToPointsUnrounded_AbsentOk" as="xs:double">
  9888.         <xsl:param name="sLength" as="xs:string?"/>
  9889.         <xsl:choose>
  9890.             <xsl:when test="not($sLength)">0</xsl:when>
  9891.             <xsl:otherwise>
  9892.                 <xsl:value-of select="altova:MapLengthUnitPercentToPointsUnrounded($sLength)"/>
  9893.             </xsl:otherwise>
  9894.         </xsl:choose>
  9895.     </xsl:function>
  9896.     <xsl:function name="altova:MapLengthUnitToPointsUnrounded" as="xs:double">
  9897.         <xsl:param name="sLength" as="xs:string"/>
  9898.         <xsl:sequence select="altova:MapLengthUnitToPointsUnroundedCore($sLength, false(), false())"/>
  9899.     </xsl:function>
  9900.     <xsl:function name="altova:MapLengthUnitToPointsUnrounded_AbsentOk" as="xs:double">
  9901.         <xsl:param name="sLength" as="xs:string?"/>
  9902.         <xsl:choose>
  9903.             <xsl:when test="not($sLength)">0</xsl:when>
  9904.             <xsl:otherwise>
  9905.                 <xsl:value-of select="altova:MapLengthUnitToPointsUnrounded($sLength)"/>
  9906.             </xsl:otherwise>
  9907.         </xsl:choose>
  9908.     </xsl:function>
  9909.     <xsl:function name="altova:MapLengthUnitToPointsUnroundedCore" as="xs:double">
  9910.         <xsl:param name="sLength" as="xs:string"/>
  9911.         <xsl:param name="bAcceptEmEx" as="xs:boolean"/>
  9912.         <xsl:param name="bAcceptPercent" as="xs:boolean"/>
  9913.         <xsl:variable name="sLengthNormalized" as="xs:string" select="normalize-space($sLength)"/>
  9914.         <xsl:choose>
  9915.             <xsl:when test="matches($sLengthNormalized, '^\d+(\.\d+)?[a-zA-Z%]+$')">
  9916.                 <xsl:variable name="nValue" select="number(replace($sLengthNormalized, '([a-zA-Z%])+', ''))"/>
  9917.                 <xsl:variable name="sUnit" select="replace($sLengthNormalized, '(\d+(\.\d+)?)', '')"/>
  9918.                 <xsl:choose>
  9919.                     <xsl:when test="$sUnit = 'cm'">
  9920.                         <xsl:value-of select="altova:MapUnitCmToPt($nValue)"/>
  9921.                     </xsl:when>
  9922.                     <xsl:when test="$sUnit = 'in'">
  9923.                         <xsl:value-of select="altova:MapUnitInToPt($nValue)"/>
  9924.                     </xsl:when>
  9925.                     <xsl:when test="$sUnit = 'mm'">
  9926.                         <xsl:value-of select="altova:MapUnitMmToPt($nValue)"/>
  9927.                     </xsl:when>
  9928.                     <xsl:when test="$sUnit = 'pc'">
  9929.                         <xsl:value-of select="altova:MapUnitPcToPt($nValue)"/>
  9930.                     </xsl:when>
  9931.                     <xsl:when test="$sUnit = 'pt'">
  9932.                         <xsl:value-of select="$nValue"/>
  9933.                     </xsl:when>
  9934.                     <xsl:when test="$sUnit = 'px'">
  9935.                         <xsl:value-of select="altova:MapUnitPxToPt($nValue)"/>
  9936.                     </xsl:when>
  9937.                     <xsl:when test="$sUnit = 'em' and $bAcceptEmEx = true()">
  9938.                         <xsl:value-of select="altova:MapUnitEmToPt($nValue)"/>
  9939.                     </xsl:when>
  9940.                     <xsl:when test="$sUnit = 'ex' and $bAcceptEmEx = true()">
  9941.                         <xsl:value-of select="altova:MapUnitExToPt($nValue)"/>
  9942.                     </xsl:when>
  9943.                     <xsl:when test="$sUnit = '%' and $bAcceptPercent = true()">
  9944.                         <xsl:value-of select="altova:MapUnitPercentToPt($nValue)"/>
  9945.                     </xsl:when>
  9946.                     <xsl:otherwise>
  9947.                         <xsl:value-of select="-1"/>
  9948.                     </xsl:otherwise>
  9949.                 </xsl:choose>
  9950.             </xsl:when>
  9951.             <xsl:otherwise>
  9952.                 <xsl:value-of select="-1"/>
  9953.             </xsl:otherwise>
  9954.         </xsl:choose>
  9955.     </xsl:function>
  9956.     <xsl:function name="altova:MapLengthUnitToPointsWithUnit" as="xs:string">
  9957.         <xsl:param name="sLength" as="xs:string"/>
  9958.         <xsl:variable name="dPoints" as="xs:double" select="altova:MapLengthUnitToPointsUnroundedCore($sLength, false(), false())"/>
  9959.         <xsl:sequence select="concat(xs:string(round($dPoints * 100) div 100), 'pt')"/>
  9960.     </xsl:function>
  9961.     <xsl:function name="altova:MapLengthUnitToPointsWithUnit_AbsentOk" as="xs:string">
  9962.         <xsl:param name="sLength" as="xs:string?"/>
  9963.         <xsl:choose>
  9964.             <xsl:when test="not($sLength)">0</xsl:when>
  9965.             <xsl:otherwise>
  9966.                 <xsl:value-of select="altova:MapLengthUnitToPointsWithUnit($sLength)"/>
  9967.             </xsl:otherwise>
  9968.         </xsl:choose>
  9969.     </xsl:function>
  9970.     <xsl:function name="altova:MapUnitCmToPt" as="xs:double">
  9971.         <xsl:param name="dCm" as="xs:double"/>
  9972.         <xsl:sequence select="altova:MapUnitInToPt($dCm div $altova:nCmPerIn)"/>
  9973.     </xsl:function>
  9974.     <xsl:function name="altova:MapUnitEmToPt" as="xs:double">
  9975.         <xsl:param name="dEm" as="xs:double"/>
  9976.         <xsl:sequence select="altova:MapUnitPercentToPt($dEm * $altova:nPercentPerEm)"/>
  9977.     </xsl:function>
  9978.     <xsl:function name="altova:MapUnitExToPt" as="xs:double">
  9979.         <xsl:param name="dEx" as="xs:double"/>
  9980.         <xsl:sequence select="altova:MapUnitPercentToPt($dEx * $altova:nPercentPerEx)"/>
  9981.     </xsl:function>
  9982.     <xsl:function name="altova:MapUnitInToPt" as="xs:double">
  9983.         <xsl:param name="dIn" as="xs:double"/>
  9984.         <xsl:sequence select="$dIn * $altova:nPtPerIn"/>
  9985.     </xsl:function>
  9986.     <xsl:function name="altova:MapUnitMmToPt" as="xs:double">
  9987.         <xsl:param name="dMm" as="xs:double"/>
  9988.         <xsl:sequence select="altova:MapUnitCmToPt($dMm div 10)"/>
  9989.     </xsl:function>
  9990.     <xsl:function name="altova:MapUnitPcToPt" as="xs:double">
  9991.         <xsl:param name="dPc" as="xs:double"/>
  9992.         <xsl:sequence select="$dPc * $altova:nPtPerPc"/>
  9993.     </xsl:function>
  9994.     <xsl:function name="altova:MapUnitPercentToPt" as="xs:double">
  9995.         <xsl:param name="dPercent" as="xs:double"/>
  9996.         <xsl:sequence select="$dPercent div 100 * $altova:nDefaultFontSizePt"/>
  9997.     </xsl:function>
  9998.     <xsl:function name="altova:MapUnitPtToEmu" as="xs:integer">
  9999.         <xsl:param name="dPoints" as="xs:double"/>
  10000.         <xsl:sequence select="xs:integer(round($dPoints * $altova:nEmuPerPoint))"/>
  10001.     </xsl:function>
  10002.     <xsl:function name="altova:MapUnitPtToTwips" as="xs:integer">
  10003.         <xsl:param name="dPoints" as="xs:double"/>
  10004.         <xsl:value-of select="round($dPoints * $altova:nTwipsPerPt)"/>
  10005.     </xsl:function>
  10006.     <xsl:function name="altova:MapUnitPxToPt" as="xs:double">
  10007.         <xsl:param name="dPx" as="xs:double"/>
  10008.         <xsl:sequence select="$dPx div $altova:nPxPerIn * $altova:nPtPerIn"/>
  10009.     </xsl:function>
  10010.     <xsl:function name="altova:MergeRichEditAnyStyle" as="node()?">
  10011.         <xsl:param name="nodeClassicProperties" as="node()?"/>
  10012.         <xsl:param name="nodeRichEditProperties" as="node()"/>
  10013.         <xsl:param name="nodeDynamicClassStyles" as="node()*"/>
  10014.         <xsl:param name="sWordmlStyle" as="xs:string?"/>
  10015.         <xsl:choose>
  10016.             <xsl:when test="$nodeDynamicClassStyles/*[name() eq $sWordmlStyle][1]">
  10017.                 <xsl:copy-of select="($nodeDynamicClassStyles/*[name() eq $sWordmlStyle])[last()]"/>
  10018.             </xsl:when>
  10019.             <xsl:when test="$nodeRichEditProperties/*[name() eq $sWordmlStyle]">
  10020.                 <xsl:copy-of select="$nodeRichEditProperties/*[name() eq $sWordmlStyle]"/>
  10021.             </xsl:when>
  10022.             <xsl:when test="$nodeClassicProperties/*[name() eq $sWordmlStyle]">
  10023.                 <xsl:copy-of select="$nodeClassicProperties/*[name() eq $sWordmlStyle]"/>
  10024.             </xsl:when>
  10025.         </xsl:choose>
  10026.     </xsl:function>
  10027.     <xsl:function name="altova:MergeRichEditCharacterStyles" as="node()">
  10028.         <xsl:param name="node_rPr" as="node()?"/>
  10029.         <xsl:param name="sStyleList" as="xs:string?"/>
  10030.         <xsl:param name="nodeDynamicClassCharacterStyles" as="node()*"/>
  10031.         <xsl:variable name="seqStyles" as="xs:string*" select="tokenize($sStyleList, ';')"/>
  10032.         <xsl:variable name="seqStyleNames" as="xs:string*" select="for $nodeStyle in $seqStyles return normalize-space(substring-before($nodeStyle, ':'))"/>
  10033.         <xsl:variable name="seqStyleValues" as="xs:string*" select="for $nodeStyle in $seqStyles return normalize-space(substring-after($nodeStyle, ':'))"/>
  10034.         <xsl:variable name="node_rPr_RichEdit" as="node()">
  10035.             <rPr_RichEdit>
  10036.                 <xsl:sequence select="altova:MergeRichEditCharacterStyle_w_b                ($seqStyleNames, $seqStyleValues)"/>
  10037.                 <xsl:sequence select="altova:MergeRichEditCharacterStyle_w_backgroundcolor  ($seqStyleNames, $seqStyleValues)"/>
  10038.                 <xsl:sequence select="altova:MergeRichEditCharacterStyle_w_color            ($seqStyleNames, $seqStyleValues)"/>
  10039.                 <xsl:sequence select="altova:MergeRichEditCharacterStyle_w_fontfamily       ($seqStyleNames, $seqStyleValues)"/>
  10040.                 <xsl:sequence select="altova:MergeRichEditCharacterStyle_w_fontsize         ($seqStyleNames, $seqStyleValues)"/>
  10041.                 <xsl:sequence select="altova:MergeRichEditCharacterStyle_w_i                ($seqStyleNames, $seqStyleValues)"/>
  10042.                 <xsl:sequence select="altova:MergeRichEditCharacterStyle_w_strike           ($seqStyleNames, $seqStyleValues)"/>
  10043.                 <xsl:sequence select="altova:MergeRichEditCharacterStyle_w_u                ($seqStyleNames, $seqStyleValues)"/>
  10044.             </rPr_RichEdit>
  10045.         </xsl:variable>
  10046.         <w:rPr>
  10047.             <xsl:sequence select="altova:MergeRichEditAnyStyle($node_rPr, $node_rPr_RichEdit, $nodeDynamicClassCharacterStyles, 'w:rStyle')"/>
  10048.             <xsl:sequence select="altova:MergeRichEditAnyStyle($node_rPr, $node_rPr_RichEdit, $nodeDynamicClassCharacterStyles, 'w:rFonts')"/>
  10049.             <xsl:sequence select="altova:MergeRichEditAnyStyle($node_rPr, $node_rPr_RichEdit, $nodeDynamicClassCharacterStyles, 'w:b')"/>
  10050.             <xsl:sequence select="altova:MergeRichEditAnyStyle($node_rPr, $node_rPr_RichEdit, $nodeDynamicClassCharacterStyles, 'w:bCs')"/>
  10051.             <xsl:sequence select="altova:MergeRichEditAnyStyle($node_rPr, $node_rPr_RichEdit, $nodeDynamicClassCharacterStyles, 'w:i')"/>
  10052.             <xsl:sequence select="altova:MergeRichEditAnyStyle($node_rPr, $node_rPr_RichEdit, $nodeDynamicClassCharacterStyles, 'w:iCs')"/>
  10053.             <xsl:sequence select="altova:MergeRichEditAnyStyle($node_rPr, $node_rPr_RichEdit, $nodeDynamicClassCharacterStyles, 'w:caps')"/>
  10054.             <xsl:sequence select="altova:MergeRichEditAnyStyle($node_rPr, $node_rPr_RichEdit, $nodeDynamicClassCharacterStyles, 'w:smallCaps')"/>
  10055.             <xsl:sequence select="altova:MergeRichEditAnyStyle($node_rPr, $node_rPr_RichEdit, $nodeDynamicClassCharacterStyles, 'w:strike')"/>
  10056.             <xsl:sequence select="altova:MergeRichEditAnyStyle($node_rPr, $node_rPr_RichEdit, $nodeDynamicClassCharacterStyles, 'w:dstrike')"/>
  10057.             <xsl:sequence select="altova:MergeRichEditAnyStyle($node_rPr, $node_rPr_RichEdit, $nodeDynamicClassCharacterStyles, 'w:outline')"/>
  10058.             <xsl:sequence select="altova:MergeRichEditAnyStyle($node_rPr, $node_rPr_RichEdit, $nodeDynamicClassCharacterStyles, 'w:shadow')"/>
  10059.             <xsl:sequence select="altova:MergeRichEditAnyStyle($node_rPr, $node_rPr_RichEdit, $nodeDynamicClassCharacterStyles, 'w:emboss')"/>
  10060.             <xsl:sequence select="altova:MergeRichEditAnyStyle($node_rPr, $node_rPr_RichEdit, $nodeDynamicClassCharacterStyles, 'w:imprint')"/>
  10061.             <xsl:sequence select="altova:MergeRichEditAnyStyle($node_rPr, $node_rPr_RichEdit, $nodeDynamicClassCharacterStyles, 'w:noproof')"/>
  10062.             <xsl:sequence select="altova:MergeRichEditAnyStyle($node_rPr, $node_rPr_RichEdit, $nodeDynamicClassCharacterStyles, 'w:snapToGrid')"/>
  10063.             <xsl:sequence select="altova:MergeRichEditAnyStyle($node_rPr, $node_rPr_RichEdit, $nodeDynamicClassCharacterStyles, 'w:vanish')"/>
  10064.             <xsl:sequence select="altova:MergeRichEditAnyStyle($node_rPr, $node_rPr_RichEdit, $nodeDynamicClassCharacterStyles, 'w:webHidden')"/>
  10065.             <xsl:sequence select="altova:MergeRichEditAnyStyle($node_rPr, $node_rPr_RichEdit, $nodeDynamicClassCharacterStyles, 'w:color')"/>
  10066.             <xsl:sequence select="altova:MergeRichEditAnyStyle($node_rPr, $node_rPr_RichEdit, $nodeDynamicClassCharacterStyles, 'w:spacing')"/>
  10067.             <xsl:sequence select="altova:MergeRichEditAnyStyle($node_rPr, $node_rPr_RichEdit, $nodeDynamicClassCharacterStyles, 'w:w')"/>
  10068.             <xsl:sequence select="altova:MergeRichEditAnyStyle($node_rPr, $node_rPr_RichEdit, $nodeDynamicClassCharacterStyles, 'w:kern')"/>
  10069.             <xsl:sequence select="altova:MergeRichEditAnyStyle($node_rPr, $node_rPr_RichEdit, $nodeDynamicClassCharacterStyles, 'w:position')"/>
  10070.             <xsl:sequence select="altova:MergeRichEditAnyStyle($node_rPr, $node_rPr_RichEdit, $nodeDynamicClassCharacterStyles, 'w:sz')"/>
  10071.             <xsl:sequence select="altova:MergeRichEditAnyStyle($node_rPr, $node_rPr_RichEdit, $nodeDynamicClassCharacterStyles, 'w:szCs')"/>
  10072.             <xsl:sequence select="altova:MergeRichEditAnyStyle($node_rPr, $node_rPr_RichEdit, $nodeDynamicClassCharacterStyles, 'w:highlight')"/>
  10073.             <xsl:sequence select="altova:MergeRichEditAnyStyle($node_rPr, $node_rPr_RichEdit, $nodeDynamicClassCharacterStyles, 'w:u')"/>
  10074.             <xsl:sequence select="altova:MergeRichEditAnyStyle($node_rPr, $node_rPr_RichEdit, $nodeDynamicClassCharacterStyles, 'w:effect')"/>
  10075.             <xsl:sequence select="altova:MergeRichEditAnyStyle($node_rPr, $node_rPr_RichEdit, $nodeDynamicClassCharacterStyles, 'w:bdr')"/>
  10076.             <xsl:sequence select="altova:MergeRichEditAnyStyle($node_rPr, $node_rPr_RichEdit, $nodeDynamicClassCharacterStyles, 'w:shd')"/>
  10077.             <xsl:sequence select="altova:MergeRichEditAnyStyle($node_rPr, $node_rPr_RichEdit, $nodeDynamicClassCharacterStyles, 'w:fitText')"/>
  10078.             <xsl:sequence select="altova:MergeRichEditAnyStyle($node_rPr, $node_rPr_RichEdit, $nodeDynamicClassCharacterStyles, 'w:vertAlign')"/>
  10079.             <xsl:sequence select="altova:MergeRichEditAnyStyle($node_rPr, $node_rPr_RichEdit, $nodeDynamicClassCharacterStyles, 'w:rtl')"/>
  10080.             <xsl:sequence select="altova:MergeRichEditAnyStyle($node_rPr, $node_rPr_RichEdit, $nodeDynamicClassCharacterStyles, 'w:cs')"/>
  10081.             <xsl:sequence select="altova:MergeRichEditAnyStyle($node_rPr, $node_rPr_RichEdit, $nodeDynamicClassCharacterStyles, 'w:em')"/>
  10082.             <xsl:sequence select="altova:MergeRichEditAnyStyle($node_rPr, $node_rPr_RichEdit, $nodeDynamicClassCharacterStyles, 'w:lang')"/>
  10083.             <xsl:sequence select="altova:MergeRichEditAnyStyle($node_rPr, $node_rPr_RichEdit, $nodeDynamicClassCharacterStyles, 'w:eastAsianLayout')"/>
  10084.             <xsl:sequence select="altova:MergeRichEditAnyStyle($node_rPr, $node_rPr_RichEdit, $nodeDynamicClassCharacterStyles, 'w:specVanish')"/>
  10085.             <xsl:sequence select="altova:MergeRichEditAnyStyle($node_rPr, $node_rPr_RichEdit, $nodeDynamicClassCharacterStyles, 'w:oMath')"/>
  10086.         </w:rPr>
  10087.     </xsl:function>
  10088.     <xsl:function name="altova:MergeRichEditCharacterStyle_w_b" as="node()?">
  10089.         <xsl:param name="seqStyleNames" as="xs:string*"/>
  10090.         <xsl:param name="seqStyleValues" as="xs:string*"/>
  10091.         <xsl:variable name="nIndex" as="xs:integer?" select="index-of($seqStyleNames, 'font-weight')"/>
  10092.         <xsl:if test="$nIndex">
  10093.             <xsl:variable name="sValue" as="xs:string" select="altova:MapCssToWordml_fontweight_AbsentOk($seqStyleValues[$nIndex])"/>
  10094.             <w:b w:val="{$sValue}"/>
  10095.         </xsl:if>
  10096.     </xsl:function>
  10097.     <xsl:function name="altova:MergeRichEditCharacterStyle_w_backgroundcolor" as="node()?">
  10098.         <xsl:param name="seqStyleNames" as="xs:string*"/>
  10099.         <xsl:param name="seqStyleValues" as="xs:string*"/>
  10100.         <xsl:variable name="nIndex" as="xs:integer?" select="index-of($seqStyleNames, 'background-color')"/>
  10101.         <xsl:if test="$nIndex">
  10102.             <xsl:variable name="sValue" as="xs:string" select="altova:MapColorAnyStringToSixHexDigits_AbsentOk($seqStyleValues[$nIndex])"/>
  10103.             <w:shd w:val="clear" w:fill="{$sValue}"/>
  10104.         </xsl:if>
  10105.     </xsl:function>
  10106.     <xsl:function name="altova:MergeRichEditCharacterStyle_w_color" as="node()?">
  10107.         <xsl:param name="seqStyleNames" as="xs:string*"/>
  10108.         <xsl:param name="seqStyleValues" as="xs:string*"/>
  10109.         <xsl:variable name="nIndex" as="xs:integer?" select="index-of($seqStyleNames, 'color')"/>
  10110.         <xsl:if test="$nIndex">
  10111.             <xsl:variable name="sValue" as="xs:string" select="altova:MapColorAnyStringToSixHexDigits_AbsentOk($seqStyleValues[$nIndex])"/>
  10112.             <w:color w:val="{$sValue}"/>
  10113.         </xsl:if>
  10114.     </xsl:function>
  10115.     <xsl:function name="altova:MergeRichEditCharacterStyle_w_fontfamily" as="node()?">
  10116.         <xsl:param name="seqStyleNames" as="xs:string*"/>
  10117.         <xsl:param name="seqStyleValues" as="xs:string*"/>
  10118.         <xsl:variable name="nIndex" as="xs:integer?" select="index-of($seqStyleNames, 'font-family')"/>
  10119.         <xsl:if test="$nIndex">
  10120.             <xsl:variable name="sValue" as="xs:string" select="$seqStyleValues[$nIndex]"/>
  10121.             <w:rFonts w:ascii="{$sValue}" w:hAnsi="{$sValue}"/>
  10122.         </xsl:if>
  10123.     </xsl:function>
  10124.     <xsl:function name="altova:MergeRichEditCharacterStyle_w_fontsize" as="node()?">
  10125.         <xsl:param name="seqStyleNames" as="xs:string*"/>
  10126.         <xsl:param name="seqStyleValues" as="xs:string*"/>
  10127.         <xsl:variable name="nIndex" as="xs:integer?" select="index-of($seqStyleNames, 'font-size')"/>
  10128.         <xsl:if test="$nIndex">
  10129.             <xsl:variable name="sValue" as="xs:string" select="$seqStyleValues[$nIndex]"/>
  10130.             <w:sz w:val="{altova:MapFontSizeToHalfPoints_AbsentOk($sValue)}"/>
  10131.         </xsl:if>
  10132.     </xsl:function>
  10133.     <xsl:function name="altova:MergeRichEditCharacterStyle_w_i" as="node()?">
  10134.         <xsl:param name="seqStyleNames" as="xs:string*"/>
  10135.         <xsl:param name="seqStyleValues" as="xs:string*"/>
  10136.         <xsl:variable name="nIndex" as="xs:integer?" select="index-of($seqStyleNames, 'font-style')"/>
  10137.         <xsl:if test="$nIndex">
  10138.             <xsl:variable name="sValue" as="xs:string" select="altova:MapCssToWordml_fontstyle_AbsentOk($seqStyleValues[$nIndex])"/>
  10139.             <w:i w:val="{$sValue}"/>
  10140.         </xsl:if>
  10141.     </xsl:function>
  10142.     <xsl:function name="altova:MergeRichEditCharacterStyle_w_strike" as="node()?">
  10143.         <xsl:param name="seqStyleNames" as="xs:string*"/>
  10144.         <xsl:param name="seqStyleValues" as="xs:string*"/>
  10145.         <xsl:variable name="nIndex" as="xs:integer?" select="index-of($seqStyleNames, 'text-decoration')"/>
  10146.         <xsl:if test="$nIndex">
  10147.             <xsl:if test="contains($seqStyleValues[$nIndex], 'line-through')">
  10148.                 <xsl:variable name="sValue" as="xs:string" select="altova:MapCssToWordml_textdecoration_linethrough_AbsentOk($seqStyleValues[$nIndex])"/>
  10149.                 <w:strike w:val="{$sValue}"/>
  10150.             </xsl:if>
  10151.         </xsl:if>
  10152.     </xsl:function>
  10153.     <xsl:function name="altova:MergeRichEditCharacterStyle_w_u" as="node()?">
  10154.         <xsl:param name="seqStyleNames" as="xs:string*"/>
  10155.         <xsl:param name="seqStyleValues" as="xs:string*"/>
  10156.         <xsl:variable name="nIndex" as="xs:integer?" select="index-of($seqStyleNames, 'text-decoration')"/>
  10157.         <xsl:if test="$nIndex">
  10158.             <xsl:if test="contains($seqStyleValues[$nIndex], 'underline')">
  10159.                 <xsl:variable name="sValue" as="xs:string" select="altova:MapCssToWordml_textdecoration_underline_AbsentOk($seqStyleValues[$nIndex])"/>
  10160.                 <w:u w:val="{$sValue}"/>
  10161.             </xsl:if>
  10162.         </xsl:if>
  10163.     </xsl:function>
  10164.     <xsl:function name="altova:MergeRichEditParagraphStyles" as="node()">
  10165.         <xsl:param name="node_pPr" as="node()?"/>
  10166.         <xsl:param name="sStyleList" as="xs:string?"/>
  10167.         <xsl:param name="nodeDynamicClassParagraphStyles" as="node()*"/>
  10168.         <xsl:variable name="seqStyles" as="xs:string*" select="tokenize($sStyleList, ';')"/>
  10169.         <xsl:variable name="seqStyleNames" as="xs:string*" select="for $nodeStyle in $seqStyles return normalize-space(substring-before($nodeStyle, ':'))"/>
  10170.         <xsl:variable name="seqStyleValues" as="xs:string*" select="for $nodeStyle in $seqStyles return normalize-space(substring-after($nodeStyle, ':'))"/>
  10171.         <xsl:variable name="node_pPr_RichEdit" as="node()">
  10172.             <pPr_RichEdit>
  10173.                 <xsl:sequence select="altova:MergeRichEditParagraphStyle_w_jc($seqStyleNames, $seqStyleValues)"/>
  10174.             </pPr_RichEdit>
  10175.         </xsl:variable>
  10176.         <w:pPr>
  10177.             <xsl:sequence select="altova:MergeRichEditAnyStyle($node_pPr, $node_pPr_RichEdit, $nodeDynamicClassParagraphStyles, 'w:pStyle')"/>
  10178.             <xsl:sequence select="altova:MergeRichEditAnyStyle($node_pPr, $node_pPr_RichEdit, $nodeDynamicClassParagraphStyles, 'w:keepNext')"/>
  10179.             <xsl:sequence select="altova:MergeRichEditAnyStyle($node_pPr, $node_pPr_RichEdit, $nodeDynamicClassParagraphStyles, 'w:keepLines')"/>
  10180.             <xsl:sequence select="altova:MergeRichEditAnyStyle($node_pPr, $node_pPr_RichEdit, $nodeDynamicClassParagraphStyles, 'w:pageBreakBefore')"/>
  10181.             <xsl:sequence select="altova:MergeRichEditAnyStyle($node_pPr, $node_pPr_RichEdit, $nodeDynamicClassParagraphStyles, 'w:framePr')"/>
  10182.             <xsl:sequence select="altova:MergeRichEditAnyStyle($node_pPr, $node_pPr_RichEdit, $nodeDynamicClassParagraphStyles, 'w:widowControl')"/>
  10183.             <xsl:sequence select="altova:MergeRichEditAnyStyle($node_pPr, $node_pPr_RichEdit, $nodeDynamicClassParagraphStyles, 'w:numPr')"/>
  10184.             <xsl:sequence select="altova:MergeRichEditAnyStyle($node_pPr, $node_pPr_RichEdit, $nodeDynamicClassParagraphStyles, 'w:suppressLineNumbers')"/>
  10185.             <xsl:sequence select="altova:MergeRichEditAnyStyle($node_pPr, $node_pPr_RichEdit, $nodeDynamicClassParagraphStyles, 'w:pBdr')"/>
  10186.             <xsl:sequence select="altova:MergeRichEditAnyStyle($node_pPr, $node_pPr_RichEdit, $nodeDynamicClassParagraphStyles, 'w:shd')"/>
  10187.             <xsl:sequence select="altova:MergeRichEditAnyStyle($node_pPr, $node_pPr_RichEdit, $nodeDynamicClassParagraphStyles, 'w:tabs')"/>
  10188.             <xsl:sequence select="altova:MergeRichEditAnyStyle($node_pPr, $node_pPr_RichEdit, $nodeDynamicClassParagraphStyles, 'w:suppressAutoHyphens')"/>
  10189.             <xsl:sequence select="altova:MergeRichEditAnyStyle($node_pPr, $node_pPr_RichEdit, $nodeDynamicClassParagraphStyles, 'w:kinsoku')"/>
  10190.             <xsl:sequence select="altova:MergeRichEditAnyStyle($node_pPr, $node_pPr_RichEdit, $nodeDynamicClassParagraphStyles, 'w:wordWrap')"/>
  10191.             <xsl:sequence select="altova:MergeRichEditAnyStyle($node_pPr, $node_pPr_RichEdit, $nodeDynamicClassParagraphStyles, 'w:overflowPunct')"/>
  10192.             <xsl:sequence select="altova:MergeRichEditAnyStyle($node_pPr, $node_pPr_RichEdit, $nodeDynamicClassParagraphStyles, 'w:topLinePunct')"/>
  10193.             <xsl:sequence select="altova:MergeRichEditAnyStyle($node_pPr, $node_pPr_RichEdit, $nodeDynamicClassParagraphStyles, 'w:autoSpaceDE')"/>
  10194.             <xsl:sequence select="altova:MergeRichEditAnyStyle($node_pPr, $node_pPr_RichEdit, $nodeDynamicClassParagraphStyles, 'w:autospaceDN')"/>
  10195.             <xsl:sequence select="altova:MergeRichEditAnyStyle($node_pPr, $node_pPr_RichEdit, $nodeDynamicClassParagraphStyles, 'w:bidi')"/>
  10196.             <xsl:sequence select="altova:MergeRichEditAnyStyle($node_pPr, $node_pPr_RichEdit, $nodeDynamicClassParagraphStyles, 'w:adjustRightInd')"/>
  10197.             <xsl:sequence select="altova:MergeRichEditAnyStyle($node_pPr, $node_pPr_RichEdit, $nodeDynamicClassParagraphStyles, 'w:snapToGrid')"/>
  10198.             <xsl:sequence select="altova:MergeRichEditAnyStyle($node_pPr, $node_pPr_RichEdit, $nodeDynamicClassParagraphStyles, 'w_spacing')"/>
  10199.             <xsl:sequence select="altova:MergeRichEditAnyStyle($node_pPr, $node_pPr_RichEdit, $nodeDynamicClassParagraphStyles, 'w:ind')"/>
  10200.             <xsl:sequence select="altova:MergeRichEditAnyStyle($node_pPr, $node_pPr_RichEdit, $nodeDynamicClassParagraphStyles, 'w:contextualSpacing')"/>
  10201.             <xsl:sequence select="altova:MergeRichEditAnyStyle($node_pPr, $node_pPr_RichEdit, $nodeDynamicClassParagraphStyles, 'w:mirrorIndents')"/>
  10202.             <xsl:sequence select="altova:MergeRichEditAnyStyle($node_pPr, $node_pPr_RichEdit, $nodeDynamicClassParagraphStyles, 'w:suppressOverlap')"/>
  10203.             <xsl:sequence select="altova:MergeRichEditAnyStyle($node_pPr, $node_pPr_RichEdit, $nodeDynamicClassParagraphStyles, 'w:jc')"/>
  10204.             <xsl:sequence select="altova:MergeRichEditAnyStyle($node_pPr, $node_pPr_RichEdit, $nodeDynamicClassParagraphStyles, 'w:textDirection')"/>
  10205.             <xsl:sequence select="altova:MergeRichEditAnyStyle($node_pPr, $node_pPr_RichEdit, $nodeDynamicClassParagraphStyles, 'w:textAlignment')"/>
  10206.             <xsl:sequence select="altova:MergeRichEditAnyStyle($node_pPr, $node_pPr_RichEdit, $nodeDynamicClassParagraphStyles, 'w:textboxTightWrap')"/>
  10207.             <xsl:sequence select="altova:MergeRichEditAnyStyle($node_pPr, $node_pPr_RichEdit, $nodeDynamicClassParagraphStyles, 'w:outlineLvl')"/>
  10208.             <xsl:sequence select="altova:MergeRichEditAnyStyle($node_pPr, $node_pPr_RichEdit, $nodeDynamicClassParagraphStyles, 'w:divId')"/>
  10209.             <xsl:sequence select="altova:MergeRichEditAnyStyle($node_pPr, $node_pPr_RichEdit, $nodeDynamicClassParagraphStyles, 'w:cnfStyle')"/>
  10210.         </w:pPr>
  10211.     </xsl:function>
  10212.     <xsl:function name="altova:MergeRichEditParagraphStyle_w_jc" as="node()?">
  10213.         <xsl:param name="seqStyleNames" as="xs:string*"/>
  10214.         <xsl:param name="seqStyleValues" as="xs:string*"/>
  10215.         <xsl:variable name="nIndex" as="xs:integer?" select="index-of($seqStyleNames, 'text-align')"/>
  10216.         <xsl:if test="$nIndex">
  10217.             <xsl:variable name="sValue" as="xs:string" select="altova:MapCssToWordml_textalign_AbsentOk($seqStyleValues[$nIndex])"/>
  10218.             <w:jc w:val="{$sValue}"/>
  10219.         </xsl:if>
  10220.     </xsl:function>
  10221.     <xsl:function name="altova:NormalizeUrlForImage" as="xs:string">
  10222.         <xsl:param name="sUrl" as="xs:string"/>
  10223.         <xsl:variable name="sAbsoluteURI" select="resolve-uri($sUrl)"/>
  10224.         <xsl:variable name="sHtmlEscapedURI" select="escape-html-uri($sAbsoluteURI)"/>
  10225.         <xsl:variable name="sForwardSlashes" select="translate($sHtmlEscapedURI, '&#x5c;', '/')"/>
  10226.         <xsl:variable name="sSpacesEscaped" select="replace($sForwardSlashes, ' ', '%20')"/>
  10227.         <xsl:value-of select="$sSpacesEscaped"/>
  10228.     </xsl:function>
  10229.     <xsl:function name="altova:NormalizeUrlForLink" as="xs:string">
  10230.         <xsl:param name="sUrl" as="xs:string"/>
  10231.         <xsl:variable name="sForwardSlashes" as="xs:string" select="translate($sUrl, '&#x5c;', '/')"/>
  10232.         <xsl:variable name="sNoLineBreaks" as="xs:string" select="replace($sForwardSlashes, '&#xA;', '')"/>
  10233.         <xsl:variable name="sSpacesEscaped" as="xs:string" select="replace($sNoLineBreaks, ' ', '%20')"/>
  10234.         <xsl:choose>
  10235.             <xsl:when test="substring($sUrl, 1, 1) = '#'">
  10236.                 <xsl:value-of select="$sUrl"/>
  10237.             </xsl:when>
  10238.             <xsl:when test="substring($sUrl, 2, 1) = ':'">
  10239.                 <xsl:value-of select="concat('file://', $sSpacesEscaped)"/>
  10240.             </xsl:when>
  10241.             <xsl:when test="not(contains($sUrl, ':'))">
  10242.                 <xsl:value-of select="concat('file:./', $sSpacesEscaped)"/>
  10243.             </xsl:when>
  10244.             <xsl:otherwise>
  10245.                 <xsl:variable name="sQuestionMarkEscaped" as="xs:string" select="replace($sSpacesEscaped, '([^/])\?', '$1/?')"/>
  10246.                 <xsl:value-of select="$sQuestionMarkEscaped"/>
  10247.             </xsl:otherwise>
  10248.         </xsl:choose>
  10249.     </xsl:function>
  10250.     <xsl:function name="altova:ResolveUrlForImage" as="xs:string">
  10251.         <xsl:param name="nodeImages" as="node()*"/>
  10252.         <xsl:param name="sUrl" as="xs:string"/>
  10253.         <xsl:param name="bEmbed" as="xs:boolean"/>
  10254.         <xsl:choose>
  10255.             <xsl:when test="$bEmbed">
  10256.                 <xsl:value-of select="$nodeImages//altova:Image[@altova:Src eq altova:NormalizeUrlForImage($sUrl)]/@altova:Target"/>
  10257.             </xsl:when>
  10258.             <xsl:otherwise>
  10259.                 <xsl:value-of select="altova:NormalizeUrlForImage($sUrl)"/>
  10260.             </xsl:otherwise>
  10261.         </xsl:choose>
  10262.     </xsl:function>
  10263.     <xsl:function name="altova:ResolveUrlForLink" as="xs:string">
  10264.         <xsl:param name="nodeAltovaLink" as="node()"/>
  10265.         <xsl:param name="nodeAltovaDocument" as="node()"/>
  10266.         <xsl:choose>
  10267.             <xsl:when test="substring($nodeAltovaLink/@altova:Dest, 1, 1) = '#'">
  10268.                 <xsl:variable name="altova:nodeBookmark" as="node()?" select="$altova:DocumentMonolith/key('altova:BookmarksByName', substring($nodeAltovaLink/@altova:Dest, 2))[1]"/>
  10269.                 <xsl:choose>
  10270.                     <xsl:when test="empty($altova:nodeBookmark)">
  10271.                         <xsl:value-of select="''"/>
  10272.                     </xsl:when>
  10273.                     <xsl:otherwise>
  10274.                         <xsl:variable name="altova:SourceDocument" as="node()" select="$nodeAltovaDocument"/>
  10275.                         <xsl:variable name="altova:TargetDocument" as="node()" select="$altova:nodeBookmark/ancestor::altova:Document[1]"/>
  10276.                         <xsl:choose>
  10277.                             <xsl:when test="$altova:SourceDocument/@altova:Url eq $altova:TargetDocument/@altova:Url">
  10278.                                 <xsl:value-of select="''"/>
  10279.                             </xsl:when>
  10280.                             <xsl:otherwise>
  10281.                                 <xsl:variable name="altova:sRelativePath" as="xs:string" select="altova:calc-relative-path($altova:SourceDocument/@altova:Url, $altova:TargetDocument/@altova:Url)"/>
  10282.                                 <xsl:variable name="altova:sRelativePathWithFragment" as="xs:string" select="concat($altova:sRelativePath, $nodeAltovaLink/@altova:Dest)"/>
  10283.                                 <xsl:value-of select="altova:NormalizeUrlForLink($altova:sRelativePathWithFragment)"/>
  10284.                             </xsl:otherwise>
  10285.                         </xsl:choose>
  10286.                     </xsl:otherwise>
  10287.                 </xsl:choose>
  10288.             </xsl:when>
  10289.             <xsl:otherwise>
  10290.                 <xsl:value-of select="altova:NormalizeUrlForLink($nodeAltovaLink/@altova:Dest)"/>
  10291.             </xsl:otherwise>
  10292.         </xsl:choose>
  10293.     </xsl:function>
  10294.     <xsl:function name="altova:ScaleFont" as="xs:double">
  10295.         <xsl:param name="nCurrSize" as="xs:double"/>
  10296.         <xsl:param name="nSteps" as="xs:integer"/>
  10297.         <xsl:choose>
  10298.             <xsl:when test="$nSteps = 0">
  10299.                 <xsl:sequence select="$nCurrSize"/>
  10300.             </xsl:when>
  10301.             <xsl:when test="$nSteps &lt; 0">
  10302.                 <xsl:sequence select="altova:ScaleFont($nCurrSize div $altova:nFontScalingFactor, $nSteps + 1)"/>
  10303.             </xsl:when>
  10304.             <xsl:when test="$nSteps &gt; 0">
  10305.                 <xsl:sequence select="altova:ScaleFont($nCurrSize * $altova:nFontScalingFactor, $nSteps - 1)"/>
  10306.             </xsl:when>
  10307.         </xsl:choose>
  10308.     </xsl:function>
  10309.     <xsl:function name="altova:SplitParagraph" as="node()*">
  10310.         <xsl:param name="nodePara" as="node()"/>
  10311.         <xsl:variable name="nodesBadElements" as="node()*" select="altova:SplitParagraph_GetBadElements($nodePara)"/>
  10312.         <xsl:choose>
  10313.             <xsl:when test="empty($nodesBadElements)">
  10314.                 <xsl:variable name="nodesParaChildren" as="node()*" select="$nodePara/*"/>
  10315.                 <xsl:choose>
  10316.                     <xsl:when test="empty($nodesParaChildren)">
  10317.                         <altova:Paragraph/>
  10318.                     </xsl:when>
  10319.                     <xsl:otherwise>
  10320.                         <xsl:sequence select="altova:EncloseSiblingsWithAltovaParagraph($nodesParaChildren)"/>
  10321.                     </xsl:otherwise>
  10322.                 </xsl:choose>
  10323.             </xsl:when>
  10324.             <xsl:otherwise>
  10325.                 <xsl:variable name="nodesPathFirst" as="node()*" select="altova:GetNodesFromAncestorToDescendant($nodePara, $nodesBadElements[1])"/>
  10326.                 <xsl:variable name="nodesBeforeBad1" as="node()*" select="altova:SplitParagraph_CollectPathSide1($nodesPathFirst)"/>
  10327.                 <xsl:choose>
  10328.                     <xsl:when test="xs:string(node-name($nodesBeforeBad1[1])) eq 'altova:DocumentSection' and not($nodesBeforeBad1[2])">
  10329.                         <xsl:copy-of select="$nodesBeforeBad1" copy-namespaces="no"/>
  10330.                     </xsl:when>
  10331.                     <xsl:otherwise>
  10332.                         <xsl:sequence select="altova:EncloseSiblingsWithAltovaParagraph($nodesBeforeBad1)"/>
  10333.                     </xsl:otherwise>
  10334.                 </xsl:choose>
  10335.                 <xsl:sequence select="altova:SplitParagraphCore($nodePara, $nodesBadElements)"/>
  10336.                 <xsl:variable name="nodesPathLast" as="node()*" select="altova:GetNodesFromAncestorToDescendant($nodePara, $nodesBadElements[last()])"/>
  10337.                 <xsl:variable name="nodesAfterBad2" as="node()*" select="altova:SplitParagraph_CollectPathSide2($nodesPathLast)"/>
  10338.                 <xsl:sequence select="altova:EncloseSiblingsWithAltovaParagraph($nodesAfterBad2)"/>
  10339.             </xsl:otherwise>
  10340.         </xsl:choose>
  10341.     </xsl:function>
  10342.     <xsl:function name="altova:SplitParagraph_CollectPathSide1" as="node()*">
  10343.         <xsl:param name="nodesPath" as="node()*"/>
  10344.         <xsl:if test="exists($nodesPath)">
  10345.             <xsl:if test="count($nodesPath) = 1">
  10346.                 <xsl:message select="'Error: Invalid argument passed to altova:SplitParagraph_CollectPathSide1()'"/>
  10347.             </xsl:if>
  10348.             <xsl:variable name="nProcessSiblings" as="xs:integer" select="count($nodesPath[2]/preceding-sibling::*)"/>
  10349.             <xsl:sequence select="subsequence($nodesPath[1]/*, 1, $nProcessSiblings)[name() != 'altova:CharacterProperties' and name() != 'altova:ParagraphProperties']"/>
  10350.             <xsl:if test="count($nodesPath) gt 2">
  10351.                 <xsl:sequence select="altova:SplitParagraph_CollectPathSide1(subsequence($nodesPath, 2))"/>
  10352.             </xsl:if>
  10353.         </xsl:if>
  10354.     </xsl:function>
  10355.     <xsl:function name="altova:SplitParagraph_CollectPathSide2" as="node()*">
  10356.         <xsl:param name="nodesPath" as="node()*"/>
  10357.         <xsl:if test="exists($nodesPath)">
  10358.             <xsl:if test="count($nodesPath) = 1">
  10359.                 <xsl:message select="'Error: Invalid argument passed to altova:SplitParagraph_CollectPathSide2()'"/>
  10360.             </xsl:if>
  10361.             <xsl:variable name="nProcessSiblings" as="xs:integer" select="count($nodesPath[last()]/following-sibling::*)"/>
  10362.             <xsl:sequence select="$nodesPath[last() - 1]/*[position() gt last() - $nProcessSiblings][name() != 'altova:CharacterProperties' and name() != 'altova:ParagraphProperties']"/>
  10363.             <xsl:if test="count($nodesPath) gt 2">
  10364.                 <xsl:sequence select="altova:SplitParagraph_CollectPathSide2(subsequence($nodesPath, 1, count($nodesPath) - 1))"/>
  10365.             </xsl:if>
  10366.         </xsl:if>
  10367.     </xsl:function>
  10368.     <xsl:function name="altova:SplitParagraphCore" as="node()*">
  10369.         <xsl:param name="nodePara" as="node()"/>
  10370.         <xsl:param name="nodesBadElements" as="node()+"/>
  10371.         <xsl:variable name="nodesLinksAboveBadElem" as="node()*" select="$nodesBadElements[1]/ancestor::altova:Link except $nodePara/ancestor::altova:Link"/>
  10372.         <xsl:sequence select="altova:SplitParagraphCoreBelowLinks($nodePara, $nodesBadElements, $nodesLinksAboveBadElem)"/>
  10373.     </xsl:function>
  10374.     <xsl:function name="altova:SplitParagraphCoreBelowLinks" as="node()*">
  10375.         <xsl:param name="nodePara" as="node()"/>
  10376.         <xsl:param name="nodesBadElements" as="node()+"/>
  10377.         <xsl:param name="nodesLinksAboveBadElem" as="node()*"/>
  10378.         <xsl:choose>
  10379.             <xsl:when test="exists($nodesLinksAboveBadElem)">
  10380.                 <xsl:variable name="altova:nodeLink" as="node()" select="$nodesLinksAboveBadElem[1]"/>
  10381.                 <xsl:element name="{node-name($altova:nodeLink)}">
  10382.                     <xsl:copy-of select="$altova:nodeLink/@*" copy-namespaces="no"/>
  10383.                     <xsl:sequence select="altova:SplitParagraphCoreBelowLinks($nodePara, $nodesBadElements, subsequence($nodesLinksAboveBadElem, 2))"/>
  10384.                 </xsl:element>
  10385.             </xsl:when>
  10386.             <xsl:otherwise>
  10387.                 <xsl:variable name="nBadElemCnt" as="xs:integer" select="count($nodesBadElements)"/>
  10388.                 <xsl:apply-templates select="$nodesBadElements[1]" mode="altova:Split"/>
  10389.                 <xsl:if test="$nBadElemCnt gt 1">
  10390.                     <xsl:variable name="nHalf" as="xs:integer" select="$nBadElemCnt idiv 2"/>
  10391.                     <xsl:sequence select="altova:SplitParagraph_ProcessBetweenTwoBadElements($nodesBadElements[1], $nodesBadElements[2])"/>
  10392.                     <xsl:if test="$nHalf gt 1">
  10393.                         <xsl:sequence select="altova:SplitParagraphCore($nodePara, subsequence($nodesBadElements, 2, $nHalf - 1))"/>
  10394.                         <xsl:sequence select="altova:SplitParagraph_ProcessBetweenTwoBadElements($nodesBadElements[$nHalf], $nodesBadElements[$nHalf + 1])"/>
  10395.                     </xsl:if>
  10396.                     <xsl:sequence select="altova:SplitParagraphCore($nodePara, subsequence($nodesBadElements, $nHalf + 1))"/>
  10397.                 </xsl:if>
  10398.             </xsl:otherwise>
  10399.         </xsl:choose>
  10400.     </xsl:function>
  10401.     <xsl:function name="altova:SplitParagraph_GetBadElements" as="node()*">
  10402.         <xsl:param name="nodePara" as="node()"/>
  10403.         <xsl:sequence select="$nodePara//(altova:List | altova:Paragraph | altova:Table)
  10404.             [ancestor::*[self::altova:List | self::altova:Paragraph | self::altova:Table | self::altova:LayoutContainer | self::altova:ControlEditField][1] is $nodePara]"/>
  10405.     </xsl:function>
  10406.     <xsl:function name="altova:SplitParagraph_ProcessBetweenTwoBadElements" as="node()*">
  10407.         <xsl:param name="nodeBadElement1" as="node()"/>
  10408.         <xsl:param name="nodeBadElement2" as="node()"/>
  10409.         <xsl:variable name="nodeCommonAncestor" as="node()" select="altova:GetCommonAncestor($nodeBadElement1, $nodeBadElement2)"/>
  10410.         <xsl:variable name="nodesPathToBad1" as="node()+" select="altova:GetNodesFromAncestorToDescendant($nodeCommonAncestor, $nodeBadElement1)"/>
  10411.         <xsl:variable name="nodesPathToBad2" as="node()+" select="altova:GetNodesFromAncestorToDescendant($nodeCommonAncestor, $nodeBadElement2)"/>
  10412.         <xsl:variable name="nodesAfterBad1" as="node()*" select="if (count($nodesPathToBad1) gt 2) then altova:SplitParagraph_CollectPathSide2(subsequence($nodesPathToBad1, 2)) else ()"/>
  10413.         <xsl:variable name="nPositionBad1" as="xs:integer" select="count($nodesPathToBad1[2]/preceding-sibling::*) + 1"/>
  10414.         <xsl:variable name="nPositionBad2" as="xs:integer" select="count($nodesPathToBad2[2]/preceding-sibling::*) + 1"/>
  10415.         <xsl:variable name="nodesBetweenBad1AndBad2" as="node()*" select="subsequence($nodeCommonAncestor/*, $nPositionBad1 + 1, $nPositionBad2 - $nPositionBad1 - 1)"/>
  10416.         <xsl:variable name="nodesBeforeBad2" as="node()*" select="if (count($nodesPathToBad2) gt 2) then altova:SplitParagraph_CollectPathSide1(subsequence($nodesPathToBad2, 2)) else ()"/>
  10417.         <xsl:sequence select="altova:EncloseSiblingsWithAltovaParagraph(($nodesAfterBad1, $nodesBetweenBad1AndBad2, $nodesBeforeBad2))"/>
  10418.     </xsl:function>
  10419.     <xsl:function name="altova:StringPadLeft" as="xs:string">
  10420.         <xsl:param name="sText" as="xs:string"/>
  10421.         <xsl:param name="nDestLen" as="xs:integer"/>
  10422.         <xsl:param name="cPad" as="xs:string"/>
  10423.         <xsl:choose>
  10424.             <xsl:when test="string-length($sText) &gt;= $nDestLen">
  10425.                 <xsl:value-of select="$sText"/>
  10426.             </xsl:when>
  10427.             <xsl:otherwise>
  10428.                 <xsl:value-of select="altova:StringPadLeft(concat($cPad, $sText), $nDestLen, $cPad)"/>
  10429.             </xsl:otherwise>
  10430.         </xsl:choose>
  10431.     </xsl:function>
  10432. </xsl:stylesheet>
Add Comment
Please, Sign In to add comment