What is element and attribute in XML ?

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

We can have a clear view about the element and attribute in an XML from the below 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