title: Printing Text from Custom Fields added to TFS Test Case Work Item
body: <p>We are using TFS2017/2018 not VSTS, so I have access to the server.  I am attempting to print a test plan that contains 3 custom html fields. </p>
  
  <p>Don't hate me...my industry still has a need for hard copy test plans. </p>
  
  <p>I've modified the TestCase.xml and TestSuite.xsl based on an existing field within the work item type that does what I am attempting to do. I have updated the TestCase.xml file and imported it using the witadmin tool. The fields are present and functional on the work item and the data entered in them shows up in the database.  So the fields are defined correctly. </p>
  
  <p>My new fields were based on the existing field on the Test Case Work Item. I basically c/p the summary and modified it to reflect the new fields' information.  The first line of this is where I am stumped.  </p>
  
  <pre><code>&lt;xsl:for-each select="summary"&gt;
    &lt;div class="sub-tab" _locID="Summary"&gt;
       SUMMARY
       &lt;br/&gt;
     &lt;/div&gt;
     &lt;div&gt;
       &lt;xsl:copy-of select="."/&gt;
     &lt;/div&gt;
     &lt;br/&gt;
  &lt;/xsl:for-each&gt;
  </code></pre>
  
  <p>I know it needs to read something like:</p>
  
  <pre><code>&lt;xsl:for-each select="newFieldvariable"&gt;
  </code></pre>
  
  <p>I know that XML/XSL are case sensitive, thus leaving me to believe that the "summary" in the for-each select is defined someplace else. Since it is not defined anywhere in the two files I have modified, I thought perhaps there would be an XSD? I've searched all over the TFS files trying to find an XSD or other place where that variable is defined to allow me to modify that file and populate the custom fields via a similar select statement.</p>
  
  <p>My assumption was further supported by adding</p>
  
  <pre><code>&lt;xsl:for-each select="*"&gt;
  &lt;xsl:value-of select="local-name()" /&gt;
  &lt;/xsl:for-each&gt;
  </code></pre>
  
  <p>Which listed summary as the local name. </p>
  
  <p>I've googled the poo out of this and I just can't seem to find where that "summary" is defined.</p>
  
  <p>I'm not completely green to coding, but I haven't been working in XML or XSLT in a very long time.  What am I missing?</p>
  
  <p><a href="https://i.stack.imgur.com/axEEn.png" rel="nofollow noreferrer">Picture of modified work item with custom fields added</a></p>
  
  <p>The information entered in the custom fields need to be displayed on the export.  See image linked below.  Information should display where highlighted in yellow.
  <a href="https://i.stack.imgur.com/PtESU.png" rel="nofollow noreferrer">Picture of export Print Preview with new field headers but no info.</a></p>