xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lynch...@asus.com.tw
Subject RE: Bug
Date Fri, 10 Nov 2000 03:16:26 GMT

Never mind. I've found it. The safest way to remove
part of them is to "reverse scan" during removing.
That is, using a decremental loop to remove the undesired
nodes.

Regards
Lynch

> -----Original Message-----
> From: Lynch Wu(吳麟之) 
> Sent: Friday, November 10, 2000 11:02 AM
> To: general@xml.apache.org
> Subject: RE: Bug
> 
> 
> Hi
> 
> Then what should we do if we only want to remove a subset
> from the NodeList? Say nodes 2 and 4 from 1,2,3,4, and 5,
> according some logical comparison. I ask because I've tried
> a little different approaches but none can avoid the null pointer
> exception.
> 
> Regards
> Lynch
> 

Mime
View raw message