[xml] Current line number and position with xmlTextReader API


I'm using xmlTextReader API.
I would like to know the position of the current node in the document at any
moment of the read.

I think that I can get the line number by calling :
  nbline = xmlGetLineNo(xmlTextReaderCurrentNode(reader));

How can I get the position in the line? Is it possible?


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]