XML control:
Protected system.web.ui.webcontrols.xml xmllist;
Data source classes:
==============================
XMLList.Documentsource = "testXML.XML";
XMLList.TransFormSource = "Testxsl.xslt";
Xmllist.databind ();
==============================
Data object calls, generate an HTML file.
==============================
XmLDocument Doc = New XmLDocument ();
Doc.Load (Server.MAppath ("TestXml.xml"));
Xsltransform trans = new xsltransform ();
Trans.Load (Server.Mappath ("TestxSl.xslt");
XMLList.Document = DOC;
XMLList.Transform = Trans;
Trans.Transform (Server.Mappath ("TestXml.xml"), Server.Mappath ("TextHtml.html");
==============================