xml&xsl
共 3 篇文章
commUtil.js
commUtil.js function commLoad(URL) { var retDom = null; try { retDom = new ActiveXObject('Microsoft.XMLDOM'); retDom.async = false; retDom.load(URL); } catch (e) { retDom = document.implementation.createDocument("", "", null); retDom.async = false; retDom.load(URL); } return retDom; } function comm…
2011-11-16 15:24 · xml&xsl
xsl递归解晰xml
xml: <?xml version="1.0" encoding="UTF-8"?> <formDayreports> <formDayreport id="1" lastCash="1000.0" in="100.0" out="100.0" finalCash="1000.0" subject="1" subjectName="a1"/> <formDayreport id="2" lastCash="1000.0" in="100.0" out="100.0" finalCash="1000.0" subject="1" subjectName="a1"/> <formDayrepo…
2011-11-16 15:21 · xml&xsl
xsl参数:<xsl:param name=""></xsl:param> 等等
xml文件: <?xml version="1.0" encoding="UTF-8"?> <messages> <message name="msg23">Error 23: The drive is full.</message> <message name="msg42">Error 42: The file is not found.</message> </messages> xsl文件: <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org…
2011-11-15 23:35 · xml&xsl