Yousuf

Results 34 comments of Yousuf

I certainly would accept pull requests, but not at the moment. Right now I am working on adding a major feature to the library: the ability to supply callback functions...

Hi @ultimate-tester, sorry for late response. Just published v1.6.0 of this library which now supports adding [custom functions](https://github.com/nashwaan/xml-js#options-for-custom-processing-functions) for additional processing. Using `elementNameFn` should work now. To solve namespace issue...

Well, this is possible to implement as a new option in this library, but at the moment this can be achieved outside the library. For example, after getting xml output,...

To understand the problem better, please provide minimal sample input and the output generated by this library. Or please provide the expected output if you cannot get any proper output...

@euberdeveloper , @sangupta007 Sorry for the inconveniences caused by this. I admit the documentation doesn't tell or warn the library works in non-compact form by default. I got tripped into...

I agree to both comments. I will publish an updated version to address this issue soon.

I have published v1.4.0 to fix this issue. I use the answers in this [StackOverflow question](https://stackoverflow.com/questions/1091945/what-characters-do-i-need-to-escape-in-xml-documents) as the basis for the fix. Previously, when converting from `js` to `xml`, I...

@adamgcraig, Regarding > xml2json crashes if it encounters an unescaped , or & in the XML, but I am not sure whether you would consider that a bug. This library...

Seems this issue is resolved, I will close it.

@austin-laney , can you provide a simple and complete example, please? You might also want to check [Custom Processing Callbacks](https://github.com/nashwaan/xml-js#options-for-custom-processing-functions) as a quick solution to handle this issue. Look for...