xml attributes vs. elements


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: xml attributes vs. elements

  1. #1
    monife Guest

    xml attributes vs. elements


    I have been hearing some debate on xml elements vs attributes. Many manuals
    guide you down the path of using elements for data transfer. However, I
    have noticed that if using Microsoft's ADO objects the data is being placed
    in attributes as opposed to elements. I have also seen documentation that
    indicates that it is not a good practice to create and xml document that
    has elements tied directly to the fields in a database table. Can someone
    please give me any insight on whether or not microsoft is moving to use the
    attribute due to better performace issues, and why that might be taking place.




  2. #2
    Matt Brook Guest

    Re: xml attributes vs. elements


    Hey monife!

    MSDN Online has an article discussing this question:

    http://msdn.microsoft.com/xml/articles/xml02212000.asp

    Title: Inside MSXML Performance

    Good Luck,
    Matt

    "monife" <monifelee@ureach.com> wrote:
    >
    >I have been hearing some debate on xml elements vs attributes. Many manuals
    >guide you down the path of using elements for data transfer. However, I
    >have noticed that if using Microsoft's ADO objects the data is being placed
    >in attributes as opposed to elements. I have also seen documentation that
    >indicates that it is not a good practice to create and xml document that
    >has elements tied directly to the fields in a database table. Can someone
    >please give me any insight on whether or not microsoft is moving to use

    the
    >attribute due to better performace issues, and why that might be taking

    place.
    >
    >
    >



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center