Cross resource reference from Xtext to XMI


I am working on creating a LSP based editor in Theia for one of our DSL , from this DSL we need to cross reference model defined in separate XMI file on the basis of FullQualifiedName.

I am able to implement this for eclipse plugin but unable to implement it for theia based editor , kindly help. If there is any existing sample that is implementing this functionality then it would be great.

Solution -