adplus-dvertising
frame-decoration

Question

Using Xpath, right way to address all 'subject' attribute having title 'compulsory' is

a.

//class[@subject="compulsory"]

b.

//class/[@subject="compulsory"]

c.

\class[@subject="compulsory"]

d.

\class[@subject="compulsory"]

Posted under Web Technologies

Answer: (a).//class[@subject="compulsory"]

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Using Xpath, right way to address all 'subject' attribute having title 'compulsory' is