How to use the xmlbuilder2.document function in xmlbuilder2

To help you get started, we’ve selected a few xmlbuilder2 examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github PretendoNetwork / SOAP / src / xml-middleware.js View on Github external
request.on('end', () => {
			try {
				request.body = xmlParser(body);
				request.body = request.body.toObject();
			} catch (error) {
				return next();
			}

			next();
		});
	} else {

xmlbuilder2

An XML builder for node.js

MIT
Latest version published 2 years ago

Package Health Score

80 / 100
Full package analysis

Popular xmlbuilder2 functions