[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XML Parsing using DOM parser
On Wed, 2 Jan 2002, Deepa Venkatesan wrote: > I am wondering if any of you have encountered such > problems and how you went about resolving it. Using > DOM parser is safe when it comes to maintaining the > identical XML structure particulary when I need to > make slight modifications on the original XML. But how > do I overcome the problem of the HUGE time taken to > convert the XML into a DOM tree. Any help is > appreciated. Always keep it in the DOM tree. Avoid parsing it as much as possible... the XML serialisation format is a nightmare with all that delimited-sequences-of-characters stuff that requires running along the whole thing with a state machine to make any sense of it all, so avoid it! ABS -- Alaric B. Snell http://www.alaric-snell.com/ http://RFC.net/ http://www.warhead.org.uk/ Any sufficiently advanced technology can be emulated in software
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|