How can I fill some elements of an XML file automatically?

Hi

I received an XML file for translation. In addition to the elements that contain translatable text, it also contains attributes such as "Translated_by" and "Translated_on".

Is there a way to fill these with the "User ID" and "Created on" values when creating the target XML? Is there a function in the filetype where I can "map" a Studio field to an element/attribute in the XML?

Walter

  • Hi Walter,

    So these are empty at the moment? I guess you probably could do, but not by drawing the information from the sdlxliff or from Studio. You'd need a custom filetype created by a developer to do that. Out of the box they would just become translatable fields and you would have to enter the data through Studio as part of the translation.

    Regards

    Paul

    Paul Filkin | RWS Group

    ________________________
    Design your own training!

    You've done the courses and still need to go a little further, or still not clear? 
    Tell us what you need in our Community Solutions Hub

  • Hi Paul

    The fields are not empty, but they would need to be updated. I feared that this would not be possible out of the box, but I was not sure.
    I thought about a feature like the field mapping for the segment status in the XLIFF file type. Or a capability in the Parser to map a "field value" to an element/attribute.
    Would be nice to have such a capability in the XML filetype.

    Walter