-
Notifications
You must be signed in to change notification settings - Fork 737
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
get the Line number in the xml file #487
Comments
I think pugixml does not provides line information. So in my library (https://github.com/lenmus/lomse) I re-read the file for counting lines and creating a table relating node offset to line number. This is the code (MIT licensed):
|
Thank you i'll try it. |
Also see #12. |
Hello ,
I'm trying to parse a .xml file then with xpath read some nodes and attribute then i want to make some logical test to see if my xml file some contents error has and then i want to show the line number of the xml file with the error.
can someone help me please.
Thank you.
The text was updated successfully, but these errors were encountered: