home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / WindowsServerTrial / server.iso / sources / install.wim / 2 / Windows / PLA / Rules / Rules.System.Configuration.xml < prev    next >
Extensible Markup Language  |  2006-09-18  |  288KB  |  3,872 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <?Copyright (c) Microsoft Corporation. All rights reserved.?>
  3. <Rules>
  4.   <Group name="$(GroupHwClasses)" enabled="true">
  5.     <Rule name="$(RuleInsertHwClasses)" enabled="true">
  6.       <Step select="/Report/Section[@name='SystemConfig']">
  7.         <Exists>
  8.           <Otherwise>
  9.             <Insert select=".">
  10.               <Node axis="child" document="BIOS.xml" select="/Report/Section/Table[@name='managementObjects']"/>
  11.             </Insert>
  12.             <Insert select="Table[@name='managementObjects']">
  13.               <Attribute name="name" value="TableBios"/>
  14.               <Attribute name="topic" value="TopicBios"/>
  15.             </Insert>
  16.           </Otherwise>
  17.         </Exists>
  18.       </Step>
  19.       <Step select="/Report/Section[@name='SystemConfig']">
  20.         <Exists>
  21.           <Otherwise>
  22.             <Insert select=".">
  23.               <Node axis="child" document="Controller Classes.xml" select="/Report/Section/Table[@name='managementObjects']"/>
  24.             </Insert>
  25.             <Insert select="Table[@name='managementObjects']">
  26.               <Attribute name="name" value="TableController"/>
  27.               <Attribute name="topic" value="TopicDevices"/>
  28.             </Insert>
  29.           </Otherwise>
  30.         </Exists>
  31.       </Step>
  32.       <Step select="/Report/Section[@name='SystemConfig']">
  33.         <Exists>
  34.           <Otherwise>
  35.             <Insert select=".">
  36.               <Node axis="child" document="Cooling Classes.xml" select="/Report/Section/Table[@name='managementObjects']"/>
  37.             </Insert>
  38.             <Insert select="Table[@name='managementObjects']">
  39.               <Attribute name="name" value="TableCooling"/>
  40.               <Attribute name="topic" value="TopicDevices"/>
  41.             </Insert>
  42.           </Otherwise>
  43.         </Exists>
  44.       </Step>
  45.       <Step select="/Report/Section[@name='SystemConfig']">
  46.         <Exists>
  47.           <Otherwise>
  48.             <Insert select=".">
  49.               <Node axis="child" document="Input Classes.xml" select="/Report/Section/Table[@name='managementObjects']"/>
  50.             </Insert>
  51.             <Insert select="Table[@name='managementObjects']">
  52.               <Attribute name="name" value="TableInput"/>
  53.               <Attribute name="topic" value="TopicDevices"/>
  54.             </Insert>
  55.           </Otherwise>
  56.         </Exists>
  57.       </Step>
  58.       <Step select="/Report/Section[@name='SystemConfig']">
  59.         <Exists>
  60.           <Otherwise>
  61.             <Insert select=".">
  62.               <Node axis="child" document="Memory Classes.xml" select="/Report/Section/Table[@name='managementObjects']"/>
  63.             </Insert>
  64.             <Insert select="Table[@name='managementObjects']">
  65.               <Attribute name="name" value="TableMemory"/>
  66.               <Attribute name="topic" value="TopicDevices"/>
  67.             </Insert>
  68.           </Otherwise>
  69.         </Exists>
  70.       </Step>
  71.       <Step select="/Report/Section[@name='SystemConfig']">
  72.         <Exists>
  73.           <Otherwise>
  74.             <Insert select=".">
  75.               <Node axis="child" document="Motherboard Classes.xml" select="/Report/Section/Table[@name='managementObjects']"/>
  76.             </Insert>
  77.             <Insert select="Table[@name='managementObjects']">
  78.               <Attribute name="name" value="TableMotherboard"/>
  79.               <Attribute name="topic" value="TopicDevices"/>
  80.             </Insert>
  81.           </Otherwise>
  82.         </Exists>
  83.       </Step>
  84.       <Step select="/Report/Section[@name='SystemConfig']">
  85.         <Exists>
  86.           <Otherwise>
  87.             <Insert select=".">
  88.               <Node axis="child" document="Network Classes.xml" select="/Report/Section/Table[@name='managementObjects']"/>
  89.             </Insert>
  90.             <Insert select="Table[@name='managementObjects']">
  91.               <Attribute name="name" value="TableNetwork"/>
  92.               <Attribute name="topic" value="TopicDevices"/>
  93.             </Insert>
  94.           </Otherwise>
  95.         </Exists>
  96.       </Step>
  97.       <Step select="/Report/Section[@name='SystemConfig']">
  98.         <Exists>
  99.           <Otherwise>
  100.             <Insert select=".">
  101.               <Node axis="child" document="Port Classes.xml" select="/Report/Section/Table[@name='managementObjects']"/>
  102.             </Insert>
  103.             <Insert select="Table[@name='managementObjects']">
  104.               <Attribute name="name" value="TablePort"/>
  105.               <Attribute name="topic" value="TopicDevices"/>
  106.             </Insert>
  107.           </Otherwise>
  108.         </Exists>
  109.       </Step>
  110.       <Step select="/Report/Section[@name='SystemConfig']">
  111.         <Exists>
  112.           <Otherwise>
  113.             <Insert select=".">
  114.               <Node axis="child" document="Power Classes.xml" select="/Report/Section/Table[@name='managementObjects']"/>
  115.             </Insert>
  116.             <Insert select="Table[@name='managementObjects']">
  117.               <Attribute name="name" value="TablePower"/>
  118.               <Attribute name="topic" value="TopicDevices"/>
  119.             </Insert>
  120.           </Otherwise>
  121.         </Exists>
  122.       </Step>
  123.       <Step select="/Report/Section[@name='SystemConfig']">
  124.         <Exists>
  125.           <Otherwise>
  126.             <Insert select=".">
  127.               <Node axis="child" document="Printing Classes.xml" select="/Report/Section/Table[@name='managementObjects']"/>
  128.             </Insert>
  129.             <Insert select="Table[@name='managementObjects']">
  130.               <Attribute name="name" value="TablePrinting"/>
  131.               <Attribute name="topic" value="TopicDevices"/>
  132.             </Insert>
  133.           </Otherwise>
  134.         </Exists>
  135.       </Step>
  136.       <Step select="/Report/Section[@name='SystemConfig']">
  137.         <Exists>
  138.           <Otherwise>
  139.             <Insert select=".">
  140.               <Node axis="child" document="Storage Classes.xml" select="/Report/Section/Table[@name='managementObjects']"/>
  141.             </Insert>
  142.             <Insert select="Table[@name='managementObjects']">
  143.               <Attribute name="name" value="TableStorage"/>
  144.               <Attribute name="topic" value="TopicDevices"/>
  145.             </Insert>
  146.           </Otherwise>
  147.         </Exists>
  148.       </Step>
  149.       <Step select="/Report/Section[@name='SystemConfig']">
  150.         <Exists>
  151.           <Otherwise>
  152.             <Insert select=".">
  153.               <Node axis="child" document="Video Classes.xml" select="/Report/Section/Table[@name='managementObjects']"/>
  154.             </Insert>
  155.             <Insert select="Table[@name='managementObjects']">
  156.               <Attribute name="name" value="TableVideo"/>
  157.               <Attribute name="topic" value="TopicDevices"/>
  158.             </Insert>
  159.           </Otherwise>
  160.         </Exists>
  161.       </Step>
  162.       <Step select="/Report/Section[@name='SystemConfig']">
  163.         <Exists>
  164.           <Otherwise>
  165.             <Insert select=".">
  166.               <Node axis="child" document="PlugAndPlay Classes.xml" select="/Report/Section/Table[@name='managementObjects']"/>
  167.             </Insert>
  168.             <Insert select="Table[@name='managementObjects']">
  169.               <Attribute name="name" value="TablePlugAndPlay"/>
  170.               <Attribute name="topic" value="TopicDevices"/>
  171.               <Attribute name="note" value="$(NotePlugAndPlayTable)"/>
  172.             </Insert>
  173.           </Otherwise>
  174.         </Exists>
  175.       </Step>
  176.     </Rule>
  177.     <Rule name="$(RuleDocConfigErrCode)" enabled="true">
  178.       <Step select="/Report/Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] = '1']" sortType="all">
  179.         <Exists>
  180.           <Otherwise>
  181.             <Delete select="Data[@name='managementObjectsValue']"/>
  182.             <Insert select=".">
  183.               <Node axis="child">
  184.                 <Data name="managementObjectsValue" note="1" translate="value">tv_ConfigMgrErr1</Data>
  185.               </Node>
  186.             </Insert>
  187.           </Otherwise>
  188.         </Exists>
  189.       </Step>
  190.       <Step select="/Report/Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] = '2']" sortType="all">
  191.         <Exists>
  192.           <Otherwise>
  193.             <Delete select="Data[@name='managementObjectsValue']"/>
  194.             <Insert select=".">
  195.               <Node axis="child">
  196.                 <Data name="managementObjectsValue" note="2" translate="value">tv_ConfigMgrErr2</Data>
  197.               </Node>
  198.             </Insert>
  199.           </Otherwise>
  200.         </Exists>
  201.       </Step>
  202.       <Step select="/Report/Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] = '3']" sortType="all">
  203.         <Exists>
  204.           <Otherwise>
  205.             <Delete select="Data[@name='managementObjectsValue']"/>
  206.             <Insert select=".">
  207.               <Node axis="child">
  208.                 <Data name="managementObjectsValue" note="3" translate="value">tv_ConfigMgrErr3</Data>
  209.               </Node>
  210.             </Insert>
  211.           </Otherwise>
  212.         </Exists>
  213.       </Step>
  214.       <Step select="/Report/Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] = '4']" sortType="all">
  215.         <Exists>
  216.           <Otherwise>
  217.             <Delete select="Data[@name='managementObjectsValue']"/>
  218.             <Insert select=".">
  219.               <Node axis="child">
  220.                 <Data name="managementObjectsValue" note="4" translate="value">tv_ConfigMgrErr4</Data>
  221.               </Node>
  222.             </Insert>
  223.           </Otherwise>
  224.         </Exists>
  225.       </Step>
  226.       <Step select="/Report/Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] = '5']" sortType="all">
  227.         <Exists>
  228.           <Otherwise>
  229.             <Delete select="Data[@name='managementObjectsValue']"/>
  230.             <Insert select=".">
  231.               <Node axis="child">
  232.                 <Data name="managementObjectsValue" note="5" translate="value">tv_ConfigMgrErr5</Data>
  233.               </Node>
  234.             </Insert>
  235.           </Otherwise>
  236.         </Exists>
  237.       </Step>
  238.       <Step select="/Report/Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] = '6']" sortType="all">
  239.         <Exists>
  240.           <Otherwise>
  241.             <Delete select="Data[@name='managementObjectsValue']"/>
  242.             <Insert select=".">
  243.               <Node axis="child">
  244.                 <Data name="managementObjectsValue" note="6" translate="value">tv_ConfigMgrErr6</Data>
  245.               </Node>
  246.             </Insert>
  247.           </Otherwise>
  248.         </Exists>
  249.       </Step>
  250.       <Step select="/Report/Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] = '7']" sortType="all">
  251.         <Exists>
  252.           <Otherwise>
  253.             <Delete select="Data[@name='managementObjectsValue']"/>
  254.             <Insert select=".">
  255.               <Node axis="child">
  256.                 <Data name="managementObjectsValue" note="7" translate="value">tv_ConfigMgrErr7</Data>
  257.               </Node>
  258.             </Insert>
  259.           </Otherwise>
  260.         </Exists>
  261.       </Step>
  262.       <Step select="/Report/Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] = '8']" sortType="all">
  263.         <Exists>
  264.           <Otherwise>
  265.             <Delete select="Data[@name='managementObjectsValue']"/>
  266.             <Insert select=".">
  267.               <Node axis="child">
  268.                 <Data name="managementObjectsValue" note="8" translate="value">tv_ConfigMgrErr8</Data>
  269.               </Node>
  270.             </Insert>
  271.           </Otherwise>
  272.         </Exists>
  273.       </Step>
  274.       <Step select="/Report/Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] = '9']" sortType="all">
  275.         <Exists>
  276.           <Otherwise>
  277.             <Delete select="Data[@name='managementObjectsValue']"/>
  278.             <Insert select=".">
  279.               <Node axis="child">
  280.                 <Data name="managementObjectsValue" note="9" translate="value">tv_ConfigMgrErr9</Data>
  281.               </Node>
  282.             </Insert>
  283.           </Otherwise>
  284.         </Exists>
  285.       </Step>
  286.       <Step select="/Report/Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] = '10']" sortType="all">
  287.         <Exists>
  288.           <Otherwise>
  289.             <Delete select="Data[@name='managementObjectsValue']"/>
  290.             <Insert select=".">
  291.               <Node axis="child">
  292.                 <Data name="managementObjectsValue" note="10" translate="value">tv_ConfigMgrErr10</Data>
  293.               </Node>
  294.             </Insert>
  295.           </Otherwise>
  296.         </Exists>
  297.       </Step>
  298.       <Step select="/Report/Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] = '11']" sortType="all">
  299.         <Exists>
  300.           <Otherwise>
  301.             <Delete select="Data[@name='managementObjectsValue']"/>
  302.             <Insert select=".">
  303.               <Node axis="child">
  304.                 <Data name="managementObjectsValue" note="11" translate="value">tv_ConfigMgrErr11</Data>
  305.               </Node>
  306.             </Insert>
  307.           </Otherwise>
  308.         </Exists>
  309.       </Step>
  310.       <Step select="/Report/Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] = '12']" sortType="all">
  311.         <Exists>
  312.           <Otherwise>
  313.             <Delete select="Data[@name='managementObjectsValue']"/>
  314.             <Insert select=".">
  315.               <Node axis="child">
  316.                 <Data name="managementObjectsValue" note="12" translate="value">tv_ConfigMgrErr12</Data>
  317.               </Node>
  318.             </Insert>
  319.           </Otherwise>
  320.         </Exists>
  321.       </Step>
  322.       <Step select="/Report/Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] = '13']" sortType="all">
  323.         <Exists>
  324.           <Otherwise>
  325.             <Delete select="Data[@name='managementObjectsValue']"/>
  326.             <Insert select=".">
  327.               <Node axis="child">
  328.                 <Data name="managementObjectsValue" note="13" translate="value">tv_ConfigMgrErr13</Data>
  329.               </Node>
  330.             </Insert>
  331.           </Otherwise>
  332.         </Exists>
  333.       </Step>
  334.       <Step select="/Report/Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] = '14']" sortType="all">
  335.         <Exists>
  336.           <Otherwise>
  337.             <Delete select="Data[@name='managementObjectsValue']"/>
  338.             <Insert select=".">
  339.               <Node axis="child">
  340.                 <Data name="managementObjectsValue" note="14" translate="value">tv_ConfigMgrErr14</Data>
  341.               </Node>
  342.             </Insert>
  343.           </Otherwise>
  344.         </Exists>
  345.       </Step>
  346.       <Step select="/Report/Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] = '15']" sortType="all">
  347.         <Exists>
  348.           <Otherwise>
  349.             <Delete select="Data[@name='managementObjectsValue']"/>
  350.             <Insert select=".">
  351.               <Node axis="child">
  352.                 <Data name="managementObjectsValue" note="15" translate="value">tv_ConfigMgrErr15</Data>
  353.               </Node>
  354.             </Insert>
  355.           </Otherwise>
  356.         </Exists>
  357.       </Step>
  358.       <Step select="/Report/Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] = '16']" sortType="all">
  359.         <Exists>
  360.           <Otherwise>
  361.             <Delete select="Data[@name='managementObjectsValue']"/>
  362.             <Insert select=".">
  363.               <Node axis="child">
  364.                 <Data name="managementObjectsValue" note="16" translate="value">tv_ConfigMgrErr16</Data>
  365.               </Node>
  366.             </Insert>
  367.           </Otherwise>
  368.         </Exists>
  369.       </Step>
  370.       <Step select="/Report/Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] = '17']" sortType="all">
  371.         <Exists>
  372.           <Otherwise>
  373.             <Delete select="Data[@name='managementObjectsValue']"/>
  374.             <Insert select=".">
  375.               <Node axis="child">
  376.                 <Data name="managementObjectsValue" note="17" translate="value">tv_ConfigMgrErr17</Data>
  377.               </Node>
  378.             </Insert>
  379.           </Otherwise>
  380.         </Exists>
  381.       </Step>
  382.       <Step select="/Report/Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] = '18']" sortType="all">
  383.         <Exists>
  384.           <Otherwise>
  385.             <Delete select="Data[@name='managementObjectsValue']"/>
  386.             <Insert select=".">
  387.               <Node axis="child">
  388.                 <Data name="managementObjectsValue" note="18" translate="value">tv_ConfigMgrErr18</Data>
  389.               </Node>
  390.             </Insert>
  391.           </Otherwise>
  392.         </Exists>
  393.       </Step>
  394.       <Step select="/Report/Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] = '19']" sortType="all">
  395.         <Exists>
  396.           <Otherwise>
  397.             <Delete select="Data[@name='managementObjectsValue']"/>
  398.             <Insert select=".">
  399.               <Node axis="child">
  400.                 <Data name="managementObjectsValue" note="19" translate="value">tv_ConfigMgrErr19</Data>
  401.               </Node>
  402.             </Insert>
  403.           </Otherwise>
  404.         </Exists>
  405.       </Step>
  406.       <Step select="/Report/Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] = '20']" sortType="all">
  407.         <Exists>
  408.           <Otherwise>
  409.             <Delete select="Data[@name='managementObjectsValue']"/>
  410.             <Insert select=".">
  411.               <Node axis="child">
  412.                 <Data name="managementObjectsValue" note="20" translate="value">tv_ConfigMgrErr20</Data>
  413.               </Node>
  414.             </Insert>
  415.           </Otherwise>
  416.         </Exists>
  417.       </Step>
  418.       <Step select="/Report/Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] = '21']" sortType="all">
  419.         <Exists>
  420.           <Otherwise>
  421.             <Delete select="Data[@name='managementObjectsValue']"/>
  422.             <Insert select=".">
  423.               <Node axis="child">
  424.                 <Data name="managementObjectsValue" note="21" translate="value">tv_ConfigMgrErr21</Data>
  425.               </Node>
  426.             </Insert>
  427.           </Otherwise>
  428.         </Exists>
  429.       </Step>
  430.       <Step select="/Report/Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] = '22']" sortType="all">
  431.         <Exists>
  432.           <Otherwise>
  433.             <Delete select="Data[@name='managementObjectsValue']"/>
  434.             <Insert select=".">
  435.               <Node axis="child">
  436.                 <Data name="managementObjectsValue" note="22" translate="value">tv_ConfigMgrErr22</Data>
  437.               </Node>
  438.             </Insert>
  439.           </Otherwise>
  440.         </Exists>
  441.       </Step>
  442.       <Step select="/Report/Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] = '23']" sortType="all">
  443.         <Exists>
  444.           <Otherwise>
  445.             <Delete select="Data[@name='managementObjectsValue']"/>
  446.             <Insert select=".">
  447.               <Node axis="child">
  448.                 <Data name="managementObjectsValue" note="23" translate="value">tv_ConfigMgrErr23</Data>
  449.               </Node>
  450.             </Insert>
  451.           </Otherwise>
  452.         </Exists>
  453.       </Step>
  454.       <Step select="/Report/Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] = '24']" sortType="all">
  455.         <Exists>
  456.           <Otherwise>
  457.             <Delete select="Data[@name='managementObjectsValue']"/>
  458.             <Insert select=".">
  459.               <Node axis="child">
  460.                 <Data name="managementObjectsValue" note="24" translate="value">tv_ConfigMgrErr24</Data>
  461.               </Node>
  462.             </Insert>
  463.           </Otherwise>
  464.         </Exists>
  465.       </Step>
  466.       <Step select="/Report/Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] = '25']" sortType="all">
  467.         <Exists>
  468.           <Otherwise>
  469.             <Delete select="Data[@name='managementObjectsValue']"/>
  470.             <Insert select=".">
  471.               <Node axis="child">
  472.                 <Data name="managementObjectsValue" note="25" translate="value">tv_ConfigMgrErr25</Data>
  473.               </Node>
  474.             </Insert>
  475.           </Otherwise>
  476.         </Exists>
  477.       </Step>
  478.       <Step select="/Report/Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] = '26']" sortType="all">
  479.         <Exists>
  480.           <Otherwise>
  481.             <Delete select="Data[@name='managementObjectsValue']"/>
  482.             <Insert select=".">
  483.               <Node axis="child">
  484.                 <Data name="managementObjectsValue" note="26" translate="value">tv_ConfigMgrErr26</Data>
  485.               </Node>
  486.             </Insert>
  487.           </Otherwise>
  488.         </Exists>
  489.       </Step>
  490.       <Step select="/Report/Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] = '27']" sortType="all">
  491.         <Exists>
  492.           <Otherwise>
  493.             <Delete select="Data[@name='managementObjectsValue']"/>
  494.             <Insert select=".">
  495.               <Node axis="child">
  496.                 <Data name="managementObjectsValue" note="27" translate="value">tv_ConfigMgrErr27</Data>
  497.               </Node>
  498.             </Insert>
  499.           </Otherwise>
  500.         </Exists>
  501.       </Step>
  502.       <Step select="/Report/Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] = '28']" sortType="all">
  503.         <Exists>
  504.           <Otherwise>
  505.             <Delete select="Data[@name='managementObjectsValue']"/>
  506.             <Insert select=".">
  507.               <Node axis="child">
  508.                 <Data name="managementObjectsValue" note="28" translate="value">tv_ConfigMgrErr28</Data>
  509.               </Node>
  510.             </Insert>
  511.           </Otherwise>
  512.         </Exists>
  513.       </Step>
  514.       <Step select="/Report/Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] = '29']" sortType="all">
  515.         <Exists>
  516.           <Otherwise>
  517.             <Delete select="Data[@name='managementObjectsValue']"/>
  518.             <Insert select=".">
  519.               <Node axis="child">
  520.                 <Data name="managementObjectsValue" note="29" translate="value">tv_ConfigMgrErr29</Data>
  521.               </Node>
  522.             </Insert>
  523.           </Otherwise>
  524.         </Exists>
  525.       </Step>
  526.       <Step select="/Report/Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] = '30']" sortType="all">
  527.         <Exists>
  528.           <Otherwise>
  529.             <Delete select="Data[@name='managementObjectsValue']"/>
  530.             <Insert select=".">
  531.               <Node axis="child">
  532.                 <Data name="managementObjectsValue" note="30" translate="value">tv_ConfigMgrErr30</Data>
  533.               </Node>
  534.             </Insert>
  535.           </Otherwise>
  536.         </Exists>
  537.       </Step>
  538.       <Step select="/Report/Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] = '31']" sortType="all">
  539.         <Exists>
  540.           <Otherwise>
  541.             <Delete select="Data[@name='managementObjectsValue']"/>
  542.             <Insert select=".">
  543.               <Node axis="child">
  544.                 <Data name="managementObjectsValue" note="31" translate="value">tv_ConfigMgrErr31</Data>
  545.               </Node>
  546.             </Insert>
  547.           </Otherwise>
  548.         </Exists>
  549.       </Step>
  550.       <Step select="/Report/Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] = '32']" sortType="all">
  551.         <Exists>
  552.           <Otherwise>
  553.             <Delete select="Data[@name='managementObjectsValue']"/>
  554.             <Insert select=".">
  555.               <Node axis="child">
  556.                 <Data name="managementObjectsValue" note="32" translate="value">tv_ConfigMgrErr32</Data>
  557.               </Node>
  558.             </Insert>
  559.           </Otherwise>
  560.         </Exists>
  561.       </Step>
  562.       <Step select="/Report/Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] = '33']" sortType="all">
  563.         <Exists>
  564.           <Otherwise>
  565.             <Delete select="Data[@name='managementObjectsValue']"/>
  566.             <Insert select=".">
  567.               <Node axis="child">
  568.                 <Data name="managementObjectsValue" note="33" translate="value">tv_ConfigMgrErr33</Data>
  569.               </Node>
  570.             </Insert>
  571.           </Otherwise>
  572.         </Exists>
  573.       </Step>
  574.       <Step select="/Report/Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] = '34']" sortType="all">
  575.         <Exists>
  576.           <Otherwise>
  577.             <Delete select="Data[@name='managementObjectsValue']"/>
  578.             <Insert select=".">
  579.               <Node axis="child">
  580.                 <Data name="managementObjectsValue" note="34" translate="value">tv_ConfigMgrErr34</Data>
  581.               </Node>
  582.             </Insert>
  583.           </Otherwise>
  584.         </Exists>
  585.       </Step>
  586.       <Step select="/Report/Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] = '35']" sortType="all">
  587.         <Exists>
  588.           <Otherwise>
  589.             <Delete select="Data[@name='managementObjectsValue']"/>
  590.             <Insert select=".">
  591.               <Node axis="child">
  592.                 <Data name="managementObjectsValue" note="35" translate="value">tv_ConfigMgrErr35</Data>
  593.               </Node>
  594.             </Insert>
  595.           </Otherwise>
  596.         </Exists>
  597.       </Step>
  598.       <Step select="/Report/Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] = '36']" sortType="all">
  599.         <Exists>
  600.           <Otherwise>
  601.             <Delete select="Data[@name='managementObjectsValue']"/>
  602.             <Insert select=".">
  603.               <Node axis="child">
  604.                 <Data name="managementObjectsValue" note="36" translate="value">tv_ConfigMgrErr36</Data>
  605.               </Node>
  606.             </Insert>
  607.           </Otherwise>
  608.         </Exists>
  609.       </Step>
  610.       <Step select="/Report/Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] = '37']" sortType="all">
  611.         <Exists>
  612.           <Otherwise>
  613.             <Delete select="Data[@name='managementObjectsValue']"/>
  614.             <Insert select=".">
  615.               <Node axis="child">
  616.                 <Data name="managementObjectsValue" note="37" translate="value">tv_ConfigMgrErr37</Data>
  617.               </Node>
  618.             </Insert>
  619.           </Otherwise>
  620.         </Exists>
  621.       </Step>
  622.       <Step select="/Report/Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] = '38']" sortType="all">
  623.         <Exists>
  624.           <Otherwise>
  625.             <Delete select="Data[@name='managementObjectsValue']"/>
  626.             <Insert select=".">
  627.               <Node axis="child">
  628.                 <Data name="managementObjectsValue" note="38" translate="value">tv_ConfigMgrErr38</Data>
  629.               </Node>
  630.             </Insert>
  631.           </Otherwise>
  632.         </Exists>
  633.       </Step>
  634.       <Step select="/Report/Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] = '39']" sortType="all">
  635.         <Exists>
  636.           <Otherwise>
  637.             <Delete select="Data[@name='managementObjectsValue']"/>
  638.             <Insert select=".">
  639.               <Node axis="child">
  640.                 <Data name="managementObjectsValue" note="39" translate="value">tv_ConfigMgrErr39</Data>
  641.               </Node>
  642.             </Insert>
  643.           </Otherwise>
  644.         </Exists>
  645.       </Step>
  646.       <Step select="/Report/Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] = '40']" sortType="all">
  647.         <Exists>
  648.           <Otherwise>
  649.             <Delete select="Data[@name='managementObjectsValue']"/>
  650.             <Insert select=".">
  651.               <Node axis="child">
  652.                 <Data name="managementObjectsValue" note="40" translate="value">tv_ConfigMgrErr40</Data>
  653.               </Node>
  654.             </Insert>
  655.           </Otherwise>
  656.         </Exists>
  657.       </Step>
  658.       <Step select="/Report/Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] = '41']" sortType="all">
  659.         <Exists>
  660.           <Otherwise>
  661.             <Delete select="Data[@name='managementObjectsValue']"/>
  662.             <Insert select=".">
  663.               <Node axis="child">
  664.                 <Data name="managementObjectsValue" note="41" translate="value">tv_ConfigMgrErr41</Data>
  665.               </Node>
  666.             </Insert>
  667.           </Otherwise>
  668.         </Exists>
  669.       </Step>
  670.       <Step select="/Report/Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] = '42']" sortType="all">
  671.         <Exists>
  672.           <Otherwise>
  673.             <Delete select="Data[@name='managementObjectsValue']"/>
  674.             <Insert select=".">
  675.               <Node axis="child">
  676.                 <Data name="managementObjectsValue" note="42" translate="value">tv_ConfigMgrErr42</Data>
  677.               </Node>
  678.             </Insert>
  679.           </Otherwise>
  680.         </Exists>
  681.       </Step>
  682.       <Step select="/Report/Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] = '43']" sortType="all">
  683.         <Exists>
  684.           <Otherwise>
  685.             <Delete select="Data[@name='managementObjectsValue']"/>
  686.             <Insert select=".">
  687.               <Node axis="child">
  688.                 <Data name="managementObjectsValue" note="43" translate="value">tv_ConfigMgrErr43</Data>
  689.               </Node>
  690.             </Insert>
  691.           </Otherwise>
  692.         </Exists>
  693.       </Step>
  694.       <Step select="/Report/Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] = '44']" sortType="all">
  695.         <Exists>
  696.           <Otherwise>
  697.             <Delete select="Data[@name='managementObjectsValue']"/>
  698.             <Insert select=".">
  699.               <Node axis="child">
  700.                 <Data name="managementObjectsValue" note="44" translate="value">tv_ConfigMgrErr44</Data>
  701.               </Node>
  702.             </Insert>
  703.           </Otherwise>
  704.         </Exists>
  705.       </Step>
  706.       <Step select="/Report/Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] = '45']" sortType="all">
  707.         <Exists>
  708.           <Otherwise>
  709.             <Delete select="Data[@name='managementObjectsValue']"/>
  710.             <Insert select=".">
  711.               <Node axis="child">
  712.                 <Data name="managementObjectsValue" note="45" translate="value">tv_ConfigMgrErr45</Data>
  713.               </Node>
  714.             </Insert>
  715.           </Otherwise>
  716.         </Exists>
  717.       </Step>
  718.       <Step select="/Report/Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] = '46']" sortType="all">
  719.         <Exists>
  720.           <Otherwise>
  721.             <Delete select="Data[@name='managementObjectsValue']"/>
  722.             <Insert select=".">
  723.               <Node axis="child">
  724.                 <Data name="managementObjectsValue" note="46" translate="value">tv_ConfigMgrErr46</Data>
  725.               </Node>
  726.             </Insert>
  727.           </Otherwise>
  728.         </Exists>
  729.       </Step>
  730.       <Step select="/Report/Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] = '47']" sortType="all">
  731.         <Exists>
  732.           <Otherwise>
  733.             <Delete select="Data[@name='managementObjectsValue']"/>
  734.             <Insert select=".">
  735.               <Node axis="child">
  736.                 <Data name="managementObjectsValue" note="47" translate="value">tv_ConfigMgrErr47</Data>
  737.               </Node>
  738.             </Insert>
  739.           </Otherwise>
  740.         </Exists>
  741.       </Step>
  742.       <Step select="/Report/Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] = '48']" sortType="all">
  743.         <Exists>
  744.           <Otherwise>
  745.             <Delete select="Data[@name='managementObjectsValue']"/>
  746.             <Insert select=".">
  747.               <Node axis="child">
  748.                 <Data name="managementObjectsValue" note="48" translate="value">tv_ConfigMgrErr48</Data>
  749.               </Node>
  750.             </Insert>
  751.           </Otherwise>
  752.         </Exists>
  753.       </Step>
  754.       <Step select="/Report/Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] = '49']" sortType="all">
  755.         <Exists>
  756.           <Otherwise>
  757.             <Delete select="Data[@name='managementObjectsValue']"/>
  758.             <Insert select=".">
  759.               <Node axis="child">
  760.                 <Data name="managementObjectsValue" note="49" translate="value">tv_ConfigMgrErr49</Data>
  761.               </Node>
  762.             </Insert>
  763.           </Otherwise>
  764.         </Exists>
  765.       </Step>
  766.     </Rule>
  767.     <Rule name="$(RuleHwOnlyListInsert)" enabled="true">
  768.       <Step select="/Report/Section[@name='advice']/Table[@name='alltests']">
  769.         <Exists>
  770.           <When expression="1 = 1">
  771.             <Variable name="group">$(LOC_SummaryGroupHwOnlyDesc)</Variable>
  772.             <Variable name="description">$(LOC_SummaryHwOnlyDesc)</Variable>
  773.             <Insert>
  774.               <Node axis="child">
  775.                 <Item>
  776.                   <Data name="alltestgroups" link="TableController">{group}</Data>
  777.                   <Data name="alltestdesc">{description}</Data>
  778.                 </Item>
  779.               </Node>
  780.             </Insert>
  781.           </When>
  782.           <Otherwise/>
  783.         </Exists>
  784.       </Step>
  785.     </Rule>
  786.     <Rule name="$(RuleConfigController)">
  787.       <Step select="/Report">
  788.         <Exists>
  789.           <Otherwise>
  790.             <Variable name="total" expression="'0'"/>
  791.             <Variable name="badcount" expression="'0'"/>
  792.           </Otherwise>
  793.         </Exists>
  794.       </Step>
  795.       <Step select="/Report/Section[@name='SystemConfig']/Table[@name='TableController']/Item/Item/Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] != '0' and Data[@name='managementObjectsValue'] != '#UNKNOWN#']" fatal="true">
  796.         <Exists>
  797.           <Otherwise>
  798.             <Variable name="badcount" expression="count(/Report/Section[@name='SystemConfig']/Table[@name='TableController']/Item/Item/Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] != '0' and Data[@name='managementObjectsValue'] != '#UNKNOWN#'])"/>
  799.           </Otherwise>
  800.         </Exists>
  801.       </Step>
  802.       <Step select="/Report/Section[@name='SystemConfig']/Table[@name='TableController']/Item/Item/Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] != '0' and Data[@name='managementObjectsValue'] != '#UNKNOWN#']" fatal="true" sortType="all">
  803.         <Variable name="warnerror" expression="../Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode']/Data[@name='managementObjectsValue']"/>
  804.         <Variable name="warndeviceid" expression="translate(../Item[Data[@name='managementObjectsProperty']='DeviceID']/Data[@name='managementObjectsValue']/child::text(),'&','-')"/>
  805.         <Variable name="warndescrip" expression="../Item[Data[@name='managementObjectsProperty']='Description']/Data[@name='managementObjectsValue']"/>
  806.         <Exists>
  807.           <When expression="'{warnerror}' = 'tv_ConfigMgrErr10'">
  808.             <Variable name="internalruleindex" expression="{internalruleindex} + 1"/>
  809.             <Variable name="errorconfig10_symptom">$(WarnConfig10_symptom)</Variable>
  810.             <Variable name="errorconfig10_cause">$(WarnConfig10_cause)</Variable>
  811.             <Variable name="errorconfig10_details">$(WarnConfig10_details)</Variable>
  812.             <Variable name="errorconfig10_res1">$(WarnConfig10_res1)</Variable>
  813.             <Variable name="errorconfig10_res2">$(WarnConfig10_res2)</Variable>
  814.             <Variable name="errorconfig10_res3">$(WarnConfig10_res3)</Variable>
  815.             <Variable name="errorconfig10_res4">$(WarnConfig10_res4)</Variable>
  816.             <Variable name="errorconfig10_related1">$(WarnConfig10_related1)</Variable>
  817.             <Variable name="errorconfig10_related2">$(WarnConfig10_related2)</Variable>
  818.             <Warning tag="errorconfig10_{internalruleindex}" select="Data" table="/Report/Section[@name='advice']/Table[@name='error']">
  819.               <Item>
  820.                 <Data name="symptom" img="error" link="errorconfig10_{internalruleindex}" message="errorconfig10_{internalruleindex}" translate="value">{errorconfig10_symptom}</Data>
  821.                 <Data name="cause" message="errorconfig10_{internalruleindex}">{errorconfig10_cause}</Data>
  822.                 <Data name="details" message="errorconfig10_{internalruleindex}">{errorconfig10_details}</Data>
  823.                 <Data name="resolution" message="errorconfig10_{internalruleindex}">{errorconfig10_res1}</Data>
  824.                 <Data name="resolution" message="errorconfig10_{internalruleindex}">{errorconfig10_res2}</Data>
  825.                 <Data name="resolution" message="errorconfig10_{internalruleindex}">{errorconfig10_res3}</Data>
  826.                 <Data name="resolution" message="errorconfig10_{internalruleindex}">{errorconfig10_res4}</Data>
  827.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70093" message="errorconfig10_{internalruleindex}">{errorconfig10_related1}</Data>
  828.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70092" message="errorconfig10_{internalruleindex}">{errorconfig10_related2}</Data>
  829.               </Item>
  830.             </Warning>
  831.           </When>
  832.           <When expression="'{warnerror}' = 'tv_ConfigMgrErr22'">
  833.             <Variable name="internalruleindex" expression="{internalruleindex} + 1"/>
  834.             <Variable name="errorconfig22_symptom">$(WarnConfig22_symptom)</Variable>
  835.             <Variable name="errorconfig22_cause">$(WarnConfig22_cause)</Variable>
  836.             <Variable name="errorconfig22_details">$(WarnConfig22_details)</Variable>
  837.             <Variable name="errorconfig22_res1">$(WarnConfig22_res1)</Variable>
  838.             <Variable name="errorconfig22_res2">$(WarnConfig22_res2)</Variable>
  839.             <Variable name="errorconfig22_res3">$(WarnConfig22_res3)</Variable>
  840.             <Variable name="errorconfig22_related1">$(WarnConfig22_related1)</Variable>
  841.             <Variable name="errorconfig22_related2">$(WarnConfig22_related2)</Variable>
  842.             <Warning tag="errorconfig22_{internalruleindex}" select="Data" table="/Report/Section[@name='advice']/Table[@name='error']">
  843.               <Item>
  844.                 <Data name="symptom" img="error" link="errorconfig22_{internalruleindex}" message="errorconfig22_{internalruleindex}" translate="value">{errorconfig22_symptom}</Data>
  845.                 <Data name="cause" message="errorconfig22_{internalruleindex}">{errorconfig22_cause}</Data>
  846.                 <Data name="details" message="errorconfig22_{internalruleindex}">{errorconfig22_details}</Data>
  847.                 <Data name="resolution" message="errorconfig22_{internalruleindex}">{errorconfig22_res1}</Data>
  848.                 <Data name="resolution" message="errorconfig22_{internalruleindex}">{errorconfig22_res2}</Data>
  849.                 <Data name="resolution" message="errorconfig22_{internalruleindex}">{errorconfig22_res3}</Data>
  850.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70093" message="errorconfig22_{internalruleindex}">{errorconfig22_related1}</Data>
  851.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70092" message="errorconfig22_{internalruleindex}">{errorconfig22_related2}</Data>
  852.               </Item>
  853.             </Warning>
  854.           </When>
  855.           <When expression="'{warnerror}' = 'tv_ConfigMgrErr28'">
  856.             <Variable name="internalruleindex" expression="{internalruleindex} + 1"/>
  857.             <Variable name="errorconfig28_symptom">$(WarnConfig28_symptom)</Variable>
  858.             <Variable name="errorconfig28_cause">$(WarnConfig28_cause)</Variable>
  859.             <Variable name="errorconfig28_details">$(WarnConfig28_details)</Variable>
  860.             <Variable name="errorconfig28_res1">$(WarnConfig28_res1)</Variable>
  861.             <Variable name="errorconfig28_res2">$(WarnConfig28_res2)</Variable>
  862.             <Variable name="errorconfig28_res3">$(WarnConfig28_res3)</Variable>
  863.             <Variable name="errorconfig28_related1">$(WarnConfig28_related1)</Variable>
  864.             <Warning tag="errorconfig28_{internalruleindex}" select="Data" table="/Report/Section[@name='advice']/Table[@name='error']">
  865.               <Item>
  866.                 <Data name="symptom" img="error" link="errorconfig28_{internalruleindex}" message="errorconfig28_{internalruleindex}" translate="value">{errorconfig28_symptom}</Data>
  867.                 <Data name="cause" message="errorconfig28_{internalruleindex}">{errorconfig28_cause}</Data>
  868.                 <Data name="details" message="errorconfig28_{internalruleindex}">{errorconfig28_details}</Data>
  869.                 <Data name="resolution" message="errorconfig28_{internalruleindex}">{errorconfig28_res1}</Data>
  870.                 <Data name="resolution" message="errorconfig28_{internalruleindex}">{errorconfig28_res2}</Data>
  871.                 <Data name="resolution" message="errorconfig28_{internalruleindex}">{errorconfig28_res3}</Data>
  872.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70093" message="errorconfig28_{internalruleindex}">{errorconfig28_related1}</Data>
  873.               </Item>
  874.             </Warning>
  875.           </When>
  876.           <Otherwise>
  877.             <Variable name="internalruleindex" expression="{internalruleindex} + 1"/>
  878.             <Variable name="errorconfigcontroller_symptom">$(WarnConfigGeneric_symptom)</Variable>
  879.             <Variable name="errorconfigcontroller_cause">$(WarnConfigGeneric_cause)</Variable>
  880.             <Variable name="errorconfigcontroller_details">$(WarnConfigGeneric_details)</Variable>
  881.             <Variable name="errorconfigcontroller_res1">$(WarnConfigGeneric_res1)</Variable>
  882.             <Variable name="errorconfigcontroller_res2">$(WarnConfigGeneric_res2)</Variable>
  883.             <Variable name="errorconfigcontroller_res3">$(WarnConfigGeneric_res3)</Variable>
  884.             <Variable name="errorconfigcontroller_res4">$(WarnConfigGeneric_res4)</Variable>
  885.             <Variable name="errorconfigcontroller_related1">$(WarnConfigGeneric_related1)</Variable>
  886.             <Variable name="errorconfigcontroller_related2">$(WarnConfigGeneric_related2)</Variable>
  887.             <Warning tag="errorconfigcontroller_{internalruleindex}" select="Data" table="/Report/Section[@name='advice']/Table[@name='error']">
  888.               <Item>
  889.                 <Data name="symptom" img="error" link="errorconfigcontroller_{internalruleindex}" message="errorconfigcontroller_{internalruleindex}" translate="value">{errorconfigcontroller_symptom}</Data>
  890.                 <Data name="cause" message="errorconfigcontroller_{internalruleindex}">{errorconfigcontroller_cause}</Data>
  891.                 <Data name="details" message="errorconfigcontroller_{internalruleindex}">{errorconfigcontroller_details}</Data>
  892.                 <Data name="resolution" message="errorconfigcontroller_{internalruleindex}">{errorconfigcontroller_res1}</Data>
  893.                 <Data name="resolution" message="errorconfigcontroller_{internalruleindex}">{errorconfigcontroller_res2}</Data>
  894.                 <Data name="resolution" message="errorconfigcontroller_{internalruleindex}">{errorconfigcontroller_res3}</Data>
  895.                 <Data name="resolution" message="errorconfigcontroller_{internalruleindex}">{errorconfigcontroller_res4}</Data>
  896.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70093" message="errorconfigcontroller_{internalruleindex}">{errorconfigcontroller_related1}</Data>
  897.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70092" message="errorconfigcontroller_{internalruleindex}">{errorconfigcontroller_related2}</Data>
  898.               </Item>
  899.             </Warning>
  900.           </Otherwise>
  901.         </Exists>
  902.       </Step>
  903.     </Rule>
  904.     <Rule name="$(RuleSumConfigController)" enabled="true">
  905.       <Step select="/Report/Section[@name='SystemConfig']/Table[@name='TableController']" fatal="true">
  906.         <Variable name="total" expression="count(Item/Item)"/>
  907.         <Variable name="rule">$(LOC_RuleSumConfigController)</Variable>
  908.         <Variable name="description">$(LOC_SummaryInfoController)</Variable>
  909.         <Exists>
  910.           <Otherwise>
  911.             <Insert select="/Report/Section[@name='advice']/Table[@name='alltests']/Item[last()]">
  912.               <Node axis="child">
  913.                 <Item>
  914.                   <Data name="allchildtest">{rule}</Data>
  915.                   <Data name="allchildtotal">{total}</Data>
  916.                   <Data name="allchildfail">{badcount}</Data>
  917.                   <Data name="allchilddesc">{description}</Data>
  918.                 </Item>
  919.               </Node>
  920.             </Insert>
  921.           </Otherwise>
  922.         </Exists>
  923.       </Step>
  924.       <Step select="/Report/Section[@name='SystemConfig']/Table[@name='TableController']/Item/Item/Item[Data[@name='managementObjectsProperty']='DeviceID']/Data[@name='managementObjectsValue']" sortType="all">
  925.         <Exists>
  926.           <Otherwise>
  927.             <Variable name="descrippnp" expression="."/>
  928.             <Delete select="/Report/Section[@name='SystemConfig']/Table[@name='PlugAndPlay Classes']/Item/Item[Item[Data[@name='managementObjectsProperty']='DeviceID' and Data[@name='managementObjectsValue']='{descrippnp}']]"/>
  929.           </Otherwise>
  930.         </Exists>
  931.       </Step>
  932.     </Rule>
  933.     <Rule name="$(RuleStatusController)">
  934.       <Step select="/Report">
  935.         <Exists>
  936.           <Otherwise>
  937.             <Variable name="total" expression="'0'"/>
  938.             <Variable name="badcount" expression="'0'"/>
  939.           </Otherwise>
  940.         </Exists>
  941.       </Step>
  942.       <Step select="/Report/Section[@name='SystemConfig']/Table[@name='TableController']/Item/Item[Item[Data[@name='managementObjectsProperty']='Status' and Data[@name='managementObjectsValue'] != 'OK' and Data[@name='managementObjectsValue'] != 'Degraded' and Data[@name='managementObjectsValue'] != '' and Data[@name='managementObjectsValue'] != '#UNKNOWN#']][Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] = '0']]" fatal="true">
  943.         <Exists>
  944.           <Otherwise>
  945.             <Variable name="badcount" expression="count(/Report/Section[@name='SystemConfig']/Table[@name='TableController']/Item/Item[Item[Data[@name='managementObjectsProperty']='Status' and Data[@name='managementObjectsValue'] != 'OK' and Data[@name='managementObjectsValue'] != 'Degraded' and Data[@name='managementObjectsValue'] != '' and Data[@name='managementObjectsValue'] != '#UNKNOWN#']][Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] = '0']])"/>
  946.           </Otherwise>
  947.         </Exists>
  948.       </Step>
  949.       <Step select="/Report/Section[@name='SystemConfig']/Table[@name='TableController']/Item/Item[Item[Data[@name='managementObjectsProperty']='Status' and Data[@name='managementObjectsValue'] != 'OK' and Data[@name='managementObjectsValue'] != 'Degraded' and Data[@name='managementObjectsValue'] != '' and Data[@name='managementObjectsValue'] != '#UNKNOWN#']][Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] = '0']]" fatal="true" sortType="all">
  950.         <Exists>
  951.           <When expression="{badcount} != 0">
  952.             <Variable name="warnerror" expression="Item[Data[@name='managementObjectsProperty']='Status']/Data[@name='managementObjectsValue']"/>
  953.             <Variable name="warndeviceid" expression="Item[Data[@name='managementObjectsProperty']='DeviceID']/Data[@name='managementObjectsValue']"/>
  954.             <Variable name="warndescrip" expression="Item[Data[@name='managementObjectsProperty']='Description']/Data[@name='managementObjectsValue']"/>
  955.             <Variable name="internalruleindex" expression="{internalruleindex} + 1"/>
  956.             <Variable name="errorstatuscontroller_symptom">$(WarnStatusGeneric_symptom)</Variable>
  957.             <Variable name="errorstatuscontroller_cause">$(WarnStatusGeneric_cause)</Variable>
  958.             <Variable name="errorstatuscontroller_details">$(WarnStatusGeneric_details)</Variable>
  959.             <Variable name="errorstatuscontroller_res1">$(WarnStatusGeneric_res1)</Variable>
  960.             <Variable name="errorstatuscontroller_res2">$(WarnStatusGeneric_res2)</Variable>
  961.             <Variable name="errorstatuscontroller_res3">$(WarnStatusGeneric_res3)</Variable>
  962.             <Variable name="errorstatuscontroller_res4">$(WarnStatusGeneric_res4)</Variable>
  963.             <Variable name="errorstatuscontroller_related1">$(WarnStatusGeneric_related1)</Variable>
  964.             <Variable name="errorstatuscontroller_related2">$(WarnStatusGeneric_related2)</Variable>
  965.             <Warning tag="errorstatuscontroller_{internalruleindex}" select="Item[Data[@name='managementObjectsProperty']='Status']/Data" table="/Report/Section[@name='advice']/Table[@name='error']">
  966.               <Item>
  967.                 <Data name="symptom" img="error" link="errorstatuscontroller_{internalruleindex}" message="errorstatuscontroller_{internalruleindex}">{errorstatuscontroller_symptom}</Data>
  968.                 <Data name="cause" message="errorstatuscontroller_{internalruleindex}">{errorstatuscontroller_cause}</Data>
  969.                 <Data name="details" message="errorstatuscontroller_{internalruleindex}">{errorstatuscontroller_details}</Data>
  970.                 <Data name="resolution" message="errorstatuscontroller_{internalruleindex}">{errorstatuscontroller_res1}</Data>
  971.                 <Data name="resolution" message="errorstatuscontroller_{internalruleindex}">{errorstatuscontroller_res2}</Data>
  972.                 <Data name="resolution" message="errorstatuscontroller_{internalruleindex}">{errorstatuscontroller_res3}</Data>
  973.                 <Data name="resolution" message="errorstatuscontroller_{internalruleindex}">{errorstatuscontroller_res4}</Data>
  974.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70093" message="errorstatuscontroller_{internalruleindex}">{errorstatuscontroller_related1}</Data>
  975.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70092" message="errorstatuscontroller_{internalruleindex}">{errorstatuscontroller_related2}</Data>
  976.               </Item>
  977.             </Warning>
  978.             <Insert select="Item">
  979.               <Attribute name="expand" value="true"/>
  980.             </Insert>
  981.             <Insert select="Item/Item">
  982.               <Attribute name="expand" value="true"/>
  983.             </Insert>
  984.           </When>
  985.         </Exists>
  986.       </Step>
  987.     </Rule>
  988.     <Rule name="$(RuleSumStatusController)" enabled="true">
  989.       <Step select="/Report/Section[@name='SystemConfig']/Table[@name='TableController']" fatal="true">
  990.         <Variable name="total" expression="count(Item/Item)"/>
  991.         <Variable name="rule">$(LOC_RuleSumStatusController)</Variable>
  992.         <Variable name="description">$(LOC_SummaryInfoController)</Variable>
  993.         <Exists>
  994.           <Otherwise>
  995.             <Insert select="/Report/Section[@name='advice']/Table[@name='alltests']/Item[last()]">
  996.               <Node axis="child">
  997.                 <Item>
  998.                   <Data name="allchildtest">{rule}</Data>
  999.                   <Data name="allchildtotal">{total}</Data>
  1000.                   <Data name="allchildfail">{badcount}</Data>
  1001.                   <Data name="allchilddesc">{description}</Data>
  1002.                 </Item>
  1003.               </Node>
  1004.             </Insert>
  1005.           </Otherwise>
  1006.         </Exists>
  1007.       </Step>
  1008.     </Rule>
  1009.     <Rule name="$(RuleConfigCooling)">
  1010.       <Step select="/Report">
  1011.         <Exists>
  1012.           <Otherwise>
  1013.             <Variable name="total" expression="'0'"/>
  1014.             <Variable name="badcount" expression="'0'"/>
  1015.           </Otherwise>
  1016.         </Exists>
  1017.       </Step>
  1018.       <Step select="/Report/Section[@name='SystemConfig']/Table[@name='TableCooling']/Item/Item/Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] != '0' and Data[@name='managementObjectsValue'] != '#UNKNOWN#']" fatal="true">
  1019.         <Exists>
  1020.           <Otherwise>
  1021.             <Variable name="badcount" expression="count(/Report/Section[@name='SystemConfig']/Table[@name='TableCooling']/Item/Item/Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] != '0' and Data[@name='managementObjectsValue'] != '#UNKNOWN#'])"/>
  1022.           </Otherwise>
  1023.         </Exists>
  1024.       </Step>
  1025.       <Step select="/Report/Section[@name='SystemConfig']/Table[@name='TableCooling']/Item/Item/Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] != '0' and Data[@name='managementObjectsValue'] != '#UNKNOWN#']" fatal="true" sortType="all">
  1026.         <Variable name="warnerror" expression="../Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode']/Data[@name='managementObjectsValue']"/>
  1027.         <Variable name="warndeviceid" expression="translate(../Item[Data[@name='managementObjectsProperty']='DeviceID']/Data[@name='managementObjectsValue']/child::text(),'&','-')"/>
  1028.         <Variable name="warndescrip" expression="../Item[Data[@name='managementObjectsProperty']='Description']/Data[@name='managementObjectsValue']"/>
  1029.         <Exists>
  1030.           <When expression="'{warnerror}' = 'tv_ConfigMgrErr10'">
  1031.             <Variable name="internalruleindex" expression="{internalruleindex} + 1"/>
  1032.             <Variable name="errorconfig10_symptom">$(WarnConfig10_symptom)</Variable>
  1033.             <Variable name="errorconfig10_cause">$(WarnConfig10_cause)</Variable>
  1034.             <Variable name="errorconfig10_details">$(WarnConfig10_details)</Variable>
  1035.             <Variable name="errorconfig10_res1">$(WarnConfig10_res1)</Variable>
  1036.             <Variable name="errorconfig10_res2">$(WarnConfig10_res2)</Variable>
  1037.             <Variable name="errorconfig10_res3">$(WarnConfig10_res3)</Variable>
  1038.             <Variable name="errorconfig10_res4">$(WarnConfig10_res4)</Variable>
  1039.             <Variable name="errorconfig10_related1">$(WarnConfig10_related1)</Variable>
  1040.             <Variable name="errorconfig10_related2">$(WarnConfig10_related2)</Variable>
  1041.             <Warning tag="errorconfig10_{internalruleindex}" select="Data" table="/Report/Section[@name='advice']/Table[@name='error']">
  1042.               <Item>
  1043.                 <Data name="symptom" img="error" link="errorconfig10_{internalruleindex}" message="errorconfig10_{internalruleindex}" translate="value">{errorconfig10_symptom}</Data>
  1044.                 <Data name="cause" message="errorconfig10_{internalruleindex}">{errorconfig10_cause}</Data>
  1045.                 <Data name="details" message="errorconfig10_{internalruleindex}">{errorconfig10_details}</Data>
  1046.                 <Data name="resolution" message="errorconfig10_{internalruleindex}">{errorconfig10_res1}</Data>
  1047.                 <Data name="resolution" message="errorconfig10_{internalruleindex}">{errorconfig10_res2}</Data>
  1048.                 <Data name="resolution" message="errorconfig10_{internalruleindex}">{errorconfig10_res3}</Data>
  1049.                 <Data name="resolution" message="errorconfig10_{internalruleindex}">{errorconfig10_res4}</Data>
  1050.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70093" message="errorconfig10_{internalruleindex}">{errorconfig10_related1}</Data>
  1051.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70092" message="errorconfig10_{internalruleindex}">{errorconfig10_related2}</Data>
  1052.               </Item>
  1053.             </Warning>
  1054.           </When>
  1055.           <When expression="'{warnerror}' = 'tv_ConfigMgrErr22'">
  1056.             <Variable name="internalruleindex" expression="{internalruleindex} + 1"/>
  1057.             <Variable name="errorconfig22_symptom">$(WarnConfig22_symptom)</Variable>
  1058.             <Variable name="errorconfig22_cause">$(WarnConfig22_cause)</Variable>
  1059.             <Variable name="errorconfig22_details">$(WarnConfig22_details)</Variable>
  1060.             <Variable name="errorconfig22_res1">$(WarnConfig22_res1)</Variable>
  1061.             <Variable name="errorconfig22_res2">$(WarnConfig22_res2)</Variable>
  1062.             <Variable name="errorconfig22_res3">$(WarnConfig22_res3)</Variable>
  1063.             <Variable name="errorconfig22_related1">$(WarnConfig22_related1)</Variable>
  1064.             <Variable name="errorconfig22_related2">$(WarnConfig22_related2)</Variable>
  1065.             <Warning tag="errorconfig22_{internalruleindex}" select="Data" table="/Report/Section[@name='advice']/Table[@name='error']">
  1066.               <Item>
  1067.                 <Data name="symptom" img="error" link="errorconfig22_{internalruleindex}" message="errorconfig22_{internalruleindex}" translate="value">{errorconfig22_symptom}</Data>
  1068.                 <Data name="cause" message="errorconfig22_{internalruleindex}">{errorconfig22_cause}</Data>
  1069.                 <Data name="details" message="errorconfig22_{internalruleindex}">{errorconfig22_details}</Data>
  1070.                 <Data name="resolution" message="errorconfig22_{internalruleindex}">{errorconfig22_res1}</Data>
  1071.                 <Data name="resolution" message="errorconfig22_{internalruleindex}">{errorconfig22_res2}</Data>
  1072.                 <Data name="resolution" message="errorconfig22_{internalruleindex}">{errorconfig22_res3}</Data>
  1073.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70093" message="errorconfig22_{internalruleindex}">{errorconfig22_related1}</Data>
  1074.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70092" message="errorconfig22_{internalruleindex}">{errorconfig22_related2}</Data>
  1075.               </Item>
  1076.             </Warning>
  1077.           </When>
  1078.           <When expression="'{warnerror}' = 'tv_ConfigMgrErr28'">
  1079.             <Variable name="internalruleindex" expression="{internalruleindex} + 1"/>
  1080.             <Variable name="errorconfig28_symptom">$(WarnConfig28_symptom)</Variable>
  1081.             <Variable name="errorconfig28_cause">$(WarnConfig28_cause)</Variable>
  1082.             <Variable name="errorconfig28_details">$(WarnConfig28_details)</Variable>
  1083.             <Variable name="errorconfig28_res1">$(WarnConfig28_res1)</Variable>
  1084.             <Variable name="errorconfig28_res2">$(WarnConfig28_res2)</Variable>
  1085.             <Variable name="errorconfig28_res3">$(WarnConfig28_res3)</Variable>
  1086.             <Variable name="errorconfig28_related1">$(WarnConfig28_related1)</Variable>
  1087.             <Warning tag="errorconfig28_{internalruleindex}" select="Data" table="/Report/Section[@name='advice']/Table[@name='error']">
  1088.               <Item>
  1089.                 <Data name="symptom" img="error" link="errorconfig28_{internalruleindex}" message="errorconfig28_{internalruleindex}" translate="value">{errorconfig28_symptom}</Data>
  1090.                 <Data name="cause" message="errorconfig28_{internalruleindex}">{errorconfig28_cause}</Data>
  1091.                 <Data name="details" message="errorconfig28_{internalruleindex}">{errorconfig28_details}</Data>
  1092.                 <Data name="resolution" message="errorconfig28_{internalruleindex}">{errorconfig28_res1}</Data>
  1093.                 <Data name="resolution" message="errorconfig28_{internalruleindex}">{errorconfig28_res2}</Data>
  1094.                 <Data name="resolution" message="errorconfig28_{internalruleindex}">{errorconfig28_res3}</Data>
  1095.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70093" message="errorconfig28_{internalruleindex}">{errorconfig28_related1}</Data>
  1096.               </Item>
  1097.             </Warning>
  1098.           </When>
  1099.           <Otherwise>
  1100.             <Variable name="internalruleindex" expression="{internalruleindex} + 1"/>
  1101.             <Variable name="errorconfigcooling_symptom">$(WarnConfigGeneric_symptom)</Variable>
  1102.             <Variable name="errorconfigcooling_cause">$(WarnConfigGeneric_cause)</Variable>
  1103.             <Variable name="errorconfigcooling_details">$(WarnConfigGeneric_details)</Variable>
  1104.             <Variable name="errorconfigcooling_res1">$(WarnConfigGeneric_res1)</Variable>
  1105.             <Variable name="errorconfigcooling_res2">$(WarnConfigGeneric_res2)</Variable>
  1106.             <Variable name="errorconfigcooling_res3">$(WarnConfigGeneric_res3)</Variable>
  1107.             <Variable name="errorconfigcooling_res4">$(WarnConfigGeneric_res4)</Variable>
  1108.             <Variable name="errorconfigcooling_related1">$(WarnConfigGeneric_related1)</Variable>
  1109.             <Variable name="errorconfigcooling_related2">$(WarnConfigGeneric_related2)</Variable>
  1110.             <Warning tag="errorconfigcooling_{internalruleindex}" select="Data" table="/Report/Section[@name='advice']/Table[@name='error']">
  1111.               <Item>
  1112.                 <Data name="symptom" img="error" link="errorconfigcooling_{internalruleindex}" message="errorconfigcooling_{internalruleindex}" translate="value">{errorconfigcooling_symptom}</Data>
  1113.                 <Data name="cause" message="errorconfigcooling_{internalruleindex}">{errorconfigcooling_cause}</Data>
  1114.                 <Data name="details" message="errorconfigcooling_{internalruleindex}">{errorconfigcooling_details}</Data>
  1115.                 <Data name="resolution" message="errorconfigcooling_{internalruleindex}">{errorconfigcooling_res1}</Data>
  1116.                 <Data name="resolution" message="errorconfigcooling_{internalruleindex}">{errorconfigcooling_res2}</Data>
  1117.                 <Data name="resolution" message="errorconfigcooling_{internalruleindex}">{errorconfigcooling_res3}</Data>
  1118.                 <Data name="resolution" message="errorconfigcooling_{internalruleindex}">{errorconfigcooling_res4}</Data>
  1119.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70093" message="errorconfigcooling_{internalruleindex}">{errorconfigcooling_related1}</Data>
  1120.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70092" message="errorconfigcooling_{internalruleindex}">{errorconfigcooling_related2}</Data>
  1121.               </Item>
  1122.             </Warning>
  1123.           </Otherwise>
  1124.         </Exists>
  1125.       </Step>
  1126.     </Rule>
  1127.     <Rule name="$(RuleSumConfigCooling)" enabled="true">
  1128.       <Step select="/Report/Section[@name='SystemConfig']/Table[@name='TableCooling']" fatal="true">
  1129.         <Variable name="total" expression="count(Item/Item)"/>
  1130.         <Variable name="rule">$(LOC_RuleSumConfigCooling)</Variable>
  1131.         <Variable name="description">$(LOC_SummaryInfoCooling)</Variable>
  1132.         <Exists>
  1133.           <Otherwise>
  1134.             <Insert select="/Report/Section[@name='advice']/Table[@name='alltests']/Item[last()]">
  1135.               <Node axis="child">
  1136.                 <Item>
  1137.                   <Data name="allchildtest">{rule}</Data>
  1138.                   <Data name="allchildtotal">{total}</Data>
  1139.                   <Data name="allchildfail">{badcount}</Data>
  1140.                   <Data name="allchilddesc">{description}</Data>
  1141.                 </Item>
  1142.               </Node>
  1143.             </Insert>
  1144.           </Otherwise>
  1145.         </Exists>
  1146.       </Step>
  1147.       <Step select="/Report/Section[@name='SystemConfig']/Table[@name='TableCooling']/Item/Item/Item[Data[@name='managementObjectsProperty']='DeviceID']/Data[@name='managementObjectsValue']" sortType="all">
  1148.         <Exists>
  1149.           <Otherwise>
  1150.             <Variable name="descrippnp" expression="."/>
  1151.             <Delete select="/Report/Section[@name='SystemConfig']/Table[@name='PlugAndPlay Classes']/Item/Item[Item[Data[@name='managementObjectsProperty']='DeviceID' and Data[@name='managementObjectsValue']='{descrippnp}']]"/>
  1152.           </Otherwise>
  1153.         </Exists>
  1154.       </Step>
  1155.     </Rule>
  1156.     <Rule name="$(RuleStatusCooling)">
  1157.       <Step select="/Report">
  1158.         <Exists>
  1159.           <Otherwise>
  1160.             <Variable name="total" expression="'0'"/>
  1161.             <Variable name="badcount" expression="'0'"/>
  1162.           </Otherwise>
  1163.         </Exists>
  1164.       </Step>
  1165.       <Step select="/Report/Section[@name='SystemConfig']/Table[@name='TableCooling']/Item/Item[Item[Data[@name='managementObjectsProperty']='Status' and Data[@name='managementObjectsValue'] != 'OK' and Data[@name='managementObjectsValue'] != 'Degraded' and Data[@name='managementObjectsValue'] != '' and Data[@name='managementObjectsValue'] != '#UNKNOWN#']][Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] = '0']]" fatal="true">
  1166.         <Exists>
  1167.           <Otherwise>
  1168.             <Variable name="badcount" expression="count(/Report/Section[@name='SystemConfig']/Table[@name='TableCooling']/Item/Item[Item[Data[@name='managementObjectsProperty']='Status' and Data[@name='managementObjectsValue'] != 'OK' and Data[@name='managementObjectsValue'] != 'Degraded' and Data[@name='managementObjectsValue'] != '' and Data[@name='managementObjectsValue'] != '#UNKNOWN#']][Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] = '0']])"/>
  1169.           </Otherwise>
  1170.         </Exists>
  1171.       </Step>
  1172.       <Step select="/Report/Section[@name='SystemConfig']/Table[@name='TableCooling']/Item/Item[Item[Data[@name='managementObjectsProperty']='Status' and Data[@name='managementObjectsValue'] != 'OK' and Data[@name='managementObjectsValue'] != 'Degraded' and Data[@name='managementObjectsValue'] != '' and Data[@name='managementObjectsValue'] != '#UNKNOWN#']][Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] = '0']]" fatal="true" sortType="all">
  1173.         <Exists>
  1174.           <When expression="{badcount} != 0">
  1175.             <Variable name="warnerror" expression="Item[Data[@name='managementObjectsProperty']='Status']/Data[@name='managementObjectsValue']"/>
  1176.             <Variable name="warndeviceid" expression="Item[Data[@name='managementObjectsProperty']='DeviceID']/Data[@name='managementObjectsValue']"/>
  1177.             <Variable name="warndescrip" expression="Item[Data[@name='managementObjectsProperty']='Description']/Data[@name='managementObjectsValue']"/>
  1178.             <Variable name="internalruleindex" expression="{internalruleindex} + 1"/>
  1179.             <Variable name="errorstatuscooling_symptom">$(WarnStatusGeneric_symptom)</Variable>
  1180.             <Variable name="errorstatuscooling_cause">$(WarnStatusGeneric_cause)</Variable>
  1181.             <Variable name="errorstatuscooling_details">$(WarnStatusGeneric_details)</Variable>
  1182.             <Variable name="errorstatuscooling_res1">$(WarnStatusGeneric_res1)</Variable>
  1183.             <Variable name="errorstatuscooling_res2">$(WarnStatusGeneric_res2)</Variable>
  1184.             <Variable name="errorstatuscooling_res3">$(WarnStatusGeneric_res3)</Variable>
  1185.             <Variable name="errorstatuscooling_res4">$(WarnStatusGeneric_res4)</Variable>
  1186.             <Variable name="errorstatuscooling_related1">$(WarnStatusGeneric_related1)</Variable>
  1187.             <Variable name="errorstatuscooling_related2">$(WarnStatusGeneric_related2)</Variable>
  1188.             <Warning tag="errorstatuscooling_{internalruleindex}" select="Item[Data[@name='managementObjectsProperty']='Status']/Data" table="/Report/Section[@name='advice']/Table[@name='error']">
  1189.               <Item>
  1190.                 <Data name="symptom" img="error" link="errorstatuscooling_{internalruleindex}" message="errorstatuscooling_{internalruleindex}">{errorstatuscooling_symptom}</Data>
  1191.                 <Data name="cause" message="errorstatuscooling_{internalruleindex}">{errorstatuscooling_cause}</Data>
  1192.                 <Data name="details" message="errorstatuscooling_{internalruleindex}">{errorstatuscooling_details}</Data>
  1193.                 <Data name="resolution" message="errorstatuscooling_{internalruleindex}">{errorstatuscooling_res1}</Data>
  1194.                 <Data name="resolution" message="errorstatuscooling_{internalruleindex}">{errorstatuscooling_res2}</Data>
  1195.                 <Data name="resolution" message="errorstatuscooling_{internalruleindex}">{errorstatuscooling_res3}</Data>
  1196.                 <Data name="resolution" message="errorstatuscooling_{internalruleindex}">{errorstatuscooling_res4}</Data>
  1197.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70093" message="errorstatuscooling_{internalruleindex}">{errorstatuscooling_related1}</Data>
  1198.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70092" message="errorstatuscooling_{internalruleindex}">{errorstatuscooling_related2}</Data>
  1199.               </Item>
  1200.             </Warning>
  1201.             <Insert select="Item">
  1202.               <Attribute name="expand" value="true"/>
  1203.             </Insert>
  1204.             <Insert select="Item/Item">
  1205.               <Attribute name="expand" value="true"/>
  1206.             </Insert>
  1207.           </When>
  1208.         </Exists>
  1209.       </Step>
  1210.     </Rule>
  1211.     <Rule name="$(RuleSumStatusCooling)" enabled="true">
  1212.       <Step select="/Report/Section[@name='SystemConfig']/Table[@name='TableCooling']" fatal="true">
  1213.         <Variable name="total" expression="count(Item/Item)"/>
  1214.         <Variable name="rule">$(LOC_RuleSumStatusCooling)</Variable>
  1215.         <Variable name="description">$(LOC_SummaryInfoCooling)</Variable>
  1216.         <Exists>
  1217.           <Otherwise>
  1218.             <Insert select="/Report/Section[@name='advice']/Table[@name='alltests']/Item[last()]">
  1219.               <Node axis="child">
  1220.                 <Item>
  1221.                   <Data name="allchildtest">{rule}</Data>
  1222.                   <Data name="allchildtotal">{total}</Data>
  1223.                   <Data name="allchildfail">{badcount}</Data>
  1224.                   <Data name="allchilddesc">{description}</Data>
  1225.                 </Item>
  1226.               </Node>
  1227.             </Insert>
  1228.           </Otherwise>
  1229.         </Exists>
  1230.       </Step>
  1231.     </Rule>
  1232.     <Rule name="$(RuleConfigInput)">
  1233.       <Step select="/Report">
  1234.         <Exists>
  1235.           <Otherwise>
  1236.             <Variable name="total" expression="'0'"/>
  1237.             <Variable name="badcount" expression="'0'"/>
  1238.           </Otherwise>
  1239.         </Exists>
  1240.       </Step>
  1241.       <Step select="/Report/Section[@name='SystemConfig']/Table[@name='TableInput']/Item/Item/Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] != '0' and Data[@name='managementObjectsValue'] != '#UNKNOWN#']" fatal="true">
  1242.         <Exists>
  1243.           <Otherwise>
  1244.             <Variable name="badcount" expression="count(/Report/Section[@name='SystemConfig']/Table[@name='TableInput']/Item/Item/Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] != '0' and Data[@name='managementObjectsValue'] != '#UNKNOWN#'])"/>
  1245.           </Otherwise>
  1246.         </Exists>
  1247.       </Step>
  1248.       <Step select="/Report/Section[@name='SystemConfig']/Table[@name='TableInput']/Item/Item/Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] != '0' and Data[@name='managementObjectsValue'] != '#UNKNOWN#']" fatal="true" sortType="all">
  1249.         <Variable name="warnerror" expression="../Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode']/Data[@name='managementObjectsValue']"/>
  1250.         <Variable name="warndeviceid" expression="translate(../Item[Data[@name='managementObjectsProperty']='DeviceID']/Data[@name='managementObjectsValue']/child::text(),'&','-')"/>
  1251.         <Variable name="warndescrip" expression="../Item[Data[@name='managementObjectsProperty']='Description']/Data[@name='managementObjectsValue']"/>
  1252.         <Exists>
  1253.           <When expression="'{warnerror}' = 'tv_ConfigMgrErr10'">
  1254.             <Variable name="internalruleindex" expression="{internalruleindex} + 1"/>
  1255.             <Variable name="errorconfig10_symptom">$(WarnConfig10_symptom)</Variable>
  1256.             <Variable name="errorconfig10_cause">$(WarnConfig10_cause)</Variable>
  1257.             <Variable name="errorconfig10_details">$(WarnConfig10_details)</Variable>
  1258.             <Variable name="errorconfig10_res1">$(WarnConfig10_res1)</Variable>
  1259.             <Variable name="errorconfig10_res2">$(WarnConfig10_res2)</Variable>
  1260.             <Variable name="errorconfig10_res3">$(WarnConfig10_res3)</Variable>
  1261.             <Variable name="errorconfig10_res4">$(WarnConfig10_res4)</Variable>
  1262.             <Variable name="errorconfig10_related1">$(WarnConfig10_related1)</Variable>
  1263.             <Variable name="errorconfig10_related2">$(WarnConfig10_related2)</Variable>
  1264.             <Warning tag="errorconfig10_{internalruleindex}" select="Data" table="/Report/Section[@name='advice']/Table[@name='error']">
  1265.               <Item>
  1266.                 <Data name="symptom" img="error" link="errorconfig10_{internalruleindex}" message="errorconfig10_{internalruleindex}" translate="value">{errorconfig10_symptom}</Data>
  1267.                 <Data name="cause" message="errorconfig10_{internalruleindex}">{errorconfig10_cause}</Data>
  1268.                 <Data name="details" message="errorconfig10_{internalruleindex}">{errorconfig10_details}</Data>
  1269.                 <Data name="resolution" message="errorconfig10_{internalruleindex}">{errorconfig10_res1}</Data>
  1270.                 <Data name="resolution" message="errorconfig10_{internalruleindex}">{errorconfig10_res2}</Data>
  1271.                 <Data name="resolution" message="errorconfig10_{internalruleindex}">{errorconfig10_res3}</Data>
  1272.                 <Data name="resolution" message="errorconfig10_{internalruleindex}">{errorconfig10_res4}</Data>
  1273.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70093" message="errorconfig10_{internalruleindex}">{errorconfig10_related1}</Data>
  1274.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70092" message="errorconfig10_{internalruleindex}">{errorconfig10_related2}</Data>
  1275.               </Item>
  1276.             </Warning>
  1277.           </When>
  1278.           <When expression="'{warnerror}' = 'tv_ConfigMgrErr22'">
  1279.             <Variable name="internalruleindex" expression="{internalruleindex} + 1"/>
  1280.             <Variable name="errorconfig22_symptom">$(WarnConfig22_symptom)</Variable>
  1281.             <Variable name="errorconfig22_cause">$(WarnConfig22_cause)</Variable>
  1282.             <Variable name="errorconfig22_details">$(WarnConfig22_details)</Variable>
  1283.             <Variable name="errorconfig22_res1">$(WarnConfig22_res1)</Variable>
  1284.             <Variable name="errorconfig22_res2">$(WarnConfig22_res2)</Variable>
  1285.             <Variable name="errorconfig22_res3">$(WarnConfig22_res3)</Variable>
  1286.             <Variable name="errorconfig22_related1">$(WarnConfig22_related1)</Variable>
  1287.             <Variable name="errorconfig22_related2">$(WarnConfig22_related2)</Variable>
  1288.             <Warning tag="errorconfig22_{internalruleindex}" select="Data" table="/Report/Section[@name='advice']/Table[@name='error']">
  1289.               <Item>
  1290.                 <Data name="symptom" img="error" link="errorconfig22_{internalruleindex}" message="errorconfig22_{internalruleindex}" translate="value">{errorconfig22_symptom}</Data>
  1291.                 <Data name="cause" message="errorconfig22_{internalruleindex}">{errorconfig22_cause}</Data>
  1292.                 <Data name="details" message="errorconfig22_{internalruleindex}">{errorconfig22_details}</Data>
  1293.                 <Data name="resolution" message="errorconfig22_{internalruleindex}">{errorconfig22_res1}</Data>
  1294.                 <Data name="resolution" message="errorconfig22_{internalruleindex}">{errorconfig22_res2}</Data>
  1295.                 <Data name="resolution" message="errorconfig22_{internalruleindex}">{errorconfig22_res3}</Data>
  1296.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70093" message="errorconfig22_{internalruleindex}">{errorconfig22_related1}</Data>
  1297.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70092" message="errorconfig22_{internalruleindex}">{errorconfig22_related2}</Data>
  1298.               </Item>
  1299.             </Warning>
  1300.           </When>
  1301.           <When expression="'{warnerror}' = 'tv_ConfigMgrErr28'">
  1302.             <Variable name="internalruleindex" expression="{internalruleindex} + 1"/>
  1303.             <Variable name="errorconfig28_symptom">$(WarnConfig28_symptom)</Variable>
  1304.             <Variable name="errorconfig28_cause">$(WarnConfig28_cause)</Variable>
  1305.             <Variable name="errorconfig28_details">$(WarnConfig28_details)</Variable>
  1306.             <Variable name="errorconfig28_res1">$(WarnConfig28_res1)</Variable>
  1307.             <Variable name="errorconfig28_res2">$(WarnConfig28_res2)</Variable>
  1308.             <Variable name="errorconfig28_res3">$(WarnConfig28_res3)</Variable>
  1309.             <Variable name="errorconfig28_related1">$(WarnConfig28_related1)</Variable>
  1310.             <Warning tag="errorconfig28_{internalruleindex}" select="Data" table="/Report/Section[@name='advice']/Table[@name='error']">
  1311.               <Item>
  1312.                 <Data name="symptom" img="error" link="errorconfig28_{internalruleindex}" message="errorconfig28_{internalruleindex}" translate="value">{errorconfig28_symptom}</Data>
  1313.                 <Data name="cause" message="errorconfig28_{internalruleindex}">{errorconfig28_cause}</Data>
  1314.                 <Data name="details" message="errorconfig28_{internalruleindex}">{errorconfig28_details}</Data>
  1315.                 <Data name="resolution" message="errorconfig28_{internalruleindex}">{errorconfig28_res1}</Data>
  1316.                 <Data name="resolution" message="errorconfig28_{internalruleindex}">{errorconfig28_res2}</Data>
  1317.                 <Data name="resolution" message="errorconfig28_{internalruleindex}">{errorconfig28_res3}</Data>
  1318.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70093" message="errorconfig28_{internalruleindex}">{errorconfig28_related1}</Data>
  1319.               </Item>
  1320.             </Warning>
  1321.           </When>
  1322.           <Otherwise>
  1323.             <Variable name="internalruleindex" expression="{internalruleindex} + 1"/>
  1324.             <Variable name="errorconfiginput_symptom">$(WarnConfigGeneric_symptom)</Variable>
  1325.             <Variable name="errorconfiginput_cause">$(WarnConfigGeneric_cause)</Variable>
  1326.             <Variable name="errorconfiginput_details">$(WarnConfigGeneric_details)</Variable>
  1327.             <Variable name="errorconfiginput_res1">$(WarnConfigGeneric_res1)</Variable>
  1328.             <Variable name="errorconfiginput_res2">$(WarnConfigGeneric_res2)</Variable>
  1329.             <Variable name="errorconfiginput_res3">$(WarnConfigGeneric_res3)</Variable>
  1330.             <Variable name="errorconfiginput_res4">$(WarnConfigGeneric_res4)</Variable>
  1331.             <Variable name="errorconfiginput_related1">$(WarnConfigGeneric_related1)</Variable>
  1332.             <Variable name="errorconfiginput_related2">$(WarnConfigGeneric_related2)</Variable>
  1333.             <Warning tag="errorconfiginput_{internalruleindex}" select="Data" table="/Report/Section[@name='advice']/Table[@name='error']">
  1334.               <Item>
  1335.                 <Data name="symptom" img="error" link="errorconfiginput_{internalruleindex}" message="errorconfiginput_{internalruleindex}" translate="value">{errorconfiginput_symptom}</Data>
  1336.                 <Data name="cause" message="errorconfiginput_{internalruleindex}">{errorconfiginput_cause}</Data>
  1337.                 <Data name="details" message="errorconfiginput_{internalruleindex}">{errorconfiginput_details}</Data>
  1338.                 <Data name="resolution" message="errorconfiginput_{internalruleindex}">{errorconfiginput_res1}</Data>
  1339.                 <Data name="resolution" message="errorconfiginput_{internalruleindex}">{errorconfiginput_res2}</Data>
  1340.                 <Data name="resolution" message="errorconfiginput_{internalruleindex}">{errorconfiginput_res3}</Data>
  1341.                 <Data name="resolution" message="errorconfiginput_{internalruleindex}">{errorconfiginput_res4}</Data>
  1342.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70093" message="errorconfiginput_{internalruleindex}">{errorconfiginput_related1}</Data>
  1343.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70092" message="errorconfiginput_{internalruleindex}">{errorconfiginput_related2}</Data>
  1344.               </Item>
  1345.             </Warning>
  1346.           </Otherwise>
  1347.         </Exists>
  1348.       </Step>
  1349.     </Rule>
  1350.     <Rule name="$(RuleSumConfigInput)" enabled="true">
  1351.       <Step select="/Report/Section[@name='SystemConfig']/Table[@name='TableInput']" fatal="true">
  1352.         <Variable name="total" expression="count(Item/Item)"/>
  1353.         <Variable name="rule">$(LOC_RuleSumConfigInput)</Variable>
  1354.         <Variable name="description">$(LOC_SummaryInfoInput)</Variable>
  1355.         <Exists>
  1356.           <Otherwise>
  1357.             <Insert select="/Report/Section[@name='advice']/Table[@name='alltests']/Item[last()]">
  1358.               <Node axis="child">
  1359.                 <Item>
  1360.                   <Data name="allchildtest">{rule}</Data>
  1361.                   <Data name="allchildtotal">{total}</Data>
  1362.                   <Data name="allchildfail">{badcount}</Data>
  1363.                   <Data name="allchilddesc">{description}</Data>
  1364.                 </Item>
  1365.               </Node>
  1366.             </Insert>
  1367.           </Otherwise>
  1368.         </Exists>
  1369.       </Step>
  1370.       <Step select="/Report/Section[@name='SystemConfig']/Table[@name='TableInput']/Item/Item/Item[Data[@name='managementObjectsProperty']='DeviceID']/Data[@name='managementObjectsValue']" sortType="all">
  1371.         <Exists>
  1372.           <Otherwise>
  1373.             <Variable name="descrippnp" expression="."/>
  1374.             <Delete select="/Report/Section[@name='SystemConfig']/Table[@name='PlugAndPlay Classes']/Item/Item[Item[Data[@name='managementObjectsProperty']='DeviceID' and Data[@name='managementObjectsValue']='{descrippnp}']]"/>
  1375.           </Otherwise>
  1376.         </Exists>
  1377.       </Step>
  1378.     </Rule>
  1379.     <Rule name="$(RuleStatusInput)">
  1380.       <Step select="/Report">
  1381.         <Exists>
  1382.           <Otherwise>
  1383.             <Variable name="total" expression="'0'"/>
  1384.             <Variable name="badcount" expression="'0'"/>
  1385.           </Otherwise>
  1386.         </Exists>
  1387.       </Step>
  1388.       <Step select="/Report/Section[@name='SystemConfig']/Table[@name='TableInput']/Item/Item[Item[Data[@name='managementObjectsProperty']='Status' and Data[@name='managementObjectsValue'] != 'OK' and Data[@name='managementObjectsValue'] != 'Degraded' and Data[@name='managementObjectsValue'] != '' and Data[@name='managementObjectsValue'] != '#UNKNOWN#']][Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] = '0']]" fatal="true">
  1389.         <Exists>
  1390.           <Otherwise>
  1391.             <Variable name="badcount" expression="count(/Report/Section[@name='SystemConfig']/Table[@name='TableInput']/Item/Item[Item[Data[@name='managementObjectsProperty']='Status' and Data[@name='managementObjectsValue'] != 'OK' and Data[@name='managementObjectsValue'] != 'Degraded' and Data[@name='managementObjectsValue'] != '' and Data[@name='managementObjectsValue'] != '#UNKNOWN#']][Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] = '0']])"/>
  1392.           </Otherwise>
  1393.         </Exists>
  1394.       </Step>
  1395.       <Step select="/Report/Section[@name='SystemConfig']/Table[@name='TableInput']/Item/Item[Item[Data[@name='managementObjectsProperty']='Status' and Data[@name='managementObjectsValue'] != 'OK' and Data[@name='managementObjectsValue'] != 'Degraded' and Data[@name='managementObjectsValue'] != '' and Data[@name='managementObjectsValue'] != '#UNKNOWN#']][Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] = '0']]" fatal="true" sortType="all">
  1396.         <Exists>
  1397.           <When expression="{badcount} != 0">
  1398.             <Variable name="warnerror" expression="Item[Data[@name='managementObjectsProperty']='Status']/Data[@name='managementObjectsValue']"/>
  1399.             <Variable name="warndeviceid" expression="Item[Data[@name='managementObjectsProperty']='DeviceID']/Data[@name='managementObjectsValue']"/>
  1400.             <Variable name="warndescrip" expression="Item[Data[@name='managementObjectsProperty']='Description']/Data[@name='managementObjectsValue']"/>
  1401.             <Variable name="internalruleindex" expression="{internalruleindex} + 1"/>
  1402.             <Variable name="errorstatusinput_symptom">$(WarnStatusGeneric_symptom)</Variable>
  1403.             <Variable name="errorstatusinput_cause">$(WarnStatusGeneric_cause)</Variable>
  1404.             <Variable name="errorstatusinput_details">$(WarnStatusGeneric_details)</Variable>
  1405.             <Variable name="errorstatusinput_res1">$(WarnStatusGeneric_res1)</Variable>
  1406.             <Variable name="errorstatusinput_res2">$(WarnStatusGeneric_res2)</Variable>
  1407.             <Variable name="errorstatusinput_res3">$(WarnStatusGeneric_res3)</Variable>
  1408.             <Variable name="errorstatusinput_res4">$(WarnStatusGeneric_res4)</Variable>
  1409.             <Variable name="errorstatusinput_related1">$(WarnStatusGeneric_related1)</Variable>
  1410.             <Variable name="errorstatusinput_related2">$(WarnStatusGeneric_related2)</Variable>
  1411.             <Warning tag="errorstatusinput_{internalruleindex}" select="Item[Data[@name='managementObjectsProperty']='Status']/Data" table="/Report/Section[@name='advice']/Table[@name='error']">
  1412.               <Item>
  1413.                 <Data name="symptom" img="error" link="errorstatusinput_{internalruleindex}" message="errorstatusinput_{internalruleindex}">{errorstatusinput_symptom}</Data>
  1414.                 <Data name="cause" message="errorstatusinput_{internalruleindex}">{errorstatusinput_cause}</Data>
  1415.                 <Data name="details" message="errorstatusinput_{internalruleindex}">{errorstatusinput_details}</Data>
  1416.                 <Data name="resolution" message="errorstatusinput_{internalruleindex}">{errorstatusinput_res1}</Data>
  1417.                 <Data name="resolution" message="errorstatusinput_{internalruleindex}">{errorstatusinput_res2}</Data>
  1418.                 <Data name="resolution" message="errorstatusinput_{internalruleindex}">{errorstatusinput_res3}</Data>
  1419.                 <Data name="resolution" message="errorstatusinput_{internalruleindex}">{errorstatusinput_res4}</Data>
  1420.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70093" message="errorstatusinput_{internalruleindex}">{errorstatusinput_related1}</Data>
  1421.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70092" message="errorstatusinput_{internalruleindex}">{errorstatusinput_related2}</Data>
  1422.               </Item>
  1423.             </Warning>
  1424.             <Insert select="Item">
  1425.               <Attribute name="expand" value="true"/>
  1426.             </Insert>
  1427.             <Insert select="Item/Item">
  1428.               <Attribute name="expand" value="true"/>
  1429.             </Insert>
  1430.           </When>
  1431.         </Exists>
  1432.       </Step>
  1433.     </Rule>
  1434.     <Rule name="$(RuleSumStatusInput)" enabled="true">
  1435.       <Step select="/Report/Section[@name='SystemConfig']/Table[@name='TableInput']" fatal="true">
  1436.         <Variable name="total" expression="count(Item/Item)"/>
  1437.         <Variable name="rule">$(LOC_RuleSumStatusInput)</Variable>
  1438.         <Variable name="description">$(LOC_SummaryInfoInput)</Variable>
  1439.         <Exists>
  1440.           <Otherwise>
  1441.             <Insert select="/Report/Section[@name='advice']/Table[@name='alltests']/Item[last()]">
  1442.               <Node axis="child">
  1443.                 <Item>
  1444.                   <Data name="allchildtest">{rule}</Data>
  1445.                   <Data name="allchildtotal">{total}</Data>
  1446.                   <Data name="allchildfail">{badcount}</Data>
  1447.                   <Data name="allchilddesc">{description}</Data>
  1448.                 </Item>
  1449.               </Node>
  1450.             </Insert>
  1451.           </Otherwise>
  1452.         </Exists>
  1453.       </Step>
  1454.     </Rule>
  1455.     <Rule name="$(RuleConfigMemory)">
  1456.       <Step select="/Report">
  1457.         <Exists>
  1458.           <Otherwise>
  1459.             <Variable name="total" expression="'0'"/>
  1460.             <Variable name="badcount" expression="'0'"/>
  1461.           </Otherwise>
  1462.         </Exists>
  1463.       </Step>
  1464.       <Step select="/Report/Section[@name='SystemConfig']/Table[@name='TableMemory']/Item/Item/Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] != '0' and Data[@name='managementObjectsValue'] != '#UNKNOWN#']" fatal="true">
  1465.         <Exists>
  1466.           <Otherwise>
  1467.             <Variable name="badcount" expression="count(/Report/Section[@name='SystemConfig']/Table[@name='TableMemory']/Item/Item/Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] != '0' and Data[@name='managementObjectsValue'] != '#UNKNOWN#'])"/>
  1468.           </Otherwise>
  1469.         </Exists>
  1470.       </Step>
  1471.       <Step select="/Report/Section[@name='SystemConfig']/Table[@name='TableMemory']/Item/Item/Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] != '0' and Data[@name='managementObjectsValue'] != '#UNKNOWN#']" fatal="true" sortType="all">
  1472.         <Variable name="warnerror" expression="../Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode']/Data[@name='managementObjectsValue']"/>
  1473.         <Variable name="warndeviceid" expression="translate(../Item[Data[@name='managementObjectsProperty']='DeviceID']/Data[@name='managementObjectsValue']/child::text(),'&','-')"/>
  1474.         <Variable name="warndescrip" expression="../Item[Data[@name='managementObjectsProperty']='Description']/Data[@name='managementObjectsValue']"/>
  1475.         <Exists>
  1476.           <When expression="'{warnerror}' = 'tv_ConfigMgrErr10'">
  1477.             <Variable name="internalruleindex" expression="{internalruleindex} + 1"/>
  1478.             <Variable name="errorconfig10_symptom">$(WarnConfig10_symptom)</Variable>
  1479.             <Variable name="errorconfig10_cause">$(WarnConfig10_cause)</Variable>
  1480.             <Variable name="errorconfig10_details">$(WarnConfig10_details)</Variable>
  1481.             <Variable name="errorconfig10_res1">$(WarnConfig10_res1)</Variable>
  1482.             <Variable name="errorconfig10_res2">$(WarnConfig10_res2)</Variable>
  1483.             <Variable name="errorconfig10_res3">$(WarnConfig10_res3)</Variable>
  1484.             <Variable name="errorconfig10_res4">$(WarnConfig10_res4)</Variable>
  1485.             <Variable name="errorconfig10_related1">$(WarnConfig10_related1)</Variable>
  1486.             <Variable name="errorconfig10_related2">$(WarnConfig10_related2)</Variable>
  1487.             <Warning tag="errorconfig10_{internalruleindex}" select="Data" table="/Report/Section[@name='advice']/Table[@name='error']">
  1488.               <Item>
  1489.                 <Data name="symptom" img="error" link="errorconfig10_{internalruleindex}" message="errorconfig10_{internalruleindex}" translate="value">{errorconfig10_symptom}</Data>
  1490.                 <Data name="cause" message="errorconfig10_{internalruleindex}">{errorconfig10_cause}</Data>
  1491.                 <Data name="details" message="errorconfig10_{internalruleindex}">{errorconfig10_details}</Data>
  1492.                 <Data name="resolution" message="errorconfig10_{internalruleindex}">{errorconfig10_res1}</Data>
  1493.                 <Data name="resolution" message="errorconfig10_{internalruleindex}">{errorconfig10_res2}</Data>
  1494.                 <Data name="resolution" message="errorconfig10_{internalruleindex}">{errorconfig10_res3}</Data>
  1495.                 <Data name="resolution" message="errorconfig10_{internalruleindex}">{errorconfig10_res4}</Data>
  1496.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70093" message="errorconfig10_{internalruleindex}">{errorconfig10_related1}</Data>
  1497.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70092" message="errorconfig10_{internalruleindex}">{errorconfig10_related2}</Data>
  1498.               </Item>
  1499.             </Warning>
  1500.           </When>
  1501.           <When expression="'{warnerror}' = 'tv_ConfigMgrErr22'">
  1502.             <Variable name="internalruleindex" expression="{internalruleindex} + 1"/>
  1503.             <Variable name="errorconfig22_symptom">$(WarnConfig22_symptom)</Variable>
  1504.             <Variable name="errorconfig22_cause">$(WarnConfig22_cause)</Variable>
  1505.             <Variable name="errorconfig22_details">$(WarnConfig22_details)</Variable>
  1506.             <Variable name="errorconfig22_res1">$(WarnConfig22_res1)</Variable>
  1507.             <Variable name="errorconfig22_res2">$(WarnConfig22_res2)</Variable>
  1508.             <Variable name="errorconfig22_res3">$(WarnConfig22_res3)</Variable>
  1509.             <Variable name="errorconfig22_related1">$(WarnConfig22_related1)</Variable>
  1510.             <Variable name="errorconfig22_related2">$(WarnConfig22_related2)</Variable>
  1511.             <Warning tag="errorconfig22_{internalruleindex}" select="Data" table="/Report/Section[@name='advice']/Table[@name='error']">
  1512.               <Item>
  1513.                 <Data name="symptom" img="error" link="errorconfig22_{internalruleindex}" message="errorconfig22_{internalruleindex}" translate="value">{errorconfig22_symptom}</Data>
  1514.                 <Data name="cause" message="errorconfig22_{internalruleindex}">{errorconfig22_cause}</Data>
  1515.                 <Data name="details" message="errorconfig22_{internalruleindex}">{errorconfig22_details}</Data>
  1516.                 <Data name="resolution" message="errorconfig22_{internalruleindex}">{errorconfig22_res1}</Data>
  1517.                 <Data name="resolution" message="errorconfig22_{internalruleindex}">{errorconfig22_res2}</Data>
  1518.                 <Data name="resolution" message="errorconfig22_{internalruleindex}">{errorconfig22_res3}</Data>
  1519.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70093" message="errorconfig22_{internalruleindex}">{errorconfig22_related1}</Data>
  1520.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70092" message="errorconfig22_{internalruleindex}">{errorconfig22_related2}</Data>
  1521.               </Item>
  1522.             </Warning>
  1523.           </When>
  1524.           <When expression="'{warnerror}' = 'tv_ConfigMgrErr28'">
  1525.             <Variable name="internalruleindex" expression="{internalruleindex} + 1"/>
  1526.             <Variable name="errorconfig28_symptom">$(WarnConfig28_symptom)</Variable>
  1527.             <Variable name="errorconfig28_cause">$(WarnConfig28_cause)</Variable>
  1528.             <Variable name="errorconfig28_details">$(WarnConfig28_details)</Variable>
  1529.             <Variable name="errorconfig28_res1">$(WarnConfig28_res1)</Variable>
  1530.             <Variable name="errorconfig28_res2">$(WarnConfig28_res2)</Variable>
  1531.             <Variable name="errorconfig28_res3">$(WarnConfig28_res3)</Variable>
  1532.             <Variable name="errorconfig28_related1">$(WarnConfig28_related1)</Variable>
  1533.             <Warning tag="errorconfig28_{internalruleindex}" select="Data" table="/Report/Section[@name='advice']/Table[@name='error']">
  1534.               <Item>
  1535.                 <Data name="symptom" img="error" link="errorconfig28_{internalruleindex}" message="errorconfig28_{internalruleindex}" translate="value">{errorconfig28_symptom}</Data>
  1536.                 <Data name="cause" message="errorconfig28_{internalruleindex}">{errorconfig28_cause}</Data>
  1537.                 <Data name="details" message="errorconfig28_{internalruleindex}">{errorconfig28_details}</Data>
  1538.                 <Data name="resolution" message="errorconfig28_{internalruleindex}">{errorconfig28_res1}</Data>
  1539.                 <Data name="resolution" message="errorconfig28_{internalruleindex}">{errorconfig28_res2}</Data>
  1540.                 <Data name="resolution" message="errorconfig28_{internalruleindex}">{errorconfig28_res3}</Data>
  1541.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70093" message="errorconfig28_{internalruleindex}">{errorconfig28_related1}</Data>
  1542.               </Item>
  1543.             </Warning>
  1544.           </When>
  1545.           <Otherwise>
  1546.             <Variable name="internalruleindex" expression="{internalruleindex} + 1"/>
  1547.             <Variable name="errorconfigmemory_symptom">$(WarnConfigGeneric_symptom)</Variable>
  1548.             <Variable name="errorconfigmemory_cause">$(WarnConfigGeneric_cause)</Variable>
  1549.             <Variable name="errorconfigmemory_details">$(WarnConfigGeneric_details)</Variable>
  1550.             <Variable name="errorconfigmemory_res1">$(WarnConfigGeneric_res1)</Variable>
  1551.             <Variable name="errorconfigmemory_res2">$(WarnConfigGeneric_res2)</Variable>
  1552.             <Variable name="errorconfigmemory_res3">$(WarnConfigGeneric_res3)</Variable>
  1553.             <Variable name="errorconfigmemory_res4">$(WarnConfigGeneric_res4)</Variable>
  1554.             <Variable name="errorconfigmemory_related1">$(WarnConfigGeneric_related1)</Variable>
  1555.             <Variable name="errorconfigmemory_related2">$(WarnConfigGeneric_related2)</Variable>
  1556.             <Warning tag="errorconfigmemory_{internalruleindex}" select="Data" table="/Report/Section[@name='advice']/Table[@name='error']">
  1557.               <Item>
  1558.                 <Data name="symptom" img="error" link="errorconfigmemory_{internalruleindex}" message="errorconfigmemory_{internalruleindex}" translate="value">{errorconfigmemory_symptom}</Data>
  1559.                 <Data name="cause" message="errorconfigmemory_{internalruleindex}">{errorconfigmemory_cause}</Data>
  1560.                 <Data name="details" message="errorconfigmemory_{internalruleindex}">{errorconfigmemory_details}</Data>
  1561.                 <Data name="resolution" message="errorconfigmemory_{internalruleindex}">{errorconfigmemory_res1}</Data>
  1562.                 <Data name="resolution" message="errorconfigmemory_{internalruleindex}">{errorconfigmemory_res2}</Data>
  1563.                 <Data name="resolution" message="errorconfigmemory_{internalruleindex}">{errorconfigmemory_res3}</Data>
  1564.                 <Data name="resolution" message="errorconfigmemory_{internalruleindex}">{errorconfigmemory_res4}</Data>
  1565.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70093" message="errorconfigmemory_{internalruleindex}">{errorconfigmemory_related1}</Data>
  1566.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70092" message="errorconfigmemory_{internalruleindex}">{errorconfigmemory_related2}</Data>
  1567.               </Item>
  1568.             </Warning>
  1569.           </Otherwise>
  1570.         </Exists>
  1571.       </Step>
  1572.     </Rule>
  1573.     <Rule name="$(RuleSumConfigMemory)" enabled="true">
  1574.       <Step select="/Report/Section[@name='SystemConfig']/Table[@name='TableMemory']" fatal="true">
  1575.         <Variable name="total" expression="count(Item/Item)"/>
  1576.         <Variable name="rule">$(LOC_RuleSumConfigMemory)</Variable>
  1577.         <Variable name="description">$(LOC_SummaryInfoMemory)</Variable>
  1578.         <Exists>
  1579.           <Otherwise>
  1580.             <Insert select="/Report/Section[@name='advice']/Table[@name='alltests']/Item[last()]">
  1581.               <Node axis="child">
  1582.                 <Item>
  1583.                   <Data name="allchildtest">{rule}</Data>
  1584.                   <Data name="allchildtotal">{total}</Data>
  1585.                   <Data name="allchildfail">{badcount}</Data>
  1586.                   <Data name="allchilddesc">{description}</Data>
  1587.                 </Item>
  1588.               </Node>
  1589.             </Insert>
  1590.           </Otherwise>
  1591.         </Exists>
  1592.       </Step>
  1593.       <Step select="/Report/Section[@name='SystemConfig']/Table[@name='TableMemory']/Item/Item/Item[Data[@name='managementObjectsProperty']='DeviceID']/Data[@name='managementObjectsValue']" sortType="all">
  1594.         <Exists>
  1595.           <Otherwise>
  1596.             <Variable name="descrippnp" expression="."/>
  1597.             <Delete select="/Report/Section[@name='SystemConfig']/Table[@name='PlugAndPlay Classes']/Item/Item[Item[Data[@name='managementObjectsProperty']='DeviceID' and Data[@name='managementObjectsValue']='{descrippnp}']]"/>
  1598.           </Otherwise>
  1599.         </Exists>
  1600.       </Step>
  1601.     </Rule>
  1602.     <Rule name="$(RuleStatusMemory)">
  1603.       <Step select="/Report">
  1604.         <Exists>
  1605.           <Otherwise>
  1606.             <Variable name="total" expression="'0'"/>
  1607.             <Variable name="badcount" expression="'0'"/>
  1608.           </Otherwise>
  1609.         </Exists>
  1610.       </Step>
  1611.       <Step select="/Report/Section[@name='SystemConfig']/Table[@name='TableMemory']/Item/Item[Item[Data[@name='managementObjectsProperty']='Status' and Data[@name='managementObjectsValue'] != 'OK' and Data[@name='managementObjectsValue'] != 'Degraded' and Data[@name='managementObjectsValue'] != '' and Data[@name='managementObjectsValue'] != '#UNKNOWN#']][Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] = '0']]" fatal="true">
  1612.         <Exists>
  1613.           <Otherwise>
  1614.             <Variable name="badcount" expression="count(/Report/Section[@name='SystemConfig']/Table[@name='TableMemory']/Item/Item[Item[Data[@name='managementObjectsProperty']='Status' and Data[@name='managementObjectsValue'] != 'OK' and Data[@name='managementObjectsValue'] != 'Degraded' and Data[@name='managementObjectsValue'] != '' and Data[@name='managementObjectsValue'] != '#UNKNOWN#']][Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] = '0']])"/>
  1615.           </Otherwise>
  1616.         </Exists>
  1617.       </Step>
  1618.       <Step select="/Report/Section[@name='SystemConfig']/Table[@name='TableMemory']/Item/Item[Item[Data[@name='managementObjectsProperty']='Status' and Data[@name='managementObjectsValue'] != 'OK' and Data[@name='managementObjectsValue'] != 'Degraded' and Data[@name='managementObjectsValue'] != '' and Data[@name='managementObjectsValue'] != '#UNKNOWN#']][Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] = '0']]" fatal="true" sortType="all">
  1619.         <Exists>
  1620.           <When expression="{badcount} != 0">
  1621.             <Variable name="warnerror" expression="Item[Data[@name='managementObjectsProperty']='Status']/Data[@name='managementObjectsValue']"/>
  1622.             <Variable name="warndeviceid" expression="Item[Data[@name='managementObjectsProperty']='DeviceID']/Data[@name='managementObjectsValue']"/>
  1623.             <Variable name="warndescrip" expression="Item[Data[@name='managementObjectsProperty']='Description']/Data[@name='managementObjectsValue']"/>
  1624.             <Variable name="internalruleindex" expression="{internalruleindex} + 1"/>
  1625.             <Variable name="errorstatusmemory_symptom">$(WarnStatusGeneric_symptom)</Variable>
  1626.             <Variable name="errorstatusmemory_cause">$(WarnStatusGeneric_cause)</Variable>
  1627.             <Variable name="errorstatusmemory_details">$(WarnStatusGeneric_details)</Variable>
  1628.             <Variable name="errorstatusmemory_res1">$(WarnStatusGeneric_res1)</Variable>
  1629.             <Variable name="errorstatusmemory_res2">$(WarnStatusGeneric_res2)</Variable>
  1630.             <Variable name="errorstatusmemory_res3">$(WarnStatusGeneric_res3)</Variable>
  1631.             <Variable name="errorstatusmemory_res4">$(WarnStatusGeneric_res4)</Variable>
  1632.             <Variable name="errorstatusmemory_related1">$(WarnStatusGeneric_related1)</Variable>
  1633.             <Variable name="errorstatusmemory_related2">$(WarnStatusGeneric_related2)</Variable>
  1634.             <Warning tag="errorstatusmemory_{internalruleindex}" select="Item[Data[@name='managementObjectsProperty']='Status']/Data" table="/Report/Section[@name='advice']/Table[@name='error']">
  1635.               <Item>
  1636.                 <Data name="symptom" img="error" link="errorstatusmemory_{internalruleindex}" message="errorstatusmemory_{internalruleindex}">{errorstatusmemory_symptom}</Data>
  1637.                 <Data name="cause" message="errorstatusmemory_{internalruleindex}">{errorstatusmemory_cause}</Data>
  1638.                 <Data name="details" message="errorstatusmemory_{internalruleindex}">{errorstatusmemory_details}</Data>
  1639.                 <Data name="resolution" message="errorstatusmemory_{internalruleindex}">{errorstatusmemory_res1}</Data>
  1640.                 <Data name="resolution" message="errorstatusmemory_{internalruleindex}">{errorstatusmemory_res2}</Data>
  1641.                 <Data name="resolution" message="errorstatusmemory_{internalruleindex}">{errorstatusmemory_res3}</Data>
  1642.                 <Data name="resolution" message="errorstatusmemory_{internalruleindex}">{errorstatusmemory_res4}</Data>
  1643.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70093" message="errorstatusmemory_{internalruleindex}">{errorstatusmemory_related1}</Data>
  1644.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70092" message="errorstatusmemory_{internalruleindex}">{errorstatusmemory_related2}</Data>
  1645.               </Item>
  1646.             </Warning>
  1647.             <Insert select="Item">
  1648.               <Attribute name="expand" value="true"/>
  1649.             </Insert>
  1650.             <Insert select="Item/Item">
  1651.               <Attribute name="expand" value="true"/>
  1652.             </Insert>
  1653.           </When>
  1654.         </Exists>
  1655.       </Step>
  1656.     </Rule>
  1657.     <Rule name="$(RuleSumStatusMemory)" enabled="true">
  1658.       <Step select="/Report/Section[@name='SystemConfig']/Table[@name='TableMemory']" fatal="true">
  1659.         <Variable name="total" expression="count(Item/Item)"/>
  1660.         <Variable name="rule">$(LOC_RuleSumStatusMemory)</Variable>
  1661.         <Variable name="description">$(LOC_SummaryInfoMemory)</Variable>
  1662.         <Exists>
  1663.           <Otherwise>
  1664.             <Insert select="/Report/Section[@name='advice']/Table[@name='alltests']/Item[last()]">
  1665.               <Node axis="child">
  1666.                 <Item>
  1667.                   <Data name="allchildtest">{rule}</Data>
  1668.                   <Data name="allchildtotal">{total}</Data>
  1669.                   <Data name="allchildfail">{badcount}</Data>
  1670.                   <Data name="allchilddesc">{description}</Data>
  1671.                 </Item>
  1672.               </Node>
  1673.             </Insert>
  1674.           </Otherwise>
  1675.         </Exists>
  1676.       </Step>
  1677.     </Rule>
  1678.     <Rule name="$(RuleConfigMotherboard)">
  1679.       <Step select="/Report">
  1680.         <Exists>
  1681.           <Otherwise>
  1682.             <Variable name="total" expression="'0'"/>
  1683.             <Variable name="badcount" expression="'0'"/>
  1684.           </Otherwise>
  1685.         </Exists>
  1686.       </Step>
  1687.       <Step select="/Report/Section[@name='SystemConfig']/Table[@name='TableMotherboard']/Item/Item/Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] != '0' and Data[@name='managementObjectsValue'] != '#UNKNOWN#']" fatal="true">
  1688.         <Exists>
  1689.           <Otherwise>
  1690.             <Variable name="badcount" expression="count(/Report/Section[@name='SystemConfig']/Table[@name='TableMotherboard']/Item/Item/Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] != '0' and Data[@name='managementObjectsValue'] != '#UNKNOWN#'])"/>
  1691.           </Otherwise>
  1692.         </Exists>
  1693.       </Step>
  1694.       <Step select="/Report/Section[@name='SystemConfig']/Table[@name='TableMotherboard']/Item/Item/Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] != '0' and Data[@name='managementObjectsValue'] != '#UNKNOWN#']" fatal="true" sortType="all">
  1695.         <Variable name="warnerror" expression="../Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode']/Data[@name='managementObjectsValue']"/>
  1696.         <Variable name="warndeviceid" expression="translate(../Item[Data[@name='managementObjectsProperty']='DeviceID']/Data[@name='managementObjectsValue']/child::text(),'&','-')"/>
  1697.         <Variable name="warndescrip" expression="../Item[Data[@name='managementObjectsProperty']='Description']/Data[@name='managementObjectsValue']"/>
  1698.         <Exists>
  1699.           <When expression="'{warnerror}' = 'tv_ConfigMgrErr10'">
  1700.             <Variable name="internalruleindex" expression="{internalruleindex} + 1"/>
  1701.             <Variable name="errorconfig10_symptom">$(WarnConfig10_symptom)</Variable>
  1702.             <Variable name="errorconfig10_cause">$(WarnConfig10_cause)</Variable>
  1703.             <Variable name="errorconfig10_details">$(WarnConfig10_details)</Variable>
  1704.             <Variable name="errorconfig10_res1">$(WarnConfig10_res1)</Variable>
  1705.             <Variable name="errorconfig10_res2">$(WarnConfig10_res2)</Variable>
  1706.             <Variable name="errorconfig10_res3">$(WarnConfig10_res3)</Variable>
  1707.             <Variable name="errorconfig10_res4">$(WarnConfig10_res4)</Variable>
  1708.             <Variable name="errorconfig10_related1">$(WarnConfig10_related1)</Variable>
  1709.             <Variable name="errorconfig10_related2">$(WarnConfig10_related2)</Variable>
  1710.             <Warning tag="errorconfig10_{internalruleindex}" select="Data" table="/Report/Section[@name='advice']/Table[@name='error']">
  1711.               <Item>
  1712.                 <Data name="symptom" img="error" link="errorconfig10_{internalruleindex}" message="errorconfig10_{internalruleindex}" translate="value">{errorconfig10_symptom}</Data>
  1713.                 <Data name="cause" message="errorconfig10_{internalruleindex}">{errorconfig10_cause}</Data>
  1714.                 <Data name="details" message="errorconfig10_{internalruleindex}">{errorconfig10_details}</Data>
  1715.                 <Data name="resolution" message="errorconfig10_{internalruleindex}">{errorconfig10_res1}</Data>
  1716.                 <Data name="resolution" message="errorconfig10_{internalruleindex}">{errorconfig10_res2}</Data>
  1717.                 <Data name="resolution" message="errorconfig10_{internalruleindex}">{errorconfig10_res3}</Data>
  1718.                 <Data name="resolution" message="errorconfig10_{internalruleindex}">{errorconfig10_res4}</Data>
  1719.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70093" message="errorconfig10_{internalruleindex}">{errorconfig10_related1}</Data>
  1720.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70092" message="errorconfig10_{internalruleindex}">{errorconfig10_related2}</Data>
  1721.               </Item>
  1722.             </Warning>
  1723.           </When>
  1724.           <When expression="'{warnerror}' = 'tv_ConfigMgrErr22'">
  1725.             <Variable name="internalruleindex" expression="{internalruleindex} + 1"/>
  1726.             <Variable name="errorconfig22_symptom">$(WarnConfig22_symptom)</Variable>
  1727.             <Variable name="errorconfig22_cause">$(WarnConfig22_cause)</Variable>
  1728.             <Variable name="errorconfig22_details">$(WarnConfig22_details)</Variable>
  1729.             <Variable name="errorconfig22_res1">$(WarnConfig22_res1)</Variable>
  1730.             <Variable name="errorconfig22_res2">$(WarnConfig22_res2)</Variable>
  1731.             <Variable name="errorconfig22_res3">$(WarnConfig22_res3)</Variable>
  1732.             <Variable name="errorconfig22_related1">$(WarnConfig22_related1)</Variable>
  1733.             <Variable name="errorconfig22_related2">$(WarnConfig22_related2)</Variable>
  1734.             <Warning tag="errorconfig22_{internalruleindex}" select="Data" table="/Report/Section[@name='advice']/Table[@name='error']">
  1735.               <Item>
  1736.                 <Data name="symptom" img="error" link="errorconfig22_{internalruleindex}" message="errorconfig22_{internalruleindex}" translate="value">{errorconfig22_symptom}</Data>
  1737.                 <Data name="cause" message="errorconfig22_{internalruleindex}">{errorconfig22_cause}</Data>
  1738.                 <Data name="details" message="errorconfig22_{internalruleindex}">{errorconfig22_details}</Data>
  1739.                 <Data name="resolution" message="errorconfig22_{internalruleindex}">{errorconfig22_res1}</Data>
  1740.                 <Data name="resolution" message="errorconfig22_{internalruleindex}">{errorconfig22_res2}</Data>
  1741.                 <Data name="resolution" message="errorconfig22_{internalruleindex}">{errorconfig22_res3}</Data>
  1742.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70093" message="errorconfig22_{internalruleindex}">{errorconfig22_related1}</Data>
  1743.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70092" message="errorconfig22_{internalruleindex}">{errorconfig22_related2}</Data>
  1744.               </Item>
  1745.             </Warning>
  1746.           </When>
  1747.           <When expression="'{warnerror}' = 'tv_ConfigMgrErr28'">
  1748.             <Variable name="internalruleindex" expression="{internalruleindex} + 1"/>
  1749.             <Variable name="errorconfig28_symptom">$(WarnConfig28_symptom)</Variable>
  1750.             <Variable name="errorconfig28_cause">$(WarnConfig28_cause)</Variable>
  1751.             <Variable name="errorconfig28_details">$(WarnConfig28_details)</Variable>
  1752.             <Variable name="errorconfig28_res1">$(WarnConfig28_res1)</Variable>
  1753.             <Variable name="errorconfig28_res2">$(WarnConfig28_res2)</Variable>
  1754.             <Variable name="errorconfig28_res3">$(WarnConfig28_res3)</Variable>
  1755.             <Variable name="errorconfig28_related1">$(WarnConfig28_related1)</Variable>
  1756.             <Warning tag="errorconfig28_{internalruleindex}" select="Data" table="/Report/Section[@name='advice']/Table[@name='error']">
  1757.               <Item>
  1758.                 <Data name="symptom" img="error" link="errorconfig28_{internalruleindex}" message="errorconfig28_{internalruleindex}" translate="value">{errorconfig28_symptom}</Data>
  1759.                 <Data name="cause" message="errorconfig28_{internalruleindex}">{errorconfig28_cause}</Data>
  1760.                 <Data name="details" message="errorconfig28_{internalruleindex}">{errorconfig28_details}</Data>
  1761.                 <Data name="resolution" message="errorconfig28_{internalruleindex}">{errorconfig28_res1}</Data>
  1762.                 <Data name="resolution" message="errorconfig28_{internalruleindex}">{errorconfig28_res2}</Data>
  1763.                 <Data name="resolution" message="errorconfig28_{internalruleindex}">{errorconfig28_res3}</Data>
  1764.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70093" message="errorconfig28_{internalruleindex}">{errorconfig28_related1}</Data>
  1765.               </Item>
  1766.             </Warning>
  1767.           </When>
  1768.           <Otherwise>
  1769.             <Variable name="internalruleindex" expression="{internalruleindex} + 1"/>
  1770.             <Variable name="errorconfigmotherboard_symptom">$(WarnConfigGeneric_symptom)</Variable>
  1771.             <Variable name="errorconfigmotherboard_cause">$(WarnConfigGeneric_cause)</Variable>
  1772.             <Variable name="errorconfigmotherboard_details">$(WarnConfigGeneric_details)</Variable>
  1773.             <Variable name="errorconfigmotherboard_res1">$(WarnConfigGeneric_res1)</Variable>
  1774.             <Variable name="errorconfigmotherboard_res2">$(WarnConfigGeneric_res2)</Variable>
  1775.             <Variable name="errorconfigmotherboard_res3">$(WarnConfigGeneric_res3)</Variable>
  1776.             <Variable name="errorconfigmotherboard_res4">$(WarnConfigGeneric_res4)</Variable>
  1777.             <Variable name="errorconfigmotherboard_related1">$(WarnConfigGeneric_related1)</Variable>
  1778.             <Variable name="errorconfigmotherboard_related2">$(WarnConfigGeneric_related2)</Variable>
  1779.             <Warning tag="errorconfigmotherboard_{internalruleindex}" select="Data" table="/Report/Section[@name='advice']/Table[@name='error']">
  1780.               <Item>
  1781.                 <Data name="symptom" img="error" link="errorconfigmotherboard_{internalruleindex}" message="errorconfigmotherboard_{internalruleindex}" translate="value">{errorconfigmotherboard_symptom}</Data>
  1782.                 <Data name="cause" message="errorconfigmotherboard_{internalruleindex}">{errorconfigmotherboard_cause}</Data>
  1783.                 <Data name="details" message="errorconfigmotherboard_{internalruleindex}">{errorconfigmotherboard_details}</Data>
  1784.                 <Data name="resolution" message="errorconfigmotherboard_{internalruleindex}">{errorconfigmotherboard_res1}</Data>
  1785.                 <Data name="resolution" message="errorconfigmotherboard_{internalruleindex}">{errorconfigmotherboard_res2}</Data>
  1786.                 <Data name="resolution" message="errorconfigmotherboard_{internalruleindex}">{errorconfigmotherboard_res3}</Data>
  1787.                 <Data name="resolution" message="errorconfigmotherboard_{internalruleindex}">{errorconfigmotherboard_res4}</Data>
  1788.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70093" message="errorconfigmotherboard_{internalruleindex}">{errorconfigmotherboard_related1}</Data>
  1789.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70092" message="errorconfigmotherboard_{internalruleindex}">{errorconfigmotherboard_related2}</Data>
  1790.               </Item>
  1791.             </Warning>
  1792.           </Otherwise>
  1793.         </Exists>
  1794.       </Step>
  1795.     </Rule>
  1796.     <Rule name="$(RuleSumConfigMotherboard)" enabled="true">
  1797.       <Step select="/Report/Section[@name='SystemConfig']/Table[@name='TableMotherboard']" fatal="true">
  1798.         <Variable name="total" expression="count(Item/Item)"/>
  1799.         <Variable name="rule">$(LOC_RuleSumConfigMotherboard)</Variable>
  1800.         <Variable name="description">$(LOC_SummaryInfoMotherboard)</Variable>
  1801.         <Exists>
  1802.           <Otherwise>
  1803.             <Insert select="/Report/Section[@name='advice']/Table[@name='alltests']/Item[last()]">
  1804.               <Node axis="child">
  1805.                 <Item>
  1806.                   <Data name="allchildtest">{rule}</Data>
  1807.                   <Data name="allchildtotal">{total}</Data>
  1808.                   <Data name="allchildfail">{badcount}</Data>
  1809.                   <Data name="allchilddesc">{description}</Data>
  1810.                 </Item>
  1811.               </Node>
  1812.             </Insert>
  1813.           </Otherwise>
  1814.         </Exists>
  1815.       </Step>
  1816.       <Step select="/Report/Section[@name='SystemConfig']/Table[@name='TableMotherboard']/Item/Item/Item[Data[@name='managementObjectsProperty']='DeviceID']/Data[@name='managementObjectsValue']" sortType="all">
  1817.         <Exists>
  1818.           <Otherwise>
  1819.             <Variable name="descrippnp" expression="."/>
  1820.             <Delete select="/Report/Section[@name='SystemConfig']/Table[@name='PlugAndPlay Classes']/Item/Item[Item[Data[@name='managementObjectsProperty']='DeviceID' and Data[@name='managementObjectsValue']='{descrippnp}']]"/>
  1821.           </Otherwise>
  1822.         </Exists>
  1823.       </Step>
  1824.     </Rule>
  1825.     <Rule name="$(RuleStatusMotherboard)">
  1826.       <Step select="/Report">
  1827.         <Exists>
  1828.           <Otherwise>
  1829.             <Variable name="total" expression="'0'"/>
  1830.             <Variable name="badcount" expression="'0'"/>
  1831.           </Otherwise>
  1832.         </Exists>
  1833.       </Step>
  1834.       <Step select="/Report/Section[@name='SystemConfig']/Table[@name='TableMotherboard']/Item/Item[Item[Data[@name='managementObjectsProperty']='Status' and Data[@name='managementObjectsValue'] != 'OK' and Data[@name='managementObjectsValue'] != 'Degraded' and Data[@name='managementObjectsValue'] != '' and Data[@name='managementObjectsValue'] != '#UNKNOWN#']][Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] = '0']]" fatal="true">
  1835.         <Exists>
  1836.           <Otherwise>
  1837.             <Variable name="badcount" expression="count(/Report/Section[@name='SystemConfig']/Table[@name='TableMotherboard']/Item/Item[Item[Data[@name='managementObjectsProperty']='Status' and Data[@name='managementObjectsValue'] != 'OK' and Data[@name='managementObjectsValue'] != 'Degraded' and Data[@name='managementObjectsValue'] != '' and Data[@name='managementObjectsValue'] != '#UNKNOWN#']][Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] = '0']])"/>
  1838.           </Otherwise>
  1839.         </Exists>
  1840.       </Step>
  1841.       <Step select="/Report/Section[@name='SystemConfig']/Table[@name='TableMotherboard']/Item/Item[Item[Data[@name='managementObjectsProperty']='Status' and Data[@name='managementObjectsValue'] != 'OK' and Data[@name='managementObjectsValue'] != 'Degraded' and Data[@name='managementObjectsValue'] != '' and Data[@name='managementObjectsValue'] != '#UNKNOWN#']][Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] = '0']]" fatal="true" sortType="all">
  1842.         <Exists>
  1843.           <When expression="{badcount} != 0">
  1844.             <Variable name="warnerror" expression="Item[Data[@name='managementObjectsProperty']='Status']/Data[@name='managementObjectsValue']"/>
  1845.             <Variable name="warndeviceid" expression="Item[Data[@name='managementObjectsProperty']='DeviceID']/Data[@name='managementObjectsValue']"/>
  1846.             <Variable name="warndescrip" expression="Item[Data[@name='managementObjectsProperty']='Description']/Data[@name='managementObjectsValue']"/>
  1847.             <Variable name="internalruleindex" expression="{internalruleindex} + 1"/>
  1848.             <Variable name="errorstatusmotherboard_symptom">$(WarnStatusGeneric_symptom)</Variable>
  1849.             <Variable name="errorstatusmotherboard_cause">$(WarnStatusGeneric_cause)</Variable>
  1850.             <Variable name="errorstatusmotherboard_details">$(WarnStatusGeneric_details)</Variable>
  1851.             <Variable name="errorstatusmotherboard_res1">$(WarnStatusGeneric_res1)</Variable>
  1852.             <Variable name="errorstatusmotherboard_res2">$(WarnStatusGeneric_res2)</Variable>
  1853.             <Variable name="errorstatusmotherboard_res3">$(WarnStatusGeneric_res3)</Variable>
  1854.             <Variable name="errorstatusmotherboard_res4">$(WarnStatusGeneric_res4)</Variable>
  1855.             <Variable name="errorstatusmotherboard_related1">$(WarnStatusGeneric_related1)</Variable>
  1856.             <Variable name="errorstatusmotherboard_related2">$(WarnStatusGeneric_related2)</Variable>
  1857.             <Warning tag="errorstatusmotherboard_{internalruleindex}" select="Item[Data[@name='managementObjectsProperty']='Status']/Data" table="/Report/Section[@name='advice']/Table[@name='error']">
  1858.               <Item>
  1859.                 <Data name="symptom" img="error" link="errorstatusmotherboard_{internalruleindex}" message="errorstatusmotherboard_{internalruleindex}">{errorstatusmotherboard_symptom}</Data>
  1860.                 <Data name="cause" message="errorstatusmotherboard_{internalruleindex}">{errorstatusmotherboard_cause}</Data>
  1861.                 <Data name="details" message="errorstatusmotherboard_{internalruleindex}">{errorstatusmotherboard_details}</Data>
  1862.                 <Data name="resolution" message="errorstatusmotherboard_{internalruleindex}">{errorstatusmotherboard_res1}</Data>
  1863.                 <Data name="resolution" message="errorstatusmotherboard_{internalruleindex}">{errorstatusmotherboard_res2}</Data>
  1864.                 <Data name="resolution" message="errorstatusmotherboard_{internalruleindex}">{errorstatusmotherboard_res3}</Data>
  1865.                 <Data name="resolution" message="errorstatusmotherboard_{internalruleindex}">{errorstatusmotherboard_res4}</Data>
  1866.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70093" message="errorstatusmotherboard_{internalruleindex}">{errorstatusmotherboard_related1}</Data>
  1867.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70092" message="errorstatusmotherboard_{internalruleindex}">{errorstatusmotherboard_related2}</Data>
  1868.               </Item>
  1869.             </Warning>
  1870.             <Insert select="Item">
  1871.               <Attribute name="expand" value="true"/>
  1872.             </Insert>
  1873.             <Insert select="Item/Item">
  1874.               <Attribute name="expand" value="true"/>
  1875.             </Insert>
  1876.           </When>
  1877.         </Exists>
  1878.       </Step>
  1879.     </Rule>
  1880.     <Rule name="$(RuleSumStatusMotherboard)" enabled="true">
  1881.       <Step select="/Report/Section[@name='SystemConfig']/Table[@name='TableMotherboard']" fatal="true">
  1882.         <Variable name="total" expression="count(Item/Item)"/>
  1883.         <Variable name="rule">$(LOC_RuleSumStatusMotherboard)</Variable>
  1884.         <Variable name="description">$(LOC_SummaryInfoMotherboard)</Variable>
  1885.         <Exists>
  1886.           <Otherwise>
  1887.             <Insert select="/Report/Section[@name='advice']/Table[@name='alltests']/Item[last()]">
  1888.               <Node axis="child">
  1889.                 <Item>
  1890.                   <Data name="allchildtest">{rule}</Data>
  1891.                   <Data name="allchildtotal">{total}</Data>
  1892.                   <Data name="allchildfail">{badcount}</Data>
  1893.                   <Data name="allchilddesc">{description}</Data>
  1894.                 </Item>
  1895.               </Node>
  1896.             </Insert>
  1897.           </Otherwise>
  1898.         </Exists>
  1899.       </Step>
  1900.     </Rule>
  1901.     <Rule name="$(RuleConfigNetwork)">
  1902.       <Step select="/Report">
  1903.         <Exists>
  1904.           <Otherwise>
  1905.             <Variable name="total" expression="'0'"/>
  1906.             <Variable name="badcount" expression="'0'"/>
  1907.           </Otherwise>
  1908.         </Exists>
  1909.       </Step>
  1910.       <Step select="/Report/Section[@name='SystemConfig']/Table[@name='TableNetwork']/Item/Item/Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] != '0' and Data[@name='managementObjectsValue'] != '#UNKNOWN#']" fatal="true">
  1911.         <Exists>
  1912.           <Otherwise>
  1913.             <Variable name="badcount" expression="count(/Report/Section[@name='SystemConfig']/Table[@name='TableNetwork']/Item/Item/Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] != '0' and Data[@name='managementObjectsValue'] != '#UNKNOWN#'])"/>
  1914.           </Otherwise>
  1915.         </Exists>
  1916.       </Step>
  1917.       <Step select="/Report/Section[@name='SystemConfig']/Table[@name='TableNetwork']/Item/Item/Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] != '0' and Data[@name='managementObjectsValue'] != '#UNKNOWN#']" fatal="true" sortType="all">
  1918.         <Variable name="warnerror" expression="../Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode']/Data[@name='managementObjectsValue']"/>
  1919.         <Variable name="warndeviceid" expression="translate(../Item[Data[@name='managementObjectsProperty']='DeviceID']/Data[@name='managementObjectsValue']/child::text(),'&','-')"/>
  1920.         <Variable name="warndescrip" expression="../Item[Data[@name='managementObjectsProperty']='Description']/Data[@name='managementObjectsValue']"/>
  1921.         <Exists>
  1922.           <When expression="'{warnerror}' = 'tv_ConfigMgrErr10'">
  1923.             <Variable name="internalruleindex" expression="{internalruleindex} + 1"/>
  1924.             <Variable name="errorconfig10_symptom">$(WarnConfig10_symptom)</Variable>
  1925.             <Variable name="errorconfig10_cause">$(WarnConfig10_cause)</Variable>
  1926.             <Variable name="errorconfig10_details">$(WarnConfig10_details)</Variable>
  1927.             <Variable name="errorconfig10_res1">$(WarnConfig10_res1)</Variable>
  1928.             <Variable name="errorconfig10_res2">$(WarnConfig10_res2)</Variable>
  1929.             <Variable name="errorconfig10_res3">$(WarnConfig10_res3)</Variable>
  1930.             <Variable name="errorconfig10_res4">$(WarnConfig10_res4)</Variable>
  1931.             <Variable name="errorconfig10_related1">$(WarnConfig10_related1)</Variable>
  1932.             <Variable name="errorconfig10_related2">$(WarnConfig10_related2)</Variable>
  1933.             <Warning tag="errorconfig10_{internalruleindex}" select="Data" table="/Report/Section[@name='advice']/Table[@name='error']">
  1934.               <Item>
  1935.                 <Data name="symptom" img="error" link="errorconfig10_{internalruleindex}" message="errorconfig10_{internalruleindex}" translate="value">{errorconfig10_symptom}</Data>
  1936.                 <Data name="cause" message="errorconfig10_{internalruleindex}">{errorconfig10_cause}</Data>
  1937.                 <Data name="details" message="errorconfig10_{internalruleindex}">{errorconfig10_details}</Data>
  1938.                 <Data name="resolution" message="errorconfig10_{internalruleindex}">{errorconfig10_res1}</Data>
  1939.                 <Data name="resolution" message="errorconfig10_{internalruleindex}">{errorconfig10_res2}</Data>
  1940.                 <Data name="resolution" message="errorconfig10_{internalruleindex}">{errorconfig10_res3}</Data>
  1941.                 <Data name="resolution" message="errorconfig10_{internalruleindex}">{errorconfig10_res4}</Data>
  1942.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70093" message="errorconfig10_{internalruleindex}">{errorconfig10_related1}</Data>
  1943.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70092" message="errorconfig10_{internalruleindex}">{errorconfig10_related2}</Data>
  1944.               </Item>
  1945.             </Warning>
  1946.           </When>
  1947.           <When expression="'{warnerror}' = 'tv_ConfigMgrErr22'">
  1948.             <Variable name="internalruleindex" expression="{internalruleindex} + 1"/>
  1949.             <Variable name="errorconfig22_symptom">$(WarnConfig22_symptom)</Variable>
  1950.             <Variable name="errorconfig22_cause">$(WarnConfig22_cause)</Variable>
  1951.             <Variable name="errorconfig22_details">$(WarnConfig22_details)</Variable>
  1952.             <Variable name="errorconfig22_res1">$(WarnConfig22_res1)</Variable>
  1953.             <Variable name="errorconfig22_res2">$(WarnConfig22_res2)</Variable>
  1954.             <Variable name="errorconfig22_res3">$(WarnConfig22_res3)</Variable>
  1955.             <Variable name="errorconfig22_related1">$(WarnConfig22_related1)</Variable>
  1956.             <Variable name="errorconfig22_related2">$(WarnConfig22_related2)</Variable>
  1957.             <Warning tag="errorconfig22_{internalruleindex}" select="Data" table="/Report/Section[@name='advice']/Table[@name='error']">
  1958.               <Item>
  1959.                 <Data name="symptom" img="error" link="errorconfig22_{internalruleindex}" message="errorconfig22_{internalruleindex}" translate="value">{errorconfig22_symptom}</Data>
  1960.                 <Data name="cause" message="errorconfig22_{internalruleindex}">{errorconfig22_cause}</Data>
  1961.                 <Data name="details" message="errorconfig22_{internalruleindex}">{errorconfig22_details}</Data>
  1962.                 <Data name="resolution" message="errorconfig22_{internalruleindex}">{errorconfig22_res1}</Data>
  1963.                 <Data name="resolution" message="errorconfig22_{internalruleindex}">{errorconfig22_res2}</Data>
  1964.                 <Data name="resolution" message="errorconfig22_{internalruleindex}">{errorconfig22_res3}</Data>
  1965.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70093" message="errorconfig22_{internalruleindex}">{errorconfig22_related1}</Data>
  1966.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70092" message="errorconfig22_{internalruleindex}">{errorconfig22_related2}</Data>
  1967.               </Item>
  1968.             </Warning>
  1969.           </When>
  1970.           <When expression="'{warnerror}' = 'tv_ConfigMgrErr28'">
  1971.             <Variable name="internalruleindex" expression="{internalruleindex} + 1"/>
  1972.             <Variable name="errorconfig28_symptom">$(WarnConfig28_symptom)</Variable>
  1973.             <Variable name="errorconfig28_cause">$(WarnConfig28_cause)</Variable>
  1974.             <Variable name="errorconfig28_details">$(WarnConfig28_details)</Variable>
  1975.             <Variable name="errorconfig28_res1">$(WarnConfig28_res1)</Variable>
  1976.             <Variable name="errorconfig28_res2">$(WarnConfig28_res2)</Variable>
  1977.             <Variable name="errorconfig28_res3">$(WarnConfig28_res3)</Variable>
  1978.             <Variable name="errorconfig28_related1">$(WarnConfig28_related1)</Variable>
  1979.             <Warning tag="errorconfig28_{internalruleindex}" select="Data" table="/Report/Section[@name='advice']/Table[@name='error']">
  1980.               <Item>
  1981.                 <Data name="symptom" img="error" link="errorconfig28_{internalruleindex}" message="errorconfig28_{internalruleindex}" translate="value">{errorconfig28_symptom}</Data>
  1982.                 <Data name="cause" message="errorconfig28_{internalruleindex}">{errorconfig28_cause}</Data>
  1983.                 <Data name="details" message="errorconfig28_{internalruleindex}">{errorconfig28_details}</Data>
  1984.                 <Data name="resolution" message="errorconfig28_{internalruleindex}">{errorconfig28_res1}</Data>
  1985.                 <Data name="resolution" message="errorconfig28_{internalruleindex}">{errorconfig28_res2}</Data>
  1986.                 <Data name="resolution" message="errorconfig28_{internalruleindex}">{errorconfig28_res3}</Data>
  1987.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70093" message="errorconfig28_{internalruleindex}">{errorconfig28_related1}</Data>
  1988.               </Item>
  1989.             </Warning>
  1990.           </When>
  1991.           <Otherwise>
  1992.             <Variable name="internalruleindex" expression="{internalruleindex} + 1"/>
  1993.             <Variable name="errorconfignetwork_symptom">$(WarnConfigGeneric_symptom)</Variable>
  1994.             <Variable name="errorconfignetwork_cause">$(WarnConfigGeneric_cause)</Variable>
  1995.             <Variable name="errorconfignetwork_details">$(WarnConfigGeneric_details)</Variable>
  1996.             <Variable name="errorconfignetwork_res1">$(WarnConfigGeneric_res1)</Variable>
  1997.             <Variable name="errorconfignetwork_res2">$(WarnConfigGeneric_res2)</Variable>
  1998.             <Variable name="errorconfignetwork_res3">$(WarnConfigGeneric_res3)</Variable>
  1999.             <Variable name="errorconfignetwork_res4">$(WarnConfigGeneric_res4)</Variable>
  2000.             <Variable name="errorconfignetwork_related1">$(WarnConfigGeneric_related1)</Variable>
  2001.             <Variable name="errorconfignetwork_related2">$(WarnConfigGeneric_related2)</Variable>
  2002.             <Warning tag="errorconfignetwork_{internalruleindex}" select="Data" table="/Report/Section[@name='advice']/Table[@name='error']">
  2003.               <Item>
  2004.                 <Data name="symptom" img="error" link="errorconfignetwork_{internalruleindex}" message="errorconfignetwork_{internalruleindex}" translate="value">{errorconfignetwork_symptom}</Data>
  2005.                 <Data name="cause" message="errorconfignetwork_{internalruleindex}">{errorconfignetwork_cause}</Data>
  2006.                 <Data name="details" message="errorconfignetwork_{internalruleindex}">{errorconfignetwork_details}</Data>
  2007.                 <Data name="resolution" message="errorconfignetwork_{internalruleindex}">{errorconfignetwork_res1}</Data>
  2008.                 <Data name="resolution" message="errorconfignetwork_{internalruleindex}">{errorconfignetwork_res2}</Data>
  2009.                 <Data name="resolution" message="errorconfignetwork_{internalruleindex}">{errorconfignetwork_res3}</Data>
  2010.                 <Data name="resolution" message="errorconfignetwork_{internalruleindex}">{errorconfignetwork_res4}</Data>
  2011.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70093" message="errorconfignetwork_{internalruleindex}">{errorconfignetwork_related1}</Data>
  2012.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70092" message="errorconfignetwork_{internalruleindex}">{errorconfignetwork_related2}</Data>
  2013.               </Item>
  2014.             </Warning>
  2015.           </Otherwise>
  2016.         </Exists>
  2017.       </Step>
  2018.     </Rule>
  2019.     <Rule name="$(RuleSumConfigNetwork)" enabled="true">
  2020.       <Step select="/Report/Section[@name='SystemConfig']/Table[@name='TableNetwork']" fatal="true">
  2021.         <Variable name="total" expression="count(Item/Item)"/>
  2022.         <Variable name="rule">$(LOC_RuleSumConfigNetwork)</Variable>
  2023.         <Variable name="description">$(LOC_SummaryInfoNetwork)</Variable>
  2024.         <Exists>
  2025.           <Otherwise>
  2026.             <Insert select="/Report/Section[@name='advice']/Table[@name='alltests']/Item[last()]">
  2027.               <Node axis="child">
  2028.                 <Item>
  2029.                   <Data name="allchildtest">{rule}</Data>
  2030.                   <Data name="allchildtotal">{total}</Data>
  2031.                   <Data name="allchildfail">{badcount}</Data>
  2032.                   <Data name="allchilddesc">{description}</Data>
  2033.                 </Item>
  2034.               </Node>
  2035.             </Insert>
  2036.           </Otherwise>
  2037.         </Exists>
  2038.       </Step>
  2039.       <Step select="/Report/Section[@name='SystemConfig']/Table[@name='TableNetwork']/Item/Item/Item[Data[@name='managementObjectsProperty']='DeviceID']/Data[@name='managementObjectsValue']" sortType="all">
  2040.         <Exists>
  2041.           <Otherwise>
  2042.             <Variable name="descrippnp" expression="."/>
  2043.             <Delete select="/Report/Section[@name='SystemConfig']/Table[@name='PlugAndPlay Classes']/Item/Item[Item[Data[@name='managementObjectsProperty']='DeviceID' and Data[@name='managementObjectsValue']='{descrippnp}']]"/>
  2044.           </Otherwise>
  2045.         </Exists>
  2046.       </Step>
  2047.     </Rule>
  2048.     <Rule name="$(RuleStatusNetwork)">
  2049.       <Step select="/Report">
  2050.         <Exists>
  2051.           <Otherwise>
  2052.             <Variable name="total" expression="'0'"/>
  2053.             <Variable name="badcount" expression="'0'"/>
  2054.           </Otherwise>
  2055.         </Exists>
  2056.       </Step>
  2057.       <Step select="/Report/Section[@name='SystemConfig']/Table[@name='TableNetwork']/Item/Item[Item[Data[@name='managementObjectsProperty']='Status' and Data[@name='managementObjectsValue'] != 'OK' and Data[@name='managementObjectsValue'] != 'Degraded' and Data[@name='managementObjectsValue'] != '' and Data[@name='managementObjectsValue'] != '#UNKNOWN#']][Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] = '0']]" fatal="true">
  2058.         <Exists>
  2059.           <Otherwise>
  2060.             <Variable name="badcount" expression="count(/Report/Section[@name='SystemConfig']/Table[@name='TableNetwork']/Item/Item[Item[Data[@name='managementObjectsProperty']='Status' and Data[@name='managementObjectsValue'] != 'OK' and Data[@name='managementObjectsValue'] != 'Degraded' and Data[@name='managementObjectsValue'] != '' and Data[@name='managementObjectsValue'] != '#UNKNOWN#']][Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] = '0']])"/>
  2061.           </Otherwise>
  2062.         </Exists>
  2063.       </Step>
  2064.       <Step select="/Report/Section[@name='SystemConfig']/Table[@name='TableNetwork']/Item/Item[Item[Data[@name='managementObjectsProperty']='Status' and Data[@name='managementObjectsValue'] != 'OK' and Data[@name='managementObjectsValue'] != 'Degraded' and Data[@name='managementObjectsValue'] != '' and Data[@name='managementObjectsValue'] != '#UNKNOWN#']][Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] = '0']]" fatal="true" sortType="all">
  2065.         <Exists>
  2066.           <When expression="{badcount} != 0">
  2067.             <Variable name="warnerror" expression="Item[Data[@name='managementObjectsProperty']='Status']/Data[@name='managementObjectsValue']"/>
  2068.             <Variable name="warndeviceid" expression="Item[Data[@name='managementObjectsProperty']='DeviceID']/Data[@name='managementObjectsValue']"/>
  2069.             <Variable name="warndescrip" expression="Item[Data[@name='managementObjectsProperty']='Description']/Data[@name='managementObjectsValue']"/>
  2070.             <Variable name="internalruleindex" expression="{internalruleindex} + 1"/>
  2071.             <Variable name="errorstatusnetwork_symptom">$(WarnStatusGeneric_symptom)</Variable>
  2072.             <Variable name="errorstatusnetwork_cause">$(WarnStatusGeneric_cause)</Variable>
  2073.             <Variable name="errorstatusnetwork_details">$(WarnStatusGeneric_details)</Variable>
  2074.             <Variable name="errorstatusnetwork_res1">$(WarnStatusGeneric_res1)</Variable>
  2075.             <Variable name="errorstatusnetwork_res2">$(WarnStatusGeneric_res2)</Variable>
  2076.             <Variable name="errorstatusnetwork_res3">$(WarnStatusGeneric_res3)</Variable>
  2077.             <Variable name="errorstatusnetwork_res4">$(WarnStatusGeneric_res4)</Variable>
  2078.             <Variable name="errorstatusnetwork_related1">$(WarnStatusGeneric_related1)</Variable>
  2079.             <Variable name="errorstatusnetwork_related2">$(WarnStatusGeneric_related2)</Variable>
  2080.             <Warning tag="errorstatusnetwork_{internalruleindex}" select="Item[Data[@name='managementObjectsProperty']='Status']/Data" table="/Report/Section[@name='advice']/Table[@name='error']">
  2081.               <Item>
  2082.                 <Data name="symptom" img="error" link="errorstatusnetwork_{internalruleindex}" message="errorstatusnetwork_{internalruleindex}">{errorstatusnetwork_symptom}</Data>
  2083.                 <Data name="cause" message="errorstatusnetwork_{internalruleindex}">{errorstatusnetwork_cause}</Data>
  2084.                 <Data name="details" message="errorstatusnetwork_{internalruleindex}">{errorstatusnetwork_details}</Data>
  2085.                 <Data name="resolution" message="errorstatusnetwork_{internalruleindex}">{errorstatusnetwork_res1}</Data>
  2086.                 <Data name="resolution" message="errorstatusnetwork_{internalruleindex}">{errorstatusnetwork_res2}</Data>
  2087.                 <Data name="resolution" message="errorstatusnetwork_{internalruleindex}">{errorstatusnetwork_res3}</Data>
  2088.                 <Data name="resolution" message="errorstatusnetwork_{internalruleindex}">{errorstatusnetwork_res4}</Data>
  2089.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70093" message="errorstatusnetwork_{internalruleindex}">{errorstatusnetwork_related1}</Data>
  2090.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70092" message="errorstatusnetwork_{internalruleindex}">{errorstatusnetwork_related2}</Data>
  2091.               </Item>
  2092.             </Warning>
  2093.             <Insert select="Item">
  2094.               <Attribute name="expand" value="true"/>
  2095.             </Insert>
  2096.             <Insert select="Item/Item">
  2097.               <Attribute name="expand" value="true"/>
  2098.             </Insert>
  2099.           </When>
  2100.         </Exists>
  2101.       </Step>
  2102.     </Rule>
  2103.     <Rule name="$(RuleSumStatusNetwork)" enabled="true">
  2104.       <Step select="/Report/Section[@name='SystemConfig']/Table[@name='TableNetwork']" fatal="true">
  2105.         <Variable name="total" expression="count(Item/Item)"/>
  2106.         <Variable name="rule">$(LOC_RuleSumStatusNetwork)</Variable>
  2107.         <Variable name="description">$(LOC_SummaryInfoNetwork)</Variable>
  2108.         <Exists>
  2109.           <Otherwise>
  2110.             <Insert select="/Report/Section[@name='advice']/Table[@name='alltests']/Item[last()]">
  2111.               <Node axis="child">
  2112.                 <Item>
  2113.                   <Data name="allchildtest">{rule}</Data>
  2114.                   <Data name="allchildtotal">{total}</Data>
  2115.                   <Data name="allchildfail">{badcount}</Data>
  2116.                   <Data name="allchilddesc">{description}</Data>
  2117.                 </Item>
  2118.               </Node>
  2119.             </Insert>
  2120.           </Otherwise>
  2121.         </Exists>
  2122.       </Step>
  2123.     </Rule>
  2124.     <Rule name="$(RuleConfigPort)">
  2125.       <Step select="/Report">
  2126.         <Exists>
  2127.           <Otherwise>
  2128.             <Variable name="total" expression="'0'"/>
  2129.             <Variable name="badcount" expression="'0'"/>
  2130.           </Otherwise>
  2131.         </Exists>
  2132.       </Step>
  2133.       <Step select="/Report/Section[@name='SystemConfig']/Table[@name='TablePort']/Item/Item/Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] != '0' and Data[@name='managementObjectsValue'] != '#UNKNOWN#']" fatal="true">
  2134.         <Exists>
  2135.           <Otherwise>
  2136.             <Variable name="badcount" expression="count(/Report/Section[@name='SystemConfig']/Table[@name='TablePort']/Item/Item/Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] != '0' and Data[@name='managementObjectsValue'] != '#UNKNOWN#'])"/>
  2137.           </Otherwise>
  2138.         </Exists>
  2139.       </Step>
  2140.       <Step select="/Report/Section[@name='SystemConfig']/Table[@name='TablePort']/Item/Item/Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] != '0' and Data[@name='managementObjectsValue'] != '#UNKNOWN#']" fatal="true" sortType="all">
  2141.         <Variable name="warnerror" expression="../Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode']/Data[@name='managementObjectsValue']"/>
  2142.         <Variable name="warndeviceid" expression="translate(../Item[Data[@name='managementObjectsProperty']='DeviceID']/Data[@name='managementObjectsValue']/child::text(),'&','-')"/>
  2143.         <Variable name="warndescrip" expression="../Item[Data[@name='managementObjectsProperty']='Description']/Data[@name='managementObjectsValue']"/>
  2144.         <Exists>
  2145.           <When expression="'{warnerror}' = 'tv_ConfigMgrErr10'">
  2146.             <Variable name="internalruleindex" expression="{internalruleindex} + 1"/>
  2147.             <Variable name="errorconfig10_symptom">$(WarnConfig10_symptom)</Variable>
  2148.             <Variable name="errorconfig10_cause">$(WarnConfig10_cause)</Variable>
  2149.             <Variable name="errorconfig10_details">$(WarnConfig10_details)</Variable>
  2150.             <Variable name="errorconfig10_res1">$(WarnConfig10_res1)</Variable>
  2151.             <Variable name="errorconfig10_res2">$(WarnConfig10_res2)</Variable>
  2152.             <Variable name="errorconfig10_res3">$(WarnConfig10_res3)</Variable>
  2153.             <Variable name="errorconfig10_res4">$(WarnConfig10_res4)</Variable>
  2154.             <Variable name="errorconfig10_related1">$(WarnConfig10_related1)</Variable>
  2155.             <Variable name="errorconfig10_related2">$(WarnConfig10_related2)</Variable>
  2156.             <Warning tag="errorconfig10_{internalruleindex}" select="Data" table="/Report/Section[@name='advice']/Table[@name='error']">
  2157.               <Item>
  2158.                 <Data name="symptom" img="error" link="errorconfig10_{internalruleindex}" message="errorconfig10_{internalruleindex}" translate="value">{errorconfig10_symptom}</Data>
  2159.                 <Data name="cause" message="errorconfig10_{internalruleindex}">{errorconfig10_cause}</Data>
  2160.                 <Data name="details" message="errorconfig10_{internalruleindex}">{errorconfig10_details}</Data>
  2161.                 <Data name="resolution" message="errorconfig10_{internalruleindex}">{errorconfig10_res1}</Data>
  2162.                 <Data name="resolution" message="errorconfig10_{internalruleindex}">{errorconfig10_res2}</Data>
  2163.                 <Data name="resolution" message="errorconfig10_{internalruleindex}">{errorconfig10_res3}</Data>
  2164.                 <Data name="resolution" message="errorconfig10_{internalruleindex}">{errorconfig10_res4}</Data>
  2165.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70093" message="errorconfig10_{internalruleindex}">{errorconfig10_related1}</Data>
  2166.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70092" message="errorconfig10_{internalruleindex}">{errorconfig10_related2}</Data>
  2167.               </Item>
  2168.             </Warning>
  2169.           </When>
  2170.           <When expression="'{warnerror}' = 'tv_ConfigMgrErr22'">
  2171.             <Variable name="internalruleindex" expression="{internalruleindex} + 1"/>
  2172.             <Variable name="errorconfig22_symptom">$(WarnConfig22_symptom)</Variable>
  2173.             <Variable name="errorconfig22_cause">$(WarnConfig22_cause)</Variable>
  2174.             <Variable name="errorconfig22_details">$(WarnConfig22_details)</Variable>
  2175.             <Variable name="errorconfig22_res1">$(WarnConfig22_res1)</Variable>
  2176.             <Variable name="errorconfig22_res2">$(WarnConfig22_res2)</Variable>
  2177.             <Variable name="errorconfig22_res3">$(WarnConfig22_res3)</Variable>
  2178.             <Variable name="errorconfig22_related1">$(WarnConfig22_related1)</Variable>
  2179.             <Variable name="errorconfig22_related2">$(WarnConfig22_related2)</Variable>
  2180.             <Warning tag="errorconfig22_{internalruleindex}" select="Data" table="/Report/Section[@name='advice']/Table[@name='error']">
  2181.               <Item>
  2182.                 <Data name="symptom" img="error" link="errorconfig22_{internalruleindex}" message="errorconfig22_{internalruleindex}" translate="value">{errorconfig22_symptom}</Data>
  2183.                 <Data name="cause" message="errorconfig22_{internalruleindex}">{errorconfig22_cause}</Data>
  2184.                 <Data name="details" message="errorconfig22_{internalruleindex}">{errorconfig22_details}</Data>
  2185.                 <Data name="resolution" message="errorconfig22_{internalruleindex}">{errorconfig22_res1}</Data>
  2186.                 <Data name="resolution" message="errorconfig22_{internalruleindex}">{errorconfig22_res2}</Data>
  2187.                 <Data name="resolution" message="errorconfig22_{internalruleindex}">{errorconfig22_res3}</Data>
  2188.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70093" message="errorconfig22_{internalruleindex}">{errorconfig22_related1}</Data>
  2189.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70092" message="errorconfig22_{internalruleindex}">{errorconfig22_related2}</Data>
  2190.               </Item>
  2191.             </Warning>
  2192.           </When>
  2193.           <When expression="'{warnerror}' = 'tv_ConfigMgrErr28'">
  2194.             <Variable name="internalruleindex" expression="{internalruleindex} + 1"/>
  2195.             <Variable name="errorconfig28_symptom">$(WarnConfig28_symptom)</Variable>
  2196.             <Variable name="errorconfig28_cause">$(WarnConfig28_cause)</Variable>
  2197.             <Variable name="errorconfig28_details">$(WarnConfig28_details)</Variable>
  2198.             <Variable name="errorconfig28_res1">$(WarnConfig28_res1)</Variable>
  2199.             <Variable name="errorconfig28_res2">$(WarnConfig28_res2)</Variable>
  2200.             <Variable name="errorconfig28_res3">$(WarnConfig28_res3)</Variable>
  2201.             <Variable name="errorconfig28_related1">$(WarnConfig28_related1)</Variable>
  2202.             <Warning tag="errorconfig28_{internalruleindex}" select="Data" table="/Report/Section[@name='advice']/Table[@name='error']">
  2203.               <Item>
  2204.                 <Data name="symptom" img="error" link="errorconfig28_{internalruleindex}" message="errorconfig28_{internalruleindex}" translate="value">{errorconfig28_symptom}</Data>
  2205.                 <Data name="cause" message="errorconfig28_{internalruleindex}">{errorconfig28_cause}</Data>
  2206.                 <Data name="details" message="errorconfig28_{internalruleindex}">{errorconfig28_details}</Data>
  2207.                 <Data name="resolution" message="errorconfig28_{internalruleindex}">{errorconfig28_res1}</Data>
  2208.                 <Data name="resolution" message="errorconfig28_{internalruleindex}">{errorconfig28_res2}</Data>
  2209.                 <Data name="resolution" message="errorconfig28_{internalruleindex}">{errorconfig28_res3}</Data>
  2210.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70093" message="errorconfig28_{internalruleindex}">{errorconfig28_related1}</Data>
  2211.               </Item>
  2212.             </Warning>
  2213.           </When>
  2214.           <Otherwise>
  2215.             <Variable name="internalruleindex" expression="{internalruleindex} + 1"/>
  2216.             <Variable name="errorconfigport_symptom">$(WarnConfigGeneric_symptom)</Variable>
  2217.             <Variable name="errorconfigport_cause">$(WarnConfigGeneric_cause)</Variable>
  2218.             <Variable name="errorconfigport_details">$(WarnConfigGeneric_details)</Variable>
  2219.             <Variable name="errorconfigport_res1">$(WarnConfigGeneric_res1)</Variable>
  2220.             <Variable name="errorconfigport_res2">$(WarnConfigGeneric_res2)</Variable>
  2221.             <Variable name="errorconfigport_res3">$(WarnConfigGeneric_res3)</Variable>
  2222.             <Variable name="errorconfigport_res4">$(WarnConfigGeneric_res4)</Variable>
  2223.             <Variable name="errorconfigport_related1">$(WarnConfigGeneric_related1)</Variable>
  2224.             <Variable name="errorconfigport_related2">$(WarnConfigGeneric_related2)</Variable>
  2225.             <Warning tag="errorconfigport_{internalruleindex}" select="Data" table="/Report/Section[@name='advice']/Table[@name='error']">
  2226.               <Item>
  2227.                 <Data name="symptom" img="error" link="errorconfigport_{internalruleindex}" message="errorconfigport_{internalruleindex}" translate="value">{errorconfigport_symptom}</Data>
  2228.                 <Data name="cause" message="errorconfigport_{internalruleindex}">{errorconfigport_cause}</Data>
  2229.                 <Data name="details" message="errorconfigport_{internalruleindex}">{errorconfigport_details}</Data>
  2230.                 <Data name="resolution" message="errorconfigport_{internalruleindex}">{errorconfigport_res1}</Data>
  2231.                 <Data name="resolution" message="errorconfigport_{internalruleindex}">{errorconfigport_res2}</Data>
  2232.                 <Data name="resolution" message="errorconfigport_{internalruleindex}">{errorconfigport_res3}</Data>
  2233.                 <Data name="resolution" message="errorconfigport_{internalruleindex}">{errorconfigport_res4}</Data>
  2234.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70093" message="errorconfigport_{internalruleindex}">{errorconfigport_related1}</Data>
  2235.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70092" message="errorconfigport_{internalruleindex}">{errorconfigport_related2}</Data>
  2236.               </Item>
  2237.             </Warning>
  2238.           </Otherwise>
  2239.         </Exists>
  2240.       </Step>
  2241.     </Rule>
  2242.     <Rule name="$(RuleSumConfigPort)" enabled="true">
  2243.       <Step select="/Report/Section[@name='SystemConfig']/Table[@name='TablePort']" fatal="true">
  2244.         <Variable name="total" expression="count(Item/Item)"/>
  2245.         <Variable name="rule">$(LOC_RuleSumConfigPort)</Variable>
  2246.         <Variable name="description">$(LOC_SummaryInfoPort)</Variable>
  2247.         <Exists>
  2248.           <Otherwise>
  2249.             <Insert select="/Report/Section[@name='advice']/Table[@name='alltests']/Item[last()]">
  2250.               <Node axis="child">
  2251.                 <Item>
  2252.                   <Data name="allchildtest">{rule}</Data>
  2253.                   <Data name="allchildtotal">{total}</Data>
  2254.                   <Data name="allchildfail">{badcount}</Data>
  2255.                   <Data name="allchilddesc">{description}</Data>
  2256.                 </Item>
  2257.               </Node>
  2258.             </Insert>
  2259.           </Otherwise>
  2260.         </Exists>
  2261.       </Step>
  2262.       <Step select="/Report/Section[@name='SystemConfig']/Table[@name='TablePort']/Item/Item/Item[Data[@name='managementObjectsProperty']='DeviceID']/Data[@name='managementObjectsValue']" sortType="all">
  2263.         <Exists>
  2264.           <Otherwise>
  2265.             <Variable name="descrippnp" expression="."/>
  2266.             <Delete select="/Report/Section[@name='SystemConfig']/Table[@name='PlugAndPlay Classes']/Item/Item[Item[Data[@name='managementObjectsProperty']='DeviceID' and Data[@name='managementObjectsValue']='{descrippnp}']]"/>
  2267.           </Otherwise>
  2268.         </Exists>
  2269.       </Step>
  2270.     </Rule>
  2271.     <Rule name="$(RuleStatusPort)">
  2272.       <Step select="/Report">
  2273.         <Exists>
  2274.           <Otherwise>
  2275.             <Variable name="total" expression="'0'"/>
  2276.             <Variable name="badcount" expression="'0'"/>
  2277.           </Otherwise>
  2278.         </Exists>
  2279.       </Step>
  2280.       <Step select="/Report/Section[@name='SystemConfig']/Table[@name='TablePort']/Item/Item[Item[Data[@name='managementObjectsProperty']='Status' and Data[@name='managementObjectsValue'] != 'OK' and Data[@name='managementObjectsValue'] != 'Degraded' and Data[@name='managementObjectsValue'] != '' and Data[@name='managementObjectsValue'] != '#UNKNOWN#']][Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] = '0']]" fatal="true">
  2281.         <Exists>
  2282.           <Otherwise>
  2283.             <Variable name="badcount" expression="count(/Report/Section[@name='SystemConfig']/Table[@name='TablePort']/Item/Item[Item[Data[@name='managementObjectsProperty']='Status' and Data[@name='managementObjectsValue'] != 'OK' and Data[@name='managementObjectsValue'] != 'Degraded' and Data[@name='managementObjectsValue'] != '' and Data[@name='managementObjectsValue'] != '#UNKNOWN#']][Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] = '0']])"/>
  2284.           </Otherwise>
  2285.         </Exists>
  2286.       </Step>
  2287.       <Step select="/Report/Section[@name='SystemConfig']/Table[@name='TablePort']/Item/Item[Item[Data[@name='managementObjectsProperty']='Status' and Data[@name='managementObjectsValue'] != 'OK' and Data[@name='managementObjectsValue'] != 'Degraded' and Data[@name='managementObjectsValue'] != '' and Data[@name='managementObjectsValue'] != '#UNKNOWN#']][Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] = '0']]" fatal="true" sortType="all">
  2288.         <Exists>
  2289.           <When expression="{badcount} != 0">
  2290.             <Variable name="warnerror" expression="Item[Data[@name='managementObjectsProperty']='Status']/Data[@name='managementObjectsValue']"/>
  2291.             <Variable name="warndeviceid" expression="Item[Data[@name='managementObjectsProperty']='DeviceID']/Data[@name='managementObjectsValue']"/>
  2292.             <Variable name="warndescrip" expression="Item[Data[@name='managementObjectsProperty']='Description']/Data[@name='managementObjectsValue']"/>
  2293.             <Variable name="internalruleindex" expression="{internalruleindex} + 1"/>
  2294.             <Variable name="errorstatusport_symptom">$(WarnStatusGeneric_symptom)</Variable>
  2295.             <Variable name="errorstatusport_cause">$(WarnStatusGeneric_cause)</Variable>
  2296.             <Variable name="errorstatusport_details">$(WarnStatusGeneric_details)</Variable>
  2297.             <Variable name="errorstatusport_res1">$(WarnStatusGeneric_res1)</Variable>
  2298.             <Variable name="errorstatusport_res2">$(WarnStatusGeneric_res2)</Variable>
  2299.             <Variable name="errorstatusport_res3">$(WarnStatusGeneric_res3)</Variable>
  2300.             <Variable name="errorstatusport_res4">$(WarnStatusGeneric_res4)</Variable>
  2301.             <Variable name="errorstatusport_related1">$(WarnStatusGeneric_related1)</Variable>
  2302.             <Variable name="errorstatusport_related2">$(WarnStatusGeneric_related2)</Variable>
  2303.             <Warning tag="errorstatusport_{internalruleindex}" select="Item[Data[@name='managementObjectsProperty']='Status']/Data" table="/Report/Section[@name='advice']/Table[@name='error']">
  2304.               <Item>
  2305.                 <Data name="symptom" img="error" link="errorstatusport_{internalruleindex}" message="errorstatusport_{internalruleindex}">{errorstatusport_symptom}</Data>
  2306.                 <Data name="cause" message="errorstatusport_{internalruleindex}">{errorstatusport_cause}</Data>
  2307.                 <Data name="details" message="errorstatusport_{internalruleindex}">{errorstatusport_details}</Data>
  2308.                 <Data name="resolution" message="errorstatusport_{internalruleindex}">{errorstatusport_res1}</Data>
  2309.                 <Data name="resolution" message="errorstatusport_{internalruleindex}">{errorstatusport_res2}</Data>
  2310.                 <Data name="resolution" message="errorstatusport_{internalruleindex}">{errorstatusport_res3}</Data>
  2311.                 <Data name="resolution" message="errorstatusport_{internalruleindex}">{errorstatusport_res4}</Data>
  2312.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70093" message="errorstatusport_{internalruleindex}">{errorstatusport_related1}</Data>
  2313.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70092" message="errorstatusport_{internalruleindex}">{errorstatusport_related2}</Data>
  2314.               </Item>
  2315.             </Warning>
  2316.             <Insert select="Item">
  2317.               <Attribute name="expand" value="true"/>
  2318.             </Insert>
  2319.             <Insert select="Item/Item">
  2320.               <Attribute name="expand" value="true"/>
  2321.             </Insert>
  2322.           </When>
  2323.         </Exists>
  2324.       </Step>
  2325.     </Rule>
  2326.     <Rule name="$(RuleSumStatusPort)" enabled="true">
  2327.       <Step select="/Report/Section[@name='SystemConfig']/Table[@name='TablePort']" fatal="true">
  2328.         <Variable name="total" expression="count(Item/Item)"/>
  2329.         <Variable name="rule">$(LOC_RuleSumStatusPort)</Variable>
  2330.         <Variable name="description">$(LOC_SummaryInfoPort)</Variable>
  2331.         <Exists>
  2332.           <Otherwise>
  2333.             <Insert select="/Report/Section[@name='advice']/Table[@name='alltests']/Item[last()]">
  2334.               <Node axis="child">
  2335.                 <Item>
  2336.                   <Data name="allchildtest">{rule}</Data>
  2337.                   <Data name="allchildtotal">{total}</Data>
  2338.                   <Data name="allchildfail">{badcount}</Data>
  2339.                   <Data name="allchilddesc">{description}</Data>
  2340.                 </Item>
  2341.               </Node>
  2342.             </Insert>
  2343.           </Otherwise>
  2344.         </Exists>
  2345.       </Step>
  2346.     </Rule>
  2347.     <Rule name="$(RuleConfigPower)">
  2348.       <Step select="/Report">
  2349.         <Exists>
  2350.           <Otherwise>
  2351.             <Variable name="total" expression="'0'"/>
  2352.             <Variable name="badcount" expression="'0'"/>
  2353.           </Otherwise>
  2354.         </Exists>
  2355.       </Step>
  2356.       <Step select="/Report/Section[@name='SystemConfig']/Table[@name='TablePower']/Item/Item/Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] != '0' and Data[@name='managementObjectsValue'] != '#UNKNOWN#']" fatal="true">
  2357.         <Exists>
  2358.           <Otherwise>
  2359.             <Variable name="badcount" expression="count(/Report/Section[@name='SystemConfig']/Table[@name='TablePower']/Item/Item/Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] != '0' and Data[@name='managementObjectsValue'] != '#UNKNOWN#'])"/>
  2360.           </Otherwise>
  2361.         </Exists>
  2362.       </Step>
  2363.       <Step select="/Report/Section[@name='SystemConfig']/Table[@name='TablePower']/Item/Item/Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] != '0' and Data[@name='managementObjectsValue'] != '#UNKNOWN#']" fatal="true" sortType="all">
  2364.         <Variable name="warnerror" expression="../Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode']/Data[@name='managementObjectsValue']"/>
  2365.         <Variable name="warndeviceid" expression="translate(../Item[Data[@name='managementObjectsProperty']='DeviceID']/Data[@name='managementObjectsValue']/child::text(),'&','-')"/>
  2366.         <Variable name="warndescrip" expression="../Item[Data[@name='managementObjectsProperty']='Description']/Data[@name='managementObjectsValue']"/>
  2367.         <Exists>
  2368.           <When expression="'{warnerror}' = 'tv_ConfigMgrErr10'">
  2369.             <Variable name="internalruleindex" expression="{internalruleindex} + 1"/>
  2370.             <Variable name="errorconfig10_symptom">$(WarnConfig10_symptom)</Variable>
  2371.             <Variable name="errorconfig10_cause">$(WarnConfig10_cause)</Variable>
  2372.             <Variable name="errorconfig10_details">$(WarnConfig10_details)</Variable>
  2373.             <Variable name="errorconfig10_res1">$(WarnConfig10_res1)</Variable>
  2374.             <Variable name="errorconfig10_res2">$(WarnConfig10_res2)</Variable>
  2375.             <Variable name="errorconfig10_res3">$(WarnConfig10_res3)</Variable>
  2376.             <Variable name="errorconfig10_res4">$(WarnConfig10_res4)</Variable>
  2377.             <Variable name="errorconfig10_related1">$(WarnConfig10_related1)</Variable>
  2378.             <Variable name="errorconfig10_related2">$(WarnConfig10_related2)</Variable>
  2379.             <Warning tag="errorconfig10_{internalruleindex}" select="Data" table="/Report/Section[@name='advice']/Table[@name='error']">
  2380.               <Item>
  2381.                 <Data name="symptom" img="error" link="errorconfig10_{internalruleindex}" message="errorconfig10_{internalruleindex}" translate="value">{errorconfig10_symptom}</Data>
  2382.                 <Data name="cause" message="errorconfig10_{internalruleindex}">{errorconfig10_cause}</Data>
  2383.                 <Data name="details" message="errorconfig10_{internalruleindex}">{errorconfig10_details}</Data>
  2384.                 <Data name="resolution" message="errorconfig10_{internalruleindex}">{errorconfig10_res1}</Data>
  2385.                 <Data name="resolution" message="errorconfig10_{internalruleindex}">{errorconfig10_res2}</Data>
  2386.                 <Data name="resolution" message="errorconfig10_{internalruleindex}">{errorconfig10_res3}</Data>
  2387.                 <Data name="resolution" message="errorconfig10_{internalruleindex}">{errorconfig10_res4}</Data>
  2388.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70093" message="errorconfig10_{internalruleindex}">{errorconfig10_related1}</Data>
  2389.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70092" message="errorconfig10_{internalruleindex}">{errorconfig10_related2}</Data>
  2390.               </Item>
  2391.             </Warning>
  2392.           </When>
  2393.           <When expression="'{warnerror}' = 'tv_ConfigMgrErr22'">
  2394.             <Variable name="internalruleindex" expression="{internalruleindex} + 1"/>
  2395.             <Variable name="errorconfig22_symptom">$(WarnConfig22_symptom)</Variable>
  2396.             <Variable name="errorconfig22_cause">$(WarnConfig22_cause)</Variable>
  2397.             <Variable name="errorconfig22_details">$(WarnConfig22_details)</Variable>
  2398.             <Variable name="errorconfig22_res1">$(WarnConfig22_res1)</Variable>
  2399.             <Variable name="errorconfig22_res2">$(WarnConfig22_res2)</Variable>
  2400.             <Variable name="errorconfig22_res3">$(WarnConfig22_res3)</Variable>
  2401.             <Variable name="errorconfig22_related1">$(WarnConfig22_related1)</Variable>
  2402.             <Variable name="errorconfig22_related2">$(WarnConfig22_related2)</Variable>
  2403.             <Warning tag="errorconfig22_{internalruleindex}" select="Data" table="/Report/Section[@name='advice']/Table[@name='error']">
  2404.               <Item>
  2405.                 <Data name="symptom" img="error" link="errorconfig22_{internalruleindex}" message="errorconfig22_{internalruleindex}" translate="value">{errorconfig22_symptom}</Data>
  2406.                 <Data name="cause" message="errorconfig22_{internalruleindex}">{errorconfig22_cause}</Data>
  2407.                 <Data name="details" message="errorconfig22_{internalruleindex}">{errorconfig22_details}</Data>
  2408.                 <Data name="resolution" message="errorconfig22_{internalruleindex}">{errorconfig22_res1}</Data>
  2409.                 <Data name="resolution" message="errorconfig22_{internalruleindex}">{errorconfig22_res2}</Data>
  2410.                 <Data name="resolution" message="errorconfig22_{internalruleindex}">{errorconfig22_res3}</Data>
  2411.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70093" message="errorconfig22_{internalruleindex}">{errorconfig22_related1}</Data>
  2412.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70092" message="errorconfig22_{internalruleindex}">{errorconfig22_related2}</Data>
  2413.               </Item>
  2414.             </Warning>
  2415.           </When>
  2416.           <When expression="'{warnerror}' = 'tv_ConfigMgrErr28'">
  2417.             <Variable name="internalruleindex" expression="{internalruleindex} + 1"/>
  2418.             <Variable name="errorconfig28_symptom">$(WarnConfig28_symptom)</Variable>
  2419.             <Variable name="errorconfig28_cause">$(WarnConfig28_cause)</Variable>
  2420.             <Variable name="errorconfig28_details">$(WarnConfig28_details)</Variable>
  2421.             <Variable name="errorconfig28_res1">$(WarnConfig28_res1)</Variable>
  2422.             <Variable name="errorconfig28_res2">$(WarnConfig28_res2)</Variable>
  2423.             <Variable name="errorconfig28_res3">$(WarnConfig28_res3)</Variable>
  2424.             <Variable name="errorconfig28_related1">$(WarnConfig28_related1)</Variable>
  2425.             <Warning tag="errorconfig28_{internalruleindex}" select="Data" table="/Report/Section[@name='advice']/Table[@name='error']">
  2426.               <Item>
  2427.                 <Data name="symptom" img="error" link="errorconfig28_{internalruleindex}" message="errorconfig28_{internalruleindex}" translate="value">{errorconfig28_symptom}</Data>
  2428.                 <Data name="cause" message="errorconfig28_{internalruleindex}">{errorconfig28_cause}</Data>
  2429.                 <Data name="details" message="errorconfig28_{internalruleindex}">{errorconfig28_details}</Data>
  2430.                 <Data name="resolution" message="errorconfig28_{internalruleindex}">{errorconfig28_res1}</Data>
  2431.                 <Data name="resolution" message="errorconfig28_{internalruleindex}">{errorconfig28_res2}</Data>
  2432.                 <Data name="resolution" message="errorconfig28_{internalruleindex}">{errorconfig28_res3}</Data>
  2433.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70093" message="errorconfig28_{internalruleindex}">{errorconfig28_related1}</Data>
  2434.               </Item>
  2435.             </Warning>
  2436.           </When>
  2437.           <Otherwise>
  2438.             <Variable name="internalruleindex" expression="{internalruleindex} + 1"/>
  2439.             <Variable name="errorconfigpower_symptom">$(WarnConfigGeneric_symptom)</Variable>
  2440.             <Variable name="errorconfigpower_cause">$(WarnConfigGeneric_cause)</Variable>
  2441.             <Variable name="errorconfigpower_details">$(WarnConfigGeneric_details)</Variable>
  2442.             <Variable name="errorconfigpower_res1">$(WarnConfigGeneric_res1)</Variable>
  2443.             <Variable name="errorconfigpower_res2">$(WarnConfigGeneric_res2)</Variable>
  2444.             <Variable name="errorconfigpower_res3">$(WarnConfigGeneric_res3)</Variable>
  2445.             <Variable name="errorconfigpower_res4">$(WarnConfigGeneric_res4)</Variable>
  2446.             <Variable name="errorconfigpower_related1">$(WarnConfigGeneric_related1)</Variable>
  2447.             <Variable name="errorconfigpower_related2">$(WarnConfigGeneric_related2)</Variable>
  2448.             <Warning tag="errorconfigpower_{internalruleindex}" select="Data" table="/Report/Section[@name='advice']/Table[@name='error']">
  2449.               <Item>
  2450.                 <Data name="symptom" img="error" link="errorconfigpower_{internalruleindex}" message="errorconfigpower_{internalruleindex}" translate="value">{errorconfigpower_symptom}</Data>
  2451.                 <Data name="cause" message="errorconfigpower_{internalruleindex}">{errorconfigpower_cause}</Data>
  2452.                 <Data name="details" message="errorconfigpower_{internalruleindex}">{errorconfigpower_details}</Data>
  2453.                 <Data name="resolution" message="errorconfigpower_{internalruleindex}">{errorconfigpower_res1}</Data>
  2454.                 <Data name="resolution" message="errorconfigpower_{internalruleindex}">{errorconfigpower_res2}</Data>
  2455.                 <Data name="resolution" message="errorconfigpower_{internalruleindex}">{errorconfigpower_res3}</Data>
  2456.                 <Data name="resolution" message="errorconfigpower_{internalruleindex}">{errorconfigpower_res4}</Data>
  2457.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70093" message="errorconfigpower_{internalruleindex}">{errorconfigpower_related1}</Data>
  2458.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70092" message="errorconfigpower_{internalruleindex}">{errorconfigpower_related2}</Data>
  2459.               </Item>
  2460.             </Warning>
  2461.           </Otherwise>
  2462.         </Exists>
  2463.       </Step>
  2464.     </Rule>
  2465.     <Rule name="$(RuleSumConfigPower)" enabled="true">
  2466.       <Step select="/Report/Section[@name='SystemConfig']/Table[@name='TablePower']" fatal="true">
  2467.         <Variable name="total" expression="count(Item/Item)"/>
  2468.         <Variable name="rule">$(LOC_RuleSumConfigPower)</Variable>
  2469.         <Variable name="description">$(LOC_SummaryInfoPower)</Variable>
  2470.         <Exists>
  2471.           <Otherwise>
  2472.             <Insert select="/Report/Section[@name='advice']/Table[@name='alltests']/Item[last()]">
  2473.               <Node axis="child">
  2474.                 <Item>
  2475.                   <Data name="allchildtest">{rule}</Data>
  2476.                   <Data name="allchildtotal">{total}</Data>
  2477.                   <Data name="allchildfail">{badcount}</Data>
  2478.                   <Data name="allchilddesc">{description}</Data>
  2479.                 </Item>
  2480.               </Node>
  2481.             </Insert>
  2482.           </Otherwise>
  2483.         </Exists>
  2484.       </Step>
  2485.       <Step select="/Report/Section[@name='SystemConfig']/Table[@name='TablePower']/Item/Item/Item[Data[@name='managementObjectsProperty']='DeviceID']/Data[@name='managementObjectsValue']" sortType="all">
  2486.         <Exists>
  2487.           <Otherwise>
  2488.             <Variable name="descrippnp" expression="."/>
  2489.             <Delete select="/Report/Section[@name='SystemConfig']/Table[@name='PlugAndPlay Classes']/Item/Item[Item[Data[@name='managementObjectsProperty']='DeviceID' and Data[@name='managementObjectsValue']='{descrippnp}']]"/>
  2490.           </Otherwise>
  2491.         </Exists>
  2492.       </Step>
  2493.     </Rule>
  2494.     <Rule name="$(RuleStatusPower)">
  2495.       <Step select="/Report">
  2496.         <Exists>
  2497.           <Otherwise>
  2498.             <Variable name="total" expression="'0'"/>
  2499.             <Variable name="badcount" expression="'0'"/>
  2500.           </Otherwise>
  2501.         </Exists>
  2502.       </Step>
  2503.       <Step select="/Report/Section[@name='SystemConfig']/Table[@name='TablePower']/Item/Item[Item[Data[@name='managementObjectsProperty']='Status' and Data[@name='managementObjectsValue'] != 'OK' and Data[@name='managementObjectsValue'] != 'Degraded' and Data[@name='managementObjectsValue'] != '' and Data[@name='managementObjectsValue'] != '#UNKNOWN#']][Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] = '0']]" fatal="true">
  2504.         <Exists>
  2505.           <Otherwise>
  2506.             <Variable name="badcount" expression="count(/Report/Section[@name='SystemConfig']/Table[@name='TablePower']/Item/Item[Item[Data[@name='managementObjectsProperty']='Status' and Data[@name='managementObjectsValue'] != 'OK' and Data[@name='managementObjectsValue'] != 'Degraded' and Data[@name='managementObjectsValue'] != '' and Data[@name='managementObjectsValue'] != '#UNKNOWN#']][Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] = '0']])"/>
  2507.           </Otherwise>
  2508.         </Exists>
  2509.       </Step>
  2510.       <Step select="/Report/Section[@name='SystemConfig']/Table[@name='TablePower']/Item/Item[Item[Data[@name='managementObjectsProperty']='Status' and Data[@name='managementObjectsValue'] != 'OK' and Data[@name='managementObjectsValue'] != 'Degraded' and Data[@name='managementObjectsValue'] != '' and Data[@name='managementObjectsValue'] != '#UNKNOWN#']][Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] = '0']]" fatal="true" sortType="all">
  2511.         <Exists>
  2512.           <When expression="{badcount} != 0">
  2513.             <Variable name="warnerror" expression="Item[Data[@name='managementObjectsProperty']='Status']/Data[@name='managementObjectsValue']"/>
  2514.             <Variable name="warndeviceid" expression="Item[Data[@name='managementObjectsProperty']='DeviceID']/Data[@name='managementObjectsValue']"/>
  2515.             <Variable name="warndescrip" expression="Item[Data[@name='managementObjectsProperty']='Description']/Data[@name='managementObjectsValue']"/>
  2516.             <Variable name="internalruleindex" expression="{internalruleindex} + 1"/>
  2517.             <Variable name="errorstatuspower_symptom">$(WarnStatusGeneric_symptom)</Variable>
  2518.             <Variable name="errorstatuspower_cause">$(WarnStatusGeneric_cause)</Variable>
  2519.             <Variable name="errorstatuspower_details">$(WarnStatusGeneric_details)</Variable>
  2520.             <Variable name="errorstatuspower_res1">$(WarnStatusGeneric_res1)</Variable>
  2521.             <Variable name="errorstatuspower_res2">$(WarnStatusGeneric_res2)</Variable>
  2522.             <Variable name="errorstatuspower_res3">$(WarnStatusGeneric_res3)</Variable>
  2523.             <Variable name="errorstatuspower_res4">$(WarnStatusGeneric_res4)</Variable>
  2524.             <Variable name="errorstatuspower_related1">$(WarnStatusGeneric_related1)</Variable>
  2525.             <Variable name="errorstatuspower_related2">$(WarnStatusGeneric_related2)</Variable>
  2526.             <Warning tag="errorstatuspower_{internalruleindex}" select="Item[Data[@name='managementObjectsProperty']='Status']/Data" table="/Report/Section[@name='advice']/Table[@name='error']">
  2527.               <Item>
  2528.                 <Data name="symptom" img="error" link="errorstatuspower_{internalruleindex}" message="errorstatuspower_{internalruleindex}">{errorstatuspower_symptom}</Data>
  2529.                 <Data name="cause" message="errorstatuspower_{internalruleindex}">{errorstatuspower_cause}</Data>
  2530.                 <Data name="details" message="errorstatuspower_{internalruleindex}">{errorstatuspower_details}</Data>
  2531.                 <Data name="resolution" message="errorstatuspower_{internalruleindex}">{errorstatuspower_res1}</Data>
  2532.                 <Data name="resolution" message="errorstatuspower_{internalruleindex}">{errorstatuspower_res2}</Data>
  2533.                 <Data name="resolution" message="errorstatuspower_{internalruleindex}">{errorstatuspower_res3}</Data>
  2534.                 <Data name="resolution" message="errorstatuspower_{internalruleindex}">{errorstatuspower_res4}</Data>
  2535.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70093" message="errorstatuspower_{internalruleindex}">{errorstatuspower_related1}</Data>
  2536.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70092" message="errorstatuspower_{internalruleindex}">{errorstatuspower_related2}</Data>
  2537.               </Item>
  2538.             </Warning>
  2539.             <Insert select="Item">
  2540.               <Attribute name="expand" value="true"/>
  2541.             </Insert>
  2542.             <Insert select="Item/Item">
  2543.               <Attribute name="expand" value="true"/>
  2544.             </Insert>
  2545.           </When>
  2546.         </Exists>
  2547.       </Step>
  2548.     </Rule>
  2549.     <Rule name="$(RuleSumStatusPower)" enabled="true">
  2550.       <Step select="/Report/Section[@name='SystemConfig']/Table[@name='TablePower']" fatal="true">
  2551.         <Variable name="total" expression="count(Item/Item)"/>
  2552.         <Variable name="rule">$(LOC_RuleSumStatusPower)</Variable>
  2553.         <Variable name="description">$(LOC_SummaryInfoPower)</Variable>
  2554.         <Exists>
  2555.           <Otherwise>
  2556.             <Insert select="/Report/Section[@name='advice']/Table[@name='alltests']/Item[last()]">
  2557.               <Node axis="child">
  2558.                 <Item>
  2559.                   <Data name="allchildtest">{rule}</Data>
  2560.                   <Data name="allchildtotal">{total}</Data>
  2561.                   <Data name="allchildfail">{badcount}</Data>
  2562.                   <Data name="allchilddesc">{description}</Data>
  2563.                 </Item>
  2564.               </Node>
  2565.             </Insert>
  2566.           </Otherwise>
  2567.         </Exists>
  2568.       </Step>
  2569.     </Rule>
  2570.     <Rule name="$(RuleConfigPrinting)">
  2571.       <Step select="/Report">
  2572.         <Exists>
  2573.           <Otherwise>
  2574.             <Variable name="total" expression="'0'"/>
  2575.             <Variable name="badcount" expression="'0'"/>
  2576.           </Otherwise>
  2577.         </Exists>
  2578.       </Step>
  2579.       <Step select="/Report/Section[@name='SystemConfig']/Table[@name='TablePrinting']/Item/Item/Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] != '0' and Data[@name='managementObjectsValue'] != '#UNKNOWN#']" fatal="true">
  2580.         <Exists>
  2581.           <Otherwise>
  2582.             <Variable name="badcount" expression="count(/Report/Section[@name='SystemConfig']/Table[@name='TablePrinting']/Item/Item/Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] != '0' and Data[@name='managementObjectsValue'] != '#UNKNOWN#'])"/>
  2583.           </Otherwise>
  2584.         </Exists>
  2585.       </Step>
  2586.       <Step select="/Report/Section[@name='SystemConfig']/Table[@name='TablePrinting']/Item/Item/Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] != '0' and Data[@name='managementObjectsValue'] != '#UNKNOWN#']" fatal="true" sortType="all">
  2587.         <Variable name="warnerror" expression="../Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode']/Data[@name='managementObjectsValue']"/>
  2588.         <Variable name="warndeviceid" expression="translate(../Item[Data[@name='managementObjectsProperty']='DeviceID']/Data[@name='managementObjectsValue']/child::text(),'&','-')"/>
  2589.         <Variable name="warndescrip" expression="../Item[Data[@name='managementObjectsProperty']='Description']/Data[@name='managementObjectsValue']"/>
  2590.         <Exists>
  2591.           <When expression="'{warnerror}' = 'tv_ConfigMgrErr10'">
  2592.             <Variable name="internalruleindex" expression="{internalruleindex} + 1"/>
  2593.             <Variable name="errorconfig10_symptom">$(WarnConfig10_symptom)</Variable>
  2594.             <Variable name="errorconfig10_cause">$(WarnConfig10_cause)</Variable>
  2595.             <Variable name="errorconfig10_details">$(WarnConfig10_details)</Variable>
  2596.             <Variable name="errorconfig10_res1">$(WarnConfig10_res1)</Variable>
  2597.             <Variable name="errorconfig10_res2">$(WarnConfig10_res2)</Variable>
  2598.             <Variable name="errorconfig10_res3">$(WarnConfig10_res3)</Variable>
  2599.             <Variable name="errorconfig10_res4">$(WarnConfig10_res4)</Variable>
  2600.             <Variable name="errorconfig10_related1">$(WarnConfig10_related1)</Variable>
  2601.             <Variable name="errorconfig10_related2">$(WarnConfig10_related2)</Variable>
  2602.             <Warning tag="errorconfig10_{internalruleindex}" select="Data" table="/Report/Section[@name='advice']/Table[@name='error']">
  2603.               <Item>
  2604.                 <Data name="symptom" img="error" link="errorconfig10_{internalruleindex}" message="errorconfig10_{internalruleindex}" translate="value">{errorconfig10_symptom}</Data>
  2605.                 <Data name="cause" message="errorconfig10_{internalruleindex}">{errorconfig10_cause}</Data>
  2606.                 <Data name="details" message="errorconfig10_{internalruleindex}">{errorconfig10_details}</Data>
  2607.                 <Data name="resolution" message="errorconfig10_{internalruleindex}">{errorconfig10_res1}</Data>
  2608.                 <Data name="resolution" message="errorconfig10_{internalruleindex}">{errorconfig10_res2}</Data>
  2609.                 <Data name="resolution" message="errorconfig10_{internalruleindex}">{errorconfig10_res3}</Data>
  2610.                 <Data name="resolution" message="errorconfig10_{internalruleindex}">{errorconfig10_res4}</Data>
  2611.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70093" message="errorconfig10_{internalruleindex}">{errorconfig10_related1}</Data>
  2612.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70092" message="errorconfig10_{internalruleindex}">{errorconfig10_related2}</Data>
  2613.               </Item>
  2614.             </Warning>
  2615.           </When>
  2616.           <When expression="'{warnerror}' = 'tv_ConfigMgrErr22'">
  2617.             <Variable name="internalruleindex" expression="{internalruleindex} + 1"/>
  2618.             <Variable name="errorconfig22_symptom">$(WarnConfig22_symptom)</Variable>
  2619.             <Variable name="errorconfig22_cause">$(WarnConfig22_cause)</Variable>
  2620.             <Variable name="errorconfig22_details">$(WarnConfig22_details)</Variable>
  2621.             <Variable name="errorconfig22_res1">$(WarnConfig22_res1)</Variable>
  2622.             <Variable name="errorconfig22_res2">$(WarnConfig22_res2)</Variable>
  2623.             <Variable name="errorconfig22_res3">$(WarnConfig22_res3)</Variable>
  2624.             <Variable name="errorconfig22_related1">$(WarnConfig22_related1)</Variable>
  2625.             <Variable name="errorconfig22_related2">$(WarnConfig22_related2)</Variable>
  2626.             <Warning tag="errorconfig22_{internalruleindex}" select="Data" table="/Report/Section[@name='advice']/Table[@name='error']">
  2627.               <Item>
  2628.                 <Data name="symptom" img="error" link="errorconfig22_{internalruleindex}" message="errorconfig22_{internalruleindex}" translate="value">{errorconfig22_symptom}</Data>
  2629.                 <Data name="cause" message="errorconfig22_{internalruleindex}">{errorconfig22_cause}</Data>
  2630.                 <Data name="details" message="errorconfig22_{internalruleindex}">{errorconfig22_details}</Data>
  2631.                 <Data name="resolution" message="errorconfig22_{internalruleindex}">{errorconfig22_res1}</Data>
  2632.                 <Data name="resolution" message="errorconfig22_{internalruleindex}">{errorconfig22_res2}</Data>
  2633.                 <Data name="resolution" message="errorconfig22_{internalruleindex}">{errorconfig22_res3}</Data>
  2634.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70093" message="errorconfig22_{internalruleindex}">{errorconfig22_related1}</Data>
  2635.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70092" message="errorconfig22_{internalruleindex}">{errorconfig22_related2}</Data>
  2636.               </Item>
  2637.             </Warning>
  2638.           </When>
  2639.           <When expression="'{warnerror}' = 'tv_ConfigMgrErr28'">
  2640.             <Variable name="internalruleindex" expression="{internalruleindex} + 1"/>
  2641.             <Variable name="errorconfig28_symptom">$(WarnConfig28_symptom)</Variable>
  2642.             <Variable name="errorconfig28_cause">$(WarnConfig28_cause)</Variable>
  2643.             <Variable name="errorconfig28_details">$(WarnConfig28_details)</Variable>
  2644.             <Variable name="errorconfig28_res1">$(WarnConfig28_res1)</Variable>
  2645.             <Variable name="errorconfig28_res2">$(WarnConfig28_res2)</Variable>
  2646.             <Variable name="errorconfig28_res3">$(WarnConfig28_res3)</Variable>
  2647.             <Variable name="errorconfig28_related1">$(WarnConfig28_related1)</Variable>
  2648.             <Warning tag="errorconfig28_{internalruleindex}" select="Data" table="/Report/Section[@name='advice']/Table[@name='error']">
  2649.               <Item>
  2650.                 <Data name="symptom" img="error" link="errorconfig28_{internalruleindex}" message="errorconfig28_{internalruleindex}" translate="value">{errorconfig28_symptom}</Data>
  2651.                 <Data name="cause" message="errorconfig28_{internalruleindex}">{errorconfig28_cause}</Data>
  2652.                 <Data name="details" message="errorconfig28_{internalruleindex}">{errorconfig28_details}</Data>
  2653.                 <Data name="resolution" message="errorconfig28_{internalruleindex}">{errorconfig28_res1}</Data>
  2654.                 <Data name="resolution" message="errorconfig28_{internalruleindex}">{errorconfig28_res2}</Data>
  2655.                 <Data name="resolution" message="errorconfig28_{internalruleindex}">{errorconfig28_res3}</Data>
  2656.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70093" message="errorconfig28_{internalruleindex}">{errorconfig28_related1}</Data>
  2657.               </Item>
  2658.             </Warning>
  2659.           </When>
  2660.           <Otherwise>
  2661.             <Variable name="internalruleindex" expression="{internalruleindex} + 1"/>
  2662.             <Variable name="errorconfigprinting_symptom">$(WarnConfigGeneric_symptom)</Variable>
  2663.             <Variable name="errorconfigprinting_cause">$(WarnConfigGeneric_cause)</Variable>
  2664.             <Variable name="errorconfigprinting_details">$(WarnConfigGeneric_details)</Variable>
  2665.             <Variable name="errorconfigprinting_res1">$(WarnConfigGeneric_res1)</Variable>
  2666.             <Variable name="errorconfigprinting_res2">$(WarnConfigGeneric_res2)</Variable>
  2667.             <Variable name="errorconfigprinting_res3">$(WarnConfigGeneric_res3)</Variable>
  2668.             <Variable name="errorconfigprinting_res4">$(WarnConfigGeneric_res4)</Variable>
  2669.             <Variable name="errorconfigprinting_related1">$(WarnConfigGeneric_related1)</Variable>
  2670.             <Variable name="errorconfigprinting_related2">$(WarnConfigGeneric_related2)</Variable>
  2671.             <Warning tag="errorconfigprinting_{internalruleindex}" select="Data" table="/Report/Section[@name='advice']/Table[@name='error']">
  2672.               <Item>
  2673.                 <Data name="symptom" img="error" link="errorconfigprinting_{internalruleindex}" message="errorconfigprinting_{internalruleindex}" translate="value">{errorconfigprinting_symptom}</Data>
  2674.                 <Data name="cause" message="errorconfigprinting_{internalruleindex}">{errorconfigprinting_cause}</Data>
  2675.                 <Data name="details" message="errorconfigprinting_{internalruleindex}">{errorconfigprinting_details}</Data>
  2676.                 <Data name="resolution" message="errorconfigprinting_{internalruleindex}">{errorconfigprinting_res1}</Data>
  2677.                 <Data name="resolution" message="errorconfigprinting_{internalruleindex}">{errorconfigprinting_res2}</Data>
  2678.                 <Data name="resolution" message="errorconfigprinting_{internalruleindex}">{errorconfigprinting_res3}</Data>
  2679.                 <Data name="resolution" message="errorconfigprinting_{internalruleindex}">{errorconfigprinting_res4}</Data>
  2680.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70093" message="errorconfigprinting_{internalruleindex}">{errorconfigprinting_related1}</Data>
  2681.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70092" message="errorconfigprinting_{internalruleindex}">{errorconfigprinting_related2}</Data>
  2682.               </Item>
  2683.             </Warning>
  2684.           </Otherwise>
  2685.         </Exists>
  2686.       </Step>
  2687.     </Rule>
  2688.     <Rule name="$(RuleSumConfigPrinting)" enabled="true">
  2689.       <Step select="/Report/Section[@name='SystemConfig']/Table[@name='TablePrinting']" fatal="true">
  2690.         <Variable name="total" expression="count(Item/Item)"/>
  2691.         <Variable name="rule">$(LOC_RuleSumConfigPrinting)</Variable>
  2692.         <Variable name="description">$(LOC_SummaryInfoPrinting)</Variable>
  2693.         <Exists>
  2694.           <Otherwise>
  2695.             <Insert select="/Report/Section[@name='advice']/Table[@name='alltests']/Item[last()]">
  2696.               <Node axis="child">
  2697.                 <Item>
  2698.                   <Data name="allchildtest">{rule}</Data>
  2699.                   <Data name="allchildtotal">{total}</Data>
  2700.                   <Data name="allchildfail">{badcount}</Data>
  2701.                   <Data name="allchilddesc">{description}</Data>
  2702.                 </Item>
  2703.               </Node>
  2704.             </Insert>
  2705.           </Otherwise>
  2706.         </Exists>
  2707.       </Step>
  2708.       <Step select="/Report/Section[@name='SystemConfig']/Table[@name='TablePrinting']/Item/Item/Item[Data[@name='managementObjectsProperty']='DeviceID']/Data[@name='managementObjectsValue']" sortType="all">
  2709.         <Exists>
  2710.           <Otherwise>
  2711.             <Variable name="descrippnp" expression="."/>
  2712.             <Delete select="/Report/Section[@name='SystemConfig']/Table[@name='PlugAndPlay Classes']/Item/Item[Item[Data[@name='managementObjectsProperty']='DeviceID' and Data[@name='managementObjectsValue']='{descrippnp}']]"/>
  2713.           </Otherwise>
  2714.         </Exists>
  2715.       </Step>
  2716.     </Rule>
  2717.     <Rule name="$(RuleStatusPrinting)">
  2718.       <Step select="/Report">
  2719.         <Exists>
  2720.           <Otherwise>
  2721.             <Variable name="total" expression="'0'"/>
  2722.             <Variable name="badcount" expression="'0'"/>
  2723.           </Otherwise>
  2724.         </Exists>
  2725.       </Step>
  2726.       <Step select="/Report/Section[@name='SystemConfig']/Table[@name='TablePrinting']/Item/Item[Item[Data[@name='managementObjectsProperty']='Status' and Data[@name='managementObjectsValue'] != 'OK' and Data[@name='managementObjectsValue'] != 'Degraded' and Data[@name='managementObjectsValue'] != '' and Data[@name='managementObjectsValue'] != '#UNKNOWN#']][Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] = '0']]" fatal="true">
  2727.         <Exists>
  2728.           <Otherwise>
  2729.             <Variable name="badcount" expression="count(/Report/Section[@name='SystemConfig']/Table[@name='TablePrinting']/Item/Item[Item[Data[@name='managementObjectsProperty']='Status' and Data[@name='managementObjectsValue'] != 'OK' and Data[@name='managementObjectsValue'] != 'Degraded' and Data[@name='managementObjectsValue'] != '' and Data[@name='managementObjectsValue'] != '#UNKNOWN#']][Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] = '0']])"/>
  2730.           </Otherwise>
  2731.         </Exists>
  2732.       </Step>
  2733.       <Step select="/Report/Section[@name='SystemConfig']/Table[@name='TablePrinting']/Item/Item[Item[Data[@name='managementObjectsProperty']='Status' and Data[@name='managementObjectsValue'] != 'OK' and Data[@name='managementObjectsValue'] != 'Degraded' and Data[@name='managementObjectsValue'] != '' and Data[@name='managementObjectsValue'] != '#UNKNOWN#']][Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] = '0']]" fatal="true" sortType="all">
  2734.         <Exists>
  2735.           <When expression="{badcount} != 0">
  2736.             <Variable name="warnerror" expression="Item[Data[@name='managementObjectsProperty']='Status']/Data[@name='managementObjectsValue']"/>
  2737.             <Variable name="warndeviceid" expression="Item[Data[@name='managementObjectsProperty']='DeviceID']/Data[@name='managementObjectsValue']"/>
  2738.             <Variable name="warndescrip" expression="Item[Data[@name='managementObjectsProperty']='Description']/Data[@name='managementObjectsValue']"/>
  2739.             <Variable name="internalruleindex" expression="{internalruleindex} + 1"/>
  2740.             <Variable name="errorstatusprinting_symptom">$(WarnStatusGeneric_symptom)</Variable>
  2741.             <Variable name="errorstatusprinting_cause">$(WarnStatusGeneric_cause)</Variable>
  2742.             <Variable name="errorstatusprinting_details">$(WarnStatusGeneric_details)</Variable>
  2743.             <Variable name="errorstatusprinting_res1">$(WarnStatusGeneric_res1)</Variable>
  2744.             <Variable name="errorstatusprinting_res2">$(WarnStatusGeneric_res2)</Variable>
  2745.             <Variable name="errorstatusprinting_res3">$(WarnStatusGeneric_res3)</Variable>
  2746.             <Variable name="errorstatusprinting_res4">$(WarnStatusGeneric_res4)</Variable>
  2747.             <Variable name="errorstatusprinting_related1">$(WarnStatusGeneric_related1)</Variable>
  2748.             <Variable name="errorstatusprinting_related2">$(WarnStatusGeneric_related2)</Variable>
  2749.             <Warning tag="errorstatusprinting_{internalruleindex}" select="Item[Data[@name='managementObjectsProperty']='Status']/Data" table="/Report/Section[@name='advice']/Table[@name='error']">
  2750.               <Item>
  2751.                 <Data name="symptom" img="error" link="errorstatusprinting_{internalruleindex}" message="errorstatusprinting_{internalruleindex}">{errorstatusprinting_symptom}</Data>
  2752.                 <Data name="cause" message="errorstatusprinting_{internalruleindex}">{errorstatusprinting_cause}</Data>
  2753.                 <Data name="details" message="errorstatusprinting_{internalruleindex}">{errorstatusprinting_details}</Data>
  2754.                 <Data name="resolution" message="errorstatusprinting_{internalruleindex}">{errorstatusprinting_res1}</Data>
  2755.                 <Data name="resolution" message="errorstatusprinting_{internalruleindex}">{errorstatusprinting_res2}</Data>
  2756.                 <Data name="resolution" message="errorstatusprinting_{internalruleindex}">{errorstatusprinting_res3}</Data>
  2757.                 <Data name="resolution" message="errorstatusprinting_{internalruleindex}">{errorstatusprinting_res4}</Data>
  2758.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70093" message="errorstatusprinting_{internalruleindex}">{errorstatusprinting_related1}</Data>
  2759.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70092" message="errorstatusprinting_{internalruleindex}">{errorstatusprinting_related2}</Data>
  2760.               </Item>
  2761.             </Warning>
  2762.             <Insert select="Item">
  2763.               <Attribute name="expand" value="true"/>
  2764.             </Insert>
  2765.             <Insert select="Item/Item">
  2766.               <Attribute name="expand" value="true"/>
  2767.             </Insert>
  2768.           </When>
  2769.         </Exists>
  2770.       </Step>
  2771.     </Rule>
  2772.     <Rule name="$(RuleSumStatusPrinting)" enabled="true">
  2773.       <Step select="/Report/Section[@name='SystemConfig']/Table[@name='TablePrinting']" fatal="true">
  2774.         <Variable name="total" expression="count(Item/Item)"/>
  2775.         <Variable name="rule">$(LOC_RuleSumStatusPrinting)</Variable>
  2776.         <Variable name="description">$(LOC_SummaryInfoPrinting)</Variable>
  2777.         <Exists>
  2778.           <Otherwise>
  2779.             <Insert select="/Report/Section[@name='advice']/Table[@name='alltests']/Item[last()]">
  2780.               <Node axis="child">
  2781.                 <Item>
  2782.                   <Data name="allchildtest">{rule}</Data>
  2783.                   <Data name="allchildtotal">{total}</Data>
  2784.                   <Data name="allchildfail">{badcount}</Data>
  2785.                   <Data name="allchilddesc">{description}</Data>
  2786.                 </Item>
  2787.               </Node>
  2788.             </Insert>
  2789.           </Otherwise>
  2790.         </Exists>
  2791.       </Step>
  2792.     </Rule>
  2793.     <Rule name="$(RuleConfigStorage)">
  2794.       <Step select="/Report">
  2795.         <Exists>
  2796.           <Otherwise>
  2797.             <Variable name="total" expression="'0'"/>
  2798.             <Variable name="badcount" expression="'0'"/>
  2799.           </Otherwise>
  2800.         </Exists>
  2801.       </Step>
  2802.       <Step select="/Report/Section[@name='SystemConfig']/Table[@name='TableStorage']/Item/Item/Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] != '0' and Data[@name='managementObjectsValue'] != '#UNKNOWN#']" fatal="true">
  2803.         <Exists>
  2804.           <Otherwise>
  2805.             <Variable name="badcount" expression="count(/Report/Section[@name='SystemConfig']/Table[@name='TableStorage']/Item/Item/Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] != '0' and Data[@name='managementObjectsValue'] != '#UNKNOWN#'])"/>
  2806.           </Otherwise>
  2807.         </Exists>
  2808.       </Step>
  2809.       <Step select="/Report/Section[@name='SystemConfig']/Table[@name='TableStorage']/Item/Item/Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] != '0' and Data[@name='managementObjectsValue'] != '#UNKNOWN#']" fatal="true" sortType="all">
  2810.         <Variable name="warnerror" expression="../Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode']/Data[@name='managementObjectsValue']"/>
  2811.         <Variable name="warndeviceid" expression="translate(../Item[Data[@name='managementObjectsProperty']='DeviceID']/Data[@name='managementObjectsValue']/child::text(),'&','-')"/>
  2812.         <Variable name="warndescrip" expression="../Item[Data[@name='managementObjectsProperty']='Description']/Data[@name='managementObjectsValue']"/>
  2813.         <Exists>
  2814.           <When expression="'{warnerror}' = 'tv_ConfigMgrErr10'">
  2815.             <Variable name="internalruleindex" expression="{internalruleindex} + 1"/>
  2816.             <Variable name="errorconfig10_symptom">$(WarnConfig10_symptom)</Variable>
  2817.             <Variable name="errorconfig10_cause">$(WarnConfig10_cause)</Variable>
  2818.             <Variable name="errorconfig10_details">$(WarnConfig10_details)</Variable>
  2819.             <Variable name="errorconfig10_res1">$(WarnConfig10_res1)</Variable>
  2820.             <Variable name="errorconfig10_res2">$(WarnConfig10_res2)</Variable>
  2821.             <Variable name="errorconfig10_res3">$(WarnConfig10_res3)</Variable>
  2822.             <Variable name="errorconfig10_res4">$(WarnConfig10_res4)</Variable>
  2823.             <Variable name="errorconfig10_related1">$(WarnConfig10_related1)</Variable>
  2824.             <Variable name="errorconfig10_related2">$(WarnConfig10_related2)</Variable>
  2825.             <Warning tag="errorconfig10_{internalruleindex}" select="Data" table="/Report/Section[@name='advice']/Table[@name='error']">
  2826.               <Item>
  2827.                 <Data name="symptom" img="error" link="errorconfig10_{internalruleindex}" message="errorconfig10_{internalruleindex}" translate="value">{errorconfig10_symptom}</Data>
  2828.                 <Data name="cause" message="errorconfig10_{internalruleindex}">{errorconfig10_cause}</Data>
  2829.                 <Data name="details" message="errorconfig10_{internalruleindex}">{errorconfig10_details}</Data>
  2830.                 <Data name="resolution" message="errorconfig10_{internalruleindex}">{errorconfig10_res1}</Data>
  2831.                 <Data name="resolution" message="errorconfig10_{internalruleindex}">{errorconfig10_res2}</Data>
  2832.                 <Data name="resolution" message="errorconfig10_{internalruleindex}">{errorconfig10_res3}</Data>
  2833.                 <Data name="resolution" message="errorconfig10_{internalruleindex}">{errorconfig10_res4}</Data>
  2834.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70093" message="errorconfig10_{internalruleindex}">{errorconfig10_related1}</Data>
  2835.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70092" message="errorconfig10_{internalruleindex}">{errorconfig10_related2}</Data>
  2836.               </Item>
  2837.             </Warning>
  2838.           </When>
  2839.           <When expression="'{warnerror}' = 'tv_ConfigMgrErr22'">
  2840.             <Variable name="internalruleindex" expression="{internalruleindex} + 1"/>
  2841.             <Variable name="errorconfig22_symptom">$(WarnConfig22_symptom)</Variable>
  2842.             <Variable name="errorconfig22_cause">$(WarnConfig22_cause)</Variable>
  2843.             <Variable name="errorconfig22_details">$(WarnConfig22_details)</Variable>
  2844.             <Variable name="errorconfig22_res1">$(WarnConfig22_res1)</Variable>
  2845.             <Variable name="errorconfig22_res2">$(WarnConfig22_res2)</Variable>
  2846.             <Variable name="errorconfig22_res3">$(WarnConfig22_res3)</Variable>
  2847.             <Variable name="errorconfig22_related1">$(WarnConfig22_related1)</Variable>
  2848.             <Variable name="errorconfig22_related2">$(WarnConfig22_related2)</Variable>
  2849.             <Warning tag="errorconfig22_{internalruleindex}" select="Data" table="/Report/Section[@name='advice']/Table[@name='error']">
  2850.               <Item>
  2851.                 <Data name="symptom" img="error" link="errorconfig22_{internalruleindex}" message="errorconfig22_{internalruleindex}" translate="value">{errorconfig22_symptom}</Data>
  2852.                 <Data name="cause" message="errorconfig22_{internalruleindex}">{errorconfig22_cause}</Data>
  2853.                 <Data name="details" message="errorconfig22_{internalruleindex}">{errorconfig22_details}</Data>
  2854.                 <Data name="resolution" message="errorconfig22_{internalruleindex}">{errorconfig22_res1}</Data>
  2855.                 <Data name="resolution" message="errorconfig22_{internalruleindex}">{errorconfig22_res2}</Data>
  2856.                 <Data name="resolution" message="errorconfig22_{internalruleindex}">{errorconfig22_res3}</Data>
  2857.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70093" message="errorconfig22_{internalruleindex}">{errorconfig22_related1}</Data>
  2858.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70092" message="errorconfig22_{internalruleindex}">{errorconfig22_related2}</Data>
  2859.               </Item>
  2860.             </Warning>
  2861.           </When>
  2862.           <When expression="'{warnerror}' = 'tv_ConfigMgrErr28'">
  2863.             <Variable name="internalruleindex" expression="{internalruleindex} + 1"/>
  2864.             <Variable name="errorconfig28_symptom">$(WarnConfig28_symptom)</Variable>
  2865.             <Variable name="errorconfig28_cause">$(WarnConfig28_cause)</Variable>
  2866.             <Variable name="errorconfig28_details">$(WarnConfig28_details)</Variable>
  2867.             <Variable name="errorconfig28_res1">$(WarnConfig28_res1)</Variable>
  2868.             <Variable name="errorconfig28_res2">$(WarnConfig28_res2)</Variable>
  2869.             <Variable name="errorconfig28_res3">$(WarnConfig28_res3)</Variable>
  2870.             <Variable name="errorconfig28_related1">$(WarnConfig28_related1)</Variable>
  2871.             <Warning tag="errorconfig28_{internalruleindex}" select="Data" table="/Report/Section[@name='advice']/Table[@name='error']">
  2872.               <Item>
  2873.                 <Data name="symptom" img="error" link="errorconfig28_{internalruleindex}" message="errorconfig28_{internalruleindex}" translate="value">{errorconfig28_symptom}</Data>
  2874.                 <Data name="cause" message="errorconfig28_{internalruleindex}">{errorconfig28_cause}</Data>
  2875.                 <Data name="details" message="errorconfig28_{internalruleindex}">{errorconfig28_details}</Data>
  2876.                 <Data name="resolution" message="errorconfig28_{internalruleindex}">{errorconfig28_res1}</Data>
  2877.                 <Data name="resolution" message="errorconfig28_{internalruleindex}">{errorconfig28_res2}</Data>
  2878.                 <Data name="resolution" message="errorconfig28_{internalruleindex}">{errorconfig28_res3}</Data>
  2879.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70093" message="errorconfig28_{internalruleindex}">{errorconfig28_related1}</Data>
  2880.               </Item>
  2881.             </Warning>
  2882.           </When>
  2883.           <Otherwise>
  2884.             <Variable name="internalruleindex" expression="{internalruleindex} + 1"/>
  2885.             <Variable name="errorconfigstorage_symptom">$(WarnConfigGeneric_symptom)</Variable>
  2886.             <Variable name="errorconfigstorage_cause">$(WarnConfigGeneric_cause)</Variable>
  2887.             <Variable name="errorconfigstorage_details">$(WarnConfigGeneric_details)</Variable>
  2888.             <Variable name="errorconfigstorage_res1">$(WarnConfigGeneric_res1)</Variable>
  2889.             <Variable name="errorconfigstorage_res2">$(WarnConfigGeneric_res2)</Variable>
  2890.             <Variable name="errorconfigstorage_res3">$(WarnConfigGeneric_res3)</Variable>
  2891.             <Variable name="errorconfigstorage_res4">$(WarnConfigGeneric_res4)</Variable>
  2892.             <Variable name="errorconfigstorage_related1">$(WarnConfigGeneric_related1)</Variable>
  2893.             <Variable name="errorconfigstorage_related2">$(WarnConfigGeneric_related2)</Variable>
  2894.             <Warning tag="errorconfigstorage_{internalruleindex}" select="Data" table="/Report/Section[@name='advice']/Table[@name='error']">
  2895.               <Item>
  2896.                 <Data name="symptom" img="error" link="errorconfigstorage_{internalruleindex}" message="errorconfigstorage_{internalruleindex}" translate="value">{errorconfigstorage_symptom}</Data>
  2897.                 <Data name="cause" message="errorconfigstorage_{internalruleindex}">{errorconfigstorage_cause}</Data>
  2898.                 <Data name="details" message="errorconfigstorage_{internalruleindex}">{errorconfigstorage_details}</Data>
  2899.                 <Data name="resolution" message="errorconfigstorage_{internalruleindex}">{errorconfigstorage_res1}</Data>
  2900.                 <Data name="resolution" message="errorconfigstorage_{internalruleindex}">{errorconfigstorage_res2}</Data>
  2901.                 <Data name="resolution" message="errorconfigstorage_{internalruleindex}">{errorconfigstorage_res3}</Data>
  2902.                 <Data name="resolution" message="errorconfigstorage_{internalruleindex}">{errorconfigstorage_res4}</Data>
  2903.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70093" message="errorconfigstorage_{internalruleindex}">{errorconfigstorage_related1}</Data>
  2904.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70092" message="errorconfigstorage_{internalruleindex}">{errorconfigstorage_related2}</Data>
  2905.               </Item>
  2906.             </Warning>
  2907.           </Otherwise>
  2908.         </Exists>
  2909.       </Step>
  2910.     </Rule>
  2911.     <Rule name="$(RuleSumConfigStorage)" enabled="true">
  2912.       <Step select="/Report/Section[@name='SystemConfig']/Table[@name='TableStorage']" fatal="true">
  2913.         <Variable name="total" expression="count(Item/Item)"/>
  2914.         <Variable name="rule">$(LOC_RuleSumConfigStorage)</Variable>
  2915.         <Variable name="description">$(LOC_SummaryInfoStorage)</Variable>
  2916.         <Exists>
  2917.           <Otherwise>
  2918.             <Insert select="/Report/Section[@name='advice']/Table[@name='alltests']/Item[last()]">
  2919.               <Node axis="child">
  2920.                 <Item>
  2921.                   <Data name="allchildtest">{rule}</Data>
  2922.                   <Data name="allchildtotal">{total}</Data>
  2923.                   <Data name="allchildfail">{badcount}</Data>
  2924.                   <Data name="allchilddesc">{description}</Data>
  2925.                 </Item>
  2926.               </Node>
  2927.             </Insert>
  2928.           </Otherwise>
  2929.         </Exists>
  2930.       </Step>
  2931.       <Step select="/Report/Section[@name='SystemConfig']/Table[@name='TableStorage']/Item/Item/Item[Data[@name='managementObjectsProperty']='DeviceID']/Data[@name='managementObjectsValue']" sortType="all">
  2932.         <Exists>
  2933.           <Otherwise>
  2934.             <Variable name="descrippnp" expression="."/>
  2935.             <Delete select="/Report/Section[@name='SystemConfig']/Table[@name='PlugAndPlay Classes']/Item/Item[Item[Data[@name='managementObjectsProperty']='DeviceID' and Data[@name='managementObjectsValue']='{descrippnp}']]"/>
  2936.           </Otherwise>
  2937.         </Exists>
  2938.       </Step>
  2939.     </Rule>
  2940.     <Rule name="$(RuleStatusStorage)">
  2941.       <Step select="/Report">
  2942.         <Exists>
  2943.           <Otherwise>
  2944.             <Variable name="total" expression="'0'"/>
  2945.             <Variable name="badcount" expression="'0'"/>
  2946.           </Otherwise>
  2947.         </Exists>
  2948.       </Step>
  2949.       <Step select="/Report/Section[@name='SystemConfig']/Table[@name='TableStorage']/Item/Item[Item[Data[@name='managementObjectsProperty']='Status' and Data[@name='managementObjectsValue'] != 'OK' and Data[@name='managementObjectsValue'] != 'Degraded' and Data[@name='managementObjectsValue'] != '' and Data[@name='managementObjectsValue'] != '#UNKNOWN#']][Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] = '0']]" fatal="true">
  2950.         <Exists>
  2951.           <Otherwise>
  2952.             <Variable name="badcount" expression="count(/Report/Section[@name='SystemConfig']/Table[@name='TableStorage']/Item/Item[Item[Data[@name='managementObjectsProperty']='Status' and Data[@name='managementObjectsValue'] != 'OK' and Data[@name='managementObjectsValue'] != 'Degraded' and Data[@name='managementObjectsValue'] != '' and Data[@name='managementObjectsValue'] != '#UNKNOWN#']][Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] = '0']])"/>
  2953.           </Otherwise>
  2954.         </Exists>
  2955.       </Step>
  2956.       <Step select="/Report/Section[@name='SystemConfig']/Table[@name='TableStorage']/Item/Item[Item[Data[@name='managementObjectsProperty']='Status' and Data[@name='managementObjectsValue'] != 'OK' and Data[@name='managementObjectsValue'] != 'Degraded' and Data[@name='managementObjectsValue'] != '' and Data[@name='managementObjectsValue'] != '#UNKNOWN#']][Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] = '0']]" fatal="true" sortType="all">
  2957.         <Exists>
  2958.           <When expression="{badcount} != 0">
  2959.             <Variable name="warnerror" expression="Item[Data[@name='managementObjectsProperty']='Status']/Data[@name='managementObjectsValue']"/>
  2960.             <Variable name="warndeviceid" expression="Item[Data[@name='managementObjectsProperty']='DeviceID']/Data[@name='managementObjectsValue']"/>
  2961.             <Variable name="warndescrip" expression="Item[Data[@name='managementObjectsProperty']='Description']/Data[@name='managementObjectsValue']"/>
  2962.             <Variable name="internalruleindex" expression="{internalruleindex} + 1"/>
  2963.             <Variable name="errorstatusstorage_symptom">$(WarnStatusGeneric_symptom)</Variable>
  2964.             <Variable name="errorstatusstorage_cause">$(WarnStatusGeneric_cause)</Variable>
  2965.             <Variable name="errorstatusstorage_details">$(WarnStatusGeneric_details)</Variable>
  2966.             <Variable name="errorstatusstorage_res1">$(WarnStatusGeneric_res1)</Variable>
  2967.             <Variable name="errorstatusstorage_res2">$(WarnStatusGeneric_res2)</Variable>
  2968.             <Variable name="errorstatusstorage_res3">$(WarnStatusGeneric_res3)</Variable>
  2969.             <Variable name="errorstatusstorage_res4">$(WarnStatusGeneric_res4)</Variable>
  2970.             <Variable name="errorstatusstorage_related1">$(WarnStatusGeneric_related1)</Variable>
  2971.             <Variable name="errorstatusstorage_related2">$(WarnStatusGeneric_related2)</Variable>
  2972.             <Warning tag="errorstatusstorage_{internalruleindex}" select="Item[Data[@name='managementObjectsProperty']='Status']/Data" table="/Report/Section[@name='advice']/Table[@name='error']">
  2973.               <Item>
  2974.                 <Data name="symptom" img="error" link="errorstatusstorage_{internalruleindex}" message="errorstatusstorage_{internalruleindex}">{errorstatusstorage_symptom}</Data>
  2975.                 <Data name="cause" message="errorstatusstorage_{internalruleindex}">{errorstatusstorage_cause}</Data>
  2976.                 <Data name="details" message="errorstatusstorage_{internalruleindex}">{errorstatusstorage_details}</Data>
  2977.                 <Data name="resolution" message="errorstatusstorage_{internalruleindex}">{errorstatusstorage_res1}</Data>
  2978.                 <Data name="resolution" message="errorstatusstorage_{internalruleindex}">{errorstatusstorage_res2}</Data>
  2979.                 <Data name="resolution" message="errorstatusstorage_{internalruleindex}">{errorstatusstorage_res3}</Data>
  2980.                 <Data name="resolution" message="errorstatusstorage_{internalruleindex}">{errorstatusstorage_res4}</Data>
  2981.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70093" message="errorstatusstorage_{internalruleindex}">{errorstatusstorage_related1}</Data>
  2982.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70092" message="errorstatusstorage_{internalruleindex}">{errorstatusstorage_related2}</Data>
  2983.               </Item>
  2984.             </Warning>
  2985.             <Insert select="Item">
  2986.               <Attribute name="expand" value="true"/>
  2987.             </Insert>
  2988.             <Insert select="Item/Item">
  2989.               <Attribute name="expand" value="true"/>
  2990.             </Insert>
  2991.           </When>
  2992.         </Exists>
  2993.       </Step>
  2994.     </Rule>
  2995.     <Rule name="$(RuleSumStatusStorage)" enabled="true">
  2996.       <Step select="/Report/Section[@name='SystemConfig']/Table[@name='TableStorage']" fatal="true">
  2997.         <Variable name="total" expression="count(Item/Item)"/>
  2998.         <Variable name="rule">$(LOC_RuleSumStatusStorage)</Variable>
  2999.         <Variable name="description">$(LOC_SummaryInfoStorage)</Variable>
  3000.         <Exists>
  3001.           <Otherwise>
  3002.             <Insert select="/Report/Section[@name='advice']/Table[@name='alltests']/Item[last()]">
  3003.               <Node axis="child">
  3004.                 <Item>
  3005.                   <Data name="allchildtest">{rule}</Data>
  3006.                   <Data name="allchildtotal">{total}</Data>
  3007.                   <Data name="allchildfail">{badcount}</Data>
  3008.                   <Data name="allchilddesc">{description}</Data>
  3009.                 </Item>
  3010.               </Node>
  3011.             </Insert>
  3012.           </Otherwise>
  3013.         </Exists>
  3014.       </Step>
  3015.     </Rule>
  3016.     <Rule name="$(RuleConfigVideo)">
  3017.       <Step select="/Report">
  3018.         <Exists>
  3019.           <Otherwise>
  3020.             <Variable name="total" expression="'0'"/>
  3021.             <Variable name="badcount" expression="'0'"/>
  3022.           </Otherwise>
  3023.         </Exists>
  3024.       </Step>
  3025.       <Step select="/Report/Section[@name='SystemConfig']/Table[@name='TableVideo']/Item/Item/Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] != '0' and Data[@name='managementObjectsValue'] != '#UNKNOWN#']" fatal="true">
  3026.         <Exists>
  3027.           <Otherwise>
  3028.             <Variable name="badcount" expression="count(/Report/Section[@name='SystemConfig']/Table[@name='TableVideo']/Item/Item/Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] != '0' and Data[@name='managementObjectsValue'] != '#UNKNOWN#'])"/>
  3029.           </Otherwise>
  3030.         </Exists>
  3031.       </Step>
  3032.       <Step select="/Report/Section[@name='SystemConfig']/Table[@name='TableVideo']/Item/Item/Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] != '0' and Data[@name='managementObjectsValue'] != '#UNKNOWN#']" fatal="true" sortType="all">
  3033.         <Variable name="warnerror" expression="../Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode']/Data[@name='managementObjectsValue']"/>
  3034.         <Variable name="warndeviceid" expression="translate(../Item[Data[@name='managementObjectsProperty']='DeviceID']/Data[@name='managementObjectsValue']/child::text(),'&','-')"/>
  3035.         <Variable name="warndescrip" expression="../Item[Data[@name='managementObjectsProperty']='Description']/Data[@name='managementObjectsValue']"/>
  3036.         <Exists>
  3037.           <When expression="'{warnerror}' = 'tv_ConfigMgrErr10'">
  3038.             <Variable name="internalruleindex" expression="{internalruleindex} + 1"/>
  3039.             <Variable name="errorconfig10_symptom">$(WarnConfig10_symptom)</Variable>
  3040.             <Variable name="errorconfig10_cause">$(WarnConfig10_cause)</Variable>
  3041.             <Variable name="errorconfig10_details">$(WarnConfig10_details)</Variable>
  3042.             <Variable name="errorconfig10_res1">$(WarnConfig10_res1)</Variable>
  3043.             <Variable name="errorconfig10_res2">$(WarnConfig10_res2)</Variable>
  3044.             <Variable name="errorconfig10_res3">$(WarnConfig10_res3)</Variable>
  3045.             <Variable name="errorconfig10_res4">$(WarnConfig10_res4)</Variable>
  3046.             <Variable name="errorconfig10_related1">$(WarnConfig10_related1)</Variable>
  3047.             <Variable name="errorconfig10_related2">$(WarnConfig10_related2)</Variable>
  3048.             <Warning tag="errorconfig10_{internalruleindex}" select="Data" table="/Report/Section[@name='advice']/Table[@name='error']">
  3049.               <Item>
  3050.                 <Data name="symptom" img="error" link="errorconfig10_{internalruleindex}" message="errorconfig10_{internalruleindex}" translate="value">{errorconfig10_symptom}</Data>
  3051.                 <Data name="cause" message="errorconfig10_{internalruleindex}">{errorconfig10_cause}</Data>
  3052.                 <Data name="details" message="errorconfig10_{internalruleindex}">{errorconfig10_details}</Data>
  3053.                 <Data name="resolution" message="errorconfig10_{internalruleindex}">{errorconfig10_res1}</Data>
  3054.                 <Data name="resolution" message="errorconfig10_{internalruleindex}">{errorconfig10_res2}</Data>
  3055.                 <Data name="resolution" message="errorconfig10_{internalruleindex}">{errorconfig10_res3}</Data>
  3056.                 <Data name="resolution" message="errorconfig10_{internalruleindex}">{errorconfig10_res4}</Data>
  3057.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70093" message="errorconfig10_{internalruleindex}">{errorconfig10_related1}</Data>
  3058.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70092" message="errorconfig10_{internalruleindex}">{errorconfig10_related2}</Data>
  3059.               </Item>
  3060.             </Warning>
  3061.           </When>
  3062.           <When expression="'{warnerror}' = 'tv_ConfigMgrErr22'">
  3063.             <Variable name="internalruleindex" expression="{internalruleindex} + 1"/>
  3064.             <Variable name="errorconfig22_symptom">$(WarnConfig22_symptom)</Variable>
  3065.             <Variable name="errorconfig22_cause">$(WarnConfig22_cause)</Variable>
  3066.             <Variable name="errorconfig22_details">$(WarnConfig22_details)</Variable>
  3067.             <Variable name="errorconfig22_res1">$(WarnConfig22_res1)</Variable>
  3068.             <Variable name="errorconfig22_res2">$(WarnConfig22_res2)</Variable>
  3069.             <Variable name="errorconfig22_res3">$(WarnConfig22_res3)</Variable>
  3070.             <Variable name="errorconfig22_related1">$(WarnConfig22_related1)</Variable>
  3071.             <Variable name="errorconfig22_related2">$(WarnConfig22_related2)</Variable>
  3072.             <Warning tag="errorconfig22_{internalruleindex}" select="Data" table="/Report/Section[@name='advice']/Table[@name='error']">
  3073.               <Item>
  3074.                 <Data name="symptom" img="error" link="errorconfig22_{internalruleindex}" message="errorconfig22_{internalruleindex}" translate="value">{errorconfig22_symptom}</Data>
  3075.                 <Data name="cause" message="errorconfig22_{internalruleindex}">{errorconfig22_cause}</Data>
  3076.                 <Data name="details" message="errorconfig22_{internalruleindex}">{errorconfig22_details}</Data>
  3077.                 <Data name="resolution" message="errorconfig22_{internalruleindex}">{errorconfig22_res1}</Data>
  3078.                 <Data name="resolution" message="errorconfig22_{internalruleindex}">{errorconfig22_res2}</Data>
  3079.                 <Data name="resolution" message="errorconfig22_{internalruleindex}">{errorconfig22_res3}</Data>
  3080.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70093" message="errorconfig22_{internalruleindex}">{errorconfig22_related1}</Data>
  3081.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70092" message="errorconfig22_{internalruleindex}">{errorconfig22_related2}</Data>
  3082.               </Item>
  3083.             </Warning>
  3084.           </When>
  3085.           <When expression="'{warnerror}' = 'tv_ConfigMgrErr28'">
  3086.             <Variable name="internalruleindex" expression="{internalruleindex} + 1"/>
  3087.             <Variable name="errorconfig28_symptom">$(WarnConfig28_symptom)</Variable>
  3088.             <Variable name="errorconfig28_cause">$(WarnConfig28_cause)</Variable>
  3089.             <Variable name="errorconfig28_details">$(WarnConfig28_details)</Variable>
  3090.             <Variable name="errorconfig28_res1">$(WarnConfig28_res1)</Variable>
  3091.             <Variable name="errorconfig28_res2">$(WarnConfig28_res2)</Variable>
  3092.             <Variable name="errorconfig28_res3">$(WarnConfig28_res3)</Variable>
  3093.             <Variable name="errorconfig28_related1">$(WarnConfig28_related1)</Variable>
  3094.             <Warning tag="errorconfig28_{internalruleindex}" select="Data" table="/Report/Section[@name='advice']/Table[@name='error']">
  3095.               <Item>
  3096.                 <Data name="symptom" img="error" link="errorconfig28_{internalruleindex}" message="errorconfig28_{internalruleindex}" translate="value">{errorconfig28_symptom}</Data>
  3097.                 <Data name="cause" message="errorconfig28_{internalruleindex}">{errorconfig28_cause}</Data>
  3098.                 <Data name="details" message="errorconfig28_{internalruleindex}">{errorconfig28_details}</Data>
  3099.                 <Data name="resolution" message="errorconfig28_{internalruleindex}">{errorconfig28_res1}</Data>
  3100.                 <Data name="resolution" message="errorconfig28_{internalruleindex}">{errorconfig28_res2}</Data>
  3101.                 <Data name="resolution" message="errorconfig28_{internalruleindex}">{errorconfig28_res3}</Data>
  3102.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70093" message="errorconfig28_{internalruleindex}">{errorconfig28_related1}</Data>
  3103.               </Item>
  3104.             </Warning>
  3105.           </When>
  3106.           <Otherwise>
  3107.             <Variable name="internalruleindex" expression="{internalruleindex} + 1"/>
  3108.             <Variable name="errorconfigvideo_symptom">$(WarnConfigGeneric_symptom)</Variable>
  3109.             <Variable name="errorconfigvideo_cause">$(WarnConfigGeneric_cause)</Variable>
  3110.             <Variable name="errorconfigvideo_details">$(WarnConfigGeneric_details)</Variable>
  3111.             <Variable name="errorconfigvideo_res1">$(WarnConfigGeneric_res1)</Variable>
  3112.             <Variable name="errorconfigvideo_res2">$(WarnConfigGeneric_res2)</Variable>
  3113.             <Variable name="errorconfigvideo_res3">$(WarnConfigGeneric_res3)</Variable>
  3114.             <Variable name="errorconfigvideo_res4">$(WarnConfigGeneric_res4)</Variable>
  3115.             <Variable name="errorconfigvideo_related1">$(WarnConfigGeneric_related1)</Variable>
  3116.             <Variable name="errorconfigvideo_related2">$(WarnConfigGeneric_related2)</Variable>
  3117.             <Warning tag="errorconfigvideo_{internalruleindex}" select="Data" table="/Report/Section[@name='advice']/Table[@name='error']">
  3118.               <Item>
  3119.                 <Data name="symptom" img="error" link="errorconfigvideo_{internalruleindex}" message="errorconfigvideo_{internalruleindex}" translate="value">{errorconfigvideo_symptom}</Data>
  3120.                 <Data name="cause" message="errorconfigvideo_{internalruleindex}">{errorconfigvideo_cause}</Data>
  3121.                 <Data name="details" message="errorconfigvideo_{internalruleindex}">{errorconfigvideo_details}</Data>
  3122.                 <Data name="resolution" message="errorconfigvideo_{internalruleindex}">{errorconfigvideo_res1}</Data>
  3123.                 <Data name="resolution" message="errorconfigvideo_{internalruleindex}">{errorconfigvideo_res2}</Data>
  3124.                 <Data name="resolution" message="errorconfigvideo_{internalruleindex}">{errorconfigvideo_res3}</Data>
  3125.                 <Data name="resolution" message="errorconfigvideo_{internalruleindex}">{errorconfigvideo_res4}</Data>
  3126.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70093" message="errorconfigvideo_{internalruleindex}">{errorconfigvideo_related1}</Data>
  3127.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70092" message="errorconfigvideo_{internalruleindex}">{errorconfigvideo_related2}</Data>
  3128.               </Item>
  3129.             </Warning>
  3130.           </Otherwise>
  3131.         </Exists>
  3132.       </Step>
  3133.     </Rule>
  3134.     <Rule name="$(RuleSumConfigVideo)" enabled="true">
  3135.       <Step select="/Report/Section[@name='SystemConfig']/Table[@name='TableVideo']" fatal="true">
  3136.         <Variable name="total" expression="count(Item/Item)"/>
  3137.         <Variable name="rule">$(LOC_RuleSumConfigVideo)</Variable>
  3138.         <Variable name="description">$(LOC_SummaryInfoVideo)</Variable>
  3139.         <Exists>
  3140.           <Otherwise>
  3141.             <Insert select="/Report/Section[@name='advice']/Table[@name='alltests']/Item[last()]">
  3142.               <Node axis="child">
  3143.                 <Item>
  3144.                   <Data name="allchildtest">{rule}</Data>
  3145.                   <Data name="allchildtotal">{total}</Data>
  3146.                   <Data name="allchildfail">{badcount}</Data>
  3147.                   <Data name="allchilddesc">{description}</Data>
  3148.                 </Item>
  3149.               </Node>
  3150.             </Insert>
  3151.           </Otherwise>
  3152.         </Exists>
  3153.       </Step>
  3154.       <Step select="/Report/Section[@name='SystemConfig']/Table[@name='TableVideo']/Item/Item/Item[Data[@name='managementObjectsProperty']='DeviceID']/Data[@name='managementObjectsValue']" sortType="all">
  3155.         <Exists>
  3156.           <Otherwise>
  3157.             <Variable name="descrippnp" expression="."/>
  3158.             <Delete select="/Report/Section[@name='SystemConfig']/Table[@name='PlugAndPlay Classes']/Item/Item[Item[Data[@name='managementObjectsProperty']='DeviceID' and Data[@name='managementObjectsValue']='{descrippnp}']]"/>
  3159.           </Otherwise>
  3160.         </Exists>
  3161.       </Step>
  3162.     </Rule>
  3163.     <Rule name="$(RuleStatusVideo)">
  3164.       <Step select="/Report">
  3165.         <Exists>
  3166.           <Otherwise>
  3167.             <Variable name="total" expression="'0'"/>
  3168.             <Variable name="badcount" expression="'0'"/>
  3169.           </Otherwise>
  3170.         </Exists>
  3171.       </Step>
  3172.       <Step select="/Report/Section[@name='SystemConfig']/Table[@name='TableVideo']/Item/Item[Item[Data[@name='managementObjectsProperty']='Status' and Data[@name='managementObjectsValue'] != 'OK' and Data[@name='managementObjectsValue'] != 'Degraded' and Data[@name='managementObjectsValue'] != '' and Data[@name='managementObjectsValue'] != '#UNKNOWN#']][Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] = '0']]" fatal="true">
  3173.         <Exists>
  3174.           <Otherwise>
  3175.             <Variable name="badcount" expression="count(/Report/Section[@name='SystemConfig']/Table[@name='TableVideo']/Item/Item[Item[Data[@name='managementObjectsProperty']='Status' and Data[@name='managementObjectsValue'] != 'OK' and Data[@name='managementObjectsValue'] != 'Degraded' and Data[@name='managementObjectsValue'] != '' and Data[@name='managementObjectsValue'] != '#UNKNOWN#']][Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] = '0']])"/>
  3176.           </Otherwise>
  3177.         </Exists>
  3178.       </Step>
  3179.       <Step select="/Report/Section[@name='SystemConfig']/Table[@name='TableVideo']/Item/Item[Item[Data[@name='managementObjectsProperty']='Status' and Data[@name='managementObjectsValue'] != 'OK' and Data[@name='managementObjectsValue'] != 'Degraded' and Data[@name='managementObjectsValue'] != '' and Data[@name='managementObjectsValue'] != '#UNKNOWN#']][Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] = '0']]" fatal="true" sortType="all">
  3180.         <Exists>
  3181.           <When expression="{badcount} != 0">
  3182.             <Variable name="warnerror" expression="Item[Data[@name='managementObjectsProperty']='Status']/Data[@name='managementObjectsValue']"/>
  3183.             <Variable name="warndeviceid" expression="Item[Data[@name='managementObjectsProperty']='DeviceID']/Data[@name='managementObjectsValue']"/>
  3184.             <Variable name="warndescrip" expression="Item[Data[@name='managementObjectsProperty']='Description']/Data[@name='managementObjectsValue']"/>
  3185.             <Variable name="internalruleindex" expression="{internalruleindex} + 1"/>
  3186.             <Variable name="errorstatusvideo_symptom">$(WarnStatusGeneric_symptom)</Variable>
  3187.             <Variable name="errorstatusvideo_cause">$(WarnStatusGeneric_cause)</Variable>
  3188.             <Variable name="errorstatusvideo_details">$(WarnStatusGeneric_details)</Variable>
  3189.             <Variable name="errorstatusvideo_res1">$(WarnStatusGeneric_res1)</Variable>
  3190.             <Variable name="errorstatusvideo_res2">$(WarnStatusGeneric_res2)</Variable>
  3191.             <Variable name="errorstatusvideo_res3">$(WarnStatusGeneric_res3)</Variable>
  3192.             <Variable name="errorstatusvideo_res4">$(WarnStatusGeneric_res4)</Variable>
  3193.             <Variable name="errorstatusvideo_related1">$(WarnStatusGeneric_related1)</Variable>
  3194.             <Variable name="errorstatusvideo_related2">$(WarnStatusGeneric_related2)</Variable>
  3195.             <Warning tag="errorstatusvideo_{internalruleindex}" select="Item[Data[@name='managementObjectsProperty']='Status']/Data" table="/Report/Section[@name='advice']/Table[@name='error']">
  3196.               <Item>
  3197.                 <Data name="symptom" img="error" link="errorstatusvideo_{internalruleindex}" message="errorstatusvideo_{internalruleindex}">{errorstatusvideo_symptom}</Data>
  3198.                 <Data name="cause" message="errorstatusvideo_{internalruleindex}">{errorstatusvideo_cause}</Data>
  3199.                 <Data name="details" message="errorstatusvideo_{internalruleindex}">{errorstatusvideo_details}</Data>
  3200.                 <Data name="resolution" message="errorstatusvideo_{internalruleindex}">{errorstatusvideo_res1}</Data>
  3201.                 <Data name="resolution" message="errorstatusvideo_{internalruleindex}">{errorstatusvideo_res2}</Data>
  3202.                 <Data name="resolution" message="errorstatusvideo_{internalruleindex}">{errorstatusvideo_res3}</Data>
  3203.                 <Data name="resolution" message="errorstatusvideo_{internalruleindex}">{errorstatusvideo_res4}</Data>
  3204.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70093" message="errorstatusvideo_{internalruleindex}">{errorstatusvideo_related1}</Data>
  3205.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70092" message="errorstatusvideo_{internalruleindex}">{errorstatusvideo_related2}</Data>
  3206.               </Item>
  3207.             </Warning>
  3208.             <Insert select="Item">
  3209.               <Attribute name="expand" value="true"/>
  3210.             </Insert>
  3211.             <Insert select="Item/Item">
  3212.               <Attribute name="expand" value="true"/>
  3213.             </Insert>
  3214.           </When>
  3215.         </Exists>
  3216.       </Step>
  3217.     </Rule>
  3218.     <Rule name="$(RuleSumStatusVideo)" enabled="true">
  3219.       <Step select="/Report/Section[@name='SystemConfig']/Table[@name='TableVideo']" fatal="true">
  3220.         <Variable name="total" expression="count(Item/Item)"/>
  3221.         <Variable name="rule">$(LOC_RuleSumStatusVideo)</Variable>
  3222.         <Variable name="description">$(LOC_SummaryInfoVideo)</Variable>
  3223.         <Exists>
  3224.           <Otherwise>
  3225.             <Insert select="/Report/Section[@name='advice']/Table[@name='alltests']/Item[last()]">
  3226.               <Node axis="child">
  3227.                 <Item>
  3228.                   <Data name="allchildtest">{rule}</Data>
  3229.                   <Data name="allchildtotal">{total}</Data>
  3230.                   <Data name="allchildfail">{badcount}</Data>
  3231.                   <Data name="allchilddesc">{description}</Data>
  3232.                 </Item>
  3233.               </Node>
  3234.             </Insert>
  3235.           </Otherwise>
  3236.         </Exists>
  3237.       </Step>
  3238.     </Rule>
  3239.     <Rule name="$(RuleConfigPlugAndPlay)">
  3240.       <Step select="/Report">
  3241.         <Exists>
  3242.           <Otherwise>
  3243.             <Variable name="total" expression="'0'"/>
  3244.             <Variable name="badcount" expression="'0'"/>
  3245.           </Otherwise>
  3246.         </Exists>
  3247.       </Step>
  3248.       <Step select="/Report/Section[@name='SystemConfig']/Table[@name='TablePlugAndPlay']/Item/Item/Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] != '0' and Data[@name='managementObjectsValue'] != '#UNKNOWN#']" fatal="true">
  3249.         <Exists>
  3250.           <Otherwise>
  3251.             <Variable name="badcount" expression="count(/Report/Section[@name='SystemConfig']/Table[@name='TablePlugAndPlay']/Item/Item/Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] != '0' and Data[@name='managementObjectsValue'] != '#UNKNOWN#'])"/>
  3252.           </Otherwise>
  3253.         </Exists>
  3254.       </Step>
  3255.       <Step select="/Report/Section[@name='SystemConfig']/Table[@name='TablePlugAndPlay']/Item/Item/Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] != '0' and Data[@name='managementObjectsValue'] != '#UNKNOWN#']" fatal="true" sortType="all">
  3256.         <Variable name="warnerror" expression="../Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode']/Data[@name='managementObjectsValue']"/>
  3257.         <Variable name="warndeviceid" expression="translate(../Item[Data[@name='managementObjectsProperty']='DeviceID']/Data[@name='managementObjectsValue']/child::text(),'&','-')"/>
  3258.         <Variable name="warndescrip" expression="../Item[Data[@name='managementObjectsProperty']='Description']/Data[@name='managementObjectsValue']"/>
  3259.         <Exists>
  3260.           <When expression="'{warnerror}' = 'tv_ConfigMgrErr10'">
  3261.             <Variable name="internalruleindex" expression="{internalruleindex} + 1"/>
  3262.             <Variable name="errorconfig10_symptom">$(WarnConfig10_symptom)</Variable>
  3263.             <Variable name="errorconfig10_cause">$(WarnConfig10_cause)</Variable>
  3264.             <Variable name="errorconfig10_details">$(WarnConfig10_details)</Variable>
  3265.             <Variable name="errorconfig10_res1">$(WarnConfig10_res1)</Variable>
  3266.             <Variable name="errorconfig10_res2">$(WarnConfig10_res2)</Variable>
  3267.             <Variable name="errorconfig10_res3">$(WarnConfig10_res3)</Variable>
  3268.             <Variable name="errorconfig10_res4">$(WarnConfig10_res4)</Variable>
  3269.             <Variable name="errorconfig10_related1">$(WarnConfig10_related1)</Variable>
  3270.             <Variable name="errorconfig10_related2">$(WarnConfig10_related2)</Variable>
  3271.             <Warning tag="errorconfig10_{internalruleindex}" select="Data" table="/Report/Section[@name='advice']/Table[@name='error']">
  3272.               <Item>
  3273.                 <Data name="symptom" img="error" link="errorconfig10_{internalruleindex}" message="errorconfig10_{internalruleindex}" translate="value">{errorconfig10_symptom}</Data>
  3274.                 <Data name="cause" message="errorconfig10_{internalruleindex}">{errorconfig10_cause}</Data>
  3275.                 <Data name="details" message="errorconfig10_{internalruleindex}">{errorconfig10_details}</Data>
  3276.                 <Data name="resolution" message="errorconfig10_{internalruleindex}">{errorconfig10_res1}</Data>
  3277.                 <Data name="resolution" message="errorconfig10_{internalruleindex}">{errorconfig10_res2}</Data>
  3278.                 <Data name="resolution" message="errorconfig10_{internalruleindex}">{errorconfig10_res3}</Data>
  3279.                 <Data name="resolution" message="errorconfig10_{internalruleindex}">{errorconfig10_res4}</Data>
  3280.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70093" message="errorconfig10_{internalruleindex}">{errorconfig10_related1}</Data>
  3281.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70092" message="errorconfig10_{internalruleindex}">{errorconfig10_related2}</Data>
  3282.               </Item>
  3283.             </Warning>
  3284.           </When>
  3285.           <When expression="'{warnerror}' = 'tv_ConfigMgrErr22'">
  3286.             <Variable name="internalruleindex" expression="{internalruleindex} + 1"/>
  3287.             <Variable name="errorconfig22_symptom">$(WarnConfig22_symptom)</Variable>
  3288.             <Variable name="errorconfig22_cause">$(WarnConfig22_cause)</Variable>
  3289.             <Variable name="errorconfig22_details">$(WarnConfig22_details)</Variable>
  3290.             <Variable name="errorconfig22_res1">$(WarnConfig22_res1)</Variable>
  3291.             <Variable name="errorconfig22_res2">$(WarnConfig22_res2)</Variable>
  3292.             <Variable name="errorconfig22_res3">$(WarnConfig22_res3)</Variable>
  3293.             <Variable name="errorconfig22_related1">$(WarnConfig22_related1)</Variable>
  3294.             <Variable name="errorconfig22_related2">$(WarnConfig22_related2)</Variable>
  3295.             <Warning tag="errorconfig22_{internalruleindex}" select="Data" table="/Report/Section[@name='advice']/Table[@name='error']">
  3296.               <Item>
  3297.                 <Data name="symptom" img="error" link="errorconfig22_{internalruleindex}" message="errorconfig22_{internalruleindex}" translate="value">{errorconfig22_symptom}</Data>
  3298.                 <Data name="cause" message="errorconfig22_{internalruleindex}">{errorconfig22_cause}</Data>
  3299.                 <Data name="details" message="errorconfig22_{internalruleindex}">{errorconfig22_details}</Data>
  3300.                 <Data name="resolution" message="errorconfig22_{internalruleindex}">{errorconfig22_res1}</Data>
  3301.                 <Data name="resolution" message="errorconfig22_{internalruleindex}">{errorconfig22_res2}</Data>
  3302.                 <Data name="resolution" message="errorconfig22_{internalruleindex}">{errorconfig22_res3}</Data>
  3303.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70093" message="errorconfig22_{internalruleindex}">{errorconfig22_related1}</Data>
  3304.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70092" message="errorconfig22_{internalruleindex}">{errorconfig22_related2}</Data>
  3305.               </Item>
  3306.             </Warning>
  3307.           </When>
  3308.           <When expression="'{warnerror}' = 'tv_ConfigMgrErr28'">
  3309.             <Variable name="internalruleindex" expression="{internalruleindex} + 1"/>
  3310.             <Variable name="errorconfig28_symptom">$(WarnConfig28_symptom)</Variable>
  3311.             <Variable name="errorconfig28_cause">$(WarnConfig28_cause)</Variable>
  3312.             <Variable name="errorconfig28_details">$(WarnConfig28_details)</Variable>
  3313.             <Variable name="errorconfig28_res1">$(WarnConfig28_res1)</Variable>
  3314.             <Variable name="errorconfig28_res2">$(WarnConfig28_res2)</Variable>
  3315.             <Variable name="errorconfig28_res3">$(WarnConfig28_res3)</Variable>
  3316.             <Variable name="errorconfig28_related1">$(WarnConfig28_related1)</Variable>
  3317.             <Warning tag="errorconfig28_{internalruleindex}" select="Data" table="/Report/Section[@name='advice']/Table[@name='error']">
  3318.               <Item>
  3319.                 <Data name="symptom" img="error" link="errorconfig28_{internalruleindex}" message="errorconfig28_{internalruleindex}" translate="value">{errorconfig28_symptom}</Data>
  3320.                 <Data name="cause" message="errorconfig28_{internalruleindex}">{errorconfig28_cause}</Data>
  3321.                 <Data name="details" message="errorconfig28_{internalruleindex}">{errorconfig28_details}</Data>
  3322.                 <Data name="resolution" message="errorconfig28_{internalruleindex}">{errorconfig28_res1}</Data>
  3323.                 <Data name="resolution" message="errorconfig28_{internalruleindex}">{errorconfig28_res2}</Data>
  3324.                 <Data name="resolution" message="errorconfig28_{internalruleindex}">{errorconfig28_res3}</Data>
  3325.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70093" message="errorconfig28_{internalruleindex}">{errorconfig28_related1}</Data>
  3326.               </Item>
  3327.             </Warning>
  3328.           </When>
  3329.           <Otherwise>
  3330.             <Variable name="internalruleindex" expression="{internalruleindex} + 1"/>
  3331.             <Variable name="errorconfigplugandplay_symptom">$(WarnConfigGeneric_symptom)</Variable>
  3332.             <Variable name="errorconfigplugandplay_cause">$(WarnConfigGeneric_cause)</Variable>
  3333.             <Variable name="errorconfigplugandplay_details">$(WarnConfigGeneric_details)</Variable>
  3334.             <Variable name="errorconfigplugandplay_res1">$(WarnConfigGeneric_res1)</Variable>
  3335.             <Variable name="errorconfigplugandplay_res2">$(WarnConfigGeneric_res2)</Variable>
  3336.             <Variable name="errorconfigplugandplay_res3">$(WarnConfigGeneric_res3)</Variable>
  3337.             <Variable name="errorconfigplugandplay_res4">$(WarnConfigGeneric_res4)</Variable>
  3338.             <Variable name="errorconfigplugandplay_related1">$(WarnConfigGeneric_related1)</Variable>
  3339.             <Variable name="errorconfigplugandplay_related2">$(WarnConfigGeneric_related2)</Variable>
  3340.             <Warning tag="errorconfigplugandplay_{internalruleindex}" select="Data" table="/Report/Section[@name='advice']/Table[@name='error']">
  3341.               <Item>
  3342.                 <Data name="symptom" img="error" link="errorconfigplugandplay_{internalruleindex}" message="errorconfigplugandplay_{internalruleindex}" translate="value">{errorconfigplugandplay_symptom}</Data>
  3343.                 <Data name="cause" message="errorconfigplugandplay_{internalruleindex}">{errorconfigplugandplay_cause}</Data>
  3344.                 <Data name="details" message="errorconfigplugandplay_{internalruleindex}">{errorconfigplugandplay_details}</Data>
  3345.                 <Data name="resolution" message="errorconfigplugandplay_{internalruleindex}">{errorconfigplugandplay_res1}</Data>
  3346.                 <Data name="resolution" message="errorconfigplugandplay_{internalruleindex}">{errorconfigplugandplay_res2}</Data>
  3347.                 <Data name="resolution" message="errorconfigplugandplay_{internalruleindex}">{errorconfigplugandplay_res3}</Data>
  3348.                 <Data name="resolution" message="errorconfigplugandplay_{internalruleindex}">{errorconfigplugandplay_res4}</Data>
  3349.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70093" message="errorconfigplugandplay_{internalruleindex}">{errorconfigplugandplay_related1}</Data>
  3350.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70092" message="errorconfigplugandplay_{internalruleindex}">{errorconfigplugandplay_related2}</Data>
  3351.               </Item>
  3352.             </Warning>
  3353.           </Otherwise>
  3354.         </Exists>
  3355.       </Step>
  3356.     </Rule>
  3357.     <Rule name="$(RuleSumConfigPlugAndPlay)" enabled="true">
  3358.       <Step select="/Report/Section[@name='SystemConfig']/Table[@name='TablePlugAndPlay']" fatal="true">
  3359.         <Variable name="total" expression="count(Item/Item)"/>
  3360.         <Variable name="rule">$(LOC_RuleSumConfigPlugAndPlay)</Variable>
  3361.         <Variable name="description">$(LOC_SummaryInfoPlugAndPlay)</Variable>
  3362.         <Exists>
  3363.           <Otherwise>
  3364.             <Insert select="/Report/Section[@name='advice']/Table[@name='alltests']/Item[last()]">
  3365.               <Node axis="child">
  3366.                 <Item>
  3367.                   <Data name="allchildtest">{rule}</Data>
  3368.                   <Data name="allchildtotal">{total}</Data>
  3369.                   <Data name="allchildfail">{badcount}</Data>
  3370.                   <Data name="allchilddesc">{description}</Data>
  3371.                 </Item>
  3372.               </Node>
  3373.             </Insert>
  3374.           </Otherwise>
  3375.         </Exists>
  3376.       </Step>
  3377.     </Rule>
  3378.     <Rule name="$(RuleStatusPlugAndPlay)">
  3379.       <Step select="/Report">
  3380.         <Exists>
  3381.           <Otherwise>
  3382.             <Variable name="total" expression="'0'"/>
  3383.             <Variable name="badcount" expression="'0'"/>
  3384.           </Otherwise>
  3385.         </Exists>
  3386.       </Step>
  3387.       <Step select="/Report/Section[@name='SystemConfig']/Table[@name='TablePlugAndPlay']/Item/Item[Item[Data[@name='managementObjectsProperty']='Status' and Data[@name='managementObjectsValue'] != 'OK' and Data[@name='managementObjectsValue'] != 'Degraded' and Data[@name='managementObjectsValue'] != '' and Data[@name='managementObjectsValue'] != '#UNKNOWN#']][Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] = '0']]" fatal="true">
  3388.         <Exists>
  3389.           <Otherwise>
  3390.             <Variable name="badcount" expression="count(/Report/Section[@name='SystemConfig']/Table[@name='TablePlugAndPlay']/Item/Item[Item[Data[@name='managementObjectsProperty']='Status' and Data[@name='managementObjectsValue'] != 'OK' and Data[@name='managementObjectsValue'] != 'Degraded' and Data[@name='managementObjectsValue'] != '' and Data[@name='managementObjectsValue'] != '#UNKNOWN#']][Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] = '0']])"/>
  3391.           </Otherwise>
  3392.         </Exists>
  3393.       </Step>
  3394.       <Step select="/Report/Section[@name='SystemConfig']/Table[@name='TablePlugAndPlay']/Item/Item[Item[Data[@name='managementObjectsProperty']='Status' and Data[@name='managementObjectsValue'] != 'OK' and Data[@name='managementObjectsValue'] != 'Degraded' and Data[@name='managementObjectsValue'] != '' and Data[@name='managementObjectsValue'] != '#UNKNOWN#']][Item[Data[@name='managementObjectsProperty']='ConfigManagerErrorCode' and Data[@name='managementObjectsValue'] = '0']]" fatal="true" sortType="all">
  3395.         <Exists>
  3396.           <When expression="{badcount} != 0">
  3397.             <Variable name="warnerror" expression="Item[Data[@name='managementObjectsProperty']='Status']/Data[@name='managementObjectsValue']"/>
  3398.             <Variable name="warndeviceid" expression="Item[Data[@name='managementObjectsProperty']='DeviceID']/Data[@name='managementObjectsValue']"/>
  3399.             <Variable name="warndescrip" expression="Item[Data[@name='managementObjectsProperty']='Description']/Data[@name='managementObjectsValue']"/>
  3400.             <Variable name="internalruleindex" expression="{internalruleindex} + 1"/>
  3401.             <Variable name="errorstatusplugandplay_symptom">$(WarnStatusGeneric_symptom)</Variable>
  3402.             <Variable name="errorstatusplugandplay_cause">$(WarnStatusGeneric_cause)</Variable>
  3403.             <Variable name="errorstatusplugandplay_details">$(WarnStatusGeneric_details)</Variable>
  3404.             <Variable name="errorstatusplugandplay_res1">$(WarnStatusGeneric_res1)</Variable>
  3405.             <Variable name="errorstatusplugandplay_res2">$(WarnStatusGeneric_res2)</Variable>
  3406.             <Variable name="errorstatusplugandplay_res3">$(WarnStatusGeneric_res3)</Variable>
  3407.             <Variable name="errorstatusplugandplay_res4">$(WarnStatusGeneric_res4)</Variable>
  3408.             <Variable name="errorstatusplugandplay_related1">$(WarnStatusGeneric_related1)</Variable>
  3409.             <Variable name="errorstatusplugandplay_related2">$(WarnStatusGeneric_related2)</Variable>
  3410.             <Warning tag="errorstatusplugandplay_{internalruleindex}" select="Item[Data[@name='managementObjectsProperty']='Status']/Data" table="/Report/Section[@name='advice']/Table[@name='error']">
  3411.               <Item>
  3412.                 <Data name="symptom" img="error" link="errorstatusplugandplay_{internalruleindex}" message="errorstatusplugandplay_{internalruleindex}">{errorstatusplugandplay_symptom}</Data>
  3413.                 <Data name="cause" message="errorstatusplugandplay_{internalruleindex}">{errorstatusplugandplay_cause}</Data>
  3414.                 <Data name="details" message="errorstatusplugandplay_{internalruleindex}">{errorstatusplugandplay_details}</Data>
  3415.                 <Data name="resolution" message="errorstatusplugandplay_{internalruleindex}">{errorstatusplugandplay_res1}</Data>
  3416.                 <Data name="resolution" message="errorstatusplugandplay_{internalruleindex}">{errorstatusplugandplay_res2}</Data>
  3417.                 <Data name="resolution" message="errorstatusplugandplay_{internalruleindex}">{errorstatusplugandplay_res3}</Data>
  3418.                 <Data name="resolution" message="errorstatusplugandplay_{internalruleindex}">{errorstatusplugandplay_res4}</Data>
  3419.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70093" message="errorstatusplugandplay_{internalruleindex}">{errorstatusplugandplay_related1}</Data>
  3420.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70092" message="errorstatusplugandplay_{internalruleindex}">{errorstatusplugandplay_related2}</Data>
  3421.               </Item>
  3422.             </Warning>
  3423.             <Insert select="Item">
  3424.               <Attribute name="expand" value="true"/>
  3425.             </Insert>
  3426.             <Insert select="Item/Item">
  3427.               <Attribute name="expand" value="true"/>
  3428.             </Insert>
  3429.           </When>
  3430.         </Exists>
  3431.       </Step>
  3432.     </Rule>
  3433.     <Rule name="$(RuleSumStatusPlugAndPlay)" enabled="true">
  3434.       <Step select="/Report/Section[@name='SystemConfig']/Table[@name='TablePlugAndPlay']" fatal="true">
  3435.         <Variable name="total" expression="count(Item/Item)"/>
  3436.         <Variable name="rule">$(LOC_RuleSumStatusPlugAndPlay)</Variable>
  3437.         <Variable name="description">$(LOC_SummaryInfoPlugAndPlay)</Variable>
  3438.         <Exists>
  3439.           <Otherwise>
  3440.             <Insert select="/Report/Section[@name='advice']/Table[@name='alltests']/Item[last()]">
  3441.               <Node axis="child">
  3442.                 <Item>
  3443.                   <Data name="allchildtest">{rule}</Data>
  3444.                   <Data name="allchildtotal">{total}</Data>
  3445.                   <Data name="allchildfail">{badcount}</Data>
  3446.                   <Data name="allchilddesc">{description}</Data>
  3447.                 </Item>
  3448.               </Node>
  3449.             </Insert>
  3450.           </Otherwise>
  3451.         </Exists>
  3452.       </Step>
  3453.     </Rule>
  3454.     <Rule name="$(RuleHwOnlyListUpdate)" enabled="true">
  3455.       <Step select="/Report/Section[@name='advice']/Table[@name='alltests']/Item[last()]" fatal="true">
  3456.         <Variable name="groupfailedtestscount" expression="count(Item[Data[@name='allchildfail'] != '0'])"/>
  3457.         <Exists>
  3458.           <When expression="1 = 1 and {groupfailedtestscount} > 0">
  3459.             <Variable name="failedmsg">$(LOC_Failed)</Variable>
  3460.             <Insert select="Data">
  3461.               <Node axis="following-sibling">
  3462.                 <Data img="red" name="allteststatus">{failedmsg}</Data>
  3463.               </Node>
  3464.             </Insert>
  3465.           </When>
  3466.           <When expression="1 = 1 and {groupfailedtestscount} = 0">
  3467.             <Variable name="passedmsg">$(LOC_Passed)</Variable>
  3468.             <Insert select="Data">
  3469.               <Node axis="following-sibling">
  3470.                 <Data img="green" name="allteststatus">{passedmsg}</Data>
  3471.               </Node>
  3472.             </Insert>
  3473.           </When>
  3474.         </Exists>
  3475.       </Step>
  3476.     </Rule>
  3477.   </Group>
  3478.   <Group name="$(GroupContent)">
  3479.     <Rule name="$(RuleHideCollectionInfo)" enabled="true">
  3480.       <Step select="/Report/Section/Table[@name='collection']">
  3481.         <Exists>
  3482.           <Otherwise>
  3483.             <Insert select=".">
  3484.               <Attribute name="level" value="2"/>
  3485.             </Insert>
  3486.           </Otherwise>
  3487.         </Exists>
  3488.       </Step>
  3489.     </Rule>
  3490.     <Rule name="$(RuleHideConfig)" enabled="true">
  3491.       <Step select="/Report/Section/Table[@name='configCpu']">
  3492.         <Exists>
  3493.           <Otherwise>
  3494.             <Insert select=".">
  3495.               <Attribute name="style" value="info"/>
  3496.             </Insert>
  3497.           </Otherwise>
  3498.         </Exists>
  3499.       </Step>
  3500.       <Step select="/Report/Section/Table[@name='configNic']">
  3501.         <Exists>
  3502.           <Otherwise>
  3503.             <Insert select=".">
  3504.               <Attribute name="level" value="2"/>
  3505.             </Insert>
  3506.           </Otherwise>
  3507.         </Exists>
  3508.       </Step>
  3509.       <Step select="/Report/Section/Table[@name='configVideo']">
  3510.         <Exists>
  3511.           <Otherwise>
  3512.             <Insert select=".">
  3513.               <Attribute name="level" value="2"/>
  3514.             </Insert>
  3515.           </Otherwise>
  3516.         </Exists>
  3517.       </Step>
  3518.       <Step select="/Report/Section/Table[@name='configPower']">
  3519.         <Exists>
  3520.           <Otherwise>
  3521.             <Insert select=".">
  3522.               <Attribute name="level" value="2"/>
  3523.             </Insert>
  3524.           </Otherwise>
  3525.         </Exists>
  3526.       </Step>
  3527.       <Step select="/Report/Section/Table[@name='configNetwork']">
  3528.         <Exists>
  3529.           <Otherwise>
  3530.             <Insert select=".">
  3531.               <Attribute name="level" value="2"/>
  3532.             </Insert>
  3533.           </Otherwise>
  3534.         </Exists>
  3535.       </Step>
  3536.       <Step select="/Report/Section/Table[@name='configIdeChannel']">
  3537.         <Exists>
  3538.           <Otherwise>
  3539.             <Insert select=".">
  3540.               <Attribute name="level" value="2"/>
  3541.             </Insert>
  3542.           </Otherwise>
  3543.         </Exists>
  3544.       </Step>
  3545.     </Rule>
  3546.     <Rule name="$(RuleWmi)" enabled="true">
  3547.       <Step select="/Report">
  3548.         <Exists>
  3549.           <Otherwise>
  3550.             <Delete select="Section/Table/Item/Item/Item[Data[@name='managementObjectsValue']='#UNKNOWN#']"/>
  3551.             <Delete select="Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='__CLASS']"/>
  3552.             <Delete select="Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='__DYNASTY']"/>
  3553.             <Delete select="Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='__GENUS']"/>
  3554.             <Delete select="Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='__NAMESPACE']"/>
  3555.             <Delete select="Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='__PATH']"/>
  3556.             <Delete select="Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='__PROPERTY_COUNT']"/>
  3557.             <Delete select="Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='__RELPATH']"/>
  3558.             <Delete select="Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='__SERVER']"/>
  3559.             <Delete select="Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='__SUPERCLASS']"/>
  3560.           </Otherwise>
  3561.         </Exists>
  3562.       </Step>
  3563.       <Step select="/Report">
  3564.         <Exists>
  3565.           <Otherwise>
  3566.             <Delete select="Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='CreationClassName']"/>
  3567.             <Delete select="Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='SystemCreationClassName']"/>
  3568.             <Delete select="Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='SystemName']"/>
  3569.           </Otherwise>
  3570.         </Exists>
  3571.       </Step>
  3572.     </Rule>
  3573.     <Rule name="$(RuleServer)" enabled="true">
  3574.       <Step select="/Report/Section/Table[@name='server']/Item[Data[@name='counter']='Blocking Requests Rejected']">
  3575.         <Variable name="min" expression="Data[@name='min']"/>
  3576.         <Exists>
  3577.           <When expression="Data[@name='max'] = {min}">
  3578.             <Delete select="."/>
  3579.           </When>
  3580.         </Exists>
  3581.       </Step>
  3582.       <Step select="/Report/Section/Table[@name='server']/Item[Data[@name='counter']='Errors Access Permissions']">
  3583.         <Variable name="min" expression="Data[@name='min']"/>
  3584.         <Exists>
  3585.           <When expression="Data[@name='max'] = {min}">
  3586.             <Delete select="."/>
  3587.           </When>
  3588.         </Exists>
  3589.       </Step>
  3590.       <Step select="/Report/Section/Table[@name='server']/Item[Data[@name='counter']='Errors Granted Access']">
  3591.         <Variable name="min" expression="Data[@name='min']"/>
  3592.         <Exists>
  3593.           <When expression="Data[@name='max'] = {min}">
  3594.             <Delete select="."/>
  3595.           </When>
  3596.         </Exists>
  3597.       </Step>
  3598.       <Step select="/Report/Section/Table[@name='server']/Item[Data[@name='counter']='Errors System']">
  3599.         <Variable name="min" expression="Data[@name='min']"/>
  3600.         <Exists>
  3601.           <When expression="Data[@name='max'] = {min}">
  3602.             <Delete select="."/>
  3603.           </When>
  3604.         </Exists>
  3605.       </Step>
  3606.       <Step select="/Report/Section/Table[@name='server']/Item[Data[@name='counter']='Errors Logon']">
  3607.         <Variable name="min" expression="Data[@name='min']"/>
  3608.         <Exists>
  3609.           <When expression="Data[@name='max'] = {min}">
  3610.             <Delete select="."/>
  3611.           </When>
  3612.         </Exists>
  3613.       </Step>
  3614.       <Step select="/Report/Section/Table[@name='server']/Item[Data[@name='counter']='File Directory Searches']">
  3615.         <Variable name="min" expression="Data[@name='min']"/>
  3616.         <Exists>
  3617.           <When expression="Data[@name='max'] = {min}">
  3618.             <Delete select="."/>
  3619.           </When>
  3620.         </Exists>
  3621.       </Step>
  3622.       <Step select="/Report/Section/Table[@name='server']/Item[Data[@name='counter']='Files Open']">
  3623.         <Variable name="min" expression="Data[@name='min']"/>
  3624.         <Exists>
  3625.           <When expression="Data[@name='max'] = {min}">
  3626.             <Delete select="."/>
  3627.           </When>
  3628.         </Exists>
  3629.       </Step>
  3630.       <Step select="/Report/Section/Table[@name='server']/Item[Data[@name='counter']='Files Opened Total']">
  3631.         <Variable name="min" expression="Data[@name='min']"/>
  3632.         <Exists>
  3633.           <When expression="Data[@name='max'] = {min}">
  3634.             <Delete select="."/>
  3635.           </When>
  3636.         </Exists>
  3637.       </Step>
  3638.       <Step select="/Report/Section/Table[@name='server']/Item[Data[@name='counter']='Logon/sec']">
  3639.         <Variable name="min" expression="Data[@name='min']"/>
  3640.         <Exists>
  3641.           <When expression="Data[@name='max'] = {min}">
  3642.             <Delete select="."/>
  3643.           </When>
  3644.         </Exists>
  3645.       </Step>
  3646.       <Step select="/Report/Section/Table[@name='server']/Item[Data[@name='counter']='Logon Total']">
  3647.         <Variable name="min" expression="Data[@name='min']"/>
  3648.         <Exists>
  3649.           <When expression="Data[@name='max'] = {min}">
  3650.             <Delete select="."/>
  3651.           </When>
  3652.         </Exists>
  3653.       </Step>
  3654.       <Step select="/Report/Section/Table[@name='server']/Item[Data[@name='counter']='Pool Nonpaged Peak']">
  3655.         <Variable name="min" expression="Data[@name='min']"/>
  3656.         <Exists>
  3657.           <When expression="Data[@name='max'] = {min}">
  3658.             <Delete select="."/>
  3659.           </When>
  3660.         </Exists>
  3661.       </Step>
  3662.       <Step select="/Report/Section/Table[@name='server']/Item[Data[@name='counter']='Pool Nonpaged Failures']">
  3663.         <Variable name="min" expression="Data[@name='min']"/>
  3664.         <Exists>
  3665.           <When expression="Data[@name='max'] = {min}">
  3666.             <Delete select="."/>
  3667.           </When>
  3668.         </Exists>
  3669.       </Step>
  3670.       <Step select="/Report/Section/Table[@name='server']/Item[Data[@name='counter']='Pool Paged Peak']">
  3671.         <Variable name="min" expression="Data[@name='min']"/>
  3672.         <Exists>
  3673.           <When expression="Data[@name='max'] = {min}">
  3674.             <Delete select="."/>
  3675.           </When>
  3676.         </Exists>
  3677.       </Step>
  3678.       <Step select="/Report/Section/Table[@name='server']/Item[Data[@name='counter']='Pool Paged Failures']">
  3679.         <Variable name="min" expression="Data[@name='min']"/>
  3680.         <Exists>
  3681.           <When expression="Data[@name='max'] = {min}">
  3682.             <Delete select="."/>
  3683.           </When>
  3684.         </Exists>
  3685.       </Step>
  3686.       <Step select="/Report/Section/Table[@name='server']/Item[Data[@name='counter']='Sessions Errored Out']">
  3687.         <Variable name="min" expression="Data[@name='min']"/>
  3688.         <Exists>
  3689.           <When expression="Data[@name='max'] = {min}">
  3690.             <Delete select="."/>
  3691.           </When>
  3692.         </Exists>
  3693.       </Step>
  3694.       <Step select="/Report/Section/Table[@name='server']/Item[Data[@name='counter']='Sessions Forced Off']">
  3695.         <Variable name="min" expression="Data[@name='min']"/>
  3696.         <Exists>
  3697.           <When expression="Data[@name='max'] = {min}">
  3698.             <Delete select="."/>
  3699.           </When>
  3700.         </Exists>
  3701.       </Step>
  3702.       <Step select="/Report/Section/Table[@name='server']/Item[Data[@name='counter']='Sessions Logged Off']">
  3703.         <Variable name="min" expression="Data[@name='min']"/>
  3704.         <Exists>
  3705.           <When expression="Data[@name='max'] = {min}">
  3706.             <Delete select="."/>
  3707.           </When>
  3708.         </Exists>
  3709.       </Step>
  3710.       <Step select="/Report/Section/Table[@name='server']/Item[Data[@name='counter']='Sessions Timed Out']">
  3711.         <Variable name="min" expression="Data[@name='min']"/>
  3712.         <Exists>
  3713.           <When expression="Data[@name='max'] = {min}">
  3714.             <Delete select="."/>
  3715.           </When>
  3716.         </Exists>
  3717.       </Step>
  3718.       <Step select="/Report/Section/Table[@name='server']/Item[Data[@name='counter']='Work Item Shortages']">
  3719.         <Variable name="min" expression="Data[@name='min']"/>
  3720.         <Exists>
  3721.           <When expression="Data[@name='max'] = {min}">
  3722.             <Delete select="."/>
  3723.           </When>
  3724.         </Exists>
  3725.       </Step>
  3726.     </Rule>
  3727.   </Group>
  3728.   <StringTable>
  3729.     <String ID="GroupContent">Report Content</String>
  3730.     <String ID="RuleWmi">Reduce WMI Tables</String>
  3731.     <String ID="RuleServer">Hide Server Counters</String>
  3732.     <String ID="RuleHideCollectionInfo">Hide Collection Information Table</String>
  3733.     <String ID="RuleHideConfig">Hide Configuration Tables</String>
  3734.     <String ID="GroupHwClasses" loc.comment="Group name seen in WPDC">Check Status of Hardware Classes</String>
  3735.     <String ID="RuleInsertHwClasses" loc.comment="Insert rule name seen in WPDC">Insert Hardware Classes</String>
  3736.     <String ID="RuleHwOnlyListInsert" loc.comment="Insert rule name seen in WPDC">Hardware Rule Summary Insert List</String>
  3737.     <String ID="RuleHwOnlyListUpdate" loc.comment="Update rule name seen in WPDC">Hardware Rule Summary Update Fail Status</String>
  3738.     <String ID="RuleConfigController" loc.comment="Testing rule name seen in WPDC">Controller Device Configured</String>
  3739.     <String ID="RuleConfigCooling" loc.comment="Testing rule name seen in WPDC">Cooling Configured</String>
  3740.     <String ID="RuleConfigInput" loc.comment="Testing rule name seen in WPDC">Input Configured</String>
  3741.     <String ID="RuleConfigStorage" loc.comment="Testing rule name seen in WPDC">Storage Device Configured</String>
  3742.     <String ID="RuleConfigMemory" loc.comment="Testing rule name seen in WPDC">Memory Device Configured</String>
  3743.     <String ID="RuleConfigMotherboard" loc.comment="Testing rule name seen in WPDC">Motherboard Device Configured</String>
  3744.     <String ID="RuleConfigNetwork" loc.comment="Testing rule name seen in WPDC">Network Configured</String>
  3745.     <String ID="RuleConfigPlugAndPlay" loc.comment="Testing rule name seen in WPDC">PlugAndPlay Device Configured</String>
  3746.     <String ID="RuleConfigPort" loc.comment="Testing rule name seen in WPDC">Port Device Configured</String>
  3747.     <String ID="RuleConfigPower" loc.comment="Testing rule name seen in WPDC">Power Device Configured</String>
  3748.     <String ID="RuleConfigPrinting" loc.comment="Testing rule name seen in WPDC">Printing Device Configured</String>
  3749.     <String ID="RuleConfigVideo" loc.comment="Testing rule name seen in WPDC">Video Device Configured</String>
  3750.     <String ID="RuleStatusController" loc.comment="Testing rule name seen in WPDC">Controller Device Status</String>
  3751.     <String ID="RuleStatusCooling" loc.comment="Testing rule name seen in WPDC">Cooling Status</String>
  3752.     <String ID="RuleStatusInput" loc.comment="Testing rule name seen in WPDC">Input Status</String>
  3753.     <String ID="RuleStatusStorage" loc.comment="Testing rule name seen in WPDC">Storage Device Status</String>
  3754.     <String ID="RuleStatusMemory" loc.comment="Testing rule name seen in WPDC">Memory Device Status</String>
  3755.     <String ID="RuleStatusMotherboard" loc.comment="Testing rule name seen in WPDC">Motherboard Device Status</String>
  3756.     <String ID="RuleStatusNetwork" loc.comment="Testing rule name seen in WPDC">Network Status</String>
  3757.     <String ID="RuleStatusPlugAndPlay" loc.comment="Testing rule name seen in WPDC">PlugAndPlay Device Status</String>
  3758.     <String ID="RuleStatusPort" loc.comment="Testing rule name seen in WPDC">Port Device Status</String>
  3759.     <String ID="RuleStatusPower" loc.comment="Testing rule name seen in WPDC">Power Device Status</String>
  3760.     <String ID="RuleStatusPrinting" loc.comment="Testing rule name seen in WPDC">Printing Device Status</String>
  3761.     <String ID="RuleStatusVideo" loc.comment="Testing rule name seen in WPDC">Video Device Status</String>
  3762.     <String ID="RuleSumConfigController" loc.comment="Testing rule name seen in WPDC">Controller Device Configured Fail Count</String>
  3763.     <String ID="RuleSumConfigCooling" loc.comment="Testing rule name seen in WPDC">Cooling Configured Fail Count</String>
  3764.     <String ID="RuleSumConfigInput" loc.comment="Testing rule name seen in WPDC">Input Configured Fail Count</String>
  3765.     <String ID="RuleSumConfigStorage" loc.comment="Testing rule name seen in WPDC">Storage Device Configured Fail Count</String>
  3766.     <String ID="RuleSumConfigMemory" loc.comment="Testing rule name seen in WPDC">Memory Device Configured Fail Count</String>
  3767.     <String ID="RuleSumConfigMotherboard" loc.comment="Testing rule name seen in WPDC">Motherboard Device Configured Fail Count</String>
  3768.     <String ID="RuleSumConfigNetwork" loc.comment="Testing rule name seen in WPDC">Network Configured Fail Count</String>
  3769.     <String ID="RuleSumConfigPlugAndPlay" loc.comment="Testing rule name seen in WPDC">PlugAndPlay Device Configured Fail Count</String>
  3770.     <String ID="RuleSumConfigPort" loc.comment="Testing rule name seen in WPDC">Port Device Configured Fail Count</String>
  3771.     <String ID="RuleSumConfigPower" loc.comment="Testing rule name seen in WPDC">Power Device Configured Fail Count</String>
  3772.     <String ID="RuleSumConfigPrinting" loc.comment="Testing rule name seen in WPDC">Printing Device Configured Fail Count</String>
  3773.     <String ID="RuleSumConfigVideo" loc.comment="Testing rule name seen in WPDC">Video Device Configured Fail Count</String>
  3774.     <String ID="RuleSumStatusController" loc.comment="Testing rule name seen in WPDC">Controller Device Status Fail Count</String>
  3775.     <String ID="RuleSumStatusCooling" loc.comment="Testing rule name seen in WPDC">Cooling Status Fail Count</String>
  3776.     <String ID="RuleSumStatusInput" loc.comment="Testing rule name seen in WPDC">Input Status Fail Count</String>
  3777.     <String ID="RuleSumStatusStorage" loc.comment="Testing rule name seen in WPDC">Storage Device Status Fail Count</String>
  3778.     <String ID="RuleSumStatusMemory" loc.comment="Testing rule name seen in WPDC">Memory Device Status Fail Count</String>
  3779.     <String ID="RuleSumStatusMotherboard" loc.comment="Testing rule name seen in WPDC">Motherboard Device Status Fail Count</String>
  3780.     <String ID="RuleSumStatusNetwork" loc.comment="Testing rule name seen in WPDC">Network Status Fail Count</String>
  3781.     <String ID="RuleSumStatusPlugAndPlay" loc.comment="Testing rule name seen in WPDC">PlugAndPlay Device Status Fail Count</String>
  3782.     <String ID="RuleSumStatusPort" loc.comment="Testing rule name seen in WPDC">Port Device Status Fail Count</String>
  3783.     <String ID="RuleSumStatusPower" loc.comment="Testing rule name seen in WPDC">Power Device Status Fail Count</String>
  3784.     <String ID="RuleSumStatusPrinting" loc.comment="Testing rule name seen in WPDC">Printing Device Status Fail Count</String>
  3785.     <String ID="RuleSumStatusVideo" loc.comment="Testing rule name seen in WPDC">Video Device Status Fail Count</String>
  3786.     <String ID="LOC_SummaryGroupHwOnlyDesc" loc.comment="Rule summary table description of this group">Hardware Device and Driver Checks</String>
  3787.     <String ID="LOC_SummaryHwOnlyDesc" loc.comment="Rule summary table description of this group">Survey of Windows Management Infrastructure supported devices.</String>
  3788.     <String ID="LOC_RuleSumConfigController" loc.comment="Label for rule in Basic System Checks summary table">Controller Device Configured Fail Count</String>
  3789.     <String ID="LOC_RuleSumConfigCooling" loc.comment="Label for rule in Basic System Checks summary table">Cooling Configured Fail Count</String>
  3790.     <String ID="LOC_RuleSumConfigInput" loc.comment="Label for rule in Basic System Checks summary table">Input Configured Fail Count</String>
  3791.     <String ID="LOC_RuleSumConfigStorage" loc.comment="Label for rule in Basic System Checks summary table">Storage Device Configured Fail Count</String>
  3792.     <String ID="LOC_RuleSumConfigMemory" loc.comment="Label for rule in Basic System Checks summary table">Memory Device Configured Fail Count</String>
  3793.     <String ID="LOC_RuleSumConfigMotherboard" loc.comment="Label for rule in Basic System Checks summary table">Motherboard Device Configured Fail Count</String>
  3794.     <String ID="LOC_RuleSumConfigNetwork" loc.comment="Label for rule in Basic System Checks summary table">Network Configured Fail Count</String>
  3795.     <String ID="LOC_RuleSumConfigPlugAndPlay" loc.comment="Label for rule in Basic System Checks summary table">PlugAndPlay Device Configured Fail Count</String>
  3796.     <String ID="LOC_RuleSumConfigPort" loc.comment="Label for rule in Basic System Checks summary table">Port Device Configured Fail Count</String>
  3797.     <String ID="LOC_RuleSumConfigPower" loc.comment="Label for rule in Basic System Checks summary table">Power Device Configured Fail Count</String>
  3798.     <String ID="LOC_RuleSumConfigPrinting" loc.comment="Label for rule in Basic System Checks summary table">Printing Device Configured Fail Count</String>
  3799.     <String ID="LOC_RuleSumConfigVideo" loc.comment="Label for rule in Basic System Checks summary table">Video Device Configured Fail Count</String>
  3800.     <String ID="LOC_RuleSumStatusController" loc.comment="Label for rule in Basic System Checks summary table">Controller Device Status Fail Count</String>
  3801.     <String ID="LOC_RuleSumStatusCooling" loc.comment="Label for rule in Basic System Checks summary table">Cooling Status Fail Count</String>
  3802.     <String ID="LOC_RuleSumStatusInput" loc.comment="Label for rule in Basic System Checks summary table">Input Status Fail Count</String>
  3803.     <String ID="LOC_RuleSumStatusStorage" loc.comment="Label for rule in Basic System Checks summary table">Storage Device Status Fail Count</String>
  3804.     <String ID="LOC_RuleSumStatusMemory" loc.comment="Label for rule in Basic System Checks summary table">Memory Device Status Fail Count</String>
  3805.     <String ID="LOC_RuleSumStatusMotherboard" loc.comment="Label for rule in Basic System Checks summary table">Motherboard Device Status Fail Count</String>
  3806.     <String ID="LOC_RuleSumStatusNetwork" loc.comment="Label for rule in Basic System Checks summary table">Network Status Fail Count</String>
  3807.     <String ID="LOC_RuleSumStatusPlugAndPlay" loc.comment="Label for rule in Basic System Checks summary table">PlugAndPlay Device Status Fail Count</String>
  3808.     <String ID="LOC_RuleSumStatusPort" loc.comment="Label for rule in Basic System Checks summary table">Port Device Status Fail Count</String>
  3809.     <String ID="LOC_RuleSumStatusPower" loc.comment="Label for rule in Basic System Checks summary table">Power Device Status Fail Count</String>
  3810.     <String ID="LOC_RuleSumStatusPrinting" loc.comment="Label for rule in Basic System Checks summary table">Printing Device Status Fail Count</String>
  3811.     <String ID="LOC_RuleSumStatusVideo" loc.comment="Label for rule in Basic System Checks summary table">Video Device Status Fail Count</String>
  3812.     <String ID="LOC_SummaryInfoController" loc.comment="Rule summary child item seen in report">Controller devices.</String>
  3813.     <String ID="LOC_SummaryInfoCooling" loc.comment="Rule summary child item seen in report">Cooling devices.</String>
  3814.     <String ID="LOC_SummaryInfoInput" loc.comment="Rule summary child item seen in report">Input devices.</String>
  3815.     <String ID="LOC_SummaryInfoStorage" loc.comment="Rule summary child item seen in report">Storage devices.</String>
  3816.     <String ID="LOC_SummaryInfoMemory" loc.comment="Rule summary child item seen in report">Memory devices.</String>
  3817.     <String ID="LOC_SummaryInfoMotherboard" loc.comment="Rule summary child item seen in report">Motherboard devices.</String>
  3818.     <String ID="LOC_SummaryInfoNetwork" loc.comment="Rule summary child item seen in report">Network devices.</String>
  3819.     <String ID="LOC_SummaryInfoPlugAndPlay" loc.comment="Rule summary child item seen in report">PlugAndPlay devices.</String>
  3820.     <String ID="LOC_SummaryInfoPort" loc.comment="Rule summary child item seen in report">Port devices.</String>
  3821.     <String ID="LOC_SummaryInfoPower" loc.comment="Rule summary child item seen in report">Power devices.</String>
  3822.     <String ID="LOC_SummaryInfoPrinting" loc.comment="Rule summary child item seen in report">Printing devices.</String>
  3823.     <String ID="LOC_SummaryInfoVideo" loc.comment="Rule summary child item seen in report">Video devices.</String>
  3824.     <String ID="RuleDocConfigErrCode" loc.comment="Replacement rule name seen in WPDC">Document Configuration Manager Error Codes</String>
  3825.     <String ID="NotePlugAndPlayTable" loc.comment="Mark Plug and Play table with static comment.">The Win32_PnPEntity WMI class represents the properties of a Plug and Play device. Plug and Play entities are shown as entries in the Device Manager located in Control Panel. See Microsoft online document for individual field descriptions under each of the devices below.</String>
  3826.     <String ID="LOC_Failed" loc.comment="Text to display when a rule or group of rules failed">Failed</String>
  3827.     <String ID="LOC_Passed" loc.comment="Text to display when a rule or group of rules passed">Passed</String>
  3828.     <String ID="WarnConfig10_symptom" loc.comment="Symptom string for warning message: WarnConfig10">{warnerror}</String>
  3829.     <String ID="WarnConfig10_cause" loc.comment="Cause string for warning message: WarnConfig10">A device has a configuration problem that prevents it from starting properly.</String>
  3830.     <String ID="WarnConfig10_details" loc.comment="Details string for warning message: WarnConfig10">The device, {warndescrip}, cannot start properly. It may not have the correct driver installed or may be experiencing a hardware failure. The Plug and Play ID for this device is {warndeviceid}.</String>
  3831.     <String ID="WarnConfig10_res1" loc.comment="Resolution string for warning message: WarnConfig10">1. Verify the correct driver is installed.</String>
  3832.     <String ID="WarnConfig10_res2" loc.comment="Resolution string for warning message: WarnConfig10">2. Try updating the drivers using Windows Update.</String>
  3833.     <String ID="WarnConfig10_res3" loc.comment="Resolution string for warning message: WarnConfig10">3. Check with the manufacturer for an updated driver.</String>
  3834.     <String ID="WarnConfig10_res4" loc.comment="Resolution string for warning message: WarnConfig10">4. Attempt to uninstall and then reinstall the device using Device Manager.</String>
  3835.     <String ID="WarnConfig10_related1" loc.comment="First resolution detail string for warning message: WarnConfig10">Explanation of Error Codes Generated by Device Manager</String>
  3836.     <String ID="WarnConfig10_related2" loc.comment="Second resolution detail string for warning message: WarnConfig10">Manage Devices in Windows</String>
  3837.     <String ID="WarnConfig22_symptom" loc.comment="Symptom string for warning message: WarnConfig22">{warnerror}</String>
  3838.     <String ID="WarnConfig22_cause" loc.comment="Cause string for warning message: WarnConfig22">A device is disabled preventing it from working properly.</String>
  3839.     <String ID="WarnConfig22_details" loc.comment="Details string for warning message: WarnConfig22">The device, {warndescrip}, is disabled. If this device is no longer used it may be intentionally disabled. The Plug and Play ID for this device is {warndeviceid}.</String>
  3840.     <String ID="WarnConfig22_res1" loc.comment="Resolution string for warning message: WarnConfig22">1. Determine if you need the device.</String>
  3841.     <String ID="WarnConfig22_res2" loc.comment="Resolution string for warning message: WarnConfig22">2. If you need the device, enable it in Device Manager.</String>
  3842.     <String ID="WarnConfig22_res3" loc.comment="Resolution string for warning message: WarnConfig22">3. If you do not use the device it can be left disabled.</String>
  3843.     <String ID="WarnConfig22_related1" loc.comment="First resolution detail string for warning message: WarnConfig22">Explanation of Error Codes Generated by Device Manager</String>
  3844.     <String ID="WarnConfig22_related2" loc.comment="Second resolution detail string for warning message: WarnConfig22">Manage Devices in Windows</String>
  3845.     <String ID="WarnConfig28_symptom" loc.comment="Symptom string for warning message: WarnConfig28">{warnerror}</String>
  3846.     <String ID="WarnConfig28_cause" loc.comment="Cause string for warning message: WarnConfig28">A driver has not been installed for this device preventing it from working properly.</String>
  3847.     <String ID="WarnConfig28_details" loc.comment="Details string for warning message: WarnConfig28">The device driver for {warndescrip} has not been installed. This device will not be available until the correct device driver is installed.</String>
  3848.     <String ID="WarnConfig28_res1" loc.comment="Resolution string for warning message: WarnConfig28">1. Try installing the drivers using Windows Update.</String>
  3849.     <String ID="WarnConfig28_res2" loc.comment="Resolution string for warning message: WarnConfig28">2. Install the drivers that are on the installation media that came with the device.</String>
  3850.     <String ID="WarnConfig28_res3" loc.comment="Resolution string for warning message: WarnConfig28">3. Check with the manufacturer for an updated driver.</String>
  3851.     <String ID="WarnConfig28_related1" loc.comment="First resolution detail string for warning message: WarnConfig28">Explanation of Error Codes Generated by Device Manager</String>
  3852.     <String ID="WarnConfigGeneric_symptom" loc.comment="Symptom string for warning message: WarnConfigGeneric">{warnerror}</String>
  3853.     <String ID="WarnConfigGeneric_cause" loc.comment="Cause string for warning message: WarnConfigGeneric">A device has a configuration problem that prevents it from working properly.</String>
  3854.     <String ID="WarnConfigGeneric_details" loc.comment="Details string for warning message: WarnConfigGeneric">The device, {warndescrip}, is reporting "{warnerror}". This device will not be available until the issue is resolved. The Plug and Play ID for this device is {warndeviceid}.</String>
  3855.     <String ID="WarnConfigGeneric_res1" loc.comment="Resolution string for warning message: WarnConfigGeneric">1. Verify the correct driver is installed.</String>
  3856.     <String ID="WarnConfigGeneric_res2" loc.comment="Resolution string for warning message: WarnConfigGeneric">2. Try updating the drivers using Windows Update.</String>
  3857.     <String ID="WarnConfigGeneric_res3" loc.comment="Resolution string for warning message: WarnConfigGeneric">3. Check with the manufacturer for an updated driver.</String>
  3858.     <String ID="WarnConfigGeneric_res4" loc.comment="Resolution string for warning message: WarnConfigGeneric">4. Attempt to uninstall and then reinstall the device using Device Manager.</String>
  3859.     <String ID="WarnConfigGeneric_related1" loc.comment="First resolution detail string for warning message: WarnConfigGeneric">Explanation of Error Codes Generated by Device Manager</String>
  3860.     <String ID="WarnConfigGeneric_related2" loc.comment="Second resolution detail string for warning message: WarnConfigGeneric">Manage Devices in Windows</String>
  3861.     <String ID="WarnStatusGeneric_symptom" loc.comment="Symptom string for warning message: WarnStatusGeneric">{warnerror}</String>
  3862.     <String ID="WarnStatusGeneric_cause" loc.comment="Cause string for warning message: WarnStatusGeneric">A device has reported a "Not OK" status.</String>
  3863.     <String ID="WarnStatusGeneric_details" loc.comment="Details string for warning message: WarnStatusGeneric">The device, {warndescrip}, is reporting a bad status value. This device will not be available until the issue is resolved. The Plug and Play ID for this device is {warndeviceid}.</String>
  3864.     <String ID="WarnStatusGeneric_res1" loc.comment="Resolution string for warning message: WarnStatusGeneric">1. Verify the correct driver is installed.</String>
  3865.     <String ID="WarnStatusGeneric_res2" loc.comment="Resolution string for warning message: WarnStatusGeneric">2. Try updating the drivers using Windows Update.</String>
  3866.     <String ID="WarnStatusGeneric_res3" loc.comment="Resolution string for warning message: WarnStatusGeneric">3. Check with the manufacturer for an updated driver.</String>
  3867.     <String ID="WarnStatusGeneric_res4" loc.comment="Resolution string for warning message: WarnStatusGeneric">4. Attempt to uninstall and then reinstall the device using Device Manager.</String>
  3868.     <String ID="WarnStatusGeneric_related1" loc.comment="First resolution detail string for warning message: WarnStatusGeneric">Explanation of Error Codes Generated by Device Manager</String>
  3869.     <String ID="WarnStatusGeneric_related2" loc.comment="Second resolution detail string for warning message: WarnStatusGeneric">Manage Devices in Windows</String>
  3870.   </StringTable>
  3871. </Rules>
  3872.