How Do I Pass an XML Document as a Parameter? (Magic xpa 3.x)
If you want to pass an XML document as a parameter, the easiest way to do it is to store the XML in a BLOB (if it isn’t already) and then access that BLOB directly. See How Do I Access an XML Document Stored in a Magic xpa Data Variable?.
To convert a file to a BLOB, use the File2BLB() function. See the Magic xpa help files for the syntax on how to do this.
The Online and Rich Client Samples projects (program XM09 and RXM09)