Hi Dave,
    Thanks alot. How to get all childs of a given node  in Xalan. getChildNodes always returning null pointer.
 
Thanks
Cheluus

[EMAIL PROTECTED] wrote:
> My Xml is :
>
>
> AAAAAAAAA
>

>

>
> I got the XalanNode, using XPATH ROOT/TEST,
> Then Called getFirstChildNode , it is returning TextNode, it should be
Element Node.

No, there's a whitespace text node between TEST and NODE1.

> But, if I change XML bellow, it works fine
> AAAAAAAAA

You've removed the whitespace text node. A good tutorial or book on XML
will explain things like this to you.

Dave


Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!

Reply via email to