By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,727 Members | 1,342 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,727 IT Pros & Developers. It's quick & easy.

what is meant by nextsibling?

P: 1
please help me that what is meant by nextsibling?
Oct 17 '06 #1
Share this Question
Share on Google+
1 Reply


YenRaven
P: 29
for future refrence this is a very vauge question. might want to include where you found it. the line of code it was used on. or better yet the function it is used in.

anyway nextsibling is most often used in parseing xml. it basicaly means to move to the next sibling in a tree. for example if we had the xml document

<Colors>
</Red>
</Green>
</Blue>
</Colors>
<Trees>
</Maple>
</Elm>
</Willow>
</Trees>

if we just opened the document we would be at the <Colors> tag
Red, Green, and Blue are all children of Colors
Trees is a sibling and likewise Maple, Elm, and Willow are children of Trees.
with this said if you called next sibling on the xml document you would be at Trees.
Oct 17 '06 #2

Post your reply

Sign in to post your reply or Sign up for a free account.