I am going to read XML elements and store in a B+-tree file, I need to know the position pointer for each element XML to store as nodes in the B+-tree. I want to know how to get these pointers of XML elements during the SAX reads
In your DocumentHandler implementation, add an implementation for setDocumentLocator() to accept the Locator provided by your parser implementation. This class can be used to query the current position in the document at each SAX event.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With