Hello Daniel and others,

I observed that xmlGetLineNo() returns 0 only for XML_TEXT_NODE nodes.

Is this the correct / intentional behaviour or am I seeing wrong results?

Ralf

PS: I did call xmlLineNumbersDefault(1); before parsing and xmlGetLineNo works 
correctly for other node types.

_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
[email protected]
http://mail.gnome.org/mailman/listinfo/xml

Reply via email to