Php tamino query problem

Hi all,

Newbie post so advise if I’m in the wrong area or ignorant of conventions.

I’m having trouble pulling the values of attributes back using php, tamino and xpath.

Using ‘string(div/@did)’, I would expect to get back all the values of the div element’s did attribute in my document.

What I am getting back is only the last div element’s did attribute.

Does anyone know where I might be making a mistake?

Cheers,
dave