Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Scroll Documents: update absolute page links

...

Let's take an example where we want to make an IDOC comparison. To validate the IDoc segments, including possible changes (segments may have been renamed, new ones may have been added or deleted), we need to perform an appropriate transformation for both the reference and the current message. For this purpose, we can take advantage of the XSLT transformation functionality.

In our example, we need to test IDocs generated with a different segment order than before (the message is still the same but contains a different sorting sequence for some of the segments). We will use the XSLT transformation (shown below), which adds qualified to the parent node name. With this approach, the comparison of IDoc segments is correct even if some node values are different. We can also easily compare missing or additional nodes.

...