* [x] Are you running the latest version? * [x] Have you included sample input, output, error, and expected output? * [x] Have you checked if you are using correct configuration? * [x] Did you try online [tool](https://naturalintelligence.github.io/fast-xml-parser/)? * [x] Have you checked the [docs](https://github.com/NaturalIntelligence/fast-xml-parser/tree/master/docs) for helpful APIs and examples? ### Description <!-- Please provide following data to avoid long communication and fast resolution. --> When I use both options together, then the `attributeGroup` gets wrapped by an extra object with the key specified by `attributesGroupName`. ### Code ```js const parser = new XMLParser({ attributesGroupName: ':@', preserveOrder: true, ignoreAttributes: false, }); const parsed = parser.parse('<root xmlns:ex="http://example.com"><p test="foo"></p></root>'); console.log(parsed); ``` ### Output ``` [ { root: [ p: [], ':@': { ':@': { '@_test': 'foo', }, }, ], ':@': { ':@': { '@_xmlns:ex': 'http://example.com', }, }, }, ] ``` ### expected data <!-- Please include expected output data here --> ``` [ { root: [ p: [], ':@': { '@_test': 'foo', }, ], ':@': { '@_xmlns:ex': 'http://example.com', }, }, ] ``` **Would you like to work on this issue?** <!-- choose one by changing [ ] to [x] --> - [ ] Yes - [x] No [Bookmark](https://github.com/NaturalIntelligence/fast-xml-parser/stargazers) this repository for further updates. Visit [SoloThought](https://solothought.com) to know about recent features. <!-- Love Fast-XML-Parser? Please consider supporting us: 👉 https://opencollective.com/fast-xml-parser/donate 👉 https://paypal.me/naturalintelligence 👉👉 https://github.com/sponsors/NaturalIntelligence -->