Parse a sdlxliff and loop over its source segments

Hello,

I am trying to parse a .sdlxliff and iterate over its source segments via the API with the goal of doing TM lookup with specific source segments based on certain segment ids. I saw some similar answer here but I tried it and it is deprecated. I also looked at this but again I could not make a workable solution.

Thanks