When you charge a user with strip the fees are calculated and are a known quantity. These fees should posted to Xero. Xero already does this for payments recorded through Stripe.
In order to track the processing fee for Stripe transactions in Xero, you can set up the reconciliation feature. Through this, a bank account is created in Xero for your gateway account and the gateway statements are used to map the invoices and transactions.
Is this what you were looking for?