getData - Elements/Nodes will null values

Hi 

I am having success with this command, with the exception of nodes that
return NULL values. That is, the node actaully exists but there is no data
for that node.
eg:  <SellerPartNumber></SellerPartNumber>

In addition I am using the following commands.
	my $LineProdCode = $line->getElementsByTagName ("SellerPartNumber");
     $Item  = $LineProdCode->[0]->getFirstChild->getData

It seems to crash on the getData. 

 The module seems to be erroring out somewhere. Is there a way of checking
for nodes that exist in an XML document that have null values. Is there any
way I can trap any errors caused by the null node scenario. I could not find
anything in the documentation.

You advice would be greatly appreciated.

Regards

Frank Fumic


AlphaWest Disclaimer
---------------------------------------------------------------------------
If this communication is not intended for you and you are not an authorised
recipient of this email you are prohibited by law from dealing with or
relying on the email or any file attachments. This prohibition includes
reading, printing, copying, re-transmitting, disseminating, storing or in
any other way dealing or acting in reliance on the information.
If you have received this email in error, we request you contact AlphaWest
immediately by returning the email to postmaster@alphawest.com.au and
destroy the original. This email is confidential and may contain privileged
client information. AlphaWest has taken reasonable steps to ensure the
accuracy and integrity of all its communications, including electronic
communications, but accepts no liability for materials transmitted.
---------------------------------------------------------------------------

Received on Monday, 16 April 2001 04:27:35 UTC