Leonidas-from-XIV / node-xml2js

XML to JavaScript object converter.
MIT License
4.9k stars 606 forks source link

tagNameProcessors option for Builder doesn't appear to work #661

Open jasonperrone opened 1 year ago

jasonperrone commented 1 year ago

xml2js version 0.4.23.

Given this code:

 const builder = new xml2js.Builder({tagNameProcessors: [upperMe]});
 return builder.buildObject(myObj);

function upperMe(name) {
  return name.toUpperCase();
}

The upperMe function does not get called.