|
Carthag posted:But I can't find any methods on Element for iterating sequentially on them like this? Element is a subclass of Node, so your code should work just fine? Edit: the reason your code is not working is because you can't get the text contained in an element by calling getNodeValue() on it - that always returns null. The text you want is in the child of that element node as a text node, so what you want to do instead is: code:
aleph1 fucked around with this message at 17:45 on Nov 10, 2010 |
# ¿ Nov 10, 2010 17:34 |
|
|
# ¿ May 20, 2024 12:00 |
|
Harold Ramis Drugs posted:ugh, i'm just going to write that little detail off as a typo then. Thanks What was meant was probably: don't use raw arrays, instead use the Collections framework (List/Set/etc), which is good advice for people just starting out with Java.
|
# ¿ Oct 16, 2011 06:03 |
|
No Safe Word posted:
I think you meant: code:
|
# ¿ Mar 3, 2012 01:19 |