i would go directly from the xlr to the soundcard.
but having a 'parallel' track, versus a copied track that gets clownphucked, is WAY better,
and gives you a much wider range of frequency to work with..
the idea is, the sansamp gives you the 'amp and speaker' emulation, and you put your drive characteristics on that....
then the 'unaffected' xlr out, gives you a pure bass tone (a typical direct injection sound) and THAT is what you run into your octo capture, and keep it clean, but if you have an outboard compressor, it's here that you would use that, to control the 'form' of the bass capture
then, with that full bandwidth clean capture, mixed in with the grunt from the sansamp sound of your choosing,
you get a really nice pair of tones to then tweak on mixdown