With latest versions of express, body-parser is integrated in the express itself and provides the same middleware (Docs: https://expressjs.com/en/api.html#express.json). It would be good to use Express middleware directly for xml as well, instead of body-parser.
Example:
const express = require('express');
require('body-parser-xml')(express);
const app = express();
app.use(express.xml());