oracle-osm

Oracle OSM - XQuery doesn't loop

不羁的心 提交于 2019-12-11 04:53:44
问题 I'm using OSM 7.2.0.3 and I have cartridge with an Order Recognition Rule , with its Order Data Rule (inside Transformation tab) In the ODR I have this XQuery code: declare namespace im="http://xxx"; declare namespace xs="http://www.w3.org/2001/XMLSchema"; declare variable $ord := fn:root(.)/im:Order; <_root> <Order> { for $moli in $ord/MainOrderLineItem return $moli/LineItemAttributeInfo/LineItemAttribute } </Order> </_root> The XML input to the OSM is: <ord:CreateOrder xmlns:ord="http:/