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

RFC_ERROR_SYSTEM_FAILURE with SAP ECC 6 Unicode

C# System.Data.Common DbCommand and getting Datasets from Oracle