Thanks a lot Tinny!! it works!
Just wanted to clarify two more things:
(1) DOMString and BSTR are compatible? Can I use one for other?
(2) what is the function to replace NodeList->selectNodes(key)
in MSXML by Xerces-DOM like DOM_Node.selectNodes(key)???

Your suggestions have been a great help.
Thanks again
pan

-----Original Message-----
From: Tinny Ng [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, February 06, 2002 3:52 PM
To: [EMAIL PROTECTED]
Subject: Re: nodelist

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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to