[xsd-users] equivalent of @XmlSeeAlso in code synthesis

Boris Kolpackov boris at codesynthesis.com
Mon Dec 3 10:06:24 EST 2012


Hi Arul,

Prakash, Arul <Arul.Prakash2 at rsa.com> writes:

> I also found this, it says whatever you have mentioned is not correct.

I am curious to know, what exactly that I have mentioned is not correct?
Your second email didn't explain anything further, as you have promised.


> auto_ptr<base::Base> b (base::Elem("test.xml");
> now how can I access the "Timeout" attribute defined in derived_schema.xsd.

Did you try something along these lines:

if (derived::Derived* d = dynamic_cast<derived::Derived*> (b.get ()))
{
  // Access timeout vis 'd'.
}

?

Boris



More information about the xsd-users mailing list