Home Forums General XMetaL Discussion Get nodelist from Selection/Range? Reply To: Get nodelist from Selection/Range?

schwamkrug

Reply to: Get nodelist from Selection/Range?

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:


 

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.

Reply

Products
Downloads
Support