我试图匹配
发生错误
在
<div id="someid" class="alert alert-warning">
<button type="button" class="close" data-dismiss="alert">×</button>
An error has occurred
</div>
我尝试了id = someid和// div [@id =&#39; someid&#39;]的各种组合,但它保持匹配&#34; x&#34;在元素中。