XLR can ground the hot tip when plugging in, while TRS won't. Else both same three conductor balanced cords, afaik. Edit IMO, XLR are sturdier. Polar pretty much nailed it. I prefer XLR for exactly ...
If you thought your 3.5mm headphone jack was good enough, think again.