Perl LibXML get last line number of Node

joydayhinia

New Member
I use LibXML in Perl, which store the start line number of each node, but how i can get the last one?I tried get last line number through..
  • ..counting newlines in innerhtml of the node, but LibXML return the innerhtml in different formatting than original, so that the line number differ.
  • ..node->getLastChild->line_number, but also havin no success.
Any Idea?
 
Back
Top