Slice Object Fields
The following describes the fields of slice objects.
| Field_Name | Decription |
|---|---|
| SLICE_ID | The SLICE_ID field contains a unique number identifying every slice within a compound object. Slice id’s are unique within the object and never repeat. |
| SLICE_PARENT | This field contains the SLICE_ID of the slice’s parent slice. This allows the maintenance of structured data hierarchy within a compound object. For example, if an XML document contains an element CHAPTER which contains SECTION elements, the SLICE_PARENT of each SECTION could be its containing CHAPTER. Currently there is no built-in significance attached to the PARENT SLICE. It is reserved for future functionality. |
| SLICE_TYPE | This field is a variable length string of unlimited size. It has no system meaning, it is there solely for the use of adapters/tools. |
| SLICE_REF_TYPE | This field contains the SDL Contenta object type number of the SDL Contenta object referenced by a REFERENCE or CHILD slice. Any other slice CLASS contains a 0 in this field. |
| SLICE_REF_POID | This field contains the POID (Persistent Object ID) needed to access the SDL Contenta object specified by a REFERENCE or CHILD slice. |
| SLICE_CONTROL_SIZE | The SLICE_CONTROL_SIZE field contains the number of bytes of control data contained by the slice. This data is accessed via the slice control command set. |
| SLICE_CONTENT_SIZE | This field contains the number of bytes of content data contained by the slice. This data is accessed via the slice content command set. |
| SLICE_REF_CLASS | This field contains the RL_CLASS number of the SDL Contenta object referenced by a REFERENCE of CHILD slice. Any other slice CLASS contains a 0 in this field. |
| SLICE_CLASS | This field defines the system significance of a slice. The classes are: content, reference, child, group start, and group end.
|