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

Popular posts from this blog

Azure DocumentDB Owner resource does not exist

BizTalk Server 2013 Azure VM Log Shipping and HA for hosts

How to Share webservice object to all user