HighTechTalks DotNet Forums  

Matching attributes between elements

Dotnet XML microsoft.public.dotnet.xml


Discuss Matching attributes between elements in the Dotnet XML forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Dylan Nicholson
 
Posts: n/a

Default Matching attributes between elements - 08-30-2007 , 09:18 PM






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


Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.