Changes for page XAR Format Specifications

Last modified by Thomas Mortagne on 2023/04/11 13:05

From version 47.1
edited by Thomas Mortagne
on 2020/06/26 14:57
Change comment: There is no comment for this version
To version 47.2
edited by Vincent Massol
on 2020/08/28 14:31
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -xwiki:XWiki.ThomasMortagne
1 +xwiki:XWiki.VincentMassol
Content
... ... @@ -2,8 +2,10 @@
2 2  
3 3  A XAR file is a ZIP file with extension ".xar" containing an (optional) "package.xml" descriptor file and in which each document (including the document's history, xobjects, attachments, xclass, etc.) is in a XML file.
4 4  
5 -= package.xml =
5 += Format for package.xml =
6 6  
7 +== Current Format ==
8 +
7 7  {{code language="xml"}}
8 8  <package>
9 9   <infos>
... ... @@ -55,8 +55,10 @@
55 55  
56 56  * Added optional ##type## attribute in ##<file>## elements
57 57  
58 -= Document XML file =
60 += Format for Document XML =
59 59  
62 +== Current Format ==
63 +
60 60  Usually the documents files are located in a path where each parent space is a folder (as in ##Space/NestedSpace/Page.xml##) but this is not technically mandatory and parsers won't take the path into account (only what is indicated in the actual document file).
61 61  
62 62  You can see the XML of a document by exporting it and opening the XAR or by using the [[##xpage=xml## parameter when on wiki page URL>>platform:DevGuide.Standard URL Format||anchor="HParameter:xpage"]].

Get Connected