January 23, 2006 at 6:39 am
Friends,
In OPEN XML statements . i'm not able to distinguish the diff betn Element centric and attribute centric clearly??
Can any one throw some light on this ??
January 23, 2006 at 8:52 am
An element is the main tag itself such as <Element>
An attribute is a value within the definition of an element such as <Element MyAttribute="An attribute value" />
January 24, 2006 at 6:12 am
here's a lame example of both to help you visualize.
element centric:
<ROOT>
<BOOK>
<TITLE>The Best of SQLServerCentral.com - Vol. 3</TITLE>
<AUTHOR>Brian Knight</AUTHOR>
<NUMBEROFPAGES>250</NUMBEROFPAGES>
</BOOK>
</ROOT>
Attribute centric:
<ROOT>
<BOOK TITLE="The Best of SQLServerCentral.com - Vol. 3" AUTHOR="Brian Knight" NUMBEROFPAGES="250" />
</ROOT>
Lowell
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply