"tmp.getNodeValue().getFirstChild().getNodeValue()" doesn't work since 
"tmp.getNodeValue()" is null. 

But "tmp.getFirstChild().getNodeValue()" returns the correct value.

So, my problem is solved for flowscript. Thank you all for your good hints and 
kinds of information. 

Now, I will try to implement the access to an XML bean in a javaflow ...

 Saskia


-------- Original-Nachricht --------
Datum: Wed, 09 Aug 2006 08:44:42 +0200
Von: Dennis Dam <[EMAIL PROTECTED]>
An: [email protected]
Betreff: Re: Access to XML bean elements in flowscript/javaflow

> >
> > When I say
> >
> > tmp.getNodeValue I get "null". How can I receive the value of my bean?
> >
> > Thanks
> >
> >  Saskia
> >   
> I think you should fetch the first text() node of tmp .. tmp is the
> beannumber element.. getNodeValue is just a generic method of the Node 
> interface
> .. so a Node can be an attribute, text node, element, document, etc..
> "getNodeValue" does not return a value for all of these subinterfaces per se. 
> 
> I think "tmp.getNodeValue().getFirstChild().getNodeValue()" should give
> you the correct value. "getFirstChild()" should return the first text node of
> the beannumber element, which holds the actual value.
> 
> 
> Dennis
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

-- 


Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

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

Reply via email to