[xml] Current line number and position with xmlTextReader API
- From: GARNIER Pierre <pgarnier mega com>
- To: xml gnome org
- Subject: [xml] Current line number and position with xmlTextReader API
- Date: Fri, 3 Oct 2003 14:41:07 +0100
Hello,
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?
Thanks,
Pierre
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]