D
Dylan Nicholson
Hi,
Just wondering if anyone knew if it was possible to select <input>
elements in an XHTML document for which there exists a corresponding
<label> element, whereby the label's "for" attribute value must match
the input's "id" attribute value. i.e.: something like
//input[//label[@for=???@id]]
whereby the ??? specifies the input element's attribute axis.
Currently I'm doing it with a custom function, which is fine, but it
seems like it should possible without it.
Thanks
Dylan
Just wondering if anyone knew if it was possible to select <input>
elements in an XHTML document for which there exists a corresponding
<label> element, whereby the label's "for" attribute value must match
the input's "id" attribute value. i.e.: something like
//input[//label[@for=???@id]]
whereby the ??? specifies the input element's attribute axis.
Currently I'm doing it with a custom function, which is fine, but it
seems like it should possible without it.
Thanks
Dylan