Hello friends!!

I have a XML document like this:

<A>
        <B> ... </B>    
        <B> ... </B>
        <B> 
                <C>
                        <B>...</B>
                        <B>...</B>
                </C>
        </B>
</A>

I would like that when I call getElementsByTagName("B",(node A)) it give me
only four nodes, but don't the B nodes inside C.
When I call getElementsByTagName it returns me 5 nodes.

Is there any method to do this? How can I do it?

thanks for all.


This message and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
No confidentiality or privilege is waived or lost by any wrong transmission.
If you have received this message in error, please immediately destroy it
and kindly notify the sender by reply email.
You must not, directly or indirectly, use, disclose, distribute, print, or
copy any part of this message if you are not the intended recipient.
Opinions, conclusions and other information in this message that do not
relate to the official business of Newknow shall be understood as neither
given nor endorsed by it. 

Reply via email to