use another method to get the xml's input stream.