StructKeyExists(xml.xmlAttributes) performance improvement

If you do a structKeyExists(xml.xmlAttributes,"mykey") the attributes 'struct' will check for key existance by throwning a page exception, catching it, ignoring it and returning false. If the key exists, it is fast, but if the key doesn't, it is slow.

Fix is to avoid throwing the exception. This has some duplicate code that should be cleaned up, but you get the idea.

Thanks!