adplus-dvertising
frame-decoration

Question

Using Xpath, right way to address 'subject' attribute of 'class' element node is

a.

schoolclass@subject

b.

/@subject

c.

//@subject

d.

/school/class/@subject

Posted under Web Technologies

Answer: (d)./school/class/@subject

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 'subject' attribute of 'class' element node is