Parsing multipart response.

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

Guest

Hi,

In my application i have to parse through a multipart response. In my case
the first part is a xml portion and second part is byte stream [image]
portion.

How can i parse through the various parts in the response and get the values
in each part.
 
Vijay,
Are we talking about multipart MIME here? If so, you would need some sort of
MIME Parsing library. If you look around, I am sure you can find one either
at gotdotnet.com in the user samples, or perhaps at Sourceforge.net
Peter
 
Vijay,

Try looking for "mime" and ".NET" in google, it turns up a good number
of responses.

Hope this helps.
 
Hi,

In my application i have to parse through a multipart response. In my case
the first part is a xml portion and second part is byte stream [image]
portion.

How can i parse through the various parts in the response and get the values
in each part.

At the risk of being *very* obvious this is a two stage process:

1 Split the response into its separate parts.
2 Parse each part separately.

What stage are you having difficulty with?

rossum
 
Back
Top