Grounding in electronic is even more confusing then the meaning of ACT in SONAR.
We have several "grounds":
1) "ground" connector on power socket. It should be "real" ground (well connected with the earth). It should not be used to deliver elictricity. It is there just in case the power wire is by occasion touch metal parts we can touch as well, so "overcurrent" somehow switch electricity off and prevent our death. The theory is good, but the practice, especially in consumer area, is far from perfect. I was born in Russia, where outlets had no such connector.
2) "ground" (0) wire on power socket. That is used to deliver electricity (together with the power wire). It is normally "close" to the real ground, so for example we do not feel us bad in case we touch it. Well, if everything is correctly connected and it is not in use by some powerful device, in which case the wire own resistance produce significant potential shift. For that reason, it should not be connected with the "real" ground.
3) circuit "ground", as a reference for other (not power) signals inside the device. Depending on the power supply of the device, it can have virtually any potential compare to (1) or (2).
4) signal "ground" for transferring the signal (for example audio)
5) shield "ground", just to have the shield potential on some stable level.
So, for XLR it is quite logical:
* if both ends have the "ground" pin connected to the shield (inside device), it make no different how we connect it in the cable
* in all other cases of it's connection ((3) or (1)) we are looking for troubles (till at one end it is disconnected, inside the device or in the cable)
Theoretically, the same is valid for USB.
But there is one small problem... all "grounds" except (1) can be different between powered devices. The shield on all devices is (should be) connected such way, that the difference on it can not "kill" the device. It can create hum/noise or even switch off the device, but it should not kill it. From information in the Internet, audio circuits (at least in (semi)pro level) are also prepared for such "surprise". But for USB I am not so sure...
I must admit that my background in electronics has not helped me eliminate my hum, so I am waiting for the trafo
PS. Sorry for so long post.