Parsing the XML Response get the root node: var rootNode = document.wlXmls[0].XMLDocument.documentElement get the root node's name : rootNode.nodeName get the root node's first child: var fisrtChild = rootNode.childNodes.item(0) Note: the text of
背景: 年11月,微软宣布作为ECMA国际主要合作伙伴,将其开发的基于XML的文件格式标准化,称之为"Office Open XML" .Open XML的引进使office文档结构更加标准化,并且开发人员使用 Open XML SDK可以直接进行很多简单的操作,但是仍然有很多差距,如将word文档转换成其他格式,比如PDF,图像,或者HTML等.这就是Spire.Doc 来拯救开发人员的原因. 文档转换: 我将在文章的其余部分来介绍Spire.Doc可以适用的多种场景.文中展示的所有