Let's say I have the below XML
<root>
<element class="Page" style="background: url(/images/RlEguQY3_ghsdr.png?1324483033) repeat left top;" />
<element class="User" />
<element class="Image" src="/images/bg.png" />
</root>
I am looking for a xpath expression which 1) matches all elements that have /images in the style attribute and 2) matches all Image elements that have /images in the src attribute
Any help greatly appreciated
Thanks