xml获取子节点

 alert($("[id='root']", xmlObj).children().eq(0).children().eq(0).children().eq(0).attr("name"));

原文地址:https://www.cnblogs.com/wdw31210/p/2419565.html