Well, you can use an alternative.......
You can get all the childnodes as in;
children = parent.getChildNodes();
for (x = 0 ; x < children.getLength() ; x++)
{
child = children.item(x);
....
}
This is just an alternative though of the getNextSibling() problem....
- - -
RYAN B. ROLEDA
NEC Telecom Software Phils., Inc.
> Yep, that was the problem
>
> Thanks Alot
>
> -----Original Message-----
> From: Curt Arnold [mailto:[EMAIL PROTECTED]]
> Sent: 25 March 2001 2:53 AM
> To: [EMAIL PROTECTED]
> Subject: Re: NEWBIE: getNextSibling Still not working
>
>
> Not quite sure what you are trying to do. I think that you has
> misinterpreted how to use getNextSibling(). Typically, you do a loop
like:
>
> for(DOMNode child = parent.getFirstChild();
> child != null;
> child = child.getNextSibling()) {...
>
> It looks like you are doing something like:
>
> for(DOMNode child = parent.getFirstChild();
> child != null;
> child = parent.getNextSibling()) {...
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]