Reply to: Get nodelist from Selection/Range?September 12, 2012 at 4:36 pm
I don't think that would help because it wouldn't give me the ability to see which specific nodes are selected. Imagine this chunk of content:
And assume I have paragraph 2 and paragraph 3 selected. Selection.ContainerNode returns theelement. I don't see how I could use XPath to get the two specific paragraphs that are selected.