On 5/17/06, Rodrigo Julian Martin <[EMAIL PROTECTED]> wrote:

I have this sentence:
 
ie.select_list(:xpath, "//[EMAIL PROTECTED]'missing']")
 
How can I pass a string variable for the name?
 
I've tried with this, but didn“t work...
ie.select_list(:xpath, "//[EMAIL PROTECTED]"#{variable}"]")
 
I have troubles with double and simple hyphens...

Why did you change the inner quotes on the second try? This should work:
 
ie.select_list(:xpath, "//[EMAIL PROTECTED]'#{variable}']")
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to