2014年12月7日

php使用domdocument读取xml文件

摘要: 使用domdocument读取xml文件需要用到以下几个方法和属性: 方法: 1:读取xml文件:load() 2:获取标签的对象数组:getElementByTagName() 3:对象数组的索引:item() 属性: 1:获取属性或节点的文本:nodeValue ... 阅读全文

posted @ 2014-12-07 16:02 sustudy 阅读(4596) 评论(0) 推荐(0) 编辑

php使用DomDocument生成xml文件

摘要: 使用php生成xml文件。 阅读全文

posted @ 2014-12-07 15:13 sustudy 阅读(444) 评论(0) 推荐(0) 编辑

导航