Home › Forums › General XMetaL Discussion › Get nodelist from Selection/Range? › Reply To: Get nodelist from Selection/Range?
Reply to: Get nodelist from Selection/Range?
September 12, 2012 at 4:36 pmI 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:
Paragraph 1
Paragraph 2
Paragraph 3
Paragraph 4
Paragraph 5
And assume I have paragraph 2 and paragraph 3 selected. Selection.ContainerNode returns the
element. I don't see how I could use XPath to get the two specific paragraphs that are selected.