You don't want to pepper your drill down with checks for null like this
because it's boring and repetitive. Could you imagine a method that would loop through children on a call like:
See if you can write one like that. And then, as so often happens in my life, say "D'oh! Somebody probably did this already!" and Google for XPATH.
[ April 04, 2006: Message edited by: Stan James ]