Ah, that makes sense.

Was that behavior documented anywhere ? I did not see it :)

Jonathan

On 10/18/05, David Jencks <[EMAIL PROTECTED]> wrote:
In order not to have side effects on its argument, add(FooType foo)
methods add a copy of foo rather than the foo you supply.  Subsequent
modifications of foo will then have no effect on the copy.  The
particular change would be changing the parent xml object.  I find
using add much more convenient.

thanks
david jencks


Reply via email to