It's alright.
Got it working now.  It's XMLPROJECTION="Content"

"Wendy Griffiths" <[EMAIL PROTECTED]> wrote in
message news:[EMAIL PROTECTED]
> How do you define your classes to get XML out like the following:
>
> <person>
>  <name type="first">
>    Fiona
>  </name>
> </person>
>
> I have a property in a class that is defined as another object type
because
> the sub-object has properties which project as attributes as above.
> Obviously if you set person.name="Fiona" you also can't set
> person.name.type="first" because as soon as you set person.name to a
string
> it's no longer an object.
> So presumably the way to do it must be to add a property to object that
name
> is an instance of and use some sort of XMLPROJECTION on it?
>
> Does any body know?
>
> thanks
> Wendy
>
>



Reply via email to