I am fetching data from infopath xml library in Powerautomate but unable to fetch data of rich text field. Below is the format in which data is coming:
"my:purpose": {
"xhtml:div": [
{
"@xmlns": "http://www.w3.org/1999/xhtml",
"#text": "Action due to regulatory compliance."
},
{
"@xmlns": "http://www.w3.org/1999/xhtml",
"#text": " "
},
{
"@xmlns": "http://www.w3.org/1999/xhtml",
"#text": "These corrective action are required by European Guideline 94/9/EG, 1999/92/EG (ATEX) and their implementation in German law BetrSichV and TRBS."
}]}
Below is the expression i am using to fetch data in flow.
outputs('Compose')?['my:ProjectSummaryInformation']?['my:Descriptions']?['my:purpose']?['my:xhtml:div'].['my:#text']