Formex Version 4

Fragmentation

1. Explanations

Large documents may be devided into fragments which are reference from within the main document or sub-document instance (also see the element "INCL.ELEMENT"). A fragment can contain any portion of the document which must perfectly suit into the superior instance when the contents of the fragment just replaces the reference. A merge process will validate the correct use.

As a fragment can contain different elements on the entry level or root level, it is neither always a valid nor a well-formed document. In order to maintain a possiblity to validate a fragment (i.e. a file with the extension ".frg"), it has to be accompanied by a file with the same name, but with the suffix ".frag.xml" instead. This instance supplies with a single root element (always FRAGMENT) which only contains an entity reference to the contents of the framgent (= file ".frg"). The entity with the unique name "frag" is defined in the subset of the document type statement in the ".frag.xml" instance.

N.B.: The delivery of the ".frag.xml" instance is mandatory for each fragment (".frg").

2. Example

<?xml version="1.0" encoding="UTF-8"?>


<!DOCTYPE FRAGMENT [


   <!ENTITY frag SYSTEM "CA2002104EN.01000601.frg">


]>


<FRAGMENT xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="Formex4-01.01.20040501.xd">


   &frag;


</FRAGMENT>


Formex 4 - Physical Specifications - Catalog
Contact: OP A1.002 "Formats, Linguistic Informatics and Metadata"
Version: 5.59 (20170418)