I'm trying use XMLReaderFactory, but this is deprecated. Now, how Can I create a instance of XMLReader?
The documentation for XMLReaderFactory
recommends SAXParserFactory
SAXParserFactory parserFactory = SAXParserFactory.newInstance();
SAXParser parser = parserFactory.newSAXParser();
XMLReader reader = parser.getXMLReader();
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With