Home Page › Forums › BizTalk 2004 – BizTalk 2010 › Difference Between Child Field Element & Child Field Attribute › Re: Difference Between Child Field Element & Child Field Attribute
October 15, 2008 at 3:17 AM
#20977
Consider following example:
<persons>
<person id=”1″>
<name>Tarzan</name>
</person>
<person id=”2″>
<name>Jane</name>
</person>
</persons>
person with id: 1 is a sibling to person with id: 2
person is a child of persons and a parent of name
id is an attribute
persons, person and name are elements
So:
person is a “Child Field Element” of persons
name is a “Child Field Element” of person
id is a “Child Field Attribute” of person
Hope that’s clear enough.
//Niklas Häggström – Connecta AB, Sweden