R
R.A.F.
Hi,
When i see a XML file i'm still wondering what are the differences
between writing node data as node attributes or as children nodes.
for example, what are the advantage to write such thing :
<setting>
<client>
<name>Vaporex</name>
<address>Saint Hope st.</address>
</client>
</setting>
instead of :
<setting>
<client name="Vaporex" address="Saint Hope st."></client>
</setting>
my question is the following one :
- which XML structure make a node or attribute research faster ?
Moreover, what should be written as attribute and what should be written
as children node ?
thanks a lot,
RAF
When i see a XML file i'm still wondering what are the differences
between writing node data as node attributes or as children nodes.
for example, what are the advantage to write such thing :
<setting>
<client>
<name>Vaporex</name>
<address>Saint Hope st.</address>
</client>
</setting>
instead of :
<setting>
<client name="Vaporex" address="Saint Hope st."></client>
</setting>
my question is the following one :
- which XML structure make a node or attribute research faster ?
Moreover, what should be written as attribute and what should be written
as children node ?
thanks a lot,
RAF