NPM package for generating XML
NPM package for generating XML
Can anyone recommend an NPM package that can be used to create/modify complex XML? This is for JDF workflows, so I need to handle multiple namespaces, partitioned child elements etc. All of the libraries I can find seem to be focused primarily on XML parsing, with limited generation capabilities.
Re: NPM package for generating XML
After some additional searching xmlbuilder2 https://github.com/oozcitak/xmlbuilder2 looks promising. Not sure if anyone else has any experience working with it.
Re: NPM package for generating XML
I would add a few ones:
- https://www.npmjs.com/package/xml2js (both directions)
Laurent De Wilde, Solution Architect @ Enfocus
-
- Member
- Posts: 38
- Joined: Tue Jun 01, 2021 11:57 am
Re: NPM package for generating XML
Here we use this one, and it work like a charm!