I have a quick query about XML and Xpath which I was wondering if anybody could help out with.

I would like to use Xpath to select a group of elements but the Xpath query will contain different data each time but the structure of the Xpath will always be the same, ie:
/literals/groupname/phrase
/literals/system/phrase
/literals/errors/phrase

I would like to be able to do something like:
/literals/laceholder/phrase
(similar to executing prepared SQL statements)

Is this possible and if so how? I have done a quick search on Google which returned nothing as far as I could tell.

Thanks in anticipation.