Changes between Version 4 and Version 5 of SophieFormat
- Timestamp:
- 11/07/09 17:34:45 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
SophieFormat
v4 v5 14 14 * There is a common child ‘title’. This is the name of the resource that is used in all user controls – the resource palette, links\timelines hud, bottom flap, etc. Its value is string: 15 15 {{{ 16 17 18 16 <title> 17 Cool Book 18 </title> 19 19 }}} 20 20 * There is a child ‘template’ that contains a reference to another resource. It is saved like this: … … 37 37 }}} 38 38 39 39 Book resources could also have 3 additional child nodes - ‘pages’, ‘page-templates’ and ‘frame-templates’. The value of these properties is a list of references to resources just like the template one. These child nodes have attribute ‘size’ that is integer number indicating how many elements this list holds. Each element of the list is persisted separately in a child node called accordingly ‘page’ or ‘template’. Those elements have attribute ‘index’ since the order of those elements is important to the way the book is presented. In xml files order of the children with the same name on the same level of the xml is not regarded. That way the list of pages for example page elements could change their place in the xml representation but we won`t lose the information for the order in which they were arranged in the book.