From: Mark S. <ma...@Sc...> - 2007-03-01 03:51:48
|
Rodrigo Cunha wrote: > Nah... given what i understand about the internal structure making it > the new document root is not trivial, i think. > > But you could get away with: > > - A bookmark/position saving system, aka the (in)famous SimpleContext > class?... > > - A function evaluating: > > boolean SimpleContext.isSunOf(Simplecontext ctx); //this should be > simple and efficient to implement You would know better than me. I have a high level requirement to be able to jump to a point and do XPath on it. It doesn't have to be the new document root - I just thought that might be easier. If your SimpleContext class will help me get there then I'm all for it. Cheers. -- http://www.ScheduleWorld.com/ Free Google Calendar synchronization with Outlook, Evolution, cell phones, BlackBerry, PalmOS, Exchange, Mozilla, Thunderbird, Pocket PC/Windows Mobile. Also sync tasks, notes and contacts! WebDAV, vfreebusy, RSS, LDAP, iCalendar, iTIP, iMIP support. |