title: How to pass the C# list values to XSLT file
body: <p>I am new to C#-XSLT, I am trying to pass a List to the XSLT file.
  Someone help me with the below questions.
  C#:</p>
  
  <pre><code>var Listresponse= Reference.OracleMethod(Parameter);
  
                      var settings = new XsltSettings();
                      settings.EnableScript = true;
  
                      // Create the XslCompiledTransform and load the style sheet.
                      XslCompiledTransform xslTransform = new XslCompiledTransform(true);
                      xslTransform.Load("xslfile.xsl", settings, null);
  
                      // Create an XmlWriter to write the output.
                      XmlWriter writer = XmlWriter.Create("xmlfile.xml");
  
                      // Transform the file.
                      xslTransform.Transform(new XPathDocument("output.xml"), argsList, writer);
                      writer.Close();
  </code></pre>
  
  <p><strong>C# Question 1: How to pass the C#  "Listresponse"(List) to the XSLT file.</strong></p>
  
  <p>XSLT:</p>
  
  <p><strong>XSLT Question 2:  What is the URL which needs to specify on the XSLT file for C# Listresponse?</strong></p>
  
  <p>for instance, I have specified the oracle URL here. I need the same for C#. Please help.</p>
  
  <p>Sample  XSLT file with Oracle Package/SP:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-16"?&gt;&lt;xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" 
  xmlns:test="http://Microsoft.LobServices.OracleDB/2007/03/DB/Package/Package_Name"
  xmlns:test1="http://Microsoft.LobServices.OracleDB/2007/03/DB/Package/Package_Name_StoredProcedure_Name"&gt;&lt;xsl:output omit-xml-declaration="yes" method="xml" version="1.0" /&gt;
  
    &lt;xsl:template match="/"&gt;
      &lt;xsl:apply-templates select="/test:ProcedureResponse" /&gt;
    &lt;/xsl:template&gt;
    &lt;xsl:template match="/test:ProcedureResponse"&gt;
  &lt;/xsl:stylesheet&gt;
  </code></pre>