devxlogo

March 21, 2018

Why XML Parsers Often Are Not Very Useful

int start = xml.indexOf(??????)+ ??????.length();int end = xml.indexOf(??????);String name = xml.substring(start, end); This native XML parsing only works with the most simple XML documents. It will most certainly fail if: