oracle-xml-db

got multi-item sequence

早过忘川 提交于 2019-12-14 03:42:56
问题 My intention is to "select the data where container number is equals to input data" (kind of search functionality). I am facing an issue when I am trying to retrieve the data, with a problem at where condition: d:goodsShipments/d:consignment/d:transportEquipment/d:id/text() Here I am getting multiple data. I don't know how to iterate it in the where condition. My query is: My source XML is: How i can select all the declaration where sealId is 5678? how deal with the where condition in this

got multi-item sequence

允我心安 提交于 2019-12-04 19:58:03
My intention is to "select the data where container number is equals to input data" (kind of search functionality). I am facing an issue when I am trying to retrieve the data, with a problem at where condition: d:goodsShipments/d:consignment/d:transportEquipment/d:id/text() Here I am getting multiple data. I don't know how to iterate it in the where condition. My query is: My source XML is: How i can select all the declaration where sealId is 5678? how deal with the where condition in this case? You have multiple containers per consignment, and you're filtering based on LRN after extracting