Difference Between Child Field Element & Child Field Attribute

Home Page Forums BizTalk 2004 – BizTalk 2010 Difference Between Child Field Element & Child Field Attribute

Viewing 2 reply threads
  • Author
    Posts
    • #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, 

    • #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.asp

      One of the keys to Biztalk is understanding Xml Namespaces.

       

    • #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.

       

       

      • #20976

         Difference Between Child Field Element & Child Field Attribute

        Please any one tell me difference

        • #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

Viewing 2 reply threads
  • The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.