What's the XML file format of a page?

tetris_wang
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 18, 2024

When I export a page to XML format, I find it is hard to understand the format of the XML file. Is there any information about how the XML is organized?

1 answer

0 votes
Humashankar VJ
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 19, 2024

Hi @tetris_wang 

When exporting a Confluence page to XML, the resulting file encompasses all associated content, attachments, and metadata.

The XML structure begins with a root element, typically <confluence-page>, which contains child elements holding page metadata, including title, ID, space key, and version.

The main page content resides within the <body> element, comprising various child elements representing paragraphs, lists, tables, and other content types.

Additionally, attachments are organized within an <attachments> element, with each attachment featuring its own set of child elements detailing filename and content type.

Any page comments are also included, structured within a <comments> element and specifying author and date

To learn more - Export Content to Word, PDF, HTML and XML | Confluence Data Center 9.0 | Atlassian Documentation

Hope this helps - Happy to help further!!
Thank you very much and have a great one!
Warm regards

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events