AEM forms XDP Text Field with Rich Data and html data in XML datasource.
Hello all,
I have a datasource which supplies an xml to the XDP ( created with AEM forms 6.5 designer)
In the XDP I have configured the text field to use the rich text property and provided a binding to the field in the incoming XML which has the html tags.
I would like the text to be formatted based on the <b> and<br /> tags that are present in the XML string.
Below is the XML string:
<orderperson>Sample Text <br /> First Line <br /> <b> Bold Text </b></orderperson>
When i preview the document , i get a Sample ouput like below which just displays the html tags as plain text

I am looking to get the output to be formatted like shown below.

Can any one help me with ways to achieve this?
Regards,