Can we write content from a XML document into a Confluence page using Confluence Rest API?
We want to import Documents into Confluence. But we are not satisfied with the output of the "Import Word Document" Functionality. So, we are thinking of Converting the Word Doc to XML and then reading content from XML Document to Already created Confluence Page.
Is there any way we can read data from XML Document and write it to the Confluence Page
Yes, but it's an admin action and not yet realised in the REST API.
It's also going to be a lot of work - the only XML you can import into Confluence is a Confluence space export to XML. You would need to convert your document into XML that Confluence would generate if you exported it, wrapped in a space, then you can import the space, and move the pages to where you want them.
I think you might be better off looking at what you are not satisfied with on the import word functions - it's probably going to be better to edit the word doc a little so that it can be imported in a way you want. What is currently wrong with your import?
> Yes, we have Converted the Word doc to XML File.
So you've converted it to Confluence space xml ready for import? (Not just xml, but xml suitable for import?)
>Do we need to Write any programming Language to write content from a XML document into a Confluence page using Confluence Rest API
No, as I said, there is no REST call that can do space imports
Hello Confluence Community! What if i told you that you could have a healthier life and be 100% meet-less? This month, we're promoting a healthy, balanced work diet with Confluence. We la...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events