Page 1 of 1

NPM package for generating XML

Posted: Wed Jan 10, 2024 9:39 pm
by cstevens
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

Posted: Wed Jan 10, 2024 11:34 pm
by cstevens
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

Posted: Thu Jan 11, 2024 10:55 am
by laurentd

Re: NPM package for generating XML

Posted: Fri Jan 12, 2024 7:57 am
by tdeschampsBluewest
laurentd wrote: Thu Jan 11, 2024 10:55 am
Here we use this one, and it work like a charm!