Change sdlxliff file with SDL Trados studio API

Hello every one.

I have sdlxliff file that should be translated.

So I should read sdlxliff file then change ,download new sdlxliff file.

I found sdlxliff reader from github.

But I really cannot know how to download new sdlxliff file using sdl trados api.

So my problem is to generate sdlxliff file from (source, target) array.

Best Regards