YouTip LogoYouTip

Dom Nodes Traverse

# XML DOM Traversing the Node Tree * * * Traverse means cycling or moving through the node tree. * * * ## Traversing the Node Tree Often you want to loop through an XML document, for example when you need to extract the value of each element. This is called "traversing the node tree". The following example traverses all child nodes of and displays their names and values: ## Example

← Dom Mozilla Vs IeDom Nodes Nodelist β†’