Kirupa's XML navigation: have some questions

hi I came across Kirupa’s navigation http://www.kirupa.com/forum/showthread.php?t=246980 that actually may work for me in my project if I just can tweak a few things:

when collapsing menu instead of displaying links I’d like to display dynamic text either from xml or external.txt file and have ability to add text either from xml or txt file without and with the buttons here is example

the light blue is a button and as you see above is just plaintext , how can combine this all together