I was trying out the XML serialisation, and struck a few snags...

1. The classes you want serialised have to be public - but this isn't
really what I wanted for this project - I wanted to hide the
implementation from the "end user" of this component - is there any way
to avoid this?

2. The serialiser produced this:

<transaction xmlns:xsd="http://www.w3.org/2001/XMLSchema";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
type="B2B_REQUEST_STATUS">

Where all I wanted was:

<transaction type="B2B_REQUEST_STATUS">

Is there a way to suppress the above attributes? I've looked in the
docs, but can't find anything...

Cheers,
Dino

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.351 / Virus Database: 197 - Release Date: 19/04/2002

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to