[xsd-users] how to convert xml_schema::type to std::string EOM

Prakash, Arul Arul.Prakash2 at rsa.com
Wed Oct 3 01:26:23 EDT 2012


Hi Boris,

Sorry about my message, I was in a hurry . 

What I am trying to do is in my xsd the element is of type "anyType",so
after code generation it is converted to type "xml_schema::type". In my xml
the element has a string (Eg:<request>sample</request>).Here <request> is of
type "anytype",so while constructing the xml using codesynthesis how can I
map a string to "anyType".

Thanks
Arul

-----Original Message-----
From: Boris Kolpackov [mailto:boris at codesynthesis.com] 
Sent: Tuesday, October 02, 2012 1:01 PM
To: Prakash, Arul
Cc: xsd-users at codesynthesis.com
Subject: Re: [xsd-users] how to convert xml_schema::type to std::string EOM

Hi Arul,

You can't.

As a side note, in the future you may want to expand your questions with a
bit more context (i.e., what you have, what you are trying to achieve, etc).
Otherwise you will keep getting correct but not very useful answers like the
one above.

Boris

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 7465 bytes
Desc: not available
Url : http://codesynthesis.com/pipermail/xsd-users/attachments/20121003/60e8d7b2/smime.bin


More information about the xsd-users mailing list