Open hsheikhali opened 3 years ago
Just wondering if there was a way to remove
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
after running the xml2js.Builder().buildObject()
Reason I am asking is because I'm trying to work with SOAP.. and I don't need extra declarations for building my soap request.
Yes, pass in this property to the builder new xml2js.Builder({ headless: true }).buildObject(json);
new xml2js.Builder({ headless: true }).buildObject(json);
Just wondering if there was a way to remove
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
after running the xml2js.Builder().buildObject()
Reason I am asking is because I'm trying to work with SOAP.. and I don't need extra declarations for building my soap request.