JQuery operate xml

msg is

<?xml ?>

<Parameters>

  <WorkflowName>...</WorkflowName>

</Parameters>

<Parameters>

...

</Parameters>

var arr=$(msg).find('Parameters');
var workflowName="";
$(arr).each(function(){
workflowName+=$(this).children("WorkflowName").text()+";"
});

上一篇:[Uva 10085] The most distant state (BFS)


下一篇:git使用笔记 bitbucket基本操作