ODF 1.2, xml:id attribute

Michael Stahl mst at libreoffice.org
Wed Mar 4 10:33:15 UTC 2020


On 04.03.20 09:38, Miklos Vajna wrote:
> Hi Olivier,
> 
> On Tue, Mar 03, 2020 at 06:42:44PM -0300, Olivier Hallot <olivier.hallot at libreoffice.org> wrote:
>> 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.
> 
> I think not; xml:id is maintained by e.g. sfx2::Metadatable and is not
> visible to the user.

that's right, the plan was that extensions would implicitly set xml:ids 
by creating RDF metadata that references the objects.

if wiki maintenance weren't rocket surgery you could read about it on:

https://wiki.openoffice.org/wiki/Documentation/DevGuide/OfficeDev/RDF_metadata


More information about the LibreOffice mailing list