Micheal,
No the method getChildNodes returns a list of all child nodes.
My question is ,given the following xml
<list>
       <module>asdf</module>
       <module>uuu</module>
       <param>ttt</param>
       <name>gg</name>
</list>

how do I retreive a list of all nodes with a particular name. For excample
how do i retreive a list of all <module>  nodes from the above xml file...

Thanks and regards,

Raghu




On 2/21/06, Michael Hagedorn <[EMAIL PROTECTED]> wrote:
>
> Raghu,
>
> what about DOMNodeList * DOMNode::getChildNodes() ?
>
> Regards,
> Michael
>
>
> Raghu wrote:
> > Hi,
> >     I want to access immediate child DOMNodes by name.....Although
> > DOMElement has a method getElementsByTagName it returns a list of all
> > descendant nodes that have the same name....Is there a method that
> returns
> > only immediate child nodes??
> > How do I do this??
> >
> > Thank you!
> > Regards
> >
> > Raghu
> >
> >
>

Reply via email to