Xml

i have few buttons that i am using,
and i want to load different XML script and image galleries for each one.
how would i do so?
if there is a better way than loading different swf’s (lots of them),
if there is a way to just edit the XML somehow,
please reply.
thanks.

p.s I have completed the XML photo gallery tutorial.