Xref object issues

I need to create an xref object that has all its children, I can do this in the xref editor but I can’t seem to find a way to get the child node names.

I have considered creating an xref scene getting the child nodes and then unloading it and creating the xref object but some of the scenes are far too big for this.

Is there some way to get hold of or query the reference file without loading it in or to get the nodes associated with one node that is already in the scene file?

Thanks for the help in advance.