XML如何获取到XML形式的节点信息
如下代码,我想得到filemanager节点的信息,是这个节点的xml文本形式的信息,如果取得 ?
<?xml version="1.0" encoding="GB2312" ?> - <commands> <?xml version="1.0" encoding="GB2312" ?> - <command name="ReleaseTemplate" cmdid="233680"> <param name="starttime" value="0" /> <param name="endtime" value="0" /> <param name="cmdfeedbackurl" value="http://100.100.100.100:8000/DSN/services/Agent4?wsdl" /> <param name="templatename" value="0331_xh" /> <param name="downloadPRI" value="1" /> <param name="isdefaulttemplate" value="1" /> <param name="playtime" value="" /> - <filemanager type="normaldownload" com="HTTPDOWN" isclean="1" taskid="2012-05-076554456" feedbackurl="http://100.100.100.100:8000/DSN/services/DownTask?wsdl"> <file id="0" remotepath="http://100.100.100.100:8000/DownServer/DownAction.do;?task_code=2012-05-076554456&file_name=0331_xh%2FTexture%2F%7BA7873864-DC2B-4717-9357-23C2D66F6834%7DProvider9.txt&player_code=null&download_file_state=0&template_folder_name=0331_xh" localpath="0331_xh/Texture/{A7873864-DC2B-4717-9357-23C2D66F6834}Provider9.txt" /> <file id="1" remotepath="http://100.100.100.100:8000/DownServer/DownAction.do;?task_code=2012-05-076554456&file_name=0331_xh%2FTexture%2F0331+%2813%29.jpg&player_code=null&download_file_state=0&template_folder_name=0331_xh" localpath="0331_xh/Texture/0331 (13).jpg" /> </filemanager> </command> </commands>