Re: Read and Write the same file

2007-05-01 Thread Grant Edwards
On 2007-05-01, Gabriel Genellina <[EMAIL PROTECTED]> wrote: > En Tue, 01 May 2007 20:03:28 -0300, JonathanB <[EMAIL PROTECTED]> > escribió: > >> Ok, so this is the scenario. I need to create a simple, no-frills XML >> editor for non-technical users. It doesn't have to do anything fancy, >> what I

Re: Read and Write the same file

2007-05-01 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Ian Clark <[EMAIL PROTECTED]> wrote: . . . >the file, overwriting the oringinal copy. Now, this only really works >if you're dealing with small files. .

Re: Read and Write the same file

2007-05-01 Thread JonathanB
> Well the most straight forward approach is to read data from the file > into memory. Let the user make any changes. Then save the data back to > the file, overwriting the oringinal copy. Now, this only really works > if you're dealing with small files. > > Regardless though, you never really need

Re: Read and Write the same file

2007-05-01 Thread Gabriel Genellina
En Tue, 01 May 2007 20:03:28 -0300, JonathanB <[EMAIL PROTECTED]> escribió: > Ok, so this is the scenario. I need to create a simple, no-frills XML > editor for non-technical users. It doesn't have to do anything fancy, > what I want is a series of text boxes with the text contents of the > elem

Re: Read and Write the same file

2007-05-01 Thread Ian Clark
On 1 May 2007 16:03:28 -0700, JonathanB <[EMAIL PROTECTED]> wrote: > Ok, so this is the scenario. I need to create a simple, no-frills XML > editor for non-technical users. It doesn't have to do anything fancy, > what I want is a series of text boxes with the text contents of the > elements pre-pri

Read and Write the same file

2007-05-01 Thread JonathanB
Ok, so this is the scenario. I need to create a simple, no-frills XML editor for non-technical users. It doesn't have to do anything fancy, what I want is a series of text boxes with the text contents of the elements pre-printed. Then the users can type their changes into the text boxes and click s