The one like `htmlparser2` has: ```js import {parse, TYPES} from 'fast-xml-parser'; parse(xml).on(TYPES.OPENING_TAG, (node) => { // Node { type: 'OPENING_TAG', name: 'html' } console.log('=>', node); }); ```