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

attribute value with "true" string is not able to buid again with XMLBuilder #664

Closed
2 tasks
stylejuya opened this issue Jul 11, 2024 · 6 comments
Closed
2 tasks

Comments

@stylejuya
Copy link

stylejuya commented Jul 11, 2024

  • [x ] Are you running the latest version?
  • [x ] Have you included sample input, output, error, and expected output?
  • [ x] Have you checked if you are using correct configuration?
  • [ x] Did you try online tool?

Description

in the attribute if there is a value with "true" string, It is not able to build back.

Input

<married firstTime="Yes" test="true">Yes</married>

Code

Include the code being used for parsing

Output

<married firstTime="Yes" test>Yes</married>

expected data

<married firstTime="Yes" test="true">Yes</married>

Would you like to work on this issue?

  • Yes
  • No

Bookmark this repository for further updates. Visit SoloThought to know about recent features.

Copy link

We're glad you find this project helpful. We'll try to address this issue ASAP. You can vist https://solothought.com to know recent features. Don't forget to star this repo.

@amitguptagwl
Copy link
Member

amitguptagwl commented Jul 12, 2024

Have you checked the documentation?

@stylejuya
Copy link
Author

Could you highlight the doc? I did not see any related to this .

@amitguptagwl
Copy link
Member

amitguptagwl commented Jul 13, 2024

There are many properties that can help you in different ways. Please read about all the properties. It's not a long document.

https://github.com/NaturalIntelligence/fast-xml-parser/blob/master/docs/v4/3.XMLBuilder.md

@stylejuya
Copy link
Author

stylejuya commented Jul 13, 2024 via email

@amitguptagwl
Copy link
Member

amitguptagwl commented Jul 17, 2024

If you check the history, most of the questions I receive because people don't read documentation. Anyways, what properties have you tried yet? Have you tried suppressBooleanAttributes?

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

2 participants