Question
1
Replies
47
Views
Posted: January 14, 2019
Last activity: January 14, 2019
Closed
Parse XML boolean element with value 0 or 1
Hello,
I am parsing a XML where one element is from type xs:boolean. I am parsing it on a boolean property in Pega. In the XML, I am getting 0 or 1 as a valid value for that element. Pega is now not parsing it as false or true on that property. It keeps the "interger" value.
Is there any good way to solve this issue? By good way I mean not to manually overwrite the property after parsing.
Thank you, Marcel
Additional info: I want to show the value then on a UI as a checkbox.