Closed GoogleCodeExporter closed 8 years ago
Have to use contains( if_ixml_node=>co_node_text ) to detect that node is has
the
text returned by get_value attached to it.
Have to get the subnode of node_type co_node_text in order to get the right
text and
only that. here it's returning 'first data' instead of 'first datasecond data'.
Full ABAP code :
check xml_node->contains( if_ixml_node=>co_node_text ) = abap_true. " value
returned by get_value is the right one.
o_filter = xml_node->create_filter_node_type( if_ixml_node=>co_node_text ).
o_iterator = xml_node->create_iterator_filtered( depth = 1
filter = o_filter ).
o_text = o_iterator->get_next( ).
result = o_text->get_value( ).
Original comment by taryck%b...@gtempaccount.com
on 16 Feb 2010 at 5:46
Original issue reported on code.google.com by
taryck%b...@gtempaccount.com
on 16 Feb 2010 at 5:43