It uses DOM parser.