[xsd-users] Problem with parsing xml documents containing
boris at codesynthesis.com
Wed Mar 3 05:48:27 EST 2010
Feng Tony <fengtr at gmail.com> writes:
> In my last reply, the last question is I wonder if a name can be assigned to
> a const char* type as:
> const char * pChar = name;
> it's convenient, isn't it?
Such an implicit conversion would be dangerous. Which is also the reason
why std::string (from which xml_schema::string is derived) doesn't provide
> May be one can implement it by creating a subclass of name, but I
> hadn't tried it yet.
Yes, you can do it by customizing the mapping for the xsd:string XML
Schema built-in type.
More information about the xsd-users