I use DOM, but what I was trying to do was eliminate writing the contents to a file 
first and then reading the file into my structure.

-----Original Message-----
From: Dan White [mailto:[EMAIL PROTECTED]
Sent: Friday, August 13, 2004 2:38 PM
To: Jones, Brian O.
Cc: [EMAIL PROTECTED]
Subject: Re: storing data from XML file into data structure


Why not use DOM ?

It parses the XML and then you have the document "tree" to work from.

On Fri, 13 Aug 2004, Jones, Brian O. wrote:

> Hi all,
>
> I am trying to store all the contents of my xml file in a structure when I parse the 
> file, but each section of my file is repeat and I don't want to overwrite what I 
> already have.
>
> So my current solution is to parse the file and store the information in a temp file 
> and read the temp file and store the information in my data structure.
>
> I just want to know if there is a better solution than the one I've tried.
>
> Brian Jones
> Senior Software Engineer
> (Email) [EMAIL PROTECTED]
> Phone (410) 993-2072
> Fax (410) 981-8381
>
>
>
>
> ---------------------------------------------------------------------
> 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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to