You left out one node:
ELEMENT: properties
TEXT: a line-feed and several spaces (before propone)
ELEMENT: propone
TEXT:
TEXT: a line-feed and several spaces (between propone and proptwo)
ELEMENT: proptwo
TEXT:
TEXT: a line-feed and several spaces (after proptwo
On Friday, March 23, 2001, at 09:57 AM, Williams Roger wrote:
>
>
>
>
If you checked the type of the first node of you would
discover that it is not an element node. The DOM tree that's created
from your XML above would produce something lik
>
>
>abcdef
>
>
>
>
>
1) The first child of your properties node is almost certainly a Text node
containing the whitespace between the tag and the
tag. Check its nodeType, and if it that's the case you'll use this node's
getNextSibling() operation to advan
> I need help
>
> I am trying to walk through all the ChildNodes in a Node.
> I can get to the ParentNode(properties) by using getElementsByTag, but i
> can't seem to get a Node representation of the first child(propone) of the
> ParantNode(properties).
>
> My XML Document looks like:
>
>
>
I need help
I am trying to walk through all the ChildNodes in a Node.
I can get to the ParentNode(properties) by using getElementsByTag, but i
can't seem to get a Node representation of the first child(propone) of the
ParantNode(properties).
My XML Document looks like:
abcdef
-Original Message-
From: Williams Roger
Sent: 23 March 2001 6:58 PM
To: '[EMAIL PROTECTED]'
Subject: NEWBIE:Cannot get to subnode using getFirstChild
I need help
I am trying to walk through all the ChildNodes in a Node.
I can get to the ParentNode(properties
I need help
I am trying to walk through all the ChildNodes in a Node.
I can get to the ParentNode(properties) by using getElementsByTag, but i
can't seem to get a Node representation of the first child(propone) of the
ParantNode(properties).
My XML Document looks like:
abcdef