From: Mark S. <ma...@Sc...> - 2007-03-01 02:46:32
|
Tatu Saloranta wrote: > --- Mark Swanson <ma...@Sc...> wrote: > > ... >> It would be most helpful to me if I could index >> arbitrary element >> indexes and start and XPath query from one of these >> indexes. I would >> cache these indexes in a Map with key: some unique >> ID, value: some sort >> of vtd-xml node index. > > Given that VTD-XML indices are, well, ints, would this > be anything more than a kind of Map<String,int>? (or, > a stack thereof). > That seems like a simple thing to build even outside > of VTD-XML itself? > > Just curious, Good point. If Jimmy can rig it so I can just execute arbitrary XPath expressions starting from a specific node this might be too easy. I'm a little worried about starting an XPath evaluation from a specific spot though. Hopefully Jimmy has some insight on that. 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. |