Is it possible to separate the results of an XMLType.extract where many nodes match the XPATH?
For example:
returns: onetwothree
Is it possible to throw a delimited between each result so it returns: one|two|three
Thanks!
For example:
Code:
DECLARE
v_XML XMLTYPE := XMLTYPE('<root><text>one</text><text>two</text><text>three</text></root>');
BEGIN
dbms_output.put_line(v_XML.extract('//text/text()').getstringval());
END;
returns: onetwothree
Is it possible to throw a delimited between each result so it returns: one|two|three
Thanks!