Re: [xml] how to get current line number of XML file
- From: Daniel Veillard <veillard redhat com>
- To: pinhead linet ru
- Cc: xml gnome org
- Subject: Re: [xml] how to get current line number of XML file
- Date: Tue, 19 Aug 2003 06:13:05 -0400
On Tue, Aug 19, 2003 at 01:55:19PM +0400, pinhead linet ru wrote:
Hello
Need help. How to get current line number of currently proccessing node ?
if you have the parser context use getLineNumber(ctxt);
otherwise if you have the node and have called xmlLineNumbersDefault(1);
before parsing, use xmlGetLineNo(node);
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]