The Java API for XML Processing (JAXP) enables applications to parse, transform, validate and query XML documents using an API that is independent of a particular XML processor implementation.
Both of them seem to have the same purpose (create a XMLReader). Some Tutorials contain the one, some the other. …