Position of a text into html page

Marina Dorelli <[email protected]> Thu, 25 Mar 2010 15:44:33 +0100
Newsgroups gmane.comp.mozilla.devel.dom
Message-ID <[email protected]>
Hi all,
I would like to know if it is possible to get the position of a selected
text into the html page through any DOM API.
Do I have to use Xpointer lib, instead?

Thanks in advance.