以文本方式查看主题 - 中文XML论坛 - 专业的XML技术讨论区 (http://bbs.xml.org.cn/index.asp) -- 『 XML基础 』 (http://bbs.xml.org.cn/list.asp?boardid=1) ---- 在这样的一个xml中,如何获取属性 (http://bbs.xml.org.cn/dispbbs.asp?boardid=1&rootid=&id=89277) |
-- 作者:sjhzy -- 发布时间:2/2/2011 9:24:00 PM -- 在这样的一个xml中,如何获取属性 xml文件: <db:attribute name="title">班级心理健康教育理论与操作</db:attribute> <db:attribute name="pages">304 页</db:attribute> <db:attribute name="author">傅宏</db:attribute> <db:attribute name="price">19</db:attribute> <db:attribute name="publisher">南京师范大学出版社</db:attribute> <db:attribute name="binding">其他</db:attribute> <db:attribute name="pubdate">2007-02-01</db:attribute> 班级心理健康教育理论与操作等这些是我想获取的,不用item(0)这样,用title如何获取属性? |
W 3 C h i n a ( since 2003 ) 旗 下 站 点 苏ICP备05006046号《全国人大常委会关于维护互联网安全的决定》《计算机信息网络国际联网安全保护管理办法》 |
8,070.313ms |