[xsd-users] Need help !!!

Boris Kolpackov boris at codesynthesis.com
Tue Jun 26 06:28:08 EDT 2007


Hi,

Picsou en Bretagne <breizh_picsou at yahoo.fr> writes:

>   In my project, first I'm reading all elements and I'm storing reference
>   of this elements in a list.

You cannot store a reference in a list. What you are doing is making and
storing a copy of the node in your list. Since this copy is not part of
the original tree, it does not have a parent.

Try instead to store a pointer to the original node which is part of the
tree. Then everything should work.

hth,
-boris




More information about the xsd-users mailing list