Referencing Joins

I tried the example about referencing joins in the documentation but i found out that tamino doesnt care about integrity constraints (or i didnt do the right way). Please, is there anyone here that faced this problem and could solve it?

Another doubts:
Is there anyone here that tried to make reference using xlink in Tamino? If so, did it work (integrity constraints)?

Is there any solution in tamino for referencing joins that respects integrity constraints?

Thanks in advance for any help …