Hi!
I've got a problem with my family :-D
I want to get the attributes of the Node1.1,
and I am placed on Node 1.3.1 (I parsed down
from Node 1):
Node 1
|
|--- Node 1.1
|
|--- Node 1.2
|
|--- Node 1.3
|
|-- Node 1.3.1
Currently, I am getting Node 1.3.1's grandparent,
then getting childnodes, and selecting Node 1.1:
GranPA = MyNode.getParentNode().getParentNode();
NodeCollect = GranPA.getChildNodes();
long number = NodeCollect.getLength();
for (int i; i<number; i++) {
DOM_Node Brother;
Brother = NodeCollect.item(i);
if (Brother.getNodeType() == DOM_Node.ELEMENT_NODE) {
....
But I get a memory error in this line.
Anyone could suggest me what I am doing wrong?
Thank you very much in advance.
_______________________________________________________________________
Get a FREE email address for your WILD SIDE! Choose from over 350
outrageous email addresses at http://www.WildEmail.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]