如何在转置和databind()之后获取xml html
我有一些使用 xsl 和 xml 的代码。 Xml 控件位于设计页面上。 xml 控件 id 是 xmlApplication 生成 xmlstring,并且 xsl 具有包含所有表格和单元格等的格式。 这是生成最终产品的页面代码的一部分,该最终产品以某种格式显示 xml。
xmlApplication.Document = xmlDoc;
xmlApplication.Transform = transApp;
xmlApplication.DataBind();
我猜测在 xmlApplication.Databind() 之后, xmlApplication 将被转换为可以放入其中的内容。 是否可以作为字符串抓取?
如果我对此有错误的想法,请告诉我。
多谢。
I have some code that uses xsl and xml.
The Xml control is on the design page.
The xml control id is xmlApplication
The xmlstring is generated and xsl has the format with all the tables and cells etc.
Here is a part of thecode of a page which generates the final product which shows the xml in a certain format.
xmlApplication.Document = xmlDoc;
xmlApplication.Transform = transApp;
xmlApplication.DataBind();
I am guessing after xmlApplication.Databind(), xmlApplication will be converted into something that can be put inside .
Is it possible to grab as a string?
Please let me know if I have a wrong idea abut this.
Thanks a lot.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
http://www.logiclabz.com/c/net-c-function-to-convert-xml-document-into-html-string-using-xslt.aspx
http://www.logiclabz.com/c/net-c-function-to-convert-xml-document-into-html-string-using-xslt.aspx