Avatar of ibo

asked on 

Generate XPATH for current SAX Node

Im using SAX to parse an xml file, if there is an exception, id like to display the xpath for the current node.
i understand sax do not keep track of this by default unlike DOM parsers, and one will have to program it manually to keep track of tags coming in and out. is there an already exisiting solution for this? would appreaciate a readymade solution. thanks.

Avatar of undefined
Last Comment
Mick Barry

8/22/2022 - Mon