powerpoint xml文件在web浏览器上像html一样显示
powerpoint 2010之后,无法保存为html 我知道MS支持xml而不是html 但是,当我打开xml时,它看起来根本不像powerpoint xml看起来就像一堆数据列表 有没有办法在web浏览器上从xml看起来像html(原始powerpoint外观) 我对此做了一些研究,比如xml 但是,这并不好用。 结果看起来就像xml数据列表页面 //****c#代码****//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
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