Smart and fast XML parser