ODF 1.2, xml:id attribute

Olivier Hallot olivier.hallot at libreoffice.org
Wed Mar 4 17:08:46 UTC 2020

HI Regina

I'm on very early stage of investigating a way to do a roundtrip of
translation of an odt / fodt by identifying each of its translatable
content. Borrowed the idea from the Help XHP and applying to a rich text


Em 04/03/2020 10:38, Regina Henschel escreveu:
> Hi Olivier,
> what do you want to do with 'xml:id'? Its value is unique in a document,
> but it need not be stable in the lifetime of a document.
> Kind regards
> Regina
> Olivier Hallot schrieb am 03-Mar-20 um 22:42:
>> Hi
>> Is there a widget in the user interface or API to assign the xml:id [1]
>> attribute to an object?
>> for example, I'd like to add xml:id to every <txt:p> element in a file.
>> [1] 19.914 xml:id
>> The xml:id attribute is standardized by the W3C [XML-ID] and gives an
>> element a unique identification in its XML file.
>> Kind regards
> _______________________________________________
> LibreOffice mailing list
> LibreOffice at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/libreoffice

Olivier Hallot
LibreOffice Documentation Coordinator
Comunidade LibreOffice
Rio de Janeiro - Brasil - Local Time: UTC-03:00

More information about the LibreOffice mailing list