lineno

Usage

lineno [expression]

Description

lineno command prints line numbers of all nodes in a given node-list. Note however, that libxml2 only stores line number information for element nodes.

See Also

locate