Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/xml/13.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/xslt/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
powerpoint xml文件在web浏览器上像html一样显示_Xml_Xslt_Xsd_Schema_Powerpoint - Fatal编程技术网

powerpoint xml文件在web浏览器上像html一样显示

powerpoint xml文件在web浏览器上像html一样显示,xml,xslt,xsd,schema,powerpoint,Xml,Xslt,Xsd,Schema,Powerpoint,powerpoint 2010之后,无法保存为html 我知道MS支持xml而不是html 但是,当我打开xml时,它看起来根本不像powerpoint xml看起来就像一堆数据列表 有没有办法在web浏览器上从xml看起来像html(原始powerpoint外观) 我对此做了一些研究,比如xml 但是,这并不好用。 结果看起来就像xml数据列表页面 //****c#代码****// protected void xml2html5(){ XmlReaderSettings settin

powerpoint 2010之后,无法保存为html

我知道MS支持xml而不是html

但是,当我打开xml时,它看起来根本不像powerpoint

xml看起来就像一堆数据列表

有没有办法在web浏览器上从xml看起来像html(原始powerpoint外观)

我对此做了一些研究,比如xml

但是,这并不好用。 结果看起来就像xml数据列表页面

//****c#代码****//

protected void xml2html5(){
    XmlReaderSettings settings = new XmlReaderSettings();

    settings.Schemas.Add(null, "C:\\www\\xml2html5\\assets\\Schema.xsd");
    settings.ValidationType = ValidationType.Schema;
    settings.ValidationEventHandler += new ValidationEventHandler(ValidationEventHandler);
    using (XmlReader reader = XmlReader.Create(new XmlTextReader("C:\\www\\xml2html5\\assets\\test1.xml"), settings)){
        Response.ContentType = "text/xml";
        while (reader.Read()){
            Response.Write(reader.ReadOuterXml());
        }
        Response.End();
    }        
}
public void ValidationEventHandler(object sender, ValidationEventArgs ee){
    System.Diagnostics.Debug.Write("********* Error Message222 : " + ee.Message + " **********");
}
如何在web浏览器上将powerpoint xml文件显示为原始html