Home Page › Forums › BizTalk 2004 – BizTalk 2010 › Difference Between Child Field Element & Child Field Attribute
- This topic has 6 replies, 1 voice, and was last updated 9 years, 2 months ago by
community-content.
-
AuthorPosts
-
-
November 28, 2006 at 1:18 AM #16548
Hi all,
I am a new biztalker, and as i was reading the walkthrough scenarios, I came across adding Chield Field Element, also I found something called Child Field Attribute, so I was wondering what is the difference between them, and where to use each one.
also whats the difference between a Record and Sibling Record ??
Thanks in advance,
-
November 28, 2006 at 1:42 AM #16549
The terms all reflect the underlying Xml structure:
<root>
<record childattribute="value">
<childfield>value</childfield>
</record>
<siblingrecord>
<childrecord>
<childfield2>value2</childfield2>
</childrecord>
</siblingrecord>
</root>Sibling is equivalent to brother or sister i.e. at the same level
A good idea may be to learn about Xml.
W3C has the spec, and there are tutorials, etc http://www.topxml.com/xml/LearnXML.aspOne of the keys to Biztalk is understanding Xml Namespaces.
-
November 28, 2006 at 2:22 AM #16551
Dear greg.forsythe,
Thanks for your response, i will read the tutorial you sent, and if there is any other links please provide me,
Thanks again.
-
October 15, 2008 at 2:22 AM #20976
Difference Between Child Field Element & Child Field Attribute
Please any one tell me difference
-
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 nameid is an attribute
persons, person and name are elementsSo:
person is a “Child Field Element” of persons
name is a “Child Field Element” of person
id is a “Child Field Attribute” of personHope that’s clear enough.
//Niklas Häggström – Connecta AB, Sweden
-
-
-
-
AuthorPosts
- The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.