| [news.eclipse.webtools] Re: Getting DOM from StructuredTextEditor |
Is there an easy way to get a org.w3c.dom document out of a StructuredTextEditor using eclipse's built in xml classes. The selection providers do use some XML/Dom organization, but what if I want to get the whole document as an DOM object? I was using dom4j and just getting the content of the editor as a string and parsing it, but it seems dumb to use that and have to go back and forth from dom4j to w3c.dom stuff, while eclipse already does some XML interaction. Any solution for this?
-- --- Nitin Dahyabhai Eclipse WTP Source Editing IBM Rational