[xsd-users] Re: Just want to create an instance of an element and populate sub-elements

Attila atteeela at gmail.com
Sat Jun 20 23:31:15 EDT 2009


Thanks I figured it out!

On Sat, Jun 20, 2009 at 5:10 PM, Attila <atteeela at gmail.com> wrote:

> Hi,
>
> Say I have a Person object which is composed of a choice between the
> following 2 string elements: RealName or Nickname.
>
> I would like to instantiate an empty Person object and set the RealName or
> Nickname and then serialize it to a std::string.
> How can I accomplish this?
>
> Thank you
>
> --
> Attila
> Software Developer
> atteeela at gmail.com
>



-- 
Attila
Software Developer
atteeela at gmail.com



More information about the xsd-users mailing list