I understand that XML(event.result), while it looks like a cast, is
really a top-level function.  

And as far as the "as" operator, the doc says: "Evaluates whether an
expression specified by the first operand is a member of the data type
specified by the second operand. If the first operand is a member of the
data type, the result is the first operand."  Shouldn't it also say that
the first operand is cast as the second operand?

So what is the practical difference between these two ways to get an XML
object out of a result object?

It looks like the XML() function is more flexible regarding its
argument.  Are there any other differences, or any suggestions regarding
when to use which?

Tracy

Reply via email to