如何在转置和databind()之后获取xml html

发布于 2024-09-04 20:27:42 字数 393 浏览 3 评论 0原文

我有一些使用 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 技术交流群。

扫码二维码加入Web技术交流群
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文