Re: [xml] Retrieve a nodes column number




yes, but xmlTextReaderGetParserColumnNumber is only usable for during parsing. I guess I have to write a patch for the parser ( at least for myself ) so that
it also saves the column data.

Anyway, thanks for your answer.

Am 2012-02-19 01:28, schrieb Noam Postavsky:
Daniel Nagy <danielnagy gmx de> writes:
Now I am wondering whether it is possible to retrieve the column
number in which the node was during parsing.

If you look at the struct xmlNode definition [1] you can see there is no
column number. However, the reader api does have
xmlTextReaderGetParserColumnNumber. [2]

[1] http://xmlsoft.org/html/libxml-tree.html#xmlNode
[2]

http://xmlsoft.org/html/libxml-xmlreader.html#xmlTextReaderGetParserColumnNumber



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