Re: NEWBIE:Cannot get to subnode using getFirstChild

2001-03-23 Thread Joseph_Kesselman
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

Re: NEWBIE:Cannot get to subnode using getFirstChild

2001-03-23 Thread Bill Schindler
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

Re: NEWBIE:Cannot get to subnode using getFirstChild

2001-03-23 Thread Joseph_Kesselman
> > >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

RE: NEWBIE:Cannot get to subnode using getFirstChild

2001-03-23 Thread David E. Cleary
> 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: > > >

RE: NEWBIE:Cannot get to subnode using getFirstChild

2001-03-23 Thread Williams Roger
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

RE: NEWBIE:Cannot get to subnode using getFirstChild

2001-03-23 Thread Williams Roger
-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

NEWBIE:Cannot get to subnode using getFirstChild

2001-03-23 Thread Williams Roger
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