Storing WAVE FORMAT in an XML FILE

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

hi,
i want to store the WAVE FILE CONTENTS in an XML.
How do i do it?

thanks
Venugopal
 
VenuGopal said:
hi,
i want to store the WAVE FILE CONTENTS in an XML.
How do i do it?

Do you want to represent a wave file as xml or encode the actual binary wave
file into xml?
 
Hi,

Sorri for not being clear the last time around.
This is what i am trying to do
1. at the client ... i have a WAVE file.
2. this has to go to the server where it will be stored and later retreived
upon request by client in the future.

this is my plan.... if i could maybe store the contents into a XML file and
this if i can send it to the server. Y i think of using the xml is that along
with the ACTUAL FILE CONTENTS i can also squeeze in a few more attributes
like Wave File Record time, UserName e.t.c and it would be very easy to
maintain the entire system

If u can suggest if there are any better ways to do the above operation plz
i'd liove to hear form you.

thanks
Venugopal.B
 
In message said:
Hi,

Sorri for not being clear the last time around.
This is what i am trying to do
1. at the client ... i have a WAVE file.
2. this has to go to the server where it will be stored and later retreived
upon request by client in the future.

this is my plan.... if i could maybe store the contents into a XML file and
this if i can send it to the server. Y i think of using the xml is that along
with the ACTUAL FILE CONTENTS i can also squeeze in a few more attributes
like Wave File Record time, UserName e.t.c and it would be very easy to
maintain the entire system

You *could* base64 encode the binary file and embed it in an XML
document. When someone wants to download the file, you could load the
xml document server-side, parse it, decode it and stream the content
back. This would all be quite inefficient, though, both in terms of
storage space, transient memory use and processing overhead.
If u can suggest if there are any better ways to do the above operation plz
i'd liove to hear form you.

Could you store the metadata in a companion XML file or a database?
 
Back
Top