title: XSLT Value-of Selected Not working
body: <p>I have a style sheet for a large XML file. What I want is that if Redlines have occurred then display the item number. Redlines is either true or false and item number is a number. </p>
  
  <p>Redlines is located: underProductDataeXchangePackage/Changes/Change/AffectedItems/AffectedItem/AdditionalAttributes[1]/AdditionalAttribute[3]
  Item Number is located: ProductDataeXchangePackage/Changes/Change/AffectedItems/AffectedItem/@itemIdentifier</p>
  
  <p>My code is:</p>
  
  <pre><code>&lt;/tbody&gt;
  &lt;/table&gt;
  &lt;br/&gt;
  &lt;br/&gt;
  &lt;span style="font-family:Calibri; font-size:12pt; "&gt;
  &lt;b&gt;&lt;tr style="font-family:Calibri; font-size: 12pt; "&gt;Redline Manufacture:&lt;/tr&gt;&lt;/b&gt;
  &lt;/span&gt;
  &lt;br/&gt;
  &lt;xsl:for-each select="ProductDataeXchangePackage"&gt;
  &lt;xsl:for-each select="Changes"&gt;
  &lt;xsl:for-each select="Change"&gt;
  &lt;xsl:for-each select="AffectedItems"&gt;
  &lt;xsl:for-each select="AffectedItem"&gt;
  &lt;xsl:for-each select="AdditionalAttributes[1]"&gt;
  &lt;xsl:for-each select="AdditionalAttribute[3]"&gt;
  &lt;xsl:for-each select="@value"&gt;
  &lt;td style="text-align:left; "&gt;
  &lt;span style="font-family:Calibri; font-size:12pt; "&gt;
  &lt;xsl:choose&gt;
  &lt;xsl:when test="contains(.,'tru')"&gt;
  &lt;xsl:value-of select="string(.)"&gt;
  &lt;/xsl:value-of&gt;
  &lt;xsl:value-of select="string('-')"&gt;
  &lt;/xsl:value-of&gt;
  &lt;xsl:value-of select="ProductDataeXchangePackage/Changes/Change/AffectedItems/AffectedItem/@itemIdentifier"&gt;
  &lt;/xsl:value-of&gt;
  &lt;br/&gt;
  &lt;/xsl:when&gt;
  &lt;xsl:otherwise&gt;
  &lt;/xsl:otherwise&gt;
  &lt;/xsl:choose&gt;
  &lt;/span&gt;
  &lt;/td&gt;
  &lt;/xsl:for-each&gt;
  &lt;/xsl:for-each&gt;
  &lt;/xsl:for-each&gt;
  &lt;/xsl:for-each&gt;
  &lt;/xsl:for-each&gt;
  &lt;/xsl:for-each&gt;
  &lt;/xsl:for-each&gt;
  &lt;/xsl:for-each&gt;
  &lt;br/&gt;
  </code></pre>
  
  <p>My output shows the correct number of trues (out of 15 item numbers, only 11 show...thats great); however, the item number is blank</p>