is there a way to get the line number of an xml, when navegating it with VTDNav of VTD-XML? I have the VTD position of the node (with vn.getCurrentIndex()) but I can't find a way to get the line number where it is
Thanks in advance
If you have access to source code, VTDGen has a method that does the line number reporting... you can hack that code into your VTDNav navigation code...
As to the request of adding it to the main VTDNav method (if that is what you have in mind)... I will have to deny it for the following reasons: