I suspect you may also find Xalan useful, if you are using DOM. Play around with a simple sample, and everything you need is really in there...
----- Original Message ----- From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, October 17, 2002 2:08 AM Subject: Parsing XML and extracting data in data structures > > > Hi, > I have got an XML document in memory and I would like to extract data out of the > XML file into data-structures of my own. I need to extract whole of the XML file > into data structure and not part of the XML file. Can anyone > 1)Provide me with a sample program/code to do the same. It does not seem that > any of the samples accompaing the code does this, specially using DOM. > 2)Suggest which would be a better approach SAX or DOM? Note that I donot want to > manipulate the data. I just want to extract the data and put it into data > structures. I guess SAX would be faster. > > regards > Alhad Wakankar > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
