Home Forums General XMetaL Discussion Getting nodes subset Reply To: Getting nodes subset

elias

Reply to: Getting nodes subset

I need to get the subset of nodes between 2 text nodes (the latter can be positioned at different hierarchy level) and add the to the new node, but I can't find methods which serve as setters for Range boundaries. I mean something like SetBeginBefore(startNode), SetEndAfter(endNode). As far as I remember such methods present in another XML editor (Arbortext Editor).
And which method should be called for embedding collected nodes into the new node after Range preparation?
I noticed that Range methods names looked very similar and documentation described it shortly, so Range usage is not intuitive for newbies. I think that documentation should contain not only simple examples, but also the results of the code execution (and pictures) in order to compare similar methods and match the difference.

Reply

Products
Downloads
Support