xmlparse fix for WinCE