Fixed XML parser