In AL code we now have the new variable type XML along with Json. The implementation is as a basis very nice and easy to use as a "Native" variable. Unfortunately, there are some very important limitations to the implementation of the DOM in regard to performance and memory consumption.
We, in our solution, build large XML documents and doing that with XML Writer methods increases the performance and decreases memory consumption significantly compared to XML DOM.

In many Microsoft sessions, Tech days, Red Carpet etc. we have learned that Microsoft is doing a lot of things to manage resources and pitching development strategies towards Azure Cloud, so in our humble opinion, it would seem obvious to implement XML Writer as a native method in AL for all of us who work with XML in Business central (and we are quite a few we believe ;-) ).

We have earlier raised the issue in GitHub and a benchmark to support our claim has been logged there. The issue item can be found here https://github.com/microsoft/AL/issues/999
Category: Development
Under Review
Ideas Administrator

Thank you for your feedback. We are considering adding it to our longer term roadmap.

Your help is greatly appreciated,
Business Central Team