External xml3d definitions ref handling added