From Sergey Linev: Patch in TXMLEngine to support both single and double quotes