What is an XML attribute ?

 Posted by Bharathi Cherukuri on 5/11/2012 | Category: Web Services, Remoting Interview questions | Views: 1223 | Points: 40

An XML attribute contains additional information regarding that particular element. The XML attributes use the name-value pair.
For example, the element student has an attribute called id and the value of this attribute is set to s01, as shown in the following code snippet:

<Student ID="s01">


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response