Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries [Thread Prev] >Thread Next - Re: Which is better for transfer data: Attributes or Elements? Which is better for transfer data: Attributes or Elements?To: NULL Date: 11/1/2008 4:39:00 AM I want to use XML to import/export some data. My data is like a database record like an employee information. I'm wondering which is better to use: saving data in attributes or saving them in elements. A typical XML may contain hundred to thousands of data. See following: using elements: ... <employee> <name>john</name> <age>45</age> <salary>52000<salary> </employee> ... OR using attributes: ... <employee name="john" age="45" salary="52000"> ... ? | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
