You're a little confusing, so I'm not sure exactly what you're asking... But I'm going to assume that you want to use the HDMI output on your xbox to a tv that only has dvi input (aside from component, etc.).
The hdmi to dvi cable would work if you wanted no sound. You're really better off...