Example of sibling and child

Discussion in 'XML' started by Petterson Mikael, Aug 24, 2005.

  1. Hi,

    Can anyone, with a simple example, show what a child and a sibling is in
    xml context?

    cheers,

    //mikael
    Petterson Mikael, Aug 24, 2005
    #1
    1. Advertising

  2. Petterson Mikael wrote:

    > Can anyone, with a simple example, show what a child and a sibling is in
    > xml context?


    Same as any other context. Siblings have the same parent in a hierarchy, a
    child is of a parent.

    <bar>
    <foo>
    <child_of_foo />
    </foo>
    <sibbling_of_foo />
    </bar>

    --
    David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
    Home is where the ~/.bashrc is
    David Dorward, Aug 24, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Chris
    Replies:
    5
    Views:
    1,857
    Chris
    Apr 19, 2005
  2. Gerald Aichholzer
    Replies:
    2
    Views:
    2,491
    Gerald Aichholzer
    Jun 27, 2006
  3. Jeff Rodriguez
    Replies:
    23
    Views:
    1,111
    David Schwartz
    Dec 9, 2003
  4. Replies:
    11
    Views:
    649
    Fredrik Lundh
    Jan 23, 2006
  5. Ward Germonpré

    treewalker: child-sibling question

    Ward Germonpré, Dec 4, 2006, in forum: Javascript
    Replies:
    7
    Views:
    109
    Ward Germonpré
    Dec 5, 2006
Loading...

Share This Page