Originally posted by John Landon:
not helpful.
at the point of parsing I don't know any paths or names. I just know I need the "real" child
You may not have read all of Paul's reply. He made another suggestion besides using paths or names:
Originally posted by Paul Clapham:
That could involve getting all the children and examining them, or...
Unfortunately
probably won't compile.
But iterating through the NodeList until the current node is an instance of an Element would work.
[ December 11, 2008: Message edited by: Mark Vedder ]