title: Not able to pass a string array to an xslt and generate an html file
body: <p>I am creating an XsltArgumentList in which I am a string array, columnNameList, using this string array I am verifying the columnNames and printing column header accordingly. Code is following</p>
  
  <p>C# code:</p>
  
  <pre><code>XsltArgumentList xsltArgumentList = new XsltArgumentList();
  string[] columnList = new string[] { "TranNo", "DueDate", "TranType" };
  
  XPathNavigator[] navigators =
                  columnList.Select(s =&gt; new XElement("column", s).CreateNavigator()).ToArray();
  
  xsltArgumentList.AddParam("columnList", string.Empty, navigators);
  </code></pre>
  
  <p>Xslt code:</p>
  
  <pre><code>&lt;xsl:param name="columnList"/&gt;
  
  &lt;tr&gt;
  &lt;xsl:for-each select="columnList/column"&gt;                       
      &lt;xsl:if test="contains('TranNo', .)"&gt;
          &lt;th&gt;Transaction #&lt;/th&gt;
      &lt;/xsl:if&gt;
      &lt;xsl:if test="contains('DueDate', .)"&gt;
          &lt;th&gt;Due Date&lt;/th&gt;
      &lt;/xsl:if&gt;
      &lt;xsl:if test="contains('TranDate', .)"&gt;
          &lt;th&gt;Date&lt;/th&gt;
      &lt;/xsl:if&gt;
      &lt;xsl:if test="contains('TranType', .)"&gt;
          &lt;th&gt;Type&lt;/th&gt;
      &lt;/xsl:if&gt;
      &lt;xsl:if test="contains('PONumber', .)"&gt;
          &lt;th&gt;PO #&lt;/th&gt;
      &lt;/xsl:if&gt;
      &lt;xsl:if test="contains('PRONumber', .)"&gt;
          &lt;th&gt;PRO #&lt;/th&gt;
      &lt;/xsl:if&gt;
      &lt;xsl:if test="contains('BOLNumber', .)"&gt;
          &lt;th&gt;BOL #&lt;/th&gt;
      &lt;/xsl:if&gt;
      &lt;xsl:if test="contains('ReferenceNo', .)"&gt;
          &lt;th&gt;REF #&lt;/th&gt;
      &lt;/xsl:if&gt;
      &lt;xsl:if test="contains('Charge', .)"&gt;
          &lt;th&gt;Invoice Amount&lt;/th&gt;
      &lt;/xsl:if&gt;
      &lt;xsl:if test="contains('OpenAmount', .)"&gt;
          &lt;th&gt;Open Amount&lt;/th&gt;
      &lt;/xsl:if&gt;
  &lt;/xsl:for-each&gt;
  &lt;/tr&gt;
  </code></pre>
  
  <p>but its not printing any column.</p>
  
  <p>Please help</p>