[xml] How I can access bye-offset of XML node while parsing with Gnome C Parser of libxml2 ?



Hi,
Could anyone please suggest us how we can keep track of byte-offset
value of a XML-node during parsing of a XML file with Gnome C parser ?

Presently the structure 'xmlParserNodeInfo' gives the begin-line
number and end-line number. But I need to know the byte-offset value
of the node w.r.t. to the start of the file. Please help.

Thanks in advance.
-sukomal
-------------------------------------------------------------------------------
Regards,

Sukomal Pal

Research Fellow,
Information Retrieval Lab,
CVPR Unit,
Indian Statistical Institute,
203, B.T.Road, Kolkata- 700 108.

Phone : 0091-33-2575 2858(Lab)



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