求高人解答
<map initialExtent="12036691.718120124 3360783.259641753 12951490.072612121 3956380.584039685" fullExtent="12036691.718120124 3360783.259641753 12951490.072612121 3956380.584039685"><mapgroup label="影像数据">
<mapservice id="" label="湖北影像图PNG" type="kqtiled" visible="true" imageType="0" alpha="1">http://192.168.1.113:8066/hubei_jpg/</mapservice>
</mapgroup>
<mapgroup label="土地规划">
<mapservice id="" label="湖北影像图PNG" type="kqtiled" visible="true" imageType="0" alpha="1">http://192.168.1.113:8066/hubei_jpg/</mapservice>
</mapgroup>
<mapgroup label="地类图斑">
<mapservice id="" label="湖北地类图斑" type="kqtiled" visible="false" imageType="1" alpha="1">http://192.168.1.198:81/hubei_shape_pic/</mapservice>
<mapservice id="" label="湖北行政区" type="kqtiled" visible="false" imageType="1" alpha="1">http://192.168.1.198:81/hubei_shape_pic/</mapservice>
<mapservice id="" label="湖北地类图斑安唐模式" type="kqantang" quadKey="132" visible="false" imageType="1" alpha="1">http://192.168.1.136:8085/</mapservice>
</mapgroup>
</map>
怎么获取mapservice节点的个数啊
求高手解答~~~·
--------------------编程问答-------------------- 用jq 就一句话
$("mapservice").length --------------------编程问答-------------------- document.getElementsByTagName("mapservice").length javascript写法 --------------------编程问答-------------------- 楼上的正解 --------------------编程问答-------------------- 结贴!!!!!!!!!!
补充:.NET技术 , ASP.NET