I am trying to do XML Parsing
using the statement
select rx_id,
rx_record_x,
rx_record_y,
rx_request_number,
rx_action,
rx_catalog,
extractValue(value(xmlType(rx.rx_attribute_xml)), '/cXML/Request/OrderRequest/ItemOut/@lineNumber') att_line_number,
extractValue(value(xml), '/Segment/@type') att_name
from rx,
table (xmlsequence(extract(rx_attribute_xml, '/cXML/Request/OrderRequest/ItemOut/Distribution/Accounting/Segment'))) xml;
I am getting the output with all the columns mentioned above but the values for the column "att_line_number" returned at null.
Please help how get those values as well.
Thanks.