I've been trying vs-code- and notepad++ plugins, chrome devtools and countless online xPath evaluator tools to evaluate a big chunk of xml lines that throwed different kind of exception like callstack size, rangerror, memory etc. or the program crashed and other misfortunes.
Which XPath evaluator tool do you suggest that can handle a large amount of lines without a problem?
Tool recommendations are offtopic on this site, but here are some tips: Assuming an average of 80 char/line, a 50k line file would only be 4M chars, which is not considered to be large these days. Any XPath tool that cannot handle such sizes should be avoided. Editor plugins and online tools tend to be less capable than command line tools (xmlstarlet, xmllint, etc) or, even better, commercial tools (Saxon, oXygen, etc). Finally, should you have to process truly large XML files, consider streaming parsers such as SAX or StAX that do not have to build in memory data structures with sizes proportional to document size.