Martin Honnen wrote:
yawnmoth wrote:
If I wanted to select all 'form' tags with an attribute of 'name'
being set to a specific value, I'd do this:
//form[@name=whatever]
What if, however, I wanted to select all 'form' tags with either an
attribute of 'name' or an attribute of 'id' being set to a specific
value?
form[@name = 'foo' or @id = 'bar']
does a logical or. Do you really want an either/or?
Yup - want it to behave like <a name="..."or <a id="...">. For
either of those, page.html#... goes to the same thing. Not sure what
would happen if you had an <a name="..."and an <a id="..."with the
same value, but yeah - I do indeed want or. No particular preference
on whether or not it's inclusive or exclusive...