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?
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.