Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jasonperrone opened this issue Jan 7, 2023 · 0 comments
Open

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

jasonperrone opened this issue Jan 7, 2023 · 0 comments

Comments

@jasonperrone
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant