Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In such circumstances, your solution could use the XML_QUERY activity to selectively and efficiently address and retrieve just the value of the element (or attribute) in the sales order XML document that contains the customer's return email address and then pass that to the MAIL_SEND activity or whatever means your solution uses to generate and send the acknowledgement.


Note
iconfalse
titleNote

Note: The XML_QUERY activity loads the entire XML document into memory when processing your queries.  Application performance can degrade when used with exceptionally large XML files.

...

By default, the XML_QUERY activity is optimised to avoid reloading the XML document if it is the same as the preceding usage in the same Processing Sequence.  If, however, your solution re-uses the same XML document path and name but rewrites the file contents, then you may need to force the XML_QUERY activity to reload the XML document.  You may do so by specifying the *RELOAD option on the first use of XML_QUERY after re-writing the XML document content.


title
Note
iconfalse

Note

: If the XML document specified by the XMLFILE parameter is already loaded by the preceding use of the XML_QUERY activity in the same processing sequence, the options specified in the XMLOPTIONS parameter will not be used even if they changed from the earlier use (unless the *RELOAD option is included).

...