store its value.
> -Original Message-
> From: Jones, Brian O. [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, August 17, 2004 9:28 AM
> To: [EMAIL PROTECTED]
> Subject: RE: storing data from XML file into data structure
>
> What I do to write to a file is use a fout <<
[EMAIL PROTECTED]
Sent: Monday, August 16, 2004 10:20 AM
To: [EMAIL PROTECTED]
Subject: RE: storing data from XML file into data structure
You have the following comment (where the real code presumably actually
writes to a file):
//here I have the data that I want to store,
//but I am
st 16, 2004 9:15 AM
> To: [EMAIL PROTECTED]
> Subject: RE: storing data from XML file into data structure
>
> Okay here is what I did...don't know if this is right or not.
>
> for(DOMNode * child = root->getFirstChild();
> child != 0;
> child = child->getNe
here
}
}
}
}
}
Hope this helps...
-Original Message-
From: Jesse Pelton [mailto:[EMAIL PROTECTED]
Sent: Friday, August 13, 2004 3:14 PM
To: [EMAIL PROTECTED]
Subject: RE: storing data from XML file into data structure
I'd consider using SAX rather than DOM for this,
to see the solution???
-Original Message-
From: Dan White [mailto:[EMAIL PROTECTED]
Sent: Friday, August 13, 2004 3:04 PM
To: Jones, Brian O.
Cc: [EMAIL PROTECTED]
Subject: RE: storing data from XML file into data structure
Is there a reason you cannot populate your structure directly out of
sse Pelton [mailto:[EMAIL PROTECTED]
Sent: Friday, August 13, 2004 3:14 PM
To: [EMAIL PROTECTED]
Subject: RE: storing data from XML file into data structure
I'd consider using SAX rather than DOM for this, but it should be
straightforward to accomplish what you want with either. I think you
need
ent: Friday, August 13, 2004 2:40 PM
To: [EMAIL PROTECTED]
Subject: RE: storing data from XML file into data structure
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 m
and I tried to read up on it, but seems like a
lot of info for something not too difficult.
-Original Message-
From: Jesse Pelton [mailto:[EMAIL PROTECTED]
Sent: Friday, August 13, 2004 3:14 PM
To: [EMAIL PROTECTED]
Subject: RE: storing data from XML file into data structure
I'
???
-Original Message-
From: Dan White [mailto:[EMAIL PROTECTED]
Sent: Friday, August 13, 2004 3:04 PM
To: Jones, Brian O.
Cc: [EMAIL PROTECTED]
Subject: RE: storing data from XML file into data structure
Is there a reason you cannot populate your structure directly out of the
DOM tree ? I have
OTECTED]
> Sent: Friday, August 13, 2004 2:44 PM
> To: [EMAIL PROTECTED]
> Subject: RE: storing data from XML file into data structure
>
> I used several for loops to traverse down to the values that
> I want and I want to take the values and put them into my
> structure, but
ing 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 X
my xml file struct one duplicates several times and two does as well so I but I
know the order of data won't change.
-Original Message-
From: Jesse Pelton [mailto:[EMAIL PROTECTED]
Sent: Friday, August 13, 2004 2:29 PM
To: [EMAIL PROTECTED]
Subject: RE: storing data from XML file into
: 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 par
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 t
If you can perform those two transformations (XML -> temp file and temp
file -> structure), what prevents you from performing a single
transformation (XML -> structure)? Presumably you've solved the problem
of avoiding overwrites in the course of implementing serialization to
and from your temp fi
15 matches
Mail list logo