Works for me if you change "DIFF" to "DIF". Although, it doesn't
print anything.
On Thu, Dec 11, 2008 at 10:17 AM, Wm.A.Stafford
<[EMAIL PROTECTED]> wrote:
> Here is some sample code from my Digester app:
>
> java.net.URL GCMD_URL = new
> java.net.URL("http://gcmd.gsfc.nasa.gov/OpenAPI/getdif.py?format=xml&entry_id=eurobis_66");
> Digester digester = new Digester() ;
> digester.setValidating ( false );
> digester.addObjectCreate( "DIFF", String.class) ; //
> DIFF is the outermost tag
> String s = (String)digester.parse(GCMD_URL) ;
> s.toString();
> // s is null here
>
> Any ideas?
>
> -=bill
>
>
> ---------------------------------------------------------------------
> 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]