Author: JohnBampton | Posted on: 7/22/2009 8:33:02 PM | Views : 1169

When I run this all I get is a blank webpage but when I view the source all the html is there??



XmlDocument xmlDoc = new XmlDocument();
        xmlDoc.Load(Server.MapPath("XML\\" + ListBox1.SelectedItem.Text));



        XslCompiledTransform transform = new XslCompiledTransform();
        XsltSettings xsltSettings = new XsltSettings();
        xsltSettings.EnableDocumentFunction = true;

        transform.Load(Server.MapPath("XSL\\" + DropDownList1.SelectedItem.Text), xsltSettings, null);
        
        transform.Transform(xmlDoc, null, Response.Output); 

...

Go to the complete details ...