Ah, I see what it's doing now, but I still stand by my saying I don't think you should be setting this, especially if you're just setting it as a string. Why not just make it set a 'me.parsedXML', and return an error code?
PHP Code:
with(me) {
temp.errorcode = parseXML();
}
switch(temp.errorcode) {
// Error Checking
}