Multiple choice technology programming languages

An attributes can be accessed in the way similar to the elements. Notice ____ in front of the attribute name.

  1. $
  2. %

  3. @

  4. &

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

In XPath and XSLT, attributes are accessed using the @ symbol prefix. For example, @id selects the 'id' attribute of the current node. This distinguishes attributes from elements which are selected by name alone.