Skip to Content
Jul 01, 2019 at 03:22 PM

Hot to get values from xml nodes with generic reference


Hi All,

need an advice. I have an xml, generated by call transformation id - so, completely generic. In source data there was a table with fields as a reference to data.

result xml:

I'm tryinfo to parse the xml with ixml library. How can I get the referenced values, when I find the OLD_VALUE and NEW_VALUE Nodes. I can find attribute with

    DATA(lo_attributes) = node->get_attributes( ).
    lo_ixml_node1 ?= lo_attributes->get_named_item_ns( name = `href` ).
    IF lo_ixml_node1 IS BOUND.
      lv_value = lo_ixml_node1->get_value( ).

So, I have #d2790 in lv_value. But, how can I quickly find 800000.0 from it?

Thank you in advance

Best Regards