CDOC is a format for 2D collages on the web. Just like HDOC it is a static format, meaning that it cannot include any scripts. CDOC may contain images, texts and anything an SVG file could contain. But also it may contain documents like HDOCs, SDOCs, and possibly even other CDOCs. Those documents are included by reference. Parent CDOC only defines how they look and positioned within its collage and their URLs. Documents are never included inline.
This format is currently implemented only partially. For example, adding other documents inside a CDOC is not yet supported in LZ Desktop.
HEAD
CDOC has head section just like HDOC and HTML. Inside of it it may have a <title> tag. Other things that may go into head section are not yet defined.
<cdoc>
<head>
<title>Title of my post</title>
</head>
</cdoc>
SVG
The content goes into one inline SVG. You can use any elements SVG supports. There may be some restrictions on the use of classes. Scripts are not supported.
Documents included by reference will probably be presented by any valid SVG element (for example, an image) wrapped into an anchor tag with a specific class.
<cdoc>
<svg xmlns="http://www.w3.org/2000/svg" width="400" height="300">
... (content goes here)
</svg>
</cdoc>
PANELS (Not needed)
Panels like in HDOC are probably not needed. However there may be a need for side panel for some interactivity. So, some way to add the URL of side panel webpage may be added in the future. For now panels are not supported in CDOC.
COPY-INFO
This section will be similar to that of HDOC, but the mappings may include URLs not only of media files but of the embedded documents as well.
CONNECTIONS
This is an XML structure that contains information about documents the current document wants to connect to as well as floating links that connect those documents with the current documents.
Connections section will be supported by all three document types: HDOC, CDOC, and SDOC. For that reason its description is on a separate page.