Closed Serhii-Danovsky closed 6 years ago
@Serhii-Danovsky Hi, sorry for late response.
Saxerator.parser(file).for_tag(:artist).count
Works.
Actually this is gem for SAX parsing, so your xml became a Stream of parsed nodes. It was made to allow not to load all xml file at once in memory.
How can I get a count of all parser.for_tag('RECORD') elements?