Thanks. The map seems like it would be pretty much the same thing as the Select Case implementation. Whenever I add a new function, I would have to manually update the map to contain the new command string and function name. I'll think about it some more, though.

I'm not familiar with XPath yet, so I'll definately check that out. This is the first project that uses xml. Thanks again!