i noticed there are (at least) 2 types of xml files..the ones like hellwraith's post format:
<title>
<name>pt</name>
</title>
and the ones like
<title>
name="pt"
</title>
what are their differences? and their names? which to use when and where?
Printable View
i noticed there are (at least) 2 types of xml files..the ones like hellwraith's post format:
<title>
<name>pt</name>
</title>
and the ones like
<title>
name="pt"
</title>
what are their differences? and their names? which to use when and where?
Both examples are using the xml markup language. The difference is that in your first example, you are using elements and in your second, you are using attributes. The second example is actually not well-formed. An attribute is not a stand alone entity, it is part of an element.
Code:<appSettings id='MyCoolApp'>
</appSettings>
I think there are more than XML file type according to this link :
this must be confusing ...lolQuote: