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

job syspolicy_purge_history job fail in sqlserver 2008

Trying to register with public marketplace error with 'Get-AzureStackStampInformation'