I have not had to back up before but one thing you might consider doing
is place that needed info into a variable when you get to that part of
the tree and before you go down it.
Hope that makes sense, it will work unless you are using a different
logic of drilling down the nodes.
[quoted text, click to view] kokochka wrote:
> I can get a value with
> bNode.parentNode.attributes.name,
>
> BUT
> I need to get something
> bNode.parentNode.parentNode.attributes.name
> (two level up). And this doesn't work...
>
> How can i do it?
> Please help
This confuses me.
Maybe I am not understanding what you are trying to do.
Where are you getting the bNode from?
It had to come from a root node somewhere.
If you don't have the original nodes above it, then you can't access them.
Can you email me the script and I can better help you.
Scotty
[quoted text, click to view] kokochka wrote:
> This is because I bNode contained only certain childNodes. So it cannot go way up to the root node of the original XMLNodes.
>
Don't see what you're looking for? Try a search.