You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "Bavishi, Pankij" <PA...@ca.com> on 2002/02/06 19:45:22 UTC

nodelist

In xerces- c++ how can I get "Nodelist length" containing length of child nodes or so? I didn't find any function readymade in DOM like getFirstChild() etc?
Please help

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org


Re: nodelist

Posted by Tinny Ng <tn...@ca.ibm.com>.
use getLength(), e.g.

        DOM_NodeList      nl = tx.getChildNodes();
        int      nodeListLen = nl.getLength();

Tinny

"Bavishi, Pankij" wrote:

> In xerces- c++ how can I get "Nodelist length" containing length of child nodes or so? I didn't find any function readymade in DOM like getFirstChild() etc?
> Please help
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-c-dev-help@xml.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org