# Get each node of xml using back/forward buttons

**URL:** <https://forum.kirupa.com/t/get-each-node-of-xml-using-back-forward-buttons/301538>\
**Category:** Uncategorized\
**Created:** [December 10, 2009, 11:32pm UTC](https://forum.kirupa.com/t/get-each-node-of-xml-using-back-forward-buttons/301538 "2009-12-10T23:32:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![webreake](https://avatars.discourse-cdn.com/v4/letter/w/90db22/32.png) [@webreake](https://forum.kirupa.com/u/webreake)\
**Post date:** [December 10, 2009, 11:32pm UTC](https://forum.kirupa.com/t/get-each-node-of-xml-using-back-forward-buttons/301538/1 "2009-12-10T23:32:46Z")

</div>

hi  
i need to get each node of a xml using back/forward buttons, my xml looks like this :

```auto

<modulo id="p0" titulo="modulo principal" >
	<unidad id="p1" titulo="unidad 1" />				
	<unidad id="p2" titulo="unidad 2" >
		<tema id="p2_1" titulo="tema1" >
			<subtema id="p2_1_1" titulo="subtema1" />	
			<subtema id="p2_1_2" titulo="subtema2" />
		</tema>
	</unidad>		
	<unidad id="p3" titulo="unidad 3" />		
	<unidad id="p4" titulo="unidad 4" >
		<tema id="p4_1" titulo="tema1" >
			<subtema id="p4_1_1" titulo="subtema1" >	
					<subsubtema id="p4" titulo="subsubtema" />
			</subtema>
			<subtema id="p4_1_2" titulo="subtema2" />
		</tema>
	</unidad>
</modulo> 

```

the idea is to get this secuence when using forward button :  
modulo -\> unidad 1 -\> unidad 2 -\> tema1 -\> subtema1 -\> subtema2 -\> unidad3  
and the oposite when using backward button.

thanks for your help and time 🙂
