XML Serializer question...

  • Thread starter Thread starter James
  • Start date Start date
J

James

Hi,

I have an array of structures I would like to turn into
an XML string using the XML serializer. The problem I am
running into is that I get an exception. Depending on
what data type I set the serializer up with (my structure
or ArrayList), I get either "Invalid Cast" or "...did not
expect type <my structure> ..."

Does anybody know how I can do this WITHOUT having to
resort to using the SOAP formatter? It seems like a waste
to put all of that extra stuff in my xml.

Thanks,
James
 
Back
Top