Parse XML directly from InputStream