Add/Remove tags while parsing xml #461
Replies: 2 comments
-
Currently, no. But there was another discussion open to discuss to provide a feature to skip some tags from processing. Are you converting XML to Json or JSON to XML? |
Beta Was this translation helpful? Give feedback.
0 replies
-
This is a very specific requirement. We can probably include a feature to skip tags based on jpath |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
We are using fast-xml-parser library to convert an input XML to json, the process data and convert back to xml.
Some input xml has some sections like:
We want to either add one "p" tag where there is single "p" tag, or we want to remove double "p" tag.
Is there any option available to add/remove "p" tags in the xml?
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions