What is element and attribute in XML ?

 Posted by Bharathi Cherukuri on 3/16/2012 | Category: ASP.NET Interview questions | Views: 1522 | Points: 40
Answer:

We can have a clear view about the element and attribute in an XML from the below example.

Example:

<invoice invnumber=1001></invoice>


In the above example, invoice is the element and invnumber is the attribute.


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response