using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Xml; using System.Xml.Xsl; using System.Xml.XPath; namespace banks_columngraph { public partial class banks : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { string MyXmlPath = Request.PhysicalApplicationPath + "\\banks.xml"; string MyXsltPath = Request.PhysicalApplicationPath + "\\banks.xslt"; XPathDocument xmlDoc = new XPathDocument(MyXmlPath); XslCompiledTransform XSLTransform = new XslCompiledTransform(); XSLTransform.Load(MyXsltPath); XSLTransform.Transform(MyXmlPath, null, Response.Output); } } }