示例XML --可能有多个以下实例--我试图从每个不包含单词"Flood“或短语”没有活动的监视、警告或警告“的实例中获取<title>子元素。<entry> </author>
<title>There are no active watches, warnings or advisories</t
我希望编写如下代码来计算条目的数量,例如: url: 'http://environment.data.gov.uk/flood-monitoring', //not sureif this link is correct success: function(data){
alert(data.length+' package(s) found')