works fine here:
flow
[{"id":"69a64e3d.84da3","type":"http in","z":"90e2df527c725ffb","name":"","url":"/hello-xml","method":"post","upload":false,"swaggerDoc":"","x":340,"y":580,"wires":[["43e49c36.dc7624","3a73da553d9a8e9b","0d8765845722da3b"]]},{"id":"43e49c36.dc7624","type":"http response","z":"90e2df527c725ffb","name":"","statusCode":"","headers":{},"x":670,"y":580,"wires":[]},{"id":"8cb4b74e.602c28","type":"comment","z":"90e2df527c725ffb","name":"Post data to a flow","info":"The `HTTP In` node can listen for POST requests. It returns the posted data as `msg.payload`.\n\nSee Node-RED cookbook items(\n[post raw data(https://cookbook.nodered.org/http/post-raw-data-to-a-flow), [post form data](https://cookbook.nodered.org/http/post-form-data-to-a-flow), [post JSON data](https://cookbook.nodered.org/http/post-json-data-to-a-flow)\n) for details.","x":350,"y":540,"wires":[]},{"id":"ec661b6b.c3c2b8","type":"http request","z":"90e2df527c725ffb","name":"","method":"POST","ret":"txt","paytoqs":"ignore","url":"http://localhost:1880/hello-xml","tls":"","persist":false,"proxy":"","insecureHTTPParser":false,"authType":"","senderr":false,"headers":[{"keyType":"Content-Type","keyValue":"","valueType":"application/xml","valueValue":""}],"x":550,"y":680,"wires":[["7c2812c.c6ee7ec"]]},{"id":"7c2812c.c6ee7ec","type":"debug","z":"90e2df527c725ffb","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":710,"y":680,"wires":[]},{"id":"e45041b6.9ec13","type":"inject","z":"90e2df527c725ffb","name":"","props":[{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","x":275,"y":680,"wires":[["7384647df4a7c001"]],"l":false},{"id":"af33dae7.b21138","type":"comment","z":"90e2df527c725ffb","name":"Send HTTP POST request: http://localhost:1880/hello-raw","info":"","x":470,"y":640,"wires":[]},{"id":"0d8765845722da3b","type":"debug","z":"90e2df527c725ffb","name":"recieved","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":680,"y":520,"wires":[]},{"id":"7384647df4a7c001","type":"template","z":"90e2df527c725ffb","name":"xml data","field":"payload","fieldType":"msg","format":"html","syntax":"mustache","template":"<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>\n<note>\n <to>Tove</to>\n <from>Jani</from>\n <heading>Reminder</heading>\n <body>Don't forget me this weekend!</body>\n</note>","output":"str","x":380,"y":680,"wires":[["ec661b6b.c3c2b8"]]},{"id":"3a73da553d9a8e9b","type":"xml","z":"90e2df527c725ffb","name":"","property":"payload","attr":"","chr":"","x":550,"y":480,"wires":[["daec8a036df5d385"]]},{"id":"daec8a036df5d385","type":"debug","z":"90e2df527c725ffb","name":"parsed","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":670,"y":480,"wires":[]}]
curl
curl -i -X POST -H "Content-Type: application/xml" -d "^<?xml version="1.0" encoding="ISO-8859-1"?^>^<note^> ^<to^>Tove^</to^> ^<from^>Jani^</from^> ^<heading^>Reminder^</heading^> ^<body^>Don't forget me this weekend-i</body^>^</note^>" http://192.168.x.y:1880/hello-xml