At 12.54 30/04/2002 +0000, you wrote:
>Hi there
>i have try the approach used what Alberto suggest, however, exception
>error still occurs, in fact the error pops up when i tried and used the
>elm.getElementsByTagName("deviation") method (see the code below)
>can someone help me out
The exception could be caused by the fact that Node_list didn't find any
matching element; try adding a test for the validity of the elm variable
if(!elm.isNull())
{
DOM_NodeList deviation = elm.getElementsByTagName("deviation");
// DOM_NodeList fault = elm.getElementsByTagName("fault");
// DOM_NodeList consequence = elm.getElementsByTagName("consequence");
}
Alberto
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]