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

Derek Read

Reply to: Get nodelist from Selection/Range?

Does getNodesByXPath() help you here? That is the first thing I can think of that requires the least amount of code.
The DOMElement object has this as a method. You can use Selection.ContainerNode to get the node for the current selection's immediate parent.

Reply

Products
Downloads
Support