XML, Database tables and fields

wxdqz

New Member
I'm currently looking at ways of transfering informations coming from a databaseto an XML file. All the examples I've seen so far use tag elements to representfields, where I see the use of attributs as a more natural and efficientway of representing field values. Am I missing something ?There way:<Contact><FirstName>Pierre</FirstName><LastName>Lamontagne</LastName></Contact>My way:<Contact FirstName="Pierre" LastName="Lamontagne" />
 
Back
Top