Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > XML > Example of sibling and child

Reply
Thread Tools

Example of sibling and child

 
 
Petterson Mikael
Guest
Posts: n/a
 
      08-24-2005
Hi,

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

cheers,

//mikael
 
Reply With Quote
 
 
 
 
David Dorward
Guest
Posts: n/a
 
      08-24-2005
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
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
treewalker: child-sibling question Ward Germonpré Javascript 7 12-05-2006 08:39 AM
XSLT: iterating all child elements and accessing homonymous childrenin sibling elements Gerald Aichholzer XML 2 06-27-2006 03:46 PM
how to find not the next sibling but the 2nd sibling or find sibling "a" OR sinbling "b" localpricemaps@gmail.com Python 11 01-23-2006 07:04 PM
sum and preceding-sibling question Chris XML 5 04-19-2005 06:05 PM
How do I: Main thread spawn child threads, which child processes...control those child processes? Jeff Rodriguez C Programming 23 12-09-2003 11:06 PM



Advertisments