-
I'm trying to use this code to iterate over child elements, but it doesn't work. I'm expecting it to log
|
Beta Was this translation helpful? Give feedback.
Answered by
jameslan
Dec 5, 2024
Replies: 1 comment
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
jameslan
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
firstChild
of//parent/parent2
is anXmlText
whose content is"\n "
, after that there should be the first<child>
XmlElement
. And after that, moreXmlText
s andXmlElement
sXmlNode
has a member propertynext
, but nonextSibling