[xsd-users] a couple of questions

Chappelle, Douglas (Com US) douglas.chappelle at siemens.com
Thu Aug 17 16:55:51 EDT 2006


Hello,

I have a couple of questions...

[1] I have an object factory that returns auto_ptr<type> (type of course
being the base type of the xsd objects created). Is there an easy way
(api) to find out what element this is?

For example:
	auto_ptr<type> obj;
	obj = myXsdObject(xml_data);
	obj->? Returns "myXsdObject"

[2] I'm reading through the Tree User manual looking for an easy way to
serialize an auto_ptr<type> to an output stream. I see section 4.5
Serializing to std::ostream but is there a way to do this without
needing to build a namespace infomap? 





More information about the xsd-users mailing list