Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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"; //Li Fen can edit whatever^^
- string MyXsltPath = Request.PhysicalApplicationPath + "\\banks.xslt";
- XPathDocument xmlDoc = new XPathDocument(MyXmlPath);
- XslCompiledTransform XSLTransform = new XslCompiledTransform();
- XSLTransform.Load(MyXsltPath);
- XSLTransform.Transform(MyXmlPath, null, Response.Output);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement