Xpath an attribute and use the field to populate a table
hello all, right trying vaue xml attribute , save value sql table. problem using xpath attibute when call insert, inserts whole node.
id="2384082"
instead of value.
here xpath.
"jobid": "@{string(first(xpath(xml(body('http')),'/pagedresult/job/@id')))}",
and try this
"jobid": "@{first(xpath(xml(body('http')),'/pagedresult/job/@id'))}",
any ideas?
hi mate,
did try this:
"jobid": "@{first(xpath(xml(body('http')),'/pagedresult/job/@id/text()'))}",
or
"jobid": "@{first(xpath(xml(body('http')),'/pagedresult/job/text(@id)'))}",
i hope helps, wagner.
Microsoft Azure > Azure Logic Apps
Comments
Post a Comment