I tried to use string functions in the xpath statements I'm passing, like
$oXml->xpath('substring(/foo/bar/text(), 0, 4)');
But no matter which syntax I'm trying I never the string functions to work.
Is it possible, that the xpath method does not support function calls?