[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

XML Parsing using DOM parser

  • To: xml-dev@l...
  • Subject: XML Parsing using DOM parser
  • From: Deepa Venkatesan <willumail@y...>
  • Date: Wed, 2 Jan 2002 10:29:57 -0800 (PST)

xml parsing using dom
Dear Gurus,

           Kindly share your thoughts.. I recently
wrote a code to parse an XML file containing catalog
content (as big as 10MB) using DOM parser. The
performance has been miserable particularly when the
XML file size increased. The problem is that using a
SAX parser (the only other alternative that strikes
me) I would have to re write the complete XML and the
code for this would be really elaborate. My final
objective of parsing to change 2 lines for every
catalog item (the XML file has as many as 3000 catalog
items). 

    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.

Thanks in advance,
Deepa


__________________________________________________
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.