如何将xml文件动态转换为html表 [英] how to convert xml file to html table dynamically
本文介绍了如何将xml文件动态转换为html表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
任何人都可以帮助我如何将XML动态转换为HTML表.即,对于任何xml文件,我们都必须生成html表.
在此先感谢
Seshu
Hi All,
Anyone can help in how do I convert XML to HTML table dynamically.. i.e., for any xml file we have to generate html table.
Thanks in Advance
Seshu
推荐答案
为此您需要XSLT
http://www.w3schools.com/xsl/ [ http://www.w3schools.com/xsl/tryxslt.asp?xmlfile= cdcatalog& xsltfile = cdcatalog [ ^ ]
You need XSLT for that
http://www.w3schools.com/xsl/[^]
Example:http://www.w3schools.com/xsl/tryxslt.asp?xmlfile=cdcatalog&xsltfile=cdcatalog[^]
这篇关于如何将xml文件动态转换为html表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文