I split the individual elements from the fault message using
<from>substring-before(substring-after(ora:getFaultAsString(), "<code>"), "</code>")</from>
<from>substring-before(substring-after(ora:getFaultAsString(), "<summary>"), "</summary>")</from>
<from>substring-before(substring-after(ora:getFaultAsString(), "<detail>"), "</detail>")</from>
... and then reassembled into something non-XML using the concat function.