getLineNumber: Determine the line number of an (internal) XML node
Description
This function is used to query the location of an internal/C-level
XML node within its original "file". This gives us the line number.
It can be combined with docName to determine the
name of the file and so identify the node location.
This is useful when we identify a node with a particular charactestic
and want to view/edit the original document, e.g. when authoring an
Docbook article.