Diagram

Validation Information:

[table border="1" colwidth="115"]

Rules,Values

Contained by:,<add>|<corr>|<date>|<del>|<head>|<hi>|<l>|<metamark>|<note>|<num>|<p>|<restore>|<seg>|<sic>|<speaker>|<stage>|<stamp>|<unclear>

May contain:,<anchor/>|<delSpan/>|<figDesc>|<floatingText>|<lb/>|<lg>|<metamark>|<note>|<pb/>
Attributes:,@corresp|@xml:id|@n|@type
[/table]


What is it?

Diagrams are to be encoded as figures. Their treatment is similar to doodles, with emphasis on a clear description. The description is surrounded by <figDesc> tags (which stands for 'figure description'), an the <figDesc> tags are in turn surrounded by <figure> tags.

<figure type="diagram" corresp="#06v" xml:id="MS-HRC-SB-5-9-2__06v_-_diagram1" n="1">
	<figDesc>
		...
	</figDesc>
</figure>

Attributes

The @xml:id attribute holds a unique identifier for the diagram. We like to encode the MS number, the page number and the fact that it's a diagram within this @xml:id.

For example:

[xml]

<figure xml:id="MS-HRC-SB-5-9-2__06v_-_diagram1">

[/xml]

The @corresp attribute holds a hashtag plus the page number of the location of the diagram.

For example:

[xml]<figure corresp="#06v">[/xml]

The @n attribute indicates the diagram's number. Please number all diagrams, and start from 1 for each version of the text. If one version of the text is spread over more than one notebook, please do not start renumbering from one when you reach the second notebook, or the third.

For example:
=> Eng MS 1 (three nb's) > contains 7 diagrams
=> Eng MS 2 (two nb's) > contains 5 diagrams
=> Eng TS 1 (140 loose leaves) > contains 1 diagram

The @type attribute requires the value "diagram".

For example:

[xml]<figure type="diagram">[/xml]


Important!
The @xml:id also serves as a filename for an image of that diagram. Please crop every diagram (on the "big.jpg" facsimile in your images folder, not on the regular image), save it as the value of the @xml:id for that diagram + .jpg. For example:

[xml]MS-HRC-SB-5-9-2__06v_-_diagramkjdn.jpg[/xml]

Then save the image in a "diagram" folder within the images folder. For example:

innommable/images/MS-HRC-SB-5-9-2/diagrams/MS-HRC-SB-5-9-2__06v_-_diagram.jpg