The double aspect of what you want to do is fine, yes. The XMN part isn't.
ADDED: just re-read your post., and now not sure what you mean with the XMN reference.
What are your planned flights exactly?
Flights need to be direct, with no hopping around within China (for anything other than the 24-hour TWOV).