Amit K Gupta
Amit K Gupta
check if `updateTag` can help.
Please check v. It's experimental but should help. I've added basic documentation.
can you check with v5 if it works?
https://github.com/NaturalIntelligence/fast-xml-parser/blob/master/docs/v5/1.%20Getting%20Started.md
@yelly , I can understand the trouble you're experiencing. But unfortunately, I'll not be able to do any changes in the code for next 2-3 months. I would take v5...
`attributeValueProcessor` is just to process value. Currently there is no feature to convert specific tags into attribute. But probably we can introduce `isAttribute` method to do that. So may be...
Yes you can import just the builder. ``` const {XMLBuilder} = require("fast-xml-parser"); ``` I would also suggest to try v5
Consider this, ```xml a b ``` The expected output should be ```js { root: { EventList: ['a', 'b'] } } ``` Similarly for empty entries ```js { root: { EventList:...
What actually you're looking for is that and empty content of a tag should not be considered as array item. I don't think any current options can help you.
What do u think about a feature where your sample XML can be transformed to this ```js { EventList: [ { ID: 1, Name: "Something" }, { ID: 2, Name:...