Re: [xml] Current line number and position with xmlTextReader API
- From: Daniel Veillard <veillard redhat com>
- To: GARNIER Pierre <pgarnier mega com>
- Cc: xml gnome org
- Subject: Re: [xml] Current line number and position with xmlTextReader API
- Date: Fri, 3 Oct 2003 09:31:44 -0400
On Fri, Oct 03, 2003 at 02:41:07PM +0100, GARNIER Pierre wrote:
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));
yes, that should work.
How can I get the position in the line? Is it possible?
Hum, no, that's not stored in the tree :-\
Daniel
--
Daniel Veillard | Red Hat Network https://rhn.redhat.com/
veillard redhat com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]