How to make Set Rotation rotate along a specific axis?

I have a camera set to rotate to a certain point, but it does so along a weird axis. Is there any way I can set which axis the camera rotates along?

I think there should be a small globe-like icon on the top right of your screen. This will switch between world and local transformation. Sorry if this is unhelpfull, as I am away from my workstation at the moment.

EDIT: if you mean to do this in realtime, then try switching between the Set World Rotation and Set Relative Rotation nodes.