[xsd-users] Obtaining a referenced element via IDREF

Marco Fischer marco.fischer at chipvision.com
Mon Feb 20 08:37:46 EST 2006


Hi Boris,

> Do a and b point to objects that are in the same tree?
Aahh,  ok, probably not. You have some generic navigation functionality
in the underlying classes, used for looking up IDREFS. So all elements
can be reached, only if they are somewhere on the underlying navigation
paths, right?

Which actions make elements part of the same tree?

If I have a sequence of B's in A called children, would then

A *a;
B *b;
...
a.children.push_back(b);

make 'b' reachable from 'a', and vice versa?

Regards,
Marco




More information about the xsd-users mailing list