DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 2 of 2
  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.
    >
    >
    >



Bookmarks

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


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links