|
From: Mark S. <ma...@Sc...> - 2007-04-08 04:54:46
|
Hello, I would like to use XML for more than just an intermediary format. I'd like to use VTD to query/update/remove elements and attributes at will without having to resort to moving the XML into objects. Currently, if I have a hundred megs of data I have to do this to tack a new element on to the end of the document: 0. Create an XMLModifier 1. add an element 2. serialize all 100 megs 3. reparse the new output I wonder... 100% of my use cases currently would pass if I could just tack elements on to the end of the document. Would it be possible for this specific case to work easily? And by work, I mean basically add a VTDGen.parseAndAddToEndOfDocument(byte[] d); I'm hoping the index generation and data structure manipulation would be minimal for this special case. Thoughts? -- 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. |