<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.tei-c.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Conal</id>
	<title>TEIWiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.tei-c.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Conal"/>
	<link rel="alternate" type="text/html" href="https://wiki.tei-c.org/index.php?title=Special:Contributions/Conal"/>
	<updated>2026-04-18T20:43:15Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.32.0</generator>
	<entry>
		<id>https://wiki.tei-c.org/index.php?title=Firefox&amp;diff=14426</id>
		<title>Firefox</title>
		<link rel="alternate" type="text/html" href="https://wiki.tei-c.org/index.php?title=Firefox&amp;diff=14426"/>
		<updated>2015-09-25T12:31:21Z</updated>

		<summary type="html">&lt;p&gt;Conal: /* Bookmarklet access */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Bookmarklet access==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
As I tend to look up the reference section for TEI elements in the P5 Guidelines on a regular basis, I've created some bookmarklets on my Mozilla Firefox Bookmarks Toolbar. These help me get to the information I'm after more swiftly. If they interest you, you are welcome to them.  One of them is given below.  To add some of the ones I use see: http://james.cummingsfamily.org.uk/TEI-LookUp.html Or to add one to your bookmarks toolbar yourself:&lt;br /&gt;
&lt;br /&gt;
# Highlight and copy the code below&lt;br /&gt;
# Click on 'Bookmarks', then 'Organize Bookmarks'&lt;br /&gt;
# Select the 'Bookmarks Toolbar Folder'&lt;br /&gt;
# Click 'New Bookmark' icon (or 'File' -&amp;gt; 'New Bookmark')&lt;br /&gt;
# Type 'TEI P5 LookUp' (or similar) as the 'name'&lt;br /&gt;
# Paste the code your copied into 'location'&lt;br /&gt;
# Optionally give this a keyword shortcut (see below for more details) and description&lt;br /&gt;
# Click Ok to save the bookmark&lt;br /&gt;
# If the bookmark ends up somewhere else, drag and drop it back in the 'Bookmarks Toolbar Folder'&lt;br /&gt;
# Close the Bookmark Manager.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;&lt;br /&gt;
 javascript:Qr=document.getSelection();&lt;br /&gt;
 if(!Qr){void(Qr=prompt('P5 Element Name: ',''))};&lt;br /&gt;
 if(Qr)location.href=&lt;br /&gt;
 'http://www.tei-c.org/release/doc/tei-p5-doc/en/html/ref-'+escape(Qr)+'.html'&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In later versions of Firefox (at least from version 41), you will need to use the following bookmarklet:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;&lt;br /&gt;
javascript:Qr=document.getSelection().toString();&lt;br /&gt;
if(Qr==''){void(Qr=prompt('P5%20Element%20Name:%20',''))};&lt;br /&gt;
if(Qr)location.href=&lt;br /&gt;
'http://www.tei-c.org/release/doc/tei-p5-doc/en/html/ref-'+escape(Qr)+'.html'&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Keyword access==&lt;br /&gt;
Another method in Firefox you can use is:&lt;br /&gt;
&lt;br /&gt;
# Go to Bookmarks -&amp;gt; Organize Bookmarks -&amp;gt; New Bookmark&lt;br /&gt;
# Add a location such as http://www.tei-c.org/release/doc/tei-p5-doc/en/html/ref-%s.html where &amp;quot;%s&amp;quot; indicates that this portion of the URL will be variable&lt;br /&gt;
# Add a name (e.g., TEI reference) and optionally description&lt;br /&gt;
# Add a keyword such as &amp;quot;tei&amp;quot; or even just &amp;quot;t&amp;quot; if you may use this frequently enough&lt;br /&gt;
# Hit OK.&lt;br /&gt;
&lt;br /&gt;
Now you will be able to go to the location bar (where you type &amp;quot;http:...&amp;quot; etc. normally)--you might learn the keyboard shortcut (control-L) to be even faster) and do something like this:&lt;br /&gt;
&lt;br /&gt;
    tei valList&lt;br /&gt;
&lt;br /&gt;
and after hitting return, you'll get brought to that reference page...&lt;br /&gt;
&lt;br /&gt;
To import a predefined set of such shortcuts (to also jump to TEI Chapters, search this wiki, etc., see [http://bahai-library.com/zamir/tei-bookmarks.html this file]...&lt;br /&gt;
&lt;br /&gt;
# go to Bookmarks -&amp;gt; Organize bookmarks&lt;br /&gt;
# On the window that appears, go to File -&amp;gt; Import&lt;br /&gt;
# Choose &amp;quot;From File&amp;quot;&lt;br /&gt;
# Find the attached file on your hard drive and click ok.&lt;br /&gt;
&lt;br /&gt;
Then to use its contents,&lt;br /&gt;
# Go to the URL Location bar (control-L is a nice fast way)&lt;br /&gt;
# To go to a specific chapter, type teiN, where &amp;quot;N&amp;quot; is the chapter number.  e.g.,  &amp;quot;tei7&amp;quot; or &amp;quot;teivi&amp;quot;. The appendices are by lower case letter number, except for the probably most frequently used, A, B, and C ('m' for model classes, 'e' for elements, 'a' or attributes, respectively) and E ('b' for bibliography - done to avoid conflicting with 'e' for elements).  For example, you'd type teie to go to the elements page.  &amp;quot;teitoc&amp;quot; brings you to the Table of Contents.&lt;br /&gt;
# To search for specific content in the Guidelines, type &amp;quot;tgoo&amp;quot; then a space and then the content to search for. This will use Google to search at just the TEI site for the content you specify.&lt;br /&gt;
# To search at the wiki, 'teiw' followed by a space and the page title searches for a page by wiki title, while 'teiws' followed by a space and search terms searches for content at the wiki.&lt;br /&gt;
&lt;br /&gt;
You can view the shortcuts by going to Bookmarks -&amp;gt; Organize Bookmarks . To edit their features, including optionally redefining the keyword shortcuts (but be sure not to use the same keyword used elsewhere), you can single-click an entry in the window that appears and click &amp;quot;Properties&amp;quot;. (You can sort the list by keyword, etc. for a better view.)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation access tools]]&lt;/div&gt;</summary>
		<author><name>Conal</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.tei-c.org/index.php?title=Firefox&amp;diff=14425</id>
		<title>Firefox</title>
		<link rel="alternate" type="text/html" href="https://wiki.tei-c.org/index.php?title=Firefox&amp;diff=14425"/>
		<updated>2015-09-25T12:02:26Z</updated>

		<summary type="html">&lt;p&gt;Conal: /* Bookmarklet access */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Bookmarklet access==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
As I tend to look up the reference section for TEI elements in the P5 Guidelines on a regular basis, I've created some bookmarklets on my Mozilla Firefox Bookmarks Toolbar. These help me get to the information I'm after more swiftly. If they interest you, you are welcome to them.  One of them is given below.  To add some of the ones I use see: http://james.cummingsfamily.org.uk/TEI-LookUp.html Or to add one to your bookmarks toolbar yourself:&lt;br /&gt;
&lt;br /&gt;
# Highlight and copy the code below&lt;br /&gt;
# Click on 'Bookmarks', then 'Organize Bookmarks'&lt;br /&gt;
# Select the 'Bookmarks Toolbar Folder'&lt;br /&gt;
# Click 'New Bookmark' icon (or 'File' -&amp;gt; 'New Bookmark')&lt;br /&gt;
# Type 'TEI P5 LookUp' (or similar) as the 'name'&lt;br /&gt;
# Paste the code your copied into 'location'&lt;br /&gt;
# Optionally give this a keyword shortcut (see below for more details) and description&lt;br /&gt;
# Click Ok to save the bookmark&lt;br /&gt;
# If the bookmark ends up somewhere else, drag and drop it back in the 'Bookmarks Toolbar Folder'&lt;br /&gt;
# Close the Bookmark Manager.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;&lt;br /&gt;
 javascript:Qr=document.getSelection();&lt;br /&gt;
 if(!Qr){void(Qr=prompt('P5 Element Name: ',''))};&lt;br /&gt;
 if(Qr)location.href=&lt;br /&gt;
 'http://www.tei-c.org/release/doc/tei-p5-doc/en/html/ref-'+escape(Qr)+'.html'&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In Firefox, you will need to use the following bookmarklet:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;&lt;br /&gt;
javascript:Qr=document.getSelection().toString();&lt;br /&gt;
if(Qr==''){void(Qr=prompt('P5%20Element%20Name:%20',''))};&lt;br /&gt;
if(Qr)location.href=&lt;br /&gt;
'http://www.tei-c.org/release/doc/tei-p5-doc/en/html/ref-'+escape(Qr)+'.html'&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Keyword access==&lt;br /&gt;
Another method in Firefox you can use is:&lt;br /&gt;
&lt;br /&gt;
# Go to Bookmarks -&amp;gt; Organize Bookmarks -&amp;gt; New Bookmark&lt;br /&gt;
# Add a location such as http://www.tei-c.org/release/doc/tei-p5-doc/en/html/ref-%s.html where &amp;quot;%s&amp;quot; indicates that this portion of the URL will be variable&lt;br /&gt;
# Add a name (e.g., TEI reference) and optionally description&lt;br /&gt;
# Add a keyword such as &amp;quot;tei&amp;quot; or even just &amp;quot;t&amp;quot; if you may use this frequently enough&lt;br /&gt;
# Hit OK.&lt;br /&gt;
&lt;br /&gt;
Now you will be able to go to the location bar (where you type &amp;quot;http:...&amp;quot; etc. normally)--you might learn the keyboard shortcut (control-L) to be even faster) and do something like this:&lt;br /&gt;
&lt;br /&gt;
    tei valList&lt;br /&gt;
&lt;br /&gt;
and after hitting return, you'll get brought to that reference page...&lt;br /&gt;
&lt;br /&gt;
To import a predefined set of such shortcuts (to also jump to TEI Chapters, search this wiki, etc., see [http://bahai-library.com/zamir/tei-bookmarks.html this file]...&lt;br /&gt;
&lt;br /&gt;
# go to Bookmarks -&amp;gt; Organize bookmarks&lt;br /&gt;
# On the window that appears, go to File -&amp;gt; Import&lt;br /&gt;
# Choose &amp;quot;From File&amp;quot;&lt;br /&gt;
# Find the attached file on your hard drive and click ok.&lt;br /&gt;
&lt;br /&gt;
Then to use its contents,&lt;br /&gt;
# Go to the URL Location bar (control-L is a nice fast way)&lt;br /&gt;
# To go to a specific chapter, type teiN, where &amp;quot;N&amp;quot; is the chapter number.  e.g.,  &amp;quot;tei7&amp;quot; or &amp;quot;teivi&amp;quot;. The appendices are by lower case letter number, except for the probably most frequently used, A, B, and C ('m' for model classes, 'e' for elements, 'a' or attributes, respectively) and E ('b' for bibliography - done to avoid conflicting with 'e' for elements).  For example, you'd type teie to go to the elements page.  &amp;quot;teitoc&amp;quot; brings you to the Table of Contents.&lt;br /&gt;
# To search for specific content in the Guidelines, type &amp;quot;tgoo&amp;quot; then a space and then the content to search for. This will use Google to search at just the TEI site for the content you specify.&lt;br /&gt;
# To search at the wiki, 'teiw' followed by a space and the page title searches for a page by wiki title, while 'teiws' followed by a space and search terms searches for content at the wiki.&lt;br /&gt;
&lt;br /&gt;
You can view the shortcuts by going to Bookmarks -&amp;gt; Organize Bookmarks . To edit their features, including optionally redefining the keyword shortcuts (but be sure not to use the same keyword used elsewhere), you can single-click an entry in the window that appears and click &amp;quot;Properties&amp;quot;. (You can sort the list by keyword, etc. for a better view.)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation access tools]]&lt;/div&gt;</summary>
		<author><name>Conal</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.tei-c.org/index.php?title=Firefox&amp;diff=14424</id>
		<title>Firefox</title>
		<link rel="alternate" type="text/html" href="https://wiki.tei-c.org/index.php?title=Firefox&amp;diff=14424"/>
		<updated>2015-09-25T12:01:47Z</updated>

		<summary type="html">&lt;p&gt;Conal: fix bug in bookmarklet on Firefox v41; an empty selection is still a selection - needs to convert to string&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Bookmarklet access==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
As I tend to look up the reference section for TEI elements in the P5 Guidelines on a regular basis, I've created some bookmarklets on my Mozilla Firefox Bookmarks Toolbar. These help me get to the information I'm after more swiftly. If they interest you, you are welcome to them.  One of them is given below.  To add some of the ones I use see: http://james.cummingsfamily.org.uk/TEI-LookUp.html Or to add one to your bookmarks toolbar yourself:&lt;br /&gt;
&lt;br /&gt;
# Highlight and copy the code below&lt;br /&gt;
# Click on 'Bookmarks', then 'Organize Bookmarks'&lt;br /&gt;
# Select the 'Bookmarks Toolbar Folder'&lt;br /&gt;
# Click 'New Bookmark' icon (or 'File' -&amp;gt; 'New Bookmark')&lt;br /&gt;
# Type 'TEI P5 LookUp' (or similar) as the 'name'&lt;br /&gt;
# Paste the code your copied into 'location'&lt;br /&gt;
# Optionally give this a keyword shortcut (see below for more details) and description&lt;br /&gt;
# Click Ok to save the bookmark&lt;br /&gt;
# If the bookmark ends up somewhere else, drag and drop it back in the 'Bookmarks Toolbar Folder'&lt;br /&gt;
# Close the Bookmark Manager.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;&lt;br /&gt;
 javascript:Qr=document.getSelection();&lt;br /&gt;
 if(!Qr){void(Qr=prompt('P5 Element Name: ',''))};&lt;br /&gt;
 if(Qr)location.href=&lt;br /&gt;
 'http://www.tei-c.org/release/doc/tei-p5-doc/en/html/ref-'+escape(Qr)+'.html'&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In Firefox, you will need to use the following bookmarklet:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;&lt;br /&gt;
javascript:Qr=document.getSelection().toString();%&lt;br /&gt;
if(Qr==''){void(Qr=prompt('P5%20Element%20Name:%20',''))};&lt;br /&gt;
if(Qr)location.href=&lt;br /&gt;
'http://www.tei-c.org/release/doc/tei-p5-doc/en/html/ref-'+escape(Qr)+'.html'&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Keyword access==&lt;br /&gt;
Another method in Firefox you can use is:&lt;br /&gt;
&lt;br /&gt;
# Go to Bookmarks -&amp;gt; Organize Bookmarks -&amp;gt; New Bookmark&lt;br /&gt;
# Add a location such as http://www.tei-c.org/release/doc/tei-p5-doc/en/html/ref-%s.html where &amp;quot;%s&amp;quot; indicates that this portion of the URL will be variable&lt;br /&gt;
# Add a name (e.g., TEI reference) and optionally description&lt;br /&gt;
# Add a keyword such as &amp;quot;tei&amp;quot; or even just &amp;quot;t&amp;quot; if you may use this frequently enough&lt;br /&gt;
# Hit OK.&lt;br /&gt;
&lt;br /&gt;
Now you will be able to go to the location bar (where you type &amp;quot;http:...&amp;quot; etc. normally)--you might learn the keyboard shortcut (control-L) to be even faster) and do something like this:&lt;br /&gt;
&lt;br /&gt;
    tei valList&lt;br /&gt;
&lt;br /&gt;
and after hitting return, you'll get brought to that reference page...&lt;br /&gt;
&lt;br /&gt;
To import a predefined set of such shortcuts (to also jump to TEI Chapters, search this wiki, etc., see [http://bahai-library.com/zamir/tei-bookmarks.html this file]...&lt;br /&gt;
&lt;br /&gt;
# go to Bookmarks -&amp;gt; Organize bookmarks&lt;br /&gt;
# On the window that appears, go to File -&amp;gt; Import&lt;br /&gt;
# Choose &amp;quot;From File&amp;quot;&lt;br /&gt;
# Find the attached file on your hard drive and click ok.&lt;br /&gt;
&lt;br /&gt;
Then to use its contents,&lt;br /&gt;
# Go to the URL Location bar (control-L is a nice fast way)&lt;br /&gt;
# To go to a specific chapter, type teiN, where &amp;quot;N&amp;quot; is the chapter number.  e.g.,  &amp;quot;tei7&amp;quot; or &amp;quot;teivi&amp;quot;. The appendices are by lower case letter number, except for the probably most frequently used, A, B, and C ('m' for model classes, 'e' for elements, 'a' or attributes, respectively) and E ('b' for bibliography - done to avoid conflicting with 'e' for elements).  For example, you'd type teie to go to the elements page.  &amp;quot;teitoc&amp;quot; brings you to the Table of Contents.&lt;br /&gt;
# To search for specific content in the Guidelines, type &amp;quot;tgoo&amp;quot; then a space and then the content to search for. This will use Google to search at just the TEI site for the content you specify.&lt;br /&gt;
# To search at the wiki, 'teiw' followed by a space and the page title searches for a page by wiki title, while 'teiws' followed by a space and search terms searches for content at the wiki.&lt;br /&gt;
&lt;br /&gt;
You can view the shortcuts by going to Bookmarks -&amp;gt; Organize Bookmarks . To edit their features, including optionally redefining the keyword shortcuts (but be sure not to use the same keyword used elsewhere), you can single-click an entry in the window that appears and click &amp;quot;Properties&amp;quot;. (You can sort the list by keyword, etc. for a better view.)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation access tools]]&lt;/div&gt;</summary>
		<author><name>Conal</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.tei-c.org/index.php?title=Serving_%22application/tei%2Bxml%22_from_Cocoon&amp;diff=8249</id>
		<title>Serving &quot;application/tei+xml&quot; from Cocoon</title>
		<link rel="alternate" type="text/html" href="https://wiki.tei-c.org/index.php?title=Serving_%22application/tei%2Bxml%22_from_Cocoon&amp;diff=8249"/>
		<updated>2010-10-22T04:57:41Z</updated>

		<summary type="html">&lt;p&gt;Conal: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Most websites which publish TEI XML documents describe them with the content type &amp;quot;application/xml&amp;quot; or &amp;quot;text/xml&amp;quot;. These are two labels for XML files in general, and don't identify the files as specifically ''TEI'' XML. By using the content type &amp;quot;application/tei+xml&amp;quot;, a webserver can make the specific claim that the XML file is TEI rather than any other kind of XML. This has the advantage that browsers can be configured to handle TEI files distinctly from the way they handle other XML files (for instance, by opening them in an XML editor).&lt;br /&gt;
&lt;br /&gt;
This page describes how to configure [[Apache Cocoon]] to serve TEI content as &amp;quot;application/tei+xml&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
= Simple configuration =&lt;br /&gt;
&lt;br /&gt;
To specify the content type, simply configure a TEI [http://cocoon.apache.org/2.1/userdocs/xml-serializer.html XML serializer] in your sitemap.xmap file, and then invoke the serializer in your TEI pipelines.&lt;br /&gt;
&lt;br /&gt;
To declare the serializer:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;serializer mime-type=&amp;quot;application/tei+xml&amp;quot; name=&amp;quot;tei&amp;quot; src=&amp;quot;org.apache.cocoon.serialization.XMLSerializer&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To invoke the serializer:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;serialize type=&amp;quot;tei&amp;quot;/&amp;gt; &lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This configuration will always send the TEI using the &amp;quot;application/tei+xml&amp;quot; content type. However, this may not be ideal for browsers which are not configured to handle it.&lt;br /&gt;
&lt;br /&gt;
= Preferred configuration =&lt;br /&gt;
&lt;br /&gt;
Most browsers will adequately display generic XML but will not be configured to handle the specific content type &amp;quot;application/tei+xml&amp;quot;. For this reason, it's usually better to serve the TEI as &amp;quot;application/tei+xml&amp;quot; only if the browser specifically asks for it, and otherwise to serve it as the generic &amp;quot;application/xml&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
In Cocoon, you can use a [http://cocoon.apache.org/2.1/userdocs/regular-expression-header-selector.html RegexpHeaderSelector] to determine if a browser is prepared to handle the specific content type. The following Cocoon sitemap file shows:&lt;br /&gt;
&lt;br /&gt;
* A plain XML serializer&lt;br /&gt;
* A TEI XML serializer&lt;br /&gt;
* A selector for determining if a browser will accept &amp;quot;application/tei+xml&amp;quot;&lt;br /&gt;
* A pipeline fragment (&amp;quot;resource&amp;quot;) which uses the selector to determine if a browser will accept &amp;quot;application/tei+xml&amp;quot;, and uses the appropriate XML serializer&lt;br /&gt;
* A pipeline which invokes the above resource instead of just invoking a serializer directly&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;sitemap xmlns=&amp;quot;http://apache.org/cocoon/sitemap/1.0&amp;quot;&amp;gt;&lt;br /&gt;
	&amp;lt;components&amp;gt;&lt;br /&gt;
		&amp;lt;!-- declare two serializers: one for tei-xml, and one for generic xml --&amp;gt;&lt;br /&gt;
		&amp;lt;serializers&amp;gt;&lt;br /&gt;
			&amp;lt;serializer mime-type=&amp;quot;application/xml&amp;quot; name=&amp;quot;xml&amp;quot; src=&amp;quot;org.apache.cocoon.serialization.XMLSerializer&amp;quot;/&amp;gt;&lt;br /&gt;
			&amp;lt;serializer mime-type=&amp;quot;application/tei+xml&amp;quot; name=&amp;quot;tei&amp;quot; src=&amp;quot;org.apache.cocoon.serialization.XMLSerializer&amp;quot;/&amp;gt;&lt;br /&gt;
		&amp;lt;/serializers&amp;gt;&lt;br /&gt;
		&amp;lt;!-- declare a selector for determining if a browser will accept tei-xml --&amp;gt;&lt;br /&gt;
		&amp;lt;selectors&amp;gt;&lt;br /&gt;
			&amp;lt;selector name=&amp;quot;accept-content-type&amp;quot; src=&amp;quot;org.apache.cocoon.selection.RegexpHeaderSelector&amp;quot;&amp;gt;&lt;br /&gt;
				&amp;lt;pattern xmlns=&amp;quot;&amp;quot; name=&amp;quot;tei&amp;quot;&amp;gt;application/tei\+xml&amp;lt;/pattern&amp;gt;&lt;br /&gt;
				&amp;lt;header-name xmlns=&amp;quot;&amp;quot;&amp;gt;accept&amp;lt;/header-name&amp;gt;&lt;br /&gt;
			&amp;lt;/selector&amp;gt;&lt;br /&gt;
		&amp;lt;/selectors&amp;gt;&lt;br /&gt;
	&amp;lt;/components&amp;gt;&lt;br /&gt;
&lt;br /&gt;
	&amp;lt;resources&amp;gt;&lt;br /&gt;
		&amp;lt;!-- declare a pipeline fragment for serializing TEI with the most appropriate content type; --&amp;gt;&lt;br /&gt;
		&amp;lt;!-- tei-xml if the browser will accept it, or plain generic xml otherwise --&amp;gt;&lt;br /&gt;
		&amp;lt;resource name=&amp;quot;serialize-tei&amp;quot;&amp;gt;&lt;br /&gt;
			&amp;lt;select type=&amp;quot;accept-content-type&amp;quot;&amp;gt;&lt;br /&gt;
				&amp;lt;when test=&amp;quot;tei&amp;quot;&amp;gt;&lt;br /&gt;
					&amp;lt;serialize type=&amp;quot;tei&amp;quot;/&amp;gt;&lt;br /&gt;
				&amp;lt;/when&amp;gt;&lt;br /&gt;
				&amp;lt;otherwise&amp;gt;&lt;br /&gt;
					&amp;lt;serialize type=&amp;quot;xml&amp;quot;/&amp;gt;&lt;br /&gt;
				&amp;lt;/otherwise&amp;gt;&lt;br /&gt;
			&amp;lt;/select&amp;gt;&lt;br /&gt;
		&amp;lt;/resource&amp;gt;&lt;br /&gt;
	&amp;lt;/resources&amp;gt;&lt;br /&gt;
&lt;br /&gt;
	&amp;lt;pipelines&amp;gt;&lt;br /&gt;
		&amp;lt;pipeline&amp;gt;&lt;br /&gt;
			&amp;lt;match pattern=&amp;quot;transcript/*.xml&amp;quot;&amp;gt;&lt;br /&gt;
				&amp;lt;generate src=&amp;quot;tei/{1}.xml&amp;quot;/&amp;gt;&lt;br /&gt;
				&amp;lt;!-- serialize the TEI using the appropriate serializer --&amp;gt;&lt;br /&gt;
				&amp;lt;call resource=&amp;quot;serialize-tei&amp;quot;/&amp;gt;&lt;br /&gt;
			&amp;lt;/match&amp;gt;&lt;br /&gt;
		&amp;lt;/pipeline&amp;gt;&lt;br /&gt;
	&amp;lt;/pipelines&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/sitemap&amp;gt; &lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Configuring your browser to request &amp;quot;application/tei+xml&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
Using this configuration, you will need to configure your browser to declare that it's prepared to accept &amp;quot;application/tei+xml&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
To configure Firefox, enter &amp;quot;about:config&amp;quot; into the address bar, find the key called &amp;quot;network.http.accept.default&amp;quot; and change it to include &amp;quot;application/tei+xml&amp;quot; in the list of acceptable content types, e.g.:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;text/html;q=0.7,application/xhtml+xml;q=0.8,application/tei+xml;q=0.7,application/xml;q=0.6,*/*;q=0.4,application/json;q=0.5&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Conal</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.tei-c.org/index.php?title=Serving_%22application/tei%2Bxml%22_from_Cocoon&amp;diff=8248</id>
		<title>Serving &quot;application/tei+xml&quot; from Cocoon</title>
		<link rel="alternate" type="text/html" href="https://wiki.tei-c.org/index.php?title=Serving_%22application/tei%2Bxml%22_from_Cocoon&amp;diff=8248"/>
		<updated>2010-10-22T04:57:25Z</updated>

		<summary type="html">&lt;p&gt;Conal: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Most websites which publish TEI XML documents describe them with the content type &amp;quot;application/xml&amp;quot; or &amp;quot;text/xml&amp;quot;. These are two labels for XML files in general, and don't identify the files as specifically ''TEI'' XML. By using the content type &amp;quot;application/tei+xml&amp;quot;, a webserver can make the specific claim that the XML file is TEI rather than any other kind of XML. This has the advantage that browsers can be configured to handle TEI files distinctly from the way they handle other XML files (for instance, by opening them in an XML editor).&lt;br /&gt;
&lt;br /&gt;
This page describes how to configure [Apache Cocoon] to serve TEI content as &amp;quot;application/tei+xml&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
= Simple configuration =&lt;br /&gt;
&lt;br /&gt;
To specify the content type, simply configure a TEI [http://cocoon.apache.org/2.1/userdocs/xml-serializer.html XML serializer] in your sitemap.xmap file, and then invoke the serializer in your TEI pipelines.&lt;br /&gt;
&lt;br /&gt;
To declare the serializer:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;serializer mime-type=&amp;quot;application/tei+xml&amp;quot; name=&amp;quot;tei&amp;quot; src=&amp;quot;org.apache.cocoon.serialization.XMLSerializer&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To invoke the serializer:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;serialize type=&amp;quot;tei&amp;quot;/&amp;gt; &lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This configuration will always send the TEI using the &amp;quot;application/tei+xml&amp;quot; content type. However, this may not be ideal for browsers which are not configured to handle it.&lt;br /&gt;
&lt;br /&gt;
= Preferred configuration =&lt;br /&gt;
&lt;br /&gt;
Most browsers will adequately display generic XML but will not be configured to handle the specific content type &amp;quot;application/tei+xml&amp;quot;. For this reason, it's usually better to serve the TEI as &amp;quot;application/tei+xml&amp;quot; only if the browser specifically asks for it, and otherwise to serve it as the generic &amp;quot;application/xml&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
In Cocoon, you can use a [http://cocoon.apache.org/2.1/userdocs/regular-expression-header-selector.html RegexpHeaderSelector] to determine if a browser is prepared to handle the specific content type. The following Cocoon sitemap file shows:&lt;br /&gt;
&lt;br /&gt;
* A plain XML serializer&lt;br /&gt;
* A TEI XML serializer&lt;br /&gt;
* A selector for determining if a browser will accept &amp;quot;application/tei+xml&amp;quot;&lt;br /&gt;
* A pipeline fragment (&amp;quot;resource&amp;quot;) which uses the selector to determine if a browser will accept &amp;quot;application/tei+xml&amp;quot;, and uses the appropriate XML serializer&lt;br /&gt;
* A pipeline which invokes the above resource instead of just invoking a serializer directly&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;sitemap xmlns=&amp;quot;http://apache.org/cocoon/sitemap/1.0&amp;quot;&amp;gt;&lt;br /&gt;
	&amp;lt;components&amp;gt;&lt;br /&gt;
		&amp;lt;!-- declare two serializers: one for tei-xml, and one for generic xml --&amp;gt;&lt;br /&gt;
		&amp;lt;serializers&amp;gt;&lt;br /&gt;
			&amp;lt;serializer mime-type=&amp;quot;application/xml&amp;quot; name=&amp;quot;xml&amp;quot; src=&amp;quot;org.apache.cocoon.serialization.XMLSerializer&amp;quot;/&amp;gt;&lt;br /&gt;
			&amp;lt;serializer mime-type=&amp;quot;application/tei+xml&amp;quot; name=&amp;quot;tei&amp;quot; src=&amp;quot;org.apache.cocoon.serialization.XMLSerializer&amp;quot;/&amp;gt;&lt;br /&gt;
		&amp;lt;/serializers&amp;gt;&lt;br /&gt;
		&amp;lt;!-- declare a selector for determining if a browser will accept tei-xml --&amp;gt;&lt;br /&gt;
		&amp;lt;selectors&amp;gt;&lt;br /&gt;
			&amp;lt;selector name=&amp;quot;accept-content-type&amp;quot; src=&amp;quot;org.apache.cocoon.selection.RegexpHeaderSelector&amp;quot;&amp;gt;&lt;br /&gt;
				&amp;lt;pattern xmlns=&amp;quot;&amp;quot; name=&amp;quot;tei&amp;quot;&amp;gt;application/tei\+xml&amp;lt;/pattern&amp;gt;&lt;br /&gt;
				&amp;lt;header-name xmlns=&amp;quot;&amp;quot;&amp;gt;accept&amp;lt;/header-name&amp;gt;&lt;br /&gt;
			&amp;lt;/selector&amp;gt;&lt;br /&gt;
		&amp;lt;/selectors&amp;gt;&lt;br /&gt;
	&amp;lt;/components&amp;gt;&lt;br /&gt;
&lt;br /&gt;
	&amp;lt;resources&amp;gt;&lt;br /&gt;
		&amp;lt;!-- declare a pipeline fragment for serializing TEI with the most appropriate content type; --&amp;gt;&lt;br /&gt;
		&amp;lt;!-- tei-xml if the browser will accept it, or plain generic xml otherwise --&amp;gt;&lt;br /&gt;
		&amp;lt;resource name=&amp;quot;serialize-tei&amp;quot;&amp;gt;&lt;br /&gt;
			&amp;lt;select type=&amp;quot;accept-content-type&amp;quot;&amp;gt;&lt;br /&gt;
				&amp;lt;when test=&amp;quot;tei&amp;quot;&amp;gt;&lt;br /&gt;
					&amp;lt;serialize type=&amp;quot;tei&amp;quot;/&amp;gt;&lt;br /&gt;
				&amp;lt;/when&amp;gt;&lt;br /&gt;
				&amp;lt;otherwise&amp;gt;&lt;br /&gt;
					&amp;lt;serialize type=&amp;quot;xml&amp;quot;/&amp;gt;&lt;br /&gt;
				&amp;lt;/otherwise&amp;gt;&lt;br /&gt;
			&amp;lt;/select&amp;gt;&lt;br /&gt;
		&amp;lt;/resource&amp;gt;&lt;br /&gt;
	&amp;lt;/resources&amp;gt;&lt;br /&gt;
&lt;br /&gt;
	&amp;lt;pipelines&amp;gt;&lt;br /&gt;
		&amp;lt;pipeline&amp;gt;&lt;br /&gt;
			&amp;lt;match pattern=&amp;quot;transcript/*.xml&amp;quot;&amp;gt;&lt;br /&gt;
				&amp;lt;generate src=&amp;quot;tei/{1}.xml&amp;quot;/&amp;gt;&lt;br /&gt;
				&amp;lt;!-- serialize the TEI using the appropriate serializer --&amp;gt;&lt;br /&gt;
				&amp;lt;call resource=&amp;quot;serialize-tei&amp;quot;/&amp;gt;&lt;br /&gt;
			&amp;lt;/match&amp;gt;&lt;br /&gt;
		&amp;lt;/pipeline&amp;gt;&lt;br /&gt;
	&amp;lt;/pipelines&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/sitemap&amp;gt; &lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Configuring your browser to request &amp;quot;application/tei+xml&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
Using this configuration, you will need to configure your browser to declare that it's prepared to accept &amp;quot;application/tei+xml&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
To configure Firefox, enter &amp;quot;about:config&amp;quot; into the address bar, find the key called &amp;quot;network.http.accept.default&amp;quot; and change it to include &amp;quot;application/tei+xml&amp;quot; in the list of acceptable content types, e.g.:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;text/html;q=0.7,application/xhtml+xml;q=0.8,application/tei+xml;q=0.7,application/xml;q=0.6,*/*;q=0.4,application/json;q=0.5&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Conal</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.tei-c.org/index.php?title=Apache_Cocoon&amp;diff=8247</id>
		<title>Apache Cocoon</title>
		<link rel="alternate" type="text/html" href="https://wiki.tei-c.org/index.php?title=Apache_Cocoon&amp;diff=8247"/>
		<updated>2010-10-22T04:54:13Z</updated>

		<summary type="html">&lt;p&gt;Conal: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Tools]]&lt;br /&gt;
[[Category:Publishing and delivery tools]]&lt;br /&gt;
&lt;br /&gt;
= Summary =&lt;br /&gt;
&lt;br /&gt;
Apache Cocoon is a web development framework built around the concepts of separation of concerns and component-based web development.  The TEI consortium website is dynamically produced from TEI XML using Cocoon.&lt;br /&gt;
&lt;br /&gt;
= Description =&lt;br /&gt;
&lt;br /&gt;
Apache Cocoon is a web development framework built around the concepts of separation of concerns (making sure people can interact and collaborate on a project, without stepping on each other toes) and component-based web development.&lt;br /&gt;
&lt;br /&gt;
Cocoon implements these concepts around the notion of &amp;quot;component pipelines&amp;quot;, each component on the pipeline specializing on a particular operation. This makes it possible to use a &amp;quot;building block&amp;quot; approach for web solutions, hooking together components into pipelines without any required programming.&lt;br /&gt;
&lt;br /&gt;
Cocoon is &amp;quot;web glue for your web application development needs&amp;quot;. It is a glue that keeps concerns separate and allows parallel evolution of the two sides, improving development pace and reducing the chance of conflicts.&lt;br /&gt;
&lt;br /&gt;
Cocoon has been designed to coexist and interoperate side-by-side with your existing J2EE solutions or to give them new functionality without requiring any change in the existing infrastructure.&lt;br /&gt;
&lt;br /&gt;
Cocoon interacts with many data sources, including filesystems, RDBMS, LDAP, native XML databases, SAP® systems and network-based data sources. It adapts content delivery to the capabilities of different devices like HTML, WML, PDF, SVG, and RTF, to name just a few. You can run Cocoon as a Servlet as well as through a powerful, commandline interface. The deliberate design of its abstract environment gives you the freedom to extend its functionality to meet your special needs in a highly modular fashion.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Installation Notes =&lt;br /&gt;
&lt;br /&gt;
There are many different ways to install Cocoon, and so it is probably best that you look at the [http://cocoon.apache.org/2.1/installing/index.html Cocoon installation instructions].  However, those of you using debian-compatible systems can install a packaged version of cocoon maintained by Sebastian Rahtz.  See: http://tei.oucs.ox.ac.uk/teideb/&lt;br /&gt;
&lt;br /&gt;
Cocoon is also distributed with the [http://exist.sourceforge.net/ eXist] XML database already built into it (Cocoon built with eXist as a &amp;quot;block&amp;quot;) by the eXist project. If you are likely to want both eXist and Cocoon, this is a very handy package. [http://hcmc.uvic.ca/blogs/index.php?blog=11&amp;amp;p=2595&amp;amp;more=1&amp;amp;c=1&amp;amp;tb=1&amp;amp;pb=1 This blog entry] gives is a step-by-step guide used by staff at the UVic HCMC when they deploy a new Cocoon+eXist instance under the Tomcat servlet container.&lt;br /&gt;
&lt;br /&gt;
= Configuration =&lt;br /&gt;
&lt;br /&gt;
[[Serving &amp;quot;application/tei+xml&amp;quot; from Cocoon]]&lt;br /&gt;
&lt;br /&gt;
= External Links =&lt;br /&gt;
&lt;br /&gt;
* http://cocoon.apache.org/&lt;br /&gt;
* http://cocoon.apache.org/2.1/installing/index.html&lt;br /&gt;
* http://cocoon.apache.org/2.1/introduction.html&lt;br /&gt;
* http://tei.oucs.ox.ac.uk/teideb/&lt;br /&gt;
* http://en.wikipedia.org/wiki/Apache_Cocoon&lt;/div&gt;</summary>
		<author><name>Conal</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.tei-c.org/index.php?title=Serving_%22application/tei%2Bxml%22_from_Cocoon&amp;diff=8246</id>
		<title>Serving &quot;application/tei+xml&quot; from Cocoon</title>
		<link rel="alternate" type="text/html" href="https://wiki.tei-c.org/index.php?title=Serving_%22application/tei%2Bxml%22_from_Cocoon&amp;diff=8246"/>
		<updated>2010-10-22T04:53:21Z</updated>

		<summary type="html">&lt;p&gt;Conal: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Most websites which publish TEI XML documents describe them with the content type &amp;quot;application/xml&amp;quot; or &amp;quot;text/xml&amp;quot;. These are two labels for XML files in general, and don't identify the files as specifically ''TEI'' XML. By using the content type &amp;quot;application/tei+xml&amp;quot;, a webserver can make the specific claim that the XML file is TEI rather than any other kind of XML. This has the advantage that browsers can be configured to handle TEI files distinctly from the way they handle other XML files (for instance, by opening them in an XML editor).&lt;br /&gt;
&lt;br /&gt;
= Simple configuration =&lt;br /&gt;
&lt;br /&gt;
To specify the content type, simply configure a TEI [http://cocoon.apache.org/2.1/userdocs/xml-serializer.html XML serializer] in your sitemap.xmap file, and then invoke the serializer in your TEI pipelines.&lt;br /&gt;
&lt;br /&gt;
To declare the serializer:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;serializer mime-type=&amp;quot;application/tei+xml&amp;quot; name=&amp;quot;tei&amp;quot; src=&amp;quot;org.apache.cocoon.serialization.XMLSerializer&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To invoke the serializer:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;serialize type=&amp;quot;tei&amp;quot;/&amp;gt; &lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This configuration will always send the TEI using the &amp;quot;application/tei+xml&amp;quot; content type. However, this may not be ideal for browsers which are not configured to handle it.&lt;br /&gt;
&lt;br /&gt;
= Preferred configuration =&lt;br /&gt;
&lt;br /&gt;
Most browsers will adequately display generic XML but will not be configured to handle the specific content type &amp;quot;application/tei+xml&amp;quot;. For this reason, it's usually better to serve the TEI as &amp;quot;application/tei+xml&amp;quot; only if the browser specifically asks for it, and otherwise to serve it as the generic &amp;quot;application/xml&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
In Cocoon, you can use a [http://cocoon.apache.org/2.1/userdocs/regular-expression-header-selector.html RegexpHeaderSelector] to determine if a browser is prepared to handle the specific content type. The following Cocoon sitemap file shows:&lt;br /&gt;
&lt;br /&gt;
* A plain XML serializer&lt;br /&gt;
* A TEI XML serializer&lt;br /&gt;
* A selector for determining if a browser will accept &amp;quot;application/tei+xml&amp;quot;&lt;br /&gt;
* A pipeline fragment (&amp;quot;resource&amp;quot;) which uses the selector to determine if a browser will accept &amp;quot;application/tei+xml&amp;quot;, and uses the appropriate XML serializer&lt;br /&gt;
* A pipeline which invokes the above resource instead of just invoking a serializer directly&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;sitemap xmlns=&amp;quot;http://apache.org/cocoon/sitemap/1.0&amp;quot;&amp;gt;&lt;br /&gt;
	&amp;lt;components&amp;gt;&lt;br /&gt;
		&amp;lt;!-- declare two serializers: one for tei-xml, and one for generic xml --&amp;gt;&lt;br /&gt;
		&amp;lt;serializers&amp;gt;&lt;br /&gt;
			&amp;lt;serializer mime-type=&amp;quot;application/xml&amp;quot; name=&amp;quot;xml&amp;quot; src=&amp;quot;org.apache.cocoon.serialization.XMLSerializer&amp;quot;/&amp;gt;&lt;br /&gt;
			&amp;lt;serializer mime-type=&amp;quot;application/tei+xml&amp;quot; name=&amp;quot;tei&amp;quot; src=&amp;quot;org.apache.cocoon.serialization.XMLSerializer&amp;quot;/&amp;gt;&lt;br /&gt;
		&amp;lt;/serializers&amp;gt;&lt;br /&gt;
		&amp;lt;!-- declare a selector for determining if a browser will accept tei-xml --&amp;gt;&lt;br /&gt;
		&amp;lt;selectors&amp;gt;&lt;br /&gt;
			&amp;lt;selector name=&amp;quot;accept-content-type&amp;quot; src=&amp;quot;org.apache.cocoon.selection.RegexpHeaderSelector&amp;quot;&amp;gt;&lt;br /&gt;
				&amp;lt;pattern xmlns=&amp;quot;&amp;quot; name=&amp;quot;tei&amp;quot;&amp;gt;application/tei\+xml&amp;lt;/pattern&amp;gt;&lt;br /&gt;
				&amp;lt;header-name xmlns=&amp;quot;&amp;quot;&amp;gt;accept&amp;lt;/header-name&amp;gt;&lt;br /&gt;
			&amp;lt;/selector&amp;gt;&lt;br /&gt;
		&amp;lt;/selectors&amp;gt;&lt;br /&gt;
	&amp;lt;/components&amp;gt;&lt;br /&gt;
&lt;br /&gt;
	&amp;lt;resources&amp;gt;&lt;br /&gt;
		&amp;lt;!-- declare a pipeline fragment for serializing TEI with the most appropriate content type; --&amp;gt;&lt;br /&gt;
		&amp;lt;!-- tei-xml if the browser will accept it, or plain generic xml otherwise --&amp;gt;&lt;br /&gt;
		&amp;lt;resource name=&amp;quot;serialize-tei&amp;quot;&amp;gt;&lt;br /&gt;
			&amp;lt;select type=&amp;quot;accept-content-type&amp;quot;&amp;gt;&lt;br /&gt;
				&amp;lt;when test=&amp;quot;tei&amp;quot;&amp;gt;&lt;br /&gt;
					&amp;lt;serialize type=&amp;quot;tei&amp;quot;/&amp;gt;&lt;br /&gt;
				&amp;lt;/when&amp;gt;&lt;br /&gt;
				&amp;lt;otherwise&amp;gt;&lt;br /&gt;
					&amp;lt;serialize type=&amp;quot;xml&amp;quot;/&amp;gt;&lt;br /&gt;
				&amp;lt;/otherwise&amp;gt;&lt;br /&gt;
			&amp;lt;/select&amp;gt;&lt;br /&gt;
		&amp;lt;/resource&amp;gt;&lt;br /&gt;
	&amp;lt;/resources&amp;gt;&lt;br /&gt;
&lt;br /&gt;
	&amp;lt;pipelines&amp;gt;&lt;br /&gt;
		&amp;lt;pipeline&amp;gt;&lt;br /&gt;
			&amp;lt;match pattern=&amp;quot;transcript/*.xml&amp;quot;&amp;gt;&lt;br /&gt;
				&amp;lt;generate src=&amp;quot;tei/{1}.xml&amp;quot;/&amp;gt;&lt;br /&gt;
				&amp;lt;!-- serialize the TEI using the appropriate serializer --&amp;gt;&lt;br /&gt;
				&amp;lt;call resource=&amp;quot;serialize-tei&amp;quot;/&amp;gt;&lt;br /&gt;
			&amp;lt;/match&amp;gt;&lt;br /&gt;
		&amp;lt;/pipeline&amp;gt;&lt;br /&gt;
	&amp;lt;/pipelines&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/sitemap&amp;gt; &lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Configuring your browser to request &amp;quot;application/tei+xml&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
Using this configuration, you will need to configure your browser to declare that it's prepared to accept &amp;quot;application/tei+xml&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
To configure Firefox, enter &amp;quot;about:config&amp;quot; into the address bar, find the key called &amp;quot;network.http.accept.default&amp;quot; and change it to include &amp;quot;application/tei+xml&amp;quot; in the list of acceptable content types, e.g.:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;text/html;q=0.7,application/xhtml+xml;q=0.8,application/tei+xml;q=0.7,application/xml;q=0.6,*/*;q=0.4,application/json;q=0.5&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Conal</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.tei-c.org/index.php?title=Serving_%22application/tei%2Bxml%22_from_Cocoon&amp;diff=8245</id>
		<title>Serving &quot;application/tei+xml&quot; from Cocoon</title>
		<link rel="alternate" type="text/html" href="https://wiki.tei-c.org/index.php?title=Serving_%22application/tei%2Bxml%22_from_Cocoon&amp;diff=8245"/>
		<updated>2010-10-22T04:52:11Z</updated>

		<summary type="html">&lt;p&gt;Conal: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= How to serve TEI XML from Cocoon with the content-type &amp;quot;application/tei+xml&amp;quot; =&lt;br /&gt;
&lt;br /&gt;
Most websites which publish TEI XML documents describe them with the content type &amp;quot;application/xml&amp;quot; or &amp;quot;text/xml&amp;quot;. These are two labels for XML files in general, and don't identify the files as specifically ''TEI'' XML. By using the content type &amp;quot;application/tei+xml&amp;quot;, a webserver can make the specific claim that the XML file is TEI rather than any other kind of XML. This has the advantage that browsers can be configured to handle TEI files distinctly from the way they handle other XML files (for instance, by opening them in an XML editor).&lt;br /&gt;
&lt;br /&gt;
= Simple configuration =&lt;br /&gt;
&lt;br /&gt;
To specify the content type, simply configure a TEI [http://cocoon.apache.org/2.1/userdocs/xml-serializer.html XML serializer] in your sitemap.xmap file, and then invoke the serializer in your TEI pipelines.&lt;br /&gt;
&lt;br /&gt;
To declare the serializer:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;serializer mime-type=&amp;quot;application/tei+xml&amp;quot; name=&amp;quot;tei&amp;quot; src=&amp;quot;org.apache.cocoon.serialization.XMLSerializer&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To invoke the serializer:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;serialize type=&amp;quot;tei&amp;quot;/&amp;gt; &lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This configuration will always send the TEI using the &amp;quot;application/tei+xml&amp;quot; content type. However, this may not be ideal for browsers which are not configured to handle it.&lt;br /&gt;
&lt;br /&gt;
= Preferred configuration =&lt;br /&gt;
&lt;br /&gt;
Most browsers will adequately display generic XML but will not be configured to handle the specific content type &amp;quot;application/tei+xml&amp;quot;. For this reason, it's usually better to serve the TEI as &amp;quot;application/tei+xml&amp;quot; only if the browser specifically asks for it, and otherwise to serve it as the generic &amp;quot;application/xml&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
In Cocoon, you can use a [http://cocoon.apache.org/2.1/userdocs/regular-expression-header-selector.html RegexpHeaderSelector] to determine if a browser is prepared to handle the specific content type. The following Cocoon sitemap file shows:&lt;br /&gt;
&lt;br /&gt;
* A plain XML serializer&lt;br /&gt;
* A TEI XML serializer&lt;br /&gt;
* A selector for determining if a browser will accept &amp;quot;application/tei+xml&amp;quot;&lt;br /&gt;
* A pipeline fragment (&amp;quot;resource&amp;quot;) which uses the selector to determine if a browser will accept &amp;quot;application/tei+xml&amp;quot;, and uses the appropriate XML serializer&lt;br /&gt;
* A pipeline which invokes the above resource instead of just invoking a serializer directly&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;sitemap xmlns=&amp;quot;http://apache.org/cocoon/sitemap/1.0&amp;quot;&amp;gt;&lt;br /&gt;
	&amp;lt;components&amp;gt;&lt;br /&gt;
		&amp;lt;!-- declare two serializers: one for tei-xml, and one for generic xml --&amp;gt;&lt;br /&gt;
		&amp;lt;serializers&amp;gt;&lt;br /&gt;
			&amp;lt;serializer mime-type=&amp;quot;application/xml&amp;quot; name=&amp;quot;xml&amp;quot; src=&amp;quot;org.apache.cocoon.serialization.XMLSerializer&amp;quot;/&amp;gt;&lt;br /&gt;
			&amp;lt;serializer mime-type=&amp;quot;application/tei+xml&amp;quot; name=&amp;quot;tei&amp;quot; src=&amp;quot;org.apache.cocoon.serialization.XMLSerializer&amp;quot;/&amp;gt;&lt;br /&gt;
		&amp;lt;/serializers&amp;gt;&lt;br /&gt;
		&amp;lt;!-- declare a selector for determining if a browser will accept tei-xml --&amp;gt;&lt;br /&gt;
		&amp;lt;selectors&amp;gt;&lt;br /&gt;
			&amp;lt;selector name=&amp;quot;accept-content-type&amp;quot; src=&amp;quot;org.apache.cocoon.selection.RegexpHeaderSelector&amp;quot;&amp;gt;&lt;br /&gt;
				&amp;lt;pattern xmlns=&amp;quot;&amp;quot; name=&amp;quot;tei&amp;quot;&amp;gt;application/tei\+xml&amp;lt;/pattern&amp;gt;&lt;br /&gt;
				&amp;lt;header-name xmlns=&amp;quot;&amp;quot;&amp;gt;accept&amp;lt;/header-name&amp;gt;&lt;br /&gt;
			&amp;lt;/selector&amp;gt;&lt;br /&gt;
		&amp;lt;/selectors&amp;gt;&lt;br /&gt;
	&amp;lt;/components&amp;gt;&lt;br /&gt;
&lt;br /&gt;
	&amp;lt;resources&amp;gt;&lt;br /&gt;
		&amp;lt;!-- declare a pipeline fragment for serializing TEI with the most appropriate content type; --&amp;gt;&lt;br /&gt;
		&amp;lt;!-- tei-xml if the browser will accept it, or plain generic xml otherwise --&amp;gt;&lt;br /&gt;
		&amp;lt;resource name=&amp;quot;serialize-tei&amp;quot;&amp;gt;&lt;br /&gt;
			&amp;lt;select type=&amp;quot;accept-content-type&amp;quot;&amp;gt;&lt;br /&gt;
				&amp;lt;when test=&amp;quot;tei&amp;quot;&amp;gt;&lt;br /&gt;
					&amp;lt;serialize type=&amp;quot;tei&amp;quot;/&amp;gt;&lt;br /&gt;
				&amp;lt;/when&amp;gt;&lt;br /&gt;
				&amp;lt;otherwise&amp;gt;&lt;br /&gt;
					&amp;lt;serialize type=&amp;quot;xml&amp;quot;/&amp;gt;&lt;br /&gt;
				&amp;lt;/otherwise&amp;gt;&lt;br /&gt;
			&amp;lt;/select&amp;gt;&lt;br /&gt;
		&amp;lt;/resource&amp;gt;&lt;br /&gt;
	&amp;lt;/resources&amp;gt;&lt;br /&gt;
&lt;br /&gt;
	&amp;lt;pipelines&amp;gt;&lt;br /&gt;
		&amp;lt;pipeline&amp;gt;&lt;br /&gt;
			&amp;lt;match pattern=&amp;quot;transcript/*.xml&amp;quot;&amp;gt;&lt;br /&gt;
				&amp;lt;generate src=&amp;quot;tei/{1}.xml&amp;quot;/&amp;gt;&lt;br /&gt;
				&amp;lt;!-- serialize the TEI using the appropriate serializer --&amp;gt;&lt;br /&gt;
				&amp;lt;call resource=&amp;quot;serialize-tei&amp;quot;/&amp;gt;&lt;br /&gt;
			&amp;lt;/match&amp;gt;&lt;br /&gt;
		&amp;lt;/pipeline&amp;gt;&lt;br /&gt;
	&amp;lt;/pipelines&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/sitemap&amp;gt; &lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Configuring your browser to request &amp;quot;application/tei+xml&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
Using this configuration, you will need to configure your browser to declare that it's prepared to accept &amp;quot;application/tei+xml&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
To configure Firefox, enter &amp;quot;about:config&amp;quot; into the address bar, find the key called &amp;quot;network.http.accept.default&amp;quot; and change it to include &amp;quot;application/tei+xml&amp;quot; in the list of acceptable content types, e.g.:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;text/html;q=0.7,application/xhtml+xml;q=0.8,application/tei+xml;q=0.7,application/xml;q=0.6,*/*;q=0.4,application/json;q=0.5&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Conal</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.tei-c.org/index.php?title=Serving_%22application/tei%2Bxml%22_from_Cocoon&amp;diff=8244</id>
		<title>Serving &quot;application/tei+xml&quot; from Cocoon</title>
		<link rel="alternate" type="text/html" href="https://wiki.tei-c.org/index.php?title=Serving_%22application/tei%2Bxml%22_from_Cocoon&amp;diff=8244"/>
		<updated>2010-10-22T04:50:47Z</updated>

		<summary type="html">&lt;p&gt;Conal: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= How to serve TEI XML from Cocoon with the content-type &amp;quot;application/tei+xml&amp;quot; =&lt;br /&gt;
&lt;br /&gt;
Most websites which publish TEI XML documents describe them with the content type &amp;quot;application/xml&amp;quot; or &amp;quot;text/xml&amp;quot;. These are two labels for XML files in general, and don't identify the files as specifically ''TEI'' XML. By using the content type &amp;quot;application/tei+xml&amp;quot;, a webserver can make the specific claim that the XML file is TEI rather than any other kind of XML. This has the advantage that browsers can be configured to handle TEI files distinctly from the way they handle other XML files (for instance, by opening them in an XML editor).&lt;br /&gt;
&lt;br /&gt;
= Simple configuration =&lt;br /&gt;
&lt;br /&gt;
To specify the content type, simply configure a TEI [http://cocoon.apache.org/2.1/userdocs/xml-serializer.html XML serializer] in your sitemap.xmap file, and then invoke the serializer in your TEI pipelines.&lt;br /&gt;
&lt;br /&gt;
To declare the serializer:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;serializer mime-type=&amp;quot;application/tei+xml&amp;quot; name=&amp;quot;tei&amp;quot; src=&amp;quot;org.apache.cocoon.serialization.XMLSerializer&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Invoking the serializer:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;serialize type=&amp;quot;tei&amp;quot;/&amp;gt; &lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Preferred configuration =&lt;br /&gt;
&lt;br /&gt;
Most browsers will adequately display generic XML but will not be configured to handle the specific content type &amp;quot;application/tei+xml&amp;quot;. For this reason, it's usually better to serve the TEI as &amp;quot;application/tei+xml&amp;quot; only if the browser specifically asks for it, and otherwise to serve it as the generic &amp;quot;application/xml&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
In Cocoon, you can use a [http://cocoon.apache.org/2.1/userdocs/regular-expression-header-selector.html RegexpHeaderSelector] to determine if a browser is prepared to handle the specific content type. The following Cocoon sitemap file shows:&lt;br /&gt;
&lt;br /&gt;
* A plain XML serializer&lt;br /&gt;
* A TEI XML serializer&lt;br /&gt;
* A selector for determining if a browser will accept &amp;quot;application/tei+xml&amp;quot;&lt;br /&gt;
* A pipeline fragment (&amp;quot;resource&amp;quot;) which uses the selector to determine if a browser will accept &amp;quot;application/tei+xml&amp;quot;, and uses the appropriate XML serializer&lt;br /&gt;
* A pipeline which invokes the above resource instead of just invoking a serializer directly&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;sitemap xmlns=&amp;quot;http://apache.org/cocoon/sitemap/1.0&amp;quot;&amp;gt;&lt;br /&gt;
	&amp;lt;components&amp;gt;&lt;br /&gt;
		&amp;lt;!-- declare two serializers: one for tei-xml, and one for generic xml --&amp;gt;&lt;br /&gt;
		&amp;lt;serializers&amp;gt;&lt;br /&gt;
			&amp;lt;serializer mime-type=&amp;quot;application/xml&amp;quot; name=&amp;quot;xml&amp;quot; src=&amp;quot;org.apache.cocoon.serialization.XMLSerializer&amp;quot;/&amp;gt;&lt;br /&gt;
			&amp;lt;serializer mime-type=&amp;quot;application/tei+xml&amp;quot; name=&amp;quot;tei&amp;quot; src=&amp;quot;org.apache.cocoon.serialization.XMLSerializer&amp;quot;/&amp;gt;&lt;br /&gt;
		&amp;lt;/serializers&amp;gt;&lt;br /&gt;
		&amp;lt;!-- declare a selector for determining if a browser will accept tei-xml --&amp;gt;&lt;br /&gt;
		&amp;lt;selectors&amp;gt;&lt;br /&gt;
			&amp;lt;selector name=&amp;quot;accept-content-type&amp;quot; src=&amp;quot;org.apache.cocoon.selection.RegexpHeaderSelector&amp;quot;&amp;gt;&lt;br /&gt;
				&amp;lt;pattern xmlns=&amp;quot;&amp;quot; name=&amp;quot;tei&amp;quot;&amp;gt;application/tei\+xml&amp;lt;/pattern&amp;gt;&lt;br /&gt;
				&amp;lt;header-name xmlns=&amp;quot;&amp;quot;&amp;gt;accept&amp;lt;/header-name&amp;gt;&lt;br /&gt;
			&amp;lt;/selector&amp;gt;&lt;br /&gt;
		&amp;lt;/selectors&amp;gt;&lt;br /&gt;
	&amp;lt;/components&amp;gt;&lt;br /&gt;
&lt;br /&gt;
	&amp;lt;resources&amp;gt;&lt;br /&gt;
		&amp;lt;!-- declare a pipeline fragment for serializing TEI with the most appropriate content type; --&amp;gt;&lt;br /&gt;
		&amp;lt;!-- tei-xml if the browser will accept it, or plain generic xml otherwise --&amp;gt;&lt;br /&gt;
		&amp;lt;resource name=&amp;quot;serialize-tei&amp;quot;&amp;gt;&lt;br /&gt;
			&amp;lt;select type=&amp;quot;accept-content-type&amp;quot;&amp;gt;&lt;br /&gt;
				&amp;lt;when test=&amp;quot;tei&amp;quot;&amp;gt;&lt;br /&gt;
					&amp;lt;serialize type=&amp;quot;tei&amp;quot;/&amp;gt;&lt;br /&gt;
				&amp;lt;/when&amp;gt;&lt;br /&gt;
				&amp;lt;otherwise&amp;gt;&lt;br /&gt;
					&amp;lt;serialize type=&amp;quot;xml&amp;quot;/&amp;gt;&lt;br /&gt;
				&amp;lt;/otherwise&amp;gt;&lt;br /&gt;
			&amp;lt;/select&amp;gt;&lt;br /&gt;
		&amp;lt;/resource&amp;gt;&lt;br /&gt;
	&amp;lt;/resources&amp;gt;&lt;br /&gt;
&lt;br /&gt;
	&amp;lt;pipelines&amp;gt;&lt;br /&gt;
		&amp;lt;pipeline&amp;gt;&lt;br /&gt;
			&amp;lt;match pattern=&amp;quot;transcript/*.xml&amp;quot;&amp;gt;&lt;br /&gt;
				&amp;lt;generate src=&amp;quot;tei/{1}.xml&amp;quot;/&amp;gt;&lt;br /&gt;
				&amp;lt;!-- serialize the TEI using the appropriate serializer --&amp;gt;&lt;br /&gt;
				&amp;lt;call resource=&amp;quot;serialize-tei&amp;quot;/&amp;gt;&lt;br /&gt;
			&amp;lt;/match&amp;gt;&lt;br /&gt;
		&amp;lt;/pipeline&amp;gt;&lt;br /&gt;
	&amp;lt;/pipelines&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/sitemap&amp;gt; &lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Configuring your browser to request &amp;quot;application/tei+xml&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
Using this configuration, you will need to configure your browser to declare that it's prepared to accept &amp;quot;application/tei+xml&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
To configure Firefox, enter &amp;quot;about:config&amp;quot; into the address bar, find the key called &amp;quot;network.http.accept.default&amp;quot; and change it to include &amp;quot;application/tei+xml&amp;quot; in the list of acceptable content types, e.g.:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;text/html;q=0.7,application/xhtml+xml;q=0.8,application/tei+xml;q=0.7,application/xml;q=0.6,*/*;q=0.4,application/json;q=0.5&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Conal</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.tei-c.org/index.php?title=Serving_%22application/tei%2Bxml%22_from_Cocoon&amp;diff=8243</id>
		<title>Serving &quot;application/tei+xml&quot; from Cocoon</title>
		<link rel="alternate" type="text/html" href="https://wiki.tei-c.org/index.php?title=Serving_%22application/tei%2Bxml%22_from_Cocoon&amp;diff=8243"/>
		<updated>2010-10-22T04:45:30Z</updated>

		<summary type="html">&lt;p&gt;Conal: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= How to serve TEI XML from Cocoon with the content-type &amp;quot;application/tei+xml&amp;quot; =&lt;br /&gt;
&lt;br /&gt;
Most websites which publish TEI XML documents describe them with the content type &amp;quot;application/xml&amp;quot; or &amp;quot;text/xml&amp;quot;. These are two labels for XML files in general, and don't identify the files as specifically ''TEI'' XML. By using the content type &amp;quot;application/tei+xml&amp;quot;, a webserver can make the specific claim that the XML file is TEI rather than any other kind of XML. This has the advantage that browsers can be configured to handle TEI files distinctly from the way they handle other XML files (for instance, by opening them in an XML editor).&lt;br /&gt;
&lt;br /&gt;
= Simple configuration =&lt;br /&gt;
&lt;br /&gt;
To specify the content type, simply configure a TEI [http://cocoon.apache.org/2.1/userdocs/xml-serializer.html XML serializer] in your sitemap.xmap file, and then invoke the serializer in your TEI pipelines.&lt;br /&gt;
&lt;br /&gt;
To declare the serializer:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;serializer mime-type=&amp;quot;application/tei+xml&amp;quot; name=&amp;quot;tei&amp;quot; src=&amp;quot;org.apache.cocoon.serialization.XMLSerializer&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Invoking the serializer:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;serialize type=&amp;quot;tei&amp;quot;/&amp;gt; &lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Preferred configuration =&lt;br /&gt;
&lt;br /&gt;
Most browsers will adequately display generic XML but will not be configured to handle the specific content type &amp;quot;application/tei+xml&amp;quot;. For this reason, it's usually better to serve the TEI as &amp;quot;application/tei+xml&amp;quot; only if the browser specifically asks for it, and otherwise to serve it as the generic &amp;quot;application/xml&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
In Cocoon, you can use a [http://cocoon.apache.org/2.1/userdocs/regular-expression-header-selector.html RegexpHeaderSelector] to determine if a browser is prepared to handle the specific content type. The following Cocoon sitemap file shows:&lt;br /&gt;
&lt;br /&gt;
* A plain XML serializer&lt;br /&gt;
* A TEI XML serializer&lt;br /&gt;
* A selector for determining if a browser will accept &amp;quot;application/tei+xml&amp;quot;&lt;br /&gt;
* A pipeline fragment (&amp;quot;resource&amp;quot;) which uses the selector to determine if a browser will accept &amp;quot;application/tei+xml&amp;quot;, and uses the appropriate XML serializer&lt;br /&gt;
* A pipeline which invokes the above resource instead of just invoking a serializer directly&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;sitemap xmlns=&amp;quot;http://apache.org/cocoon/sitemap/1.0&amp;quot;&amp;gt;&lt;br /&gt;
	&amp;lt;components&amp;gt;&lt;br /&gt;
		&amp;lt;!-- declare two serializers: one for tei-xml, and one for generic xml --&amp;gt;&lt;br /&gt;
		&amp;lt;serializers&amp;gt;&lt;br /&gt;
			&amp;lt;serializer mime-type=&amp;quot;application/xml&amp;quot; name=&amp;quot;xml&amp;quot; src=&amp;quot;org.apache.cocoon.serialization.XMLSerializer&amp;quot;/&amp;gt;&lt;br /&gt;
			&amp;lt;serializer mime-type=&amp;quot;application/tei+xml&amp;quot; name=&amp;quot;tei&amp;quot; src=&amp;quot;org.apache.cocoon.serialization.XMLSerializer&amp;quot;/&amp;gt;&lt;br /&gt;
		&amp;lt;/serializers&amp;gt;&lt;br /&gt;
		&amp;lt;!-- declare a selector for determining if a browser will accept tei-xml --&amp;gt;&lt;br /&gt;
		&amp;lt;selectors&amp;gt;&lt;br /&gt;
			&amp;lt;selector name=&amp;quot;accept-content-type&amp;quot; src=&amp;quot;org.apache.cocoon.selection.RegexpHeaderSelector&amp;quot;&amp;gt;&lt;br /&gt;
				&amp;lt;pattern xmlns=&amp;quot;&amp;quot; name=&amp;quot;tei&amp;quot;&amp;gt;application/tei\+xml&amp;lt;/pattern&amp;gt;&lt;br /&gt;
				&amp;lt;header-name xmlns=&amp;quot;&amp;quot;&amp;gt;accept&amp;lt;/header-name&amp;gt;&lt;br /&gt;
			&amp;lt;/selector&amp;gt;&lt;br /&gt;
		&amp;lt;/selectors&amp;gt;&lt;br /&gt;
	&amp;lt;/components&amp;gt;&lt;br /&gt;
&lt;br /&gt;
	&amp;lt;resources&amp;gt;&lt;br /&gt;
		&amp;lt;!-- declare a pipeline fragment for serializing TEI with the most appropriate content type; --&amp;gt;&lt;br /&gt;
		&amp;lt;!-- tei-xml if the browser will accept it, or plain generic xml otherwise --&amp;gt;&lt;br /&gt;
		&amp;lt;resource name=&amp;quot;serialize-tei&amp;quot;&amp;gt;&lt;br /&gt;
			&amp;lt;select type=&amp;quot;accept-content-type&amp;quot;&amp;gt;&lt;br /&gt;
				&amp;lt;when test=&amp;quot;tei&amp;quot;&amp;gt;&lt;br /&gt;
					&amp;lt;serialize type=&amp;quot;tei&amp;quot;/&amp;gt;&lt;br /&gt;
				&amp;lt;/when&amp;gt;&lt;br /&gt;
				&amp;lt;otherwise&amp;gt;&lt;br /&gt;
					&amp;lt;serialize type=&amp;quot;xml&amp;quot;/&amp;gt;&lt;br /&gt;
				&amp;lt;/otherwise&amp;gt;&lt;br /&gt;
			&amp;lt;/select&amp;gt;&lt;br /&gt;
		&amp;lt;/resource&amp;gt;&lt;br /&gt;
	&amp;lt;/resources&amp;gt;&lt;br /&gt;
&lt;br /&gt;
	&amp;lt;pipelines&amp;gt;&lt;br /&gt;
		&amp;lt;pipeline&amp;gt;&lt;br /&gt;
			&amp;lt;match pattern=&amp;quot;transcript/*.xml&amp;quot;&amp;gt;&lt;br /&gt;
				&amp;lt;generate src=&amp;quot;tei/{1}.xml&amp;quot;/&amp;gt;&lt;br /&gt;
				&amp;lt;!-- serialize the TEI using the appropriate serializer --&amp;gt;&lt;br /&gt;
				&amp;lt;call resource=&amp;quot;serialize-tei&amp;quot;/&amp;gt;&lt;br /&gt;
			&amp;lt;/match&amp;gt;&lt;br /&gt;
		&amp;lt;/pipeline&amp;gt;&lt;br /&gt;
	&amp;lt;/pipelines&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/sitemap&amp;gt; &lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Conal</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.tei-c.org/index.php?title=Serving_%22application/tei%2Bxml%22_from_Cocoon&amp;diff=8242</id>
		<title>Serving &quot;application/tei+xml&quot; from Cocoon</title>
		<link rel="alternate" type="text/html" href="https://wiki.tei-c.org/index.php?title=Serving_%22application/tei%2Bxml%22_from_Cocoon&amp;diff=8242"/>
		<updated>2010-10-22T04:43:27Z</updated>

		<summary type="html">&lt;p&gt;Conal: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= How to serve TEI XML from Cocoon with the content-type &amp;quot;application/tei+xml&amp;quot; =&lt;br /&gt;
&lt;br /&gt;
Most websites which publish TEI XML documents describe them with the content type &amp;quot;application/xml&amp;quot; or &amp;quot;text/xml&amp;quot;. These are two labels for XML files in general, and don't identify the files as specifically ''TEI'' XML. By using the content type &amp;quot;application/tei+xml&amp;quot;, a webserver can make the specific claim that the XML file is TEI rather than any other kind of XML. This has the advantage that browsers can be configured to handle TEI files distinctly from the way they handle other XML files (for instance, by opening them in an XML editor).&lt;br /&gt;
&lt;br /&gt;
= Simple configuration =&lt;br /&gt;
&lt;br /&gt;
To specify the content type, simply configure a TEI [http://cocoon.apache.org/2.1/userdocs/xml-serializer.html XML serializer] in your sitemap.xmap file, and then invoke the serializer in your TEI pipelines.&lt;br /&gt;
&lt;br /&gt;
To declare the serializer:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;serializer mime-type=&amp;quot;application/tei+xml&amp;quot; name=&amp;quot;tei&amp;quot; src=&amp;quot;org.apache.cocoon.serialization.XMLSerializer&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Invoking the serializer:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;serialize type=&amp;quot;tei&amp;quot;/&amp;gt; &lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Preferred configuration =&lt;br /&gt;
&lt;br /&gt;
Most browsers will adequately display generic XML but will not be configured to handle the specific content type &amp;quot;application/tei+xml&amp;quot;. For this reason, it's usually better to serve the TEI as &amp;quot;application/tei+xml&amp;quot; only if the browser specifically asks for it, and otherwise to serve it as the generic &amp;quot;application/xml&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
In Cocoon, you can use a [http://cocoon.apache.org/2.1/userdocs/regular-expression-header-selector.html RegexpHeaderSelector] to determine if a browser is prepared to handle the specific content type. The following Cocoon sitemap file shows:&lt;br /&gt;
&lt;br /&gt;
* A plain XML serializer&lt;br /&gt;
* A TEI XML serializer&lt;br /&gt;
* A selector for determining if a browser will accept &amp;quot;application/tei+xml&amp;quot;&lt;br /&gt;
* A pipeline fragment (&amp;quot;resource&amp;quot;) which uses the selector to determine if a browser will accept &amp;quot;application/tei+xml&amp;quot;, and uses the appropriate XML serializer&lt;br /&gt;
* A pipeline which invokes the above resource instead of just invoking a serializer directly&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;sitemap xmlns=&amp;quot;http://apache.org/cocoon/sitemap/1.0&amp;quot;&amp;gt;&lt;br /&gt;
	&amp;lt;components&amp;gt;&lt;br /&gt;
		&amp;lt;!-- declare two serializers: one for tei-xml, and one for generic xml --&amp;gt;&lt;br /&gt;
		&amp;lt;serializers&amp;gt;&lt;br /&gt;
			&amp;lt;serializer mime-type=&amp;quot;application/xml&amp;quot; name=&amp;quot;xml&amp;quot; src=&amp;quot;org.apache.cocoon.serialization.XMLSerializer&amp;quot;/&amp;gt;&lt;br /&gt;
			&amp;lt;serializer mime-type=&amp;quot;application/tei+xml&amp;quot; name=&amp;quot;tei&amp;quot; src=&amp;quot;org.apache.cocoon.serialization.XMLSerializer&amp;quot;/&amp;gt;&lt;br /&gt;
		&amp;lt;/serializers&amp;gt;&lt;br /&gt;
		&amp;lt;!-- declare a selector for determining if a browser will accept tei-xml --&amp;gt;&lt;br /&gt;
		&amp;lt;selectors&amp;gt;&lt;br /&gt;
			&amp;lt;selector name=&amp;quot;accept-content-type&amp;quot; src=&amp;quot;org.apache.cocoon.selection.RegexpHeaderSelector&amp;quot;&amp;gt;&lt;br /&gt;
				&amp;lt;pattern xmlns=&amp;quot;&amp;quot; name=&amp;quot;tei&amp;quot;&amp;gt;application/tei\+xml&amp;lt;/pattern&amp;gt;&lt;br /&gt;
				&amp;lt;header-name xmlns=&amp;quot;&amp;quot;&amp;gt;accept&amp;lt;/header-name&amp;gt;&lt;br /&gt;
			&amp;lt;/selector&amp;gt;&lt;br /&gt;
		&amp;lt;/selectors&amp;gt;&lt;br /&gt;
	&amp;lt;/components&amp;gt;&lt;br /&gt;
&lt;br /&gt;
	&amp;lt;resources&amp;gt;&lt;br /&gt;
		&amp;lt;!-- declare a pipeline fragment for serializing TEI with the most appropriate content type; --&amp;gt;&lt;br /&gt;
		&amp;lt;!-- tei-xml if the browser will accept it, or plain generic xml otherwise --&amp;gt;&lt;br /&gt;
		&amp;lt;resource name=&amp;quot;serialize-tei&amp;quot;&amp;gt;&lt;br /&gt;
			&amp;lt;select type=&amp;quot;accept-content-type&amp;quot;&amp;gt;&lt;br /&gt;
				&amp;lt;when test=&amp;quot;tei&amp;quot;&amp;gt;&lt;br /&gt;
					&amp;lt;serialize type=&amp;quot;tei&amp;quot;/&amp;gt;&lt;br /&gt;
				&amp;lt;/when&amp;gt;&lt;br /&gt;
				&amp;lt;otherwise&amp;gt;&lt;br /&gt;
					&amp;lt;serialize type=&amp;quot;xml&amp;quot;/&amp;gt;&lt;br /&gt;
				&amp;lt;/otherwise&amp;gt;&lt;br /&gt;
			&amp;lt;/select&amp;gt;&lt;br /&gt;
		&amp;lt;/resource&amp;gt;&lt;br /&gt;
	&amp;lt;/resources&amp;gt;&lt;br /&gt;
&lt;br /&gt;
	&amp;lt;pipelines&amp;gt;&lt;br /&gt;
		&amp;lt;pipeline&amp;gt;&lt;br /&gt;
			&amp;lt;match pattern=&amp;quot;transcript/*.xml&amp;quot;&amp;gt;&lt;br /&gt;
				&amp;lt;generate src=&amp;quot;tei/{1}.xml&amp;quot;/&amp;gt;&lt;br /&gt;
				&amp;lt;call resource=&amp;quot;serialize-tei&amp;quot;/&amp;gt;&lt;br /&gt;
			&amp;lt;/match&amp;gt;&lt;br /&gt;
		&amp;lt;/pipeline&amp;gt;&lt;br /&gt;
	&amp;lt;/pipelines&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/sitemap&amp;gt; &lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Conal</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.tei-c.org/index.php?title=Serving_%22application/tei%2Bxml%22_from_Cocoon&amp;diff=8241</id>
		<title>Serving &quot;application/tei+xml&quot; from Cocoon</title>
		<link rel="alternate" type="text/html" href="https://wiki.tei-c.org/index.php?title=Serving_%22application/tei%2Bxml%22_from_Cocoon&amp;diff=8241"/>
		<updated>2010-10-22T04:36:50Z</updated>

		<summary type="html">&lt;p&gt;Conal: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= How to serve TEI XML from Cocoon with the content-type &amp;quot;application/tei+xml&amp;quot; =&lt;br /&gt;
&lt;br /&gt;
Most websites which publish TEI XML documents describe them with the content type &amp;quot;application/xml&amp;quot; or &amp;quot;text/xml&amp;quot;. These are two labels for XML files in general, and don't identify the files as specifically ''TEI'' XML. By using the content type &amp;quot;application/tei+xml&amp;quot;, a webserver can make the specific claim that the XML file is TEI rather than any other kind of XML. This has the advantage that browsers can be configured to handle TEI files distinctly from the way they handle other XML files (for instance, by opening them in an XML editor).&lt;br /&gt;
&lt;br /&gt;
= Simple configuration =&lt;br /&gt;
&lt;br /&gt;
To specify the content type, simply configure a serializer in your sitemap.xmap file, and then invoke the serializer in your TEI pipeline.&lt;br /&gt;
&lt;br /&gt;
To declare the serializer:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;serializer mime-type=&amp;quot;application/tei+xml&amp;quot; name=&amp;quot;tei&amp;quot; src=&amp;quot;org.apache.cocoon.serialization.XMLSerializer&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Invoking the serializer:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;serialize type=&amp;quot;tei&amp;quot;/&amp;gt; &lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Preferred configuration =&lt;br /&gt;
&lt;br /&gt;
Most browsers will adequately display generic XML but will not be configured to handle the specific content type &amp;quot;application/tei+xml&amp;quot;. For this reason, it's usually better to serve the TEI as &amp;quot;application/tei+xml&amp;quot; only if the browser specifically asks for it, and otherwise to serve it as the generic &amp;quot;application/xml&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
In Cocoon, you can use a [http://cocoon.apache.org/2.1/userdocs/regular-expression-header-selector.html RegexpHeaderSelector] to determine if a browser is prepared to handle the specific content type. The following Cocoon sitemap shows a Reg&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;sitemap xmlns=&amp;quot;http://apache.org/cocoon/sitemap/1.0&amp;quot;&amp;gt;&lt;br /&gt;
	&amp;lt;components&amp;gt;&lt;br /&gt;
		&amp;lt;!-- declare two serializers: one for tei-xml, and one for generic xml --&amp;gt;&lt;br /&gt;
		&amp;lt;serializers&amp;gt;&lt;br /&gt;
			&amp;lt;serializer mime-type=&amp;quot;application/xml&amp;quot; name=&amp;quot;xml&amp;quot; src=&amp;quot;org.apache.cocoon.serialization.XMLSerializer&amp;quot;/&amp;gt;&lt;br /&gt;
			&amp;lt;serializer mime-type=&amp;quot;application/tei+xml&amp;quot; name=&amp;quot;tei&amp;quot; src=&amp;quot;org.apache.cocoon.serialization.XMLSerializer&amp;quot;/&amp;gt;&lt;br /&gt;
		&amp;lt;/serializers&amp;gt;&lt;br /&gt;
		&amp;lt;!-- declare a selector for determining if a browser will accept tei-xml --&amp;gt;&lt;br /&gt;
		&amp;lt;selectors&amp;gt;&lt;br /&gt;
			&amp;lt;selector name=&amp;quot;accept-content-type&amp;quot; src=&amp;quot;org.apache.cocoon.selection.RegexpHeaderSelector&amp;quot;&amp;gt;&lt;br /&gt;
				&amp;lt;pattern xmlns=&amp;quot;&amp;quot; name=&amp;quot;tei&amp;quot;&amp;gt;application/tei\+xml&amp;lt;/pattern&amp;gt;&lt;br /&gt;
				&amp;lt;header-name xmlns=&amp;quot;&amp;quot;&amp;gt;accept&amp;lt;/header-name&amp;gt;&lt;br /&gt;
			&amp;lt;/selector&amp;gt;&lt;br /&gt;
		&amp;lt;/selectors&amp;gt;&lt;br /&gt;
	&amp;lt;/components&amp;gt;&lt;br /&gt;
&lt;br /&gt;
	&amp;lt;resources&amp;gt;&lt;br /&gt;
		&amp;lt;!-- declare a pipeline fragment for serializing TEI with the most appropriate content type; --&amp;gt;&lt;br /&gt;
		&amp;lt;!-- tei-xml if the browser will accept it, or plain generic xml otherwise --&amp;gt;&lt;br /&gt;
		&amp;lt;resource name=&amp;quot;serialize-tei&amp;quot;&amp;gt;&lt;br /&gt;
			&amp;lt;select type=&amp;quot;accept-content-type&amp;quot;&amp;gt;&lt;br /&gt;
				&amp;lt;when test=&amp;quot;tei&amp;quot;&amp;gt;&lt;br /&gt;
					&amp;lt;serialize type=&amp;quot;tei&amp;quot;/&amp;gt;&lt;br /&gt;
				&amp;lt;/when&amp;gt;&lt;br /&gt;
				&amp;lt;otherwise&amp;gt;&lt;br /&gt;
					&amp;lt;serialize type=&amp;quot;xml&amp;quot;/&amp;gt;&lt;br /&gt;
				&amp;lt;/otherwise&amp;gt;&lt;br /&gt;
			&amp;lt;/select&amp;gt;&lt;br /&gt;
		&amp;lt;/resource&amp;gt;&lt;br /&gt;
	&amp;lt;/resources&amp;gt;&lt;br /&gt;
&lt;br /&gt;
	&amp;lt;pipelines&amp;gt;&lt;br /&gt;
		&amp;lt;pipeline&amp;gt;&lt;br /&gt;
			&amp;lt;match pattern=&amp;quot;transcript/*.xml&amp;quot;&amp;gt;&lt;br /&gt;
				&amp;lt;generate src=&amp;quot;tei/{1}.xml&amp;quot;/&amp;gt;&lt;br /&gt;
				&amp;lt;call resource=&amp;quot;serialize-tei&amp;quot;/&amp;gt;&lt;br /&gt;
			&amp;lt;/match&amp;gt;&lt;br /&gt;
		&amp;lt;/pipeline&amp;gt;&lt;br /&gt;
	&amp;lt;/pipelines&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/sitemap&amp;gt; &lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Conal</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.tei-c.org/index.php?title=Serving_%22application/tei%2Bxml%22_from_Cocoon&amp;diff=8240</id>
		<title>Serving &quot;application/tei+xml&quot; from Cocoon</title>
		<link rel="alternate" type="text/html" href="https://wiki.tei-c.org/index.php?title=Serving_%22application/tei%2Bxml%22_from_Cocoon&amp;diff=8240"/>
		<updated>2010-10-22T04:35:46Z</updated>

		<summary type="html">&lt;p&gt;Conal: New page: = How to serve TEI XML from Cocoon with the content-type &amp;quot;application/tei+xml&amp;quot; =  Most websites which publish TEI XML documents describe them with the content type &amp;quot;application/xml&amp;quot; or &amp;quot;te...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= How to serve TEI XML from Cocoon with the content-type &amp;quot;application/tei+xml&amp;quot; =&lt;br /&gt;
&lt;br /&gt;
Most websites which publish TEI XML documents describe them with the content type &amp;quot;application/xml&amp;quot; or &amp;quot;text/xml&amp;quot;. These are two labels for XML files in general, and don't identify the files as specifically ''TEI'' XML. By using the content type &amp;quot;application/tei+xml&amp;quot;, a webserver can make the specific claim that the XML file is TEI rather than any other kind of XML. This has the advantage that browsers can be configured to handle TEI files distinctly from the way they handle other XML files (for instance, by opening them in an XML editor).&lt;br /&gt;
&lt;br /&gt;
= Simple configuration =&lt;br /&gt;
&lt;br /&gt;
To specify the content type, simply configure a serializer in your sitemap.xmap file, and then invoke the serializer in your TEI pipeline.&lt;br /&gt;
&lt;br /&gt;
To declare the serializer:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;serializer mime-type=&amp;quot;application/tei+xml&amp;quot; name=&amp;quot;tei&amp;quot; src=&amp;quot;org.apache.cocoon.serialization.XMLSerializer&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Invoking the serializer:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;serialize type=&amp;quot;tei&amp;quot;/&amp;gt; &lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Preferred configuration =&lt;br /&gt;
&lt;br /&gt;
Most browsers will adequately display generic XML but will not be configured to handle the specific content type &amp;quot;application/tei+xml&amp;quot;. For this reason, it's usually better to serve the TEI as &amp;quot;application/tei+xml&amp;quot; only if the browser specifically asks for it, and otherwise to serve it as the generic &amp;quot;application/xml&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
In Cocoon, you can use a [http://cocoon.apache.org/2.1/userdocs/regular-expression-header-selector.html RegexpHeaderSelector] to determine if a browser is prepared to handle the specific content type. The following Cocoon sitemap shows a Reg&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;sitemap xmlns=&amp;quot;http://apache.org/cocoon/sitemap/1.0&amp;quot;&amp;gt;&lt;br /&gt;
	&amp;lt;components&amp;gt;&lt;br /&gt;
		&amp;lt;!-- declare two serializers: one for tei-xml, and one for generic xml --&amp;gt;&lt;br /&gt;
		&amp;lt;serializers&amp;gt;&lt;br /&gt;
			&amp;lt;serializer mime-type=&amp;quot;application/xml&amp;quot; name=&amp;quot;xml&amp;quot; src=&amp;quot;org.apache.cocoon.serialization.XMLSerializer&amp;quot;/&amp;gt;&lt;br /&gt;
			&amp;lt;serializer mime-type=&amp;quot;application/tei+xml&amp;quot; name=&amp;quot;tei&amp;quot; src=&amp;quot;org.apache.cocoon.serialization.XMLSerializer&amp;quot;/&amp;gt;&lt;br /&gt;
		&amp;lt;/serializers&amp;gt;&lt;br /&gt;
		&amp;lt;!-- declare a selector for determining if a browser will accept tei-xml --&amp;gt;&lt;br /&gt;
		&amp;lt;selectors&amp;gt;&lt;br /&gt;
			&amp;lt;selector name=&amp;quot;accept-content-type&amp;quot; src=&amp;quot;org.apache.cocoon.selection.RegexpHeaderSelector&amp;quot;&amp;gt;&lt;br /&gt;
				&amp;lt;pattern xmlns=&amp;quot;&amp;quot; name=&amp;quot;tei&amp;quot;&amp;gt;application/tei\+xml&amp;lt;/pattern&amp;gt;&lt;br /&gt;
				&amp;lt;header-name xmlns=&amp;quot;&amp;quot;&amp;gt;accept&amp;lt;/header-name&amp;gt;&lt;br /&gt;
			&amp;lt;/selector&amp;gt;&lt;br /&gt;
		&amp;lt;/selectors&amp;gt;&lt;br /&gt;
	&amp;lt;/components&amp;gt;&lt;br /&gt;
&lt;br /&gt;
	&amp;lt;resources&amp;gt;&lt;br /&gt;
		&amp;lt;!-- declare a pipeline fragment for serializing TEI with the most appropriate content type; --&amp;gt;&lt;br /&gt;
		&amp;lt;!-- tei-xml if the browser will accept it, or plain generic xml otherwise --&amp;gt;&lt;br /&gt;
		&amp;lt;resource name=&amp;quot;serialize-tei&amp;quot;&amp;gt;&lt;br /&gt;
			&amp;lt;select type=&amp;quot;accept-content-type&amp;quot;&amp;gt;&lt;br /&gt;
				&amp;lt;when test=&amp;quot;tei&amp;quot;&amp;gt;&lt;br /&gt;
					&amp;lt;serialize type=&amp;quot;tei&amp;quot;/&amp;gt;&lt;br /&gt;
				&amp;lt;/when&amp;gt;&lt;br /&gt;
				&amp;lt;otherwise&amp;gt;&lt;br /&gt;
					&amp;lt;serialize type=&amp;quot;xml&amp;quot;/&amp;gt;&lt;br /&gt;
				&amp;lt;/otherwise&amp;gt;&lt;br /&gt;
			&amp;lt;/select&amp;gt;&lt;br /&gt;
		&amp;lt;/resource&amp;gt;&lt;br /&gt;
	&amp;lt;/resources&amp;gt;&lt;br /&gt;
&lt;br /&gt;
	&amp;lt;pipelines&amp;gt;&lt;br /&gt;
		&amp;lt;pipeline&amp;gt;&lt;br /&gt;
			&amp;lt;match pattern=&amp;quot;transcript/*.xml&amp;quot;&amp;gt;&lt;br /&gt;
				&amp;lt;generate src=&amp;quot;tei/{1}.xml&amp;quot;/&amp;gt;&lt;br /&gt;
				&amp;lt;call resource=&amp;quot;serialize-tei&amp;quot;/&amp;gt;&lt;br /&gt;
			&amp;lt;/match&amp;gt;&lt;br /&gt;
		&amp;lt;/pipeline&amp;gt;&lt;br /&gt;
	&amp;lt;/pipelines&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/sitemap&amp;gt; &lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;/div&gt;</summary>
		<author><name>Conal</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.tei-c.org/index.php?title=Apache_Cocoon&amp;diff=8239</id>
		<title>Apache Cocoon</title>
		<link rel="alternate" type="text/html" href="https://wiki.tei-c.org/index.php?title=Apache_Cocoon&amp;diff=8239"/>
		<updated>2010-10-22T04:09:47Z</updated>

		<summary type="html">&lt;p&gt;Conal: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Tools]]&lt;br /&gt;
[[Category:Publishing and delivery tools]]&lt;br /&gt;
&lt;br /&gt;
= Summary =&lt;br /&gt;
&lt;br /&gt;
Apache Cocoon is a web development framework built around the concepts of separation of concerns and component-based web development.  The TEI consortium website is dynamically produced from TEI XML using Cocoon.&lt;br /&gt;
&lt;br /&gt;
= Description =&lt;br /&gt;
&lt;br /&gt;
Apache Cocoon is a web development framework built around the concepts of separation of concerns (making sure people can interact and collaborate on a project, without stepping on each other toes) and component-based web development.&lt;br /&gt;
&lt;br /&gt;
Cocoon implements these concepts around the notion of &amp;quot;component pipelines&amp;quot;, each component on the pipeline specializing on a particular operation. This makes it possible to use a &amp;quot;building block&amp;quot; approach for web solutions, hooking together components into pipelines without any required programming.&lt;br /&gt;
&lt;br /&gt;
Cocoon is &amp;quot;web glue for your web application development needs&amp;quot;. It is a glue that keeps concerns separate and allows parallel evolution of the two sides, improving development pace and reducing the chance of conflicts.&lt;br /&gt;
&lt;br /&gt;
Cocoon has been designed to coexist and interoperate side-by-side with your existing J2EE solutions or to give them new functionality without requiring any change in the existing infrastructure.&lt;br /&gt;
&lt;br /&gt;
Cocoon interacts with many data sources, including filesystems, RDBMS, LDAP, native XML databases, SAP® systems and network-based data sources. It adapts content delivery to the capabilities of different devices like HTML, WML, PDF, SVG, and RTF, to name just a few. You can run Cocoon as a Servlet as well as through a powerful, commandline interface. The deliberate design of its abstract environment gives you the freedom to extend its functionality to meet your special needs in a highly modular fashion.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Installation Notes =&lt;br /&gt;
&lt;br /&gt;
There are many different ways to install Cocoon, and so it is probably best that you look at the [http://cocoon.apache.org/2.1/installing/index.html Cocoon installation instructions].  However, those of you using debian-compatible systems can install a packaged version of cocoon maintained by Sebastian Rahtz.  See: http://tei.oucs.ox.ac.uk/teideb/&lt;br /&gt;
&lt;br /&gt;
Cocoon is also distributed with the [http://exist.sourceforge.net/ eXist] XML database already built into it (Cocoon built with eXist as a &amp;quot;block&amp;quot;) by the eXist project. If you are likely to want both eXist and Cocoon, this is a very handy package. [http://hcmc.uvic.ca/blogs/index.php?blog=11&amp;amp;p=2595&amp;amp;more=1&amp;amp;c=1&amp;amp;tb=1&amp;amp;pb=1 This blog entry] gives is a step-by-step guide used by staff at the UVic HCMC when they deploy a new Cocoon+eXist instance under the Tomcat servlet container.&lt;br /&gt;
&lt;br /&gt;
[[Serving &amp;quot;application/tei+xml&amp;quot; from Cocoon]]&lt;br /&gt;
&lt;br /&gt;
= External Links =&lt;br /&gt;
&lt;br /&gt;
* http://cocoon.apache.org/&lt;br /&gt;
* http://cocoon.apache.org/2.1/installing/index.html&lt;br /&gt;
* http://cocoon.apache.org/2.1/introduction.html&lt;br /&gt;
* http://tei.oucs.ox.ac.uk/teideb/&lt;br /&gt;
* http://en.wikipedia.org/wiki/Apache_Cocoon&lt;/div&gt;</summary>
		<author><name>Conal</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.tei-c.org/index.php?title=FacsimileMarkup&amp;diff=2931</id>
		<title>FacsimileMarkup</title>
		<link rel="alternate" type="text/html" href="https://wiki.tei-c.org/index.php?title=FacsimileMarkup&amp;diff=2931"/>
		<updated>2007-01-26T06:21:58Z</updated>

		<summary type="html">&lt;p&gt;Conal: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
The Facsimile task force / SIG is about markup of facsimile images with correspondence to parts of the text.&lt;br /&gt;
&lt;br /&gt;
[[FacsimileMarkupODD|Facsimile Markup schema (ODD)]]&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
&lt;br /&gt;
# [[LegacyFacsimileMarkup|existing markup]], including simple pb/@url style markup at one extreme and METS at the other&lt;br /&gt;
# early straw man facsimile modules:&lt;br /&gt;
## a [[StrawManFacsimileMarkup|high-end markup]]: &lt;br /&gt;
### list of facsimile images, &lt;br /&gt;
### each image linked to a locations in the text by a typed link (e.g. thumbnail, display...) &lt;br /&gt;
### see METS structure map&lt;br /&gt;
### link between text and fragments ''within'' an image? (e.g. svg region) Requires another indirection&lt;br /&gt;
## a low-end markup: &amp;lt;pb n=&amp;quot;1&amp;quot; url=&amp;quot;page-1.jpg&amp;quot;/&amp;gt;&lt;br /&gt;
## other widely-used style of markup?&lt;br /&gt;
### use ODD equiv system to map low-end to the high-end markup?&lt;br /&gt;
# [[TEI_to_SVG|Investigate relations/mapping between the TEI and SVG]].&lt;br /&gt;
&lt;br /&gt;
[[Category:SIG]]&lt;/div&gt;</summary>
		<author><name>Conal</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.tei-c.org/index.php?title=FacsimileMarkup&amp;diff=2930</id>
		<title>FacsimileMarkup</title>
		<link rel="alternate" type="text/html" href="https://wiki.tei-c.org/index.php?title=FacsimileMarkup&amp;diff=2930"/>
		<updated>2007-01-26T06:21:08Z</updated>

		<summary type="html">&lt;p&gt;Conal: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
The Facsimile task force / SIG is about markup of facsimile images with correspondence to parts of the text.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# [[LegacyFacsimileMarkup|existing markup]], including simple pb/@url style markup at one extreme and METS at the other&lt;br /&gt;
# [FacsimileMarkupODD|Facsimile Markup schema (ODD)]&lt;br /&gt;
# early straw man facsimile modules:&lt;br /&gt;
## a [[StrawManFacsimileMarkup|high-end markup]]: &lt;br /&gt;
### list of facsimile images, &lt;br /&gt;
### each image linked to a locations in the text by a typed link (e.g. thumbnail, display...) &lt;br /&gt;
### see METS structure map&lt;br /&gt;
### link between text and fragments ''within'' an image? (e.g. svg region) Requires another indirection&lt;br /&gt;
## a low-end markup: &amp;lt;pb n=&amp;quot;1&amp;quot; url=&amp;quot;page-1.jpg&amp;quot;/&amp;gt;&lt;br /&gt;
## other widely-used style of markup?&lt;br /&gt;
### use ODD equiv system to map low-end to the high-end markup?&lt;br /&gt;
# [[TEI_to_SVG|Investigate relations/mapping between the TEI and SVG]].&lt;br /&gt;
&lt;br /&gt;
[[Category:SIG]]&lt;/div&gt;</summary>
		<author><name>Conal</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.tei-c.org/index.php?title=FacsimileMarkupODD&amp;diff=2929</id>
		<title>FacsimileMarkupODD</title>
		<link rel="alternate" type="text/html" href="https://wiki.tei-c.org/index.php?title=FacsimileMarkupODD&amp;diff=2929"/>
		<updated>2007-01-26T06:19:00Z</updated>

		<summary type="html">&lt;p&gt;Conal: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A sample ODD for facsimile markup. Needs documentation inserted.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;TEI xmlns=&amp;quot;http://www.tei-c.org/ns/1.0&amp;quot; xml:lang=&amp;quot;en&amp;quot;&amp;gt;&lt;br /&gt;
	&amp;lt;teiHeader&amp;gt;&lt;br /&gt;
		&amp;lt;fileDesc&amp;gt;&lt;br /&gt;
			&amp;lt;titleStmt&amp;gt;&lt;br /&gt;
				&amp;lt;title&amp;gt;Facsimile&amp;lt;/title&amp;gt;&lt;br /&gt;
				&amp;lt;author&amp;gt;&amp;lt;ref target=&amp;quot;mailto:conal@nzetc.org&amp;quot;&amp;gt;Conal Tuohy&amp;lt;/ref&amp;gt;&amp;lt;/author&amp;gt;&lt;br /&gt;
			&amp;lt;/titleStmt&amp;gt;&lt;br /&gt;
			&amp;lt;publicationStmt&amp;gt;&lt;br /&gt;
				&amp;lt;p&amp;gt;Draft schema for TEI Council&amp;lt;/p&amp;gt;&lt;br /&gt;
			&amp;lt;/publicationStmt&amp;gt;&lt;br /&gt;
			&amp;lt;sourceDesc&amp;gt;&lt;br /&gt;
				&amp;lt;p&amp;gt;Based on documents developed by Conal and Dot for the TEI Council in 2006&amp;lt;/p&amp;gt;&lt;br /&gt;
			&amp;lt;/sourceDesc&amp;gt;&lt;br /&gt;
		&amp;lt;/fileDesc&amp;gt;&lt;br /&gt;
	&amp;lt;/teiHeader&amp;gt;&lt;br /&gt;
	&amp;lt;text&amp;gt;&lt;br /&gt;
		&amp;lt;body&amp;gt;&lt;br /&gt;
			&amp;lt;head&amp;gt;Linking pages of text to graphical facsimiles&amp;lt;/head&amp;gt;&lt;br /&gt;
			&amp;lt;schemaSpec ident=&amp;quot;fax-spec&amp;quot; xml:lang=&amp;quot;en&amp;quot; prefix=&amp;quot;&amp;quot;&amp;gt;&lt;br /&gt;
				&amp;lt;elementSpec ident=&amp;quot;pg&amp;quot; mode=&amp;quot;add&amp;quot;&amp;gt;&lt;br /&gt;
					&amp;lt;attList&amp;gt;&lt;br /&gt;
						&amp;lt;attDef ident=&amp;quot;start&amp;quot; mode=&amp;quot;add&amp;quot;&amp;gt;&lt;br /&gt;
							&amp;lt;desc&amp;gt;Pointer to the pb element where the page starts.&amp;lt;/desc&amp;gt;&lt;br /&gt;
							&amp;lt;datatype&amp;gt;&lt;br /&gt;
								&amp;lt;rng:ref xmlns:rng=&amp;quot;http://relaxng.org/ns/structure/1.0&amp;quot; name=&amp;quot;data.pointer&amp;quot;/&amp;gt;&lt;br /&gt;
							&amp;lt;/datatype&amp;gt;&lt;br /&gt;
							&amp;lt;default/&amp;gt;&lt;br /&gt;
							&amp;lt;valList type=&amp;quot;open&amp;quot;/&amp;gt;&lt;br /&gt;
						&amp;lt;/attDef&amp;gt;&lt;br /&gt;
					&amp;lt;/attList&amp;gt;&lt;br /&gt;
					&amp;lt;desc&amp;gt;Defines a page and associated graphical facsimiles&amp;lt;/desc&amp;gt;&lt;br /&gt;
					&amp;lt;classes&amp;gt;&lt;br /&gt;
						&amp;lt;memberOf key=&amp;quot;model.sourceDescPart&amp;quot;/&amp;gt;&lt;br /&gt;
						&amp;lt;memberOf key=&amp;quot;att.global&amp;quot;/&amp;gt;&lt;br /&gt;
					&amp;lt;/classes&amp;gt;&lt;br /&gt;
					&amp;lt;content xmlns:rng=&amp;quot;http://relaxng.org/ns/structure/1.0&amp;quot;&amp;gt;&lt;br /&gt;
						&amp;lt;rng:zeroOrMore&amp;gt;&lt;br /&gt;
							&amp;lt;rng:ref name=&amp;quot;model.graphicLike&amp;quot;/&amp;gt;&lt;br /&gt;
						&amp;lt;/rng:zeroOrMore&amp;gt;&lt;br /&gt;
					&amp;lt;/content&amp;gt;&lt;br /&gt;
				&amp;lt;/elementSpec&amp;gt;&lt;br /&gt;
				&amp;lt;moduleRef key=&amp;quot;core&amp;quot;/&amp;gt;&lt;br /&gt;
				&amp;lt;moduleRef key=&amp;quot;textstructure&amp;quot;/&amp;gt;&lt;br /&gt;
				&amp;lt;moduleRef key=&amp;quot;tei&amp;quot;/&amp;gt;&lt;br /&gt;
				&amp;lt;moduleRef key=&amp;quot;header&amp;quot;/&amp;gt;&lt;br /&gt;
				&amp;lt;elementSpec ident=&amp;quot;graphic&amp;quot; module=&amp;quot;core&amp;quot; mode=&amp;quot;change&amp;quot;&amp;gt;&lt;br /&gt;
					&amp;lt;classes&amp;gt;&lt;br /&gt;
						&amp;lt;memberOf key=&amp;quot;model.graphicLike&amp;quot;/&amp;gt;&lt;br /&gt;
						&amp;lt;memberOf key=&amp;quot;model.titlepagePart&amp;quot;/&amp;gt;&lt;br /&gt;
						&amp;lt;memberOf key=&amp;quot;att.typed&amp;quot;/&amp;gt;&lt;br /&gt;
						&amp;lt;memberOf key=&amp;quot;att.projection&amp;quot;/&amp;gt;&lt;br /&gt;
					&amp;lt;/classes&amp;gt;&lt;br /&gt;
				&amp;lt;/elementSpec&amp;gt;&lt;br /&gt;
				&amp;lt;elementSpec ident=&amp;quot;catDesc&amp;quot; module=&amp;quot;header&amp;quot; mode=&amp;quot;change&amp;quot;&amp;gt;&lt;br /&gt;
					&amp;lt;classes&amp;gt;&lt;br /&gt;
						&amp;lt;memberOf key=&amp;quot;att.naming&amp;quot;/&amp;gt;&lt;br /&gt;
					&amp;lt;/classes&amp;gt;&lt;br /&gt;
				&amp;lt;/elementSpec&amp;gt;&lt;br /&gt;
				&lt;br /&gt;
				&amp;lt;!-- Graphical projections --&amp;gt;&lt;br /&gt;
				&amp;lt;classSpec ident=&amp;quot;att.projection&amp;quot; type=&amp;quot;atts&amp;quot; mode=&amp;quot;add&amp;quot;&amp;gt;&lt;br /&gt;
					&amp;lt;attList&amp;gt;&lt;br /&gt;
						&amp;lt;attDef ident=&amp;quot;rotation&amp;quot; mode=&amp;quot;add&amp;quot;&amp;gt;&lt;br /&gt;
							&amp;lt;desc&amp;gt;Specifies an angle in degrees to rotate the graphic in a clockwise direction&amp;lt;/desc&amp;gt;&lt;br /&gt;
							&amp;lt;datatype&amp;gt;&lt;br /&gt;
								&amp;lt;rng:ref xmlns:rng=&amp;quot;http://relaxng.org/ns/structure/1.0&amp;quot; name=&amp;quot;data.numeric&amp;quot;/&amp;gt;&lt;br /&gt;
							&amp;lt;/datatype&amp;gt;&lt;br /&gt;
							&amp;lt;default&amp;gt;0&amp;lt;/default&amp;gt;&lt;br /&gt;
							&amp;lt;valList type=&amp;quot;open&amp;quot;/&amp;gt;&lt;br /&gt;
						&amp;lt;/attDef&amp;gt;&lt;br /&gt;
						&amp;lt;attDef ident=&amp;quot;left&amp;quot; mode=&amp;quot;add&amp;quot;&amp;gt;&lt;br /&gt;
							&amp;lt;desc&amp;gt;Specifies the position of the left edge of an area within the image&amp;lt;/desc&amp;gt;&lt;br /&gt;
							&amp;lt;datatype&amp;gt;&lt;br /&gt;
								&amp;lt;rng:ref xmlns:rng=&amp;quot;http://relaxng.org/ns/structure/1.0&amp;quot; name=&amp;quot;data.outputMeasurement&amp;quot;/&amp;gt;&lt;br /&gt;
							&amp;lt;/datatype&amp;gt;&lt;br /&gt;
							&amp;lt;default&amp;gt;0&amp;lt;/default&amp;gt;&lt;br /&gt;
							&amp;lt;valList type=&amp;quot;open&amp;quot;/&amp;gt;&lt;br /&gt;
						&amp;lt;/attDef&amp;gt;&lt;br /&gt;
						&amp;lt;attDef ident=&amp;quot;top&amp;quot; mode=&amp;quot;add&amp;quot;&amp;gt;&lt;br /&gt;
							&amp;lt;desc&amp;gt;Specifies the position of the top edge of an area within the image&amp;lt;/desc&amp;gt;&lt;br /&gt;
							&amp;lt;datatype&amp;gt;&lt;br /&gt;
								&amp;lt;rng:ref xmlns:rng=&amp;quot;http://relaxng.org/ns/structure/1.0&amp;quot; name=&amp;quot;data.outputMeasurement&amp;quot;/&amp;gt;&lt;br /&gt;
							&amp;lt;/datatype&amp;gt;&lt;br /&gt;
							&amp;lt;default&amp;gt;0&amp;lt;/default&amp;gt;&lt;br /&gt;
							&amp;lt;valList type=&amp;quot;open&amp;quot;/&amp;gt;&lt;br /&gt;
						&amp;lt;/attDef&amp;gt;&lt;br /&gt;
						&amp;lt;attDef ident=&amp;quot;right&amp;quot; mode=&amp;quot;add&amp;quot;&amp;gt;&lt;br /&gt;
							&amp;lt;desc&amp;gt;Specifies the position of the right edge of an area within the image&amp;lt;/desc&amp;gt;&lt;br /&gt;
							&amp;lt;datatype&amp;gt;&lt;br /&gt;
								&amp;lt;rng:ref xmlns:rng=&amp;quot;http://relaxng.org/ns/structure/1.0&amp;quot; name=&amp;quot;data.outputMeasurement&amp;quot;/&amp;gt;&lt;br /&gt;
							&amp;lt;/datatype&amp;gt;&lt;br /&gt;
							&amp;lt;valList type=&amp;quot;open&amp;quot;/&amp;gt;&lt;br /&gt;
						&amp;lt;/attDef&amp;gt;&lt;br /&gt;
						&amp;lt;attDef ident=&amp;quot;bottom&amp;quot; mode=&amp;quot;add&amp;quot;&amp;gt;&lt;br /&gt;
							&amp;lt;desc&amp;gt;Specifies the position of the bottom edge of an area within the image&amp;lt;/desc&amp;gt;&lt;br /&gt;
							&amp;lt;datatype&amp;gt;&lt;br /&gt;
								&amp;lt;rng:ref xmlns:rng=&amp;quot;http://relaxng.org/ns/structure/1.0&amp;quot; name=&amp;quot;data.outputMeasurement&amp;quot;/&amp;gt;&lt;br /&gt;
							&amp;lt;/datatype&amp;gt;&lt;br /&gt;
							&amp;lt;valList type=&amp;quot;open&amp;quot;/&amp;gt;&lt;br /&gt;
						&amp;lt;/attDef&amp;gt;&lt;br /&gt;
						&amp;lt;attDef ident=&amp;quot;scale&amp;quot; mode=&amp;quot;add&amp;quot;&amp;gt;&lt;br /&gt;
							&amp;lt;desc&amp;gt;Specifies a scale factor to apply to the image&amp;lt;/desc&amp;gt;&lt;br /&gt;
							&amp;lt;datatype&amp;gt;&lt;br /&gt;
								&amp;lt;rng:ref xmlns:rng=&amp;quot;http://relaxng.org/ns/structure/1.0&amp;quot; name=&amp;quot;data.outputMeasurement&amp;quot;/&amp;gt;&lt;br /&gt;
							&amp;lt;/datatype&amp;gt;&lt;br /&gt;
							&amp;lt;default&amp;gt;1&amp;lt;/default&amp;gt;&lt;br /&gt;
							&amp;lt;valList type=&amp;quot;open&amp;quot;/&amp;gt;&lt;br /&gt;
						&amp;lt;/attDef&amp;gt;&lt;br /&gt;
						&amp;lt;attDef ident=&amp;quot;xscale&amp;quot; mode=&amp;quot;add&amp;quot;&amp;gt;&lt;br /&gt;
							&amp;lt;desc&amp;gt;Specifies a scale factor to apply to the image in the horizontal dimension&amp;lt;/desc&amp;gt;&lt;br /&gt;
							&amp;lt;datatype&amp;gt;&lt;br /&gt;
								&amp;lt;rng:ref xmlns:rng=&amp;quot;http://relaxng.org/ns/structure/1.0&amp;quot; name=&amp;quot;data.outputMeasurement&amp;quot;/&amp;gt;&lt;br /&gt;
							&amp;lt;/datatype&amp;gt;&lt;br /&gt;
							&amp;lt;default&amp;gt;1&amp;lt;/default&amp;gt;&lt;br /&gt;
							&amp;lt;valList type=&amp;quot;open&amp;quot;/&amp;gt;&lt;br /&gt;
						&amp;lt;/attDef&amp;gt;&lt;br /&gt;
						&amp;lt;attDef ident=&amp;quot;yscale&amp;quot; mode=&amp;quot;add&amp;quot;&amp;gt;&lt;br /&gt;
							&amp;lt;desc&amp;gt;Specifies a scale factor to apply to the image in the vertical dimension&amp;lt;/desc&amp;gt;&lt;br /&gt;
							&amp;lt;datatype&amp;gt;&lt;br /&gt;
								&amp;lt;rng:ref xmlns:rng=&amp;quot;http://relaxng.org/ns/structure/1.0&amp;quot; name=&amp;quot;data.outputMeasurement&amp;quot;/&amp;gt;&lt;br /&gt;
							&amp;lt;/datatype&amp;gt;&lt;br /&gt;
							&amp;lt;default&amp;gt;1&amp;lt;/default&amp;gt;&lt;br /&gt;
							&amp;lt;valList type=&amp;quot;open&amp;quot;/&amp;gt;&lt;br /&gt;
						&amp;lt;/attDef&amp;gt;&lt;br /&gt;
					&amp;lt;/attList&amp;gt;&lt;br /&gt;
				&amp;lt;/classSpec&amp;gt;&lt;br /&gt;
				&amp;lt;elementSpec ident=&amp;quot;area&amp;quot; mode=&amp;quot;add&amp;quot;&amp;gt;&lt;br /&gt;
					&amp;lt;desc&amp;gt;Defines a rectangular area on a page. The corresp attribute contains the value of the xml:id attribute of any TEI element whose content corresponds to this area.&amp;lt;/desc&amp;gt;&lt;br /&gt;
					&amp;lt;classes&amp;gt;&lt;br /&gt;
						&amp;lt;memberOf key=&amp;quot;model.graphicLike&amp;quot;/&amp;gt;&lt;br /&gt;
						&amp;lt;memberOf key=&amp;quot;att.projection&amp;quot;/&amp;gt;&lt;br /&gt;
						&amp;lt;memberOf key=&amp;quot;att.global.linking&amp;quot;/&amp;gt;&lt;br /&gt;
					&amp;lt;/classes&amp;gt;&lt;br /&gt;
					&amp;lt;content&amp;gt;&lt;br /&gt;
						&amp;lt;rng:empty xmlns:rng=&amp;quot;http://relaxng.org/ns/structure/1.0&amp;quot;/&amp;gt;&lt;br /&gt;
					&amp;lt;/content&amp;gt;&lt;br /&gt;
				&amp;lt;/elementSpec&amp;gt;&lt;br /&gt;
				&amp;lt;elementSpec ident=&amp;quot;p&amp;quot; mode=&amp;quot;change&amp;quot;&amp;gt;&lt;br /&gt;
					&amp;lt;classes&amp;gt;&lt;br /&gt;
						&amp;lt;memberOf key=&amp;quot;model.pLike&amp;quot;/&amp;gt;&lt;br /&gt;
						&amp;lt;memberOf key=&amp;quot;model.divPart&amp;quot;/&amp;gt;&lt;br /&gt;
						&amp;lt;memberOf key=&amp;quot;att.projection&amp;quot;/&amp;gt;&lt;br /&gt;
					&amp;lt;/classes&amp;gt;&lt;br /&gt;
				&amp;lt;/elementSpec&amp;gt;&lt;br /&gt;
				&amp;lt;elementSpec ident=&amp;quot;seg&amp;quot; mode=&amp;quot;change&amp;quot;&amp;gt;&lt;br /&gt;
					&amp;lt;classes&amp;gt;&lt;br /&gt;
						&amp;lt;memberOf key=&amp;quot;model.blockLike&amp;quot;/&amp;gt;&lt;br /&gt;
						&amp;lt;memberOf key=&amp;quot;model.segLike&amp;quot;/&amp;gt;&lt;br /&gt;
						&amp;lt;memberOf key=&amp;quot;att.segLike&amp;quot;/&amp;gt;&lt;br /&gt;
						&amp;lt;memberOf key=&amp;quot;model.choicePart&amp;quot;/&amp;gt;&lt;br /&gt;
						&amp;lt;memberOf key=&amp;quot;att.projection&amp;quot;/&amp;gt;&lt;br /&gt;
					&amp;lt;/classes&amp;gt;&lt;br /&gt;
				&amp;lt;/elementSpec&amp;gt;&lt;br /&gt;
				&amp;lt;elementSpec ident=&amp;quot;ab&amp;quot; mode=&amp;quot;change&amp;quot;&amp;gt;&lt;br /&gt;
					&amp;lt;classes&amp;gt;&lt;br /&gt;
						&amp;lt;memberOf key=&amp;quot;model.pLike&amp;quot;/&amp;gt;&lt;br /&gt;
						&amp;lt;memberOf key=&amp;quot;model.divPart&amp;quot;/&amp;gt;&lt;br /&gt;
						&amp;lt;memberOf key=&amp;quot;att.typed&amp;quot;/&amp;gt;&lt;br /&gt;
						&amp;lt;memberOf key=&amp;quot;att.projection&amp;quot;/&amp;gt;&lt;br /&gt;
					&amp;lt;/classes&amp;gt;&lt;br /&gt;
				&amp;lt;/elementSpec&amp;gt;&lt;br /&gt;
			&amp;lt;/schemaSpec&amp;gt;&lt;br /&gt;
		&amp;lt;/body&amp;gt;&lt;br /&gt;
	&amp;lt;/text&amp;gt;&lt;br /&gt;
&amp;lt;/TEI&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Conal</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.tei-c.org/index.php?title=TEI_to_SVG&amp;diff=2704</id>
		<title>TEI to SVG</title>
		<link rel="alternate" type="text/html" href="https://wiki.tei-c.org/index.php?title=TEI_to_SVG&amp;diff=2704"/>
		<updated>2006-07-27T01:27:42Z</updated>

		<summary type="html">&lt;p&gt;Conal: /* tei:binaryObject */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=A Quick Look Through the TEI Figures Module=&lt;br /&gt;
&lt;br /&gt;
Module: figures (Tables, Formulae, and Graphics, [http://www.tei-c.org/release/doc/tei-p5-doc/html/FT.html P5 chapter 22])&lt;br /&gt;
&lt;br /&gt;
Elements Defined: table row cell formula figure figDesc graphic binaryObject&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;figure&amp;quot; module really contains three related - but very different - aspects.&lt;br /&gt;
&lt;br /&gt;
#Tables&amp;lt;br/&amp;gt;Elements: table row cell&amp;lt;br/&amp;gt;I don't immediately see anything corresponding to this in SVG. It wouldn't make sense, anyway - tables are really for organizing textual material. Anything else?&lt;br /&gt;
#Formulae&amp;lt;br/&amp;gt;Elements: formula&amp;lt;br/&amp;gt;Formula already allows for the inclusion of elements from outside the TEI, although the [http://www.tei-c.org/release/doc/tei-p5-doc/html/FT.html#id2784077 examples in the guidelines] do not use namespaces, and namespaces are not mentioned in the text. Should we recommend that &amp;lt;figure&amp;gt; require namespaces for elements pulled in from elsewhere? If so, what about (as in the first two examples) when the notation is non-XML? Is @notation really enough?&lt;br /&gt;
#*How will this section generally be used? Will the most common usages be MathML or ChemML (or something similar from the sciences), or perhaps simpler formulas expressed in available Unicode characters?&amp;lt;br/&amp;gt;&amp;quot;By default, a &amp;lt;formula&amp;gt; is assumed to contain character data which is not validated in any way&amp;quot;&amp;lt;br/&amp;gt;Is this really a good idea? This means that, if you have a formula that contains non-standard characters, you would be unable to use gaiji without customization. That seems strange.&lt;br /&gt;
#Graphic Images&amp;lt;br/&amp;gt;Elements: figure graphic binaryObject figDesc&amp;lt;br/&amp;gt;The &amp;lt;figure&amp;gt; element is used to contain images, captions, and textual descriptions of the pictures.&amp;lt;br/&amp;gt;The images themselves are specified using the &amp;lt;graphic&amp;gt; element, whose url attribute provides the location of an image.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 &amp;lt;figure&amp;gt;&lt;br /&gt;
  &amp;lt;graphic url=&amp;quot;Fig1.pdf&amp;quot;/&amp;gt;&lt;br /&gt;
 &amp;lt;/figure&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;amp;lt;figure&amp;gt; may also contain &amp;amp;lt;head&amp;gt; (providing a title or heading for the image) &amp;amp;lt;figDesc&amp;gt; (a description of the image) and &amp;amp;lt;p&amp;gt; (commentary or caption, not a description of the image).&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Where the graphic itself contains large amounts of text, perhaps with a complex structure, and perhaps difficult to distinguish from the graphic, the encoder should choose whether to regard the graphic as containing the text (in which case, a nested &amp;amp;lt;text&amp;gt; element may be included within the &amp;amp;lt;figure&amp;gt; element) or to regard the enclosed text as being a separate division of the &amp;amp;lt;text&amp;gt; element in which the graphic appears. In this latter case, an appropriate divn class element may be used for the text represented within the graphic, and the &amp;amp;lt;figure&amp;gt; element embedded within it. The choice will depend to a large degree on the encoder's understanding of the relationship between the graphic and the surrounding text.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
So &amp;amp;lt;figure&amp;gt; may also contain &amp;amp;lt;text&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=TEI Elements and their SVG Equivalents (approx.)=&lt;br /&gt;
&lt;br /&gt;
Quick Links:&lt;br /&gt;
&lt;br /&gt;
TEI Chapter 22 [http://www.tei-c.org/release/doc/tei-p5-doc/html/FT.html Tables, Formulae, and Graphics]&lt;br /&gt;
&lt;br /&gt;
Scalable Vector Graphics (SVG) [http://www.w3.org/TR/SVG/ 1.1 Specification]&lt;br /&gt;
&lt;br /&gt;
==tei:graphic and svg:image==&lt;br /&gt;
&lt;br /&gt;
===tei:graphic=== &lt;br /&gt;
tei:graphic &amp;quot;indicates the location of an inline graphic, illustration, or figure.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
attributes: (In addition to global attributes)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
width 	The display width of the image&lt;br /&gt;
	Status: Mandatory when applicable&lt;br /&gt;
	Datatype: data.outputMeasurement&lt;br /&gt;
height 	The display height of the image&lt;br /&gt;
	Status: Mandatory when applicable&lt;br /&gt;
	Datatype: data.outputMeasurement&lt;br /&gt;
scale 	A scale factor to be applied to the image to make it the desired display size&lt;br /&gt;
	Status: Mandatory when applicable&lt;br /&gt;
	Datatype: data.probability&lt;br /&gt;
url 	The target URL&lt;br /&gt;
	Status: Mandatory when applicable&lt;br /&gt;
	Datatype: data.pointer&lt;br /&gt;
	Values: The name of a URL which provides the image.&lt;br /&gt;
mimeType 	The MIME type&lt;br /&gt;
	Status: Mandatory when applicable&lt;br /&gt;
	Datatype: data.word&lt;br /&gt;
	Values: The MIME type to be used for the object when it is decoded&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 &amp;lt;figure&amp;gt;&lt;br /&gt;
  &amp;lt;graphic url=&amp;quot;fig1.png&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;head&amp;gt;Figure One: The View from the Bridge&amp;lt;/head&amp;gt;&lt;br /&gt;
  &amp;lt;figDesc&amp;gt;A Whistleresque view showing four&lt;br /&gt;
  or five sailing boats in the foreground, and a&lt;br /&gt;
  series of buoys strung out between them.&amp;lt;/figDesc&amp;gt;&lt;br /&gt;
 &amp;lt;/figure&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===svg:image===&lt;br /&gt;
&lt;br /&gt;
svg:image &amp;quot;indicates that the contents of a complete file are to be rendered into a given rectangle within the current user coordinate system. The 'image' element can refer to raster image files such as PNG or JPEG or to files with MIME type of &amp;quot;image/svg+xml&amp;quot;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
attributes:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
x = &amp;quot;&amp;lt;coordinate&amp;gt;&amp;quot;&lt;br /&gt;
    The x-axis coordinate of one corner of the rectangular region into which the referenced &lt;br /&gt;
    document is placed.&lt;br /&gt;
    If the attribute is not specified, the effect is as if a value of &amp;quot;0&amp;quot; were specified.&lt;br /&gt;
    Animatable: yes.&lt;br /&gt;
y = &amp;quot;&amp;lt;coordinate&amp;gt;&amp;quot;&lt;br /&gt;
    The y-axis coordinate of one corner of the rectangular region into which the referenced &lt;br /&gt;
    document is placed.&lt;br /&gt;
    If the attribute is not specified, the effect is as if a value of &amp;quot;0&amp;quot; were specified.&lt;br /&gt;
    Animatable: yes.&lt;br /&gt;
width = &amp;quot;&amp;lt;length&amp;gt;&amp;quot;&lt;br /&gt;
    The width of the rectangular region into which the referenced document is placed.&lt;br /&gt;
    A negative value is an error (see Error processing). A value of zero disables rendering of &lt;br /&gt;
    the element.&lt;br /&gt;
    Animatable: yes.&lt;br /&gt;
height = &amp;quot;&amp;lt;length&amp;gt;&amp;quot;&lt;br /&gt;
    The height of the rectangular region into which the referenced document is placed.&lt;br /&gt;
    A negative value is an error (see Error processing). A value of zero disables rendering of &lt;br /&gt;
    the element.&lt;br /&gt;
    Animatable: yes.&lt;br /&gt;
xlink:href = &amp;quot;&amp;lt;uri&amp;gt;&amp;quot;&lt;br /&gt;
    A URI reference.&lt;br /&gt;
    Animatable: yes.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Are x and y necessary?&lt;br /&gt;
*xlink:href instead of url = this is nice.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 &amp;lt;figure&amp;gt;&lt;br /&gt;
  &amp;lt;svg:image xlink:href=&amp;quot;fig1.png&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;head&amp;gt;Figure One: The View from the Bridge&amp;lt;/head&amp;gt;&lt;br /&gt;
  &amp;lt;figDesc&amp;gt;A Whistleresque view showing four&lt;br /&gt;
  or five sailing boats in the foreground, and a&lt;br /&gt;
  series of buoys strung out between them.&amp;lt;/figDesc&amp;gt;&lt;br /&gt;
 &amp;lt;/figure&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Thoughts===&lt;br /&gt;
If we were to recommend a module to import all of SVG, it would be preferable to use only svg:image and to drop tei:graphic entirely (if svg:image does indeed do everything we would need it to do in TEI). But if we don't want to &amp;quot;modulate&amp;quot; SVG (if we just say that we will refer to external SVG files if we need them), do we still want to maintain a separate tei:graphic element?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==The nested grouping of TEI image elements==&lt;br /&gt;
&lt;br /&gt;
===tei:figure/tei:graphic|tei:head|tei:figDesc===&lt;br /&gt;
&lt;br /&gt;
*figure &amp;quot;contains a block containing graphics, illustrations, or figures.&amp;quot;&lt;br /&gt;
*graphic &amp;quot;indicates the location of an inline graphic, illustration, or figure.&amp;quot;&lt;br /&gt;
*head &amp;quot;contains any type of heading, for example the title of a section, or the heading of a list, glossary, manuscript description, etc.&amp;quot;&lt;br /&gt;
*figDesc &amp;quot;(Description of Figure) contains a brief prose description of the appearance or content of a graphic figure, for use when documenting an image without displaying it.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
May map to the SVG:&lt;br /&gt;
&lt;br /&gt;
===svg:g/svg:image|svg:title|svg:desc===&lt;br /&gt;
&lt;br /&gt;
*&amp;quot;The 'g' element is a container element  for grouping together related graphics elements.&amp;quot;&lt;br /&gt;
*&amp;quot;The 'image' element indicates that the contents of a complete file are to be rendered into a given rectangle within the current user coordinate system. The 'image' element can refer to raster image files such as PNG or JPEG or to files with MIME type of &amp;quot;image/svg+xml&amp;quot;&amp;quot;&lt;br /&gt;
*&amp;quot;Each container element or graphics element in an SVG drawing can supply a 'desc' and/or a 'title' description string where the description is text-only.&amp;quot;&lt;br /&gt;
*&amp;quot;The 'title' child element to an ... element serves the purposes of identifying the content of the given SVG document fragment.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
===Examples===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 &amp;lt;figure xml:id=&amp;quot;id1&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;graphic width=&amp;quot;4&amp;quot; height=&amp;quot;2&amp;quot; url=&amp;quot;fig1.png&amp;quot; mimeType=&amp;quot;image/png&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;head type=&amp;quot;image title&amp;quot;&amp;gt;Figure One: The View from the Bridge&amp;lt;/head&amp;gt;&lt;br /&gt;
  &amp;lt;figDesc&amp;gt;A Whistleresque view showing four&lt;br /&gt;
  or five sailing boats in the foreground, and a&lt;br /&gt;
  series of buoys strung out between them.&amp;lt;/figDesc&amp;gt;&lt;br /&gt;
 &amp;lt;/figure&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 &amp;lt;svg:g id=&amp;quot;id1&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;svg:image width=&amp;quot;4&amp;quot; height=&amp;quot;2&amp;quot; xlink:href=&amp;quot;fig1.png&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;svg:title&amp;gt;Figure One: The View from the Bridge&amp;lt;/svg:title&amp;gt;&lt;br /&gt;
  &amp;lt;svg:desc&amp;gt;A Whistleresque view showing four&lt;br /&gt;
  or five sailing boats in the foreground, and a&lt;br /&gt;
  series of buoys strung out between them.&amp;lt;/svg:desc&amp;gt;&lt;br /&gt;
 &amp;lt;/svg:g&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Notes===&lt;br /&gt;
*svg:g has @id, not @xml:id.&lt;br /&gt;
*tei:graphic/@scale and svg:image/@preserveAspectRatio (http://www.w3.org/TR/SVG/coords.html#preserveAspectRatio) are, I believe, similar, but they are Greek to me. I need help here.&lt;br /&gt;
*svg:image lacks @mimeType, but is it necessary?&lt;br /&gt;
*svg:title does not seem to have a type attribute, but since this element would be used only in reference to image titles, I don't think that this is a problem.&lt;br /&gt;
*As noted in a previous section, &amp;amp;lt;figure&amp;gt; may also contain &amp;amp;lt;p&amp;gt; or &amp;amp;lt;text&amp;gt;. There are no equivalent elements in SVG. Would it make sense to include those elements in an SVG group as TEI namespace?&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 &amp;lt;svg:g id=&amp;quot;id1&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;svg:image width=&amp;quot;4&amp;quot; height=&amp;quot;2&amp;quot; xlink:href=&amp;quot;fig1.png&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;svg:title&amp;gt;Figure One: The View from the Bridge&amp;lt;/svg:title&amp;gt;&lt;br /&gt;
  &amp;lt;svg:desc&amp;gt;A Whistleresque view showing four&lt;br /&gt;
  or five sailing boats in the foreground, and a&lt;br /&gt;
  series of buoys strung out between them.&amp;lt;/svg:desc&amp;gt;&lt;br /&gt;
  &amp;lt;tei:p&amp;gt;paragraph here&amp;lt;/tei:p&amp;gt;&lt;br /&gt;
  &amp;lt;tei:text&amp;gt;text contained on the image&amp;lt;/tei:text&amp;gt;&lt;br /&gt;
 &amp;lt;/svg:g&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Or should we encourage use of a standard TEI&lt;br /&gt;
block element such as a &amp;amp;lt;div&amp;gt; or &amp;amp;lt;figure&amp;gt; to bracket together an svg element&lt;br /&gt;
and any tei elements that need to be tied to it:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;figure&amp;gt;&lt;br /&gt;
 &amp;lt;svg:g id=&amp;quot;id1&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;svg:image width=&amp;quot;4&amp;quot; height=&amp;quot;2&amp;quot; xlink:href=&amp;quot;fig1.png&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;svg:title&amp;gt;Figure One: The View from the Bridge&amp;lt;/svg:title&amp;gt;&lt;br /&gt;
  &amp;lt;svg:desc&amp;gt;A Whistleresque view showing four&lt;br /&gt;
  or five sailing boats in the foreground, and a&lt;br /&gt;
  series of buoys strung out between them.&amp;lt;/svg:desc&amp;gt;&lt;br /&gt;
 &amp;lt;/svg:g&amp;gt;&lt;br /&gt;
 &amp;lt;p&amp;gt;paragraph here&amp;lt;/p&amp;gt;&lt;br /&gt;
 &amp;lt;text&amp;gt;text contained on the image&amp;lt;/text&amp;gt;&lt;br /&gt;
&amp;lt;/figure&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Mapping attributes==&lt;br /&gt;
&lt;br /&gt;
Hold coordinates in individual elements using @mets:coords (instead of creating @tei:coords)&lt;br /&gt;
&lt;br /&gt;
As described in the [http://www.loc.gov/standards/mets/docs/mets.v1-5.html#area METS documentation]:&lt;br /&gt;
COORDS: an optional string attribute listing a set of visual coordinates within an image (still image or video frame). The COORDS attribute should be used as in HTML 4.&lt;br /&gt;
&lt;br /&gt;
And in [http://www.w3.org/TR/REC-html40/struct/objects.html#adef-coords HTML 4.01]:&lt;br /&gt;
This attribute specifies the position and shape on the screen. The number and order of values depends on the shape being defined. Possible combinations:&lt;br /&gt;
*rect: left-x, top-y, right-x, bottom-y.&lt;br /&gt;
*circle: center-x, center-y, radius. Note. When the radius value is a percentage value, user agents should calculate the final radius value based on the associated object's width and height. The radius should be the smaller value of the two.&lt;br /&gt;
*poly: x1, y1, x2, y2, ..., xN, yN. The first x and y coordinate pair and the last should be the same to close the polygon. When these coordinate values are not the same, user agents should infer an additional coordinate pair to close the polygon.&lt;br /&gt;
&lt;br /&gt;
Coordinates are relative to the top, left corner of the object. All values are lengths. All values are separated by commas.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
METS defines @mets:coords on &amp;lt;area&amp;gt;. For TEI, it would be nice to have this attribute available to &amp;quot;regular&amp;quot; elements, not to a special element. The reasoning is that in many cases, especially when dealing with primary source texts, TEI elements refer not to a text in general but to the text as it appears in a specific physical document. It may not make sense to allow @mets:coords on &amp;amp;lt;p&amp;gt;, but it may make perfect sense to allow it on those elements described in Chapter 18 [http://www.tei-c.org/release/doc/tei-p5-doc/html/PH.html Transcription of Primary Sources] that relate to a specific physical occurrance:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;abbr&amp;gt;&lt;br /&gt;
&amp;lt;sic&amp;gt;&lt;br /&gt;
&amp;lt;add&amp;gt;&lt;br /&gt;
&amp;lt;del&amp;gt;&lt;br /&gt;
&amp;lt;hi&amp;gt;&lt;br /&gt;
&amp;lt;restore&amp;gt;&lt;br /&gt;
&amp;lt;gap&amp;gt;&lt;br /&gt;
&amp;lt;damage&amp;gt;&lt;br /&gt;
&amp;lt;unclear&amp;gt;&lt;br /&gt;
&amp;lt;space&amp;gt;&lt;br /&gt;
&amp;lt;fw&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
SVG defines various attribute values for coordinates. The system is based on a shape (identified by the element), but the attributes vary, so one could use the same attributes in the same element in various combinations to achieve the same result:&lt;br /&gt;
&lt;br /&gt;
rectangle:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
@svg:x = length&lt;br /&gt;
@svg:y = length&lt;br /&gt;
(rounded edges:&lt;br /&gt;
@svg:rx = length&lt;br /&gt;
@svg:ry = length)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
circle:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
@svg:cx = &amp;quot;&amp;lt;coordinate&amp;gt;&amp;quot;&lt;br /&gt;
    The x-axis coordinate of the center of the circle.&lt;br /&gt;
@svg:cy = &amp;quot;&amp;lt;coordinate&amp;gt;&amp;quot;&lt;br /&gt;
    The y-axis coordinate of the center of the circle.&lt;br /&gt;
@svg:r = &amp;quot;&amp;lt;length&amp;gt;&amp;quot;&lt;br /&gt;
    The radius of the circle.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
ellipse:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
@svg:cx = &amp;quot;&amp;lt;coordinate&amp;gt;&amp;quot;&lt;br /&gt;
    The x-axis coordinate of the center of the ellipse.&lt;br /&gt;
@svg:cy = &amp;quot;&amp;lt;coordinate&amp;gt;&amp;quot;&lt;br /&gt;
    The y-axis coordinate of the center of the ellipse.&lt;br /&gt;
@svg:rx = &amp;quot;&amp;lt;length&amp;gt;&amp;quot;&lt;br /&gt;
    The x-axis radius of the ellipse.&lt;br /&gt;
@svg:ry = &amp;quot;&amp;lt;length&amp;gt;&amp;quot;&lt;br /&gt;
    The y-axis radius of the ellipse.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
polygon:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
@svg:points = &amp;quot;&amp;lt;list-of-points&amp;gt;&amp;quot;&lt;br /&gt;
    The points that make up the polygon. All coordinate values are in the user coordinate system.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
@svg:points seems to me to be very similar to @mets:coords, except that it cannot be used to form a circle (only boundaries with straight edges)&lt;br /&gt;
&lt;br /&gt;
There may be instances where one would want to use @mets:coords (for simple circles and bounding boxes) and other times when it would make more sense to use svg:x/y/width/height etc. (for more complex shapes).&lt;br /&gt;
&lt;br /&gt;
We need to continue looking at SVG, whether we want to be able to import it in a module  or link to external files. Or both.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==tei:binaryObject==&lt;br /&gt;
&lt;br /&gt;
A rough equivalent for tei:binaryObject in svg. tei:binaryObject is an svg:image whose xlink:href uses the [http://tools.ietf.org/html/rfc2397 &amp;quot;data&amp;quot; URL scheme].&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;svg width=&amp;quot;4in&amp;quot; height=&amp;quot;3in&amp;quot; version=&amp;quot;1.1&amp;quot;&lt;br /&gt;
     xmlns=&amp;quot;http://www.w3.org/2000/svg&amp;quot; xmlns:xlink=&amp;quot;http://www.w3.org/1999/xlink&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;desc&amp;gt;This graphic links to a picture of Larry Masinter&amp;lt;/desc&amp;gt;&lt;br /&gt;
  &amp;lt;image x=&amp;quot;200&amp;quot; y=&amp;quot;200&amp;quot; width=&amp;quot;48px&amp;quot; height=&amp;quot;48px&amp;quot;&lt;br /&gt;
         xlink:href=&amp;quot;data:image/gif;base64,R0lGODdhMAAwAPAAAAAAAP///ywAAAAAMAAw&lt;br /&gt;
   AAAC8IyPqcvt3wCcDkiLc7C0qwyGHhSWpjQu5yqmCYsapyuvUUlvONmOZtfzgFz&lt;br /&gt;
   ByTB10QgxOR0TqBQejhRNzOfkVJ+5YiUqrXF5Y5lKh/DeuNcP5yLWGsEbtLiOSp&lt;br /&gt;
   a/TPg7JpJHxyendzWTBfX0cxOnKPjgBzi4diinWGdkF8kjdfnycQZXZeYGejmJl&lt;br /&gt;
   ZeGl9i2icVqaNVailT6F5iJ90m6mvuTS4OK05M0vDk0Q4XUtwvKOzrcd3iq9uis&lt;br /&gt;
   F81M1OIcR7lEewwcLp7tuNNkM3uNna3F2JQFo97Vriy/Xl4/f1cf5VWzXyym7PH&lt;br /&gt;
   hhx4dbgYKAAA7&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;title&amp;gt;Larry Masinter&amp;lt;/title&amp;gt;&lt;br /&gt;
  &amp;lt;/image&amp;gt;&lt;br /&gt;
&amp;lt;/svg&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Using SVG with TEI=&lt;br /&gt;
&lt;br /&gt;
In some instances, it makes sense to enable broad use of SVG throughout the TEI document. For instance,&lt;br /&gt;
although most of the examples here relate to the embedding of bitmap data,&lt;br /&gt;
the real power of SVG is in describing vector information, and it's the&lt;br /&gt;
perfect tool for capturing dividing lines on the page, shapes, blocks of&lt;br /&gt;
text set off from the page, decorative flourishes, simple diagrams,&lt;br /&gt;
graphs, logos and so on. It's not the case that, for example, illuminated manuscript pages&lt;br /&gt;
could be described in SVG in place of the use of hi-res page images, but&lt;br /&gt;
it would be useful to specify the layout of a complex MS page&lt;br /&gt;
(where there might be annotations on commentaries on commentaries) in&lt;br /&gt;
terms of SVG shape structures, with the text element blocks embedded&lt;br /&gt;
inside them, enabling a usefully approximate rendering of the page&lt;br /&gt;
layout incorporating the transcription.&lt;/div&gt;</summary>
		<author><name>Conal</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.tei-c.org/index.php?title=TEI_to_SVG&amp;diff=2703</id>
		<title>TEI to SVG</title>
		<link rel="alternate" type="text/html" href="https://wiki.tei-c.org/index.php?title=TEI_to_SVG&amp;diff=2703"/>
		<updated>2006-07-27T01:25:47Z</updated>

		<summary type="html">&lt;p&gt;Conal: /* tei:binaryObject */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=A Quick Look Through the TEI Figures Module=&lt;br /&gt;
&lt;br /&gt;
Module: figures (Tables, Formulae, and Graphics, [http://www.tei-c.org/release/doc/tei-p5-doc/html/FT.html P5 chapter 22])&lt;br /&gt;
&lt;br /&gt;
Elements Defined: table row cell formula figure figDesc graphic binaryObject&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;figure&amp;quot; module really contains three related - but very different - aspects.&lt;br /&gt;
&lt;br /&gt;
#Tables&amp;lt;br/&amp;gt;Elements: table row cell&amp;lt;br/&amp;gt;I don't immediately see anything corresponding to this in SVG. It wouldn't make sense, anyway - tables are really for organizing textual material. Anything else?&lt;br /&gt;
#Formulae&amp;lt;br/&amp;gt;Elements: formula&amp;lt;br/&amp;gt;Formula already allows for the inclusion of elements from outside the TEI, although the [http://www.tei-c.org/release/doc/tei-p5-doc/html/FT.html#id2784077 examples in the guidelines] do not use namespaces, and namespaces are not mentioned in the text. Should we recommend that &amp;lt;figure&amp;gt; require namespaces for elements pulled in from elsewhere? If so, what about (as in the first two examples) when the notation is non-XML? Is @notation really enough?&lt;br /&gt;
#*How will this section generally be used? Will the most common usages be MathML or ChemML (or something similar from the sciences), or perhaps simpler formulas expressed in available Unicode characters?&amp;lt;br/&amp;gt;&amp;quot;By default, a &amp;lt;formula&amp;gt; is assumed to contain character data which is not validated in any way&amp;quot;&amp;lt;br/&amp;gt;Is this really a good idea? This means that, if you have a formula that contains non-standard characters, you would be unable to use gaiji without customization. That seems strange.&lt;br /&gt;
#Graphic Images&amp;lt;br/&amp;gt;Elements: figure graphic binaryObject figDesc&amp;lt;br/&amp;gt;The &amp;lt;figure&amp;gt; element is used to contain images, captions, and textual descriptions of the pictures.&amp;lt;br/&amp;gt;The images themselves are specified using the &amp;lt;graphic&amp;gt; element, whose url attribute provides the location of an image.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 &amp;lt;figure&amp;gt;&lt;br /&gt;
  &amp;lt;graphic url=&amp;quot;Fig1.pdf&amp;quot;/&amp;gt;&lt;br /&gt;
 &amp;lt;/figure&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;amp;lt;figure&amp;gt; may also contain &amp;amp;lt;head&amp;gt; (providing a title or heading for the image) &amp;amp;lt;figDesc&amp;gt; (a description of the image) and &amp;amp;lt;p&amp;gt; (commentary or caption, not a description of the image).&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Where the graphic itself contains large amounts of text, perhaps with a complex structure, and perhaps difficult to distinguish from the graphic, the encoder should choose whether to regard the graphic as containing the text (in which case, a nested &amp;amp;lt;text&amp;gt; element may be included within the &amp;amp;lt;figure&amp;gt; element) or to regard the enclosed text as being a separate division of the &amp;amp;lt;text&amp;gt; element in which the graphic appears. In this latter case, an appropriate divn class element may be used for the text represented within the graphic, and the &amp;amp;lt;figure&amp;gt; element embedded within it. The choice will depend to a large degree on the encoder's understanding of the relationship between the graphic and the surrounding text.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
So &amp;amp;lt;figure&amp;gt; may also contain &amp;amp;lt;text&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=TEI Elements and their SVG Equivalents (approx.)=&lt;br /&gt;
&lt;br /&gt;
Quick Links:&lt;br /&gt;
&lt;br /&gt;
TEI Chapter 22 [http://www.tei-c.org/release/doc/tei-p5-doc/html/FT.html Tables, Formulae, and Graphics]&lt;br /&gt;
&lt;br /&gt;
Scalable Vector Graphics (SVG) [http://www.w3.org/TR/SVG/ 1.1 Specification]&lt;br /&gt;
&lt;br /&gt;
==tei:graphic and svg:image==&lt;br /&gt;
&lt;br /&gt;
===tei:graphic=== &lt;br /&gt;
tei:graphic &amp;quot;indicates the location of an inline graphic, illustration, or figure.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
attributes: (In addition to global attributes)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
width 	The display width of the image&lt;br /&gt;
	Status: Mandatory when applicable&lt;br /&gt;
	Datatype: data.outputMeasurement&lt;br /&gt;
height 	The display height of the image&lt;br /&gt;
	Status: Mandatory when applicable&lt;br /&gt;
	Datatype: data.outputMeasurement&lt;br /&gt;
scale 	A scale factor to be applied to the image to make it the desired display size&lt;br /&gt;
	Status: Mandatory when applicable&lt;br /&gt;
	Datatype: data.probability&lt;br /&gt;
url 	The target URL&lt;br /&gt;
	Status: Mandatory when applicable&lt;br /&gt;
	Datatype: data.pointer&lt;br /&gt;
	Values: The name of a URL which provides the image.&lt;br /&gt;
mimeType 	The MIME type&lt;br /&gt;
	Status: Mandatory when applicable&lt;br /&gt;
	Datatype: data.word&lt;br /&gt;
	Values: The MIME type to be used for the object when it is decoded&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 &amp;lt;figure&amp;gt;&lt;br /&gt;
  &amp;lt;graphic url=&amp;quot;fig1.png&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;head&amp;gt;Figure One: The View from the Bridge&amp;lt;/head&amp;gt;&lt;br /&gt;
  &amp;lt;figDesc&amp;gt;A Whistleresque view showing four&lt;br /&gt;
  or five sailing boats in the foreground, and a&lt;br /&gt;
  series of buoys strung out between them.&amp;lt;/figDesc&amp;gt;&lt;br /&gt;
 &amp;lt;/figure&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===svg:image===&lt;br /&gt;
&lt;br /&gt;
svg:image &amp;quot;indicates that the contents of a complete file are to be rendered into a given rectangle within the current user coordinate system. The 'image' element can refer to raster image files such as PNG or JPEG or to files with MIME type of &amp;quot;image/svg+xml&amp;quot;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
attributes:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
x = &amp;quot;&amp;lt;coordinate&amp;gt;&amp;quot;&lt;br /&gt;
    The x-axis coordinate of one corner of the rectangular region into which the referenced &lt;br /&gt;
    document is placed.&lt;br /&gt;
    If the attribute is not specified, the effect is as if a value of &amp;quot;0&amp;quot; were specified.&lt;br /&gt;
    Animatable: yes.&lt;br /&gt;
y = &amp;quot;&amp;lt;coordinate&amp;gt;&amp;quot;&lt;br /&gt;
    The y-axis coordinate of one corner of the rectangular region into which the referenced &lt;br /&gt;
    document is placed.&lt;br /&gt;
    If the attribute is not specified, the effect is as if a value of &amp;quot;0&amp;quot; were specified.&lt;br /&gt;
    Animatable: yes.&lt;br /&gt;
width = &amp;quot;&amp;lt;length&amp;gt;&amp;quot;&lt;br /&gt;
    The width of the rectangular region into which the referenced document is placed.&lt;br /&gt;
    A negative value is an error (see Error processing). A value of zero disables rendering of &lt;br /&gt;
    the element.&lt;br /&gt;
    Animatable: yes.&lt;br /&gt;
height = &amp;quot;&amp;lt;length&amp;gt;&amp;quot;&lt;br /&gt;
    The height of the rectangular region into which the referenced document is placed.&lt;br /&gt;
    A negative value is an error (see Error processing). A value of zero disables rendering of &lt;br /&gt;
    the element.&lt;br /&gt;
    Animatable: yes.&lt;br /&gt;
xlink:href = &amp;quot;&amp;lt;uri&amp;gt;&amp;quot;&lt;br /&gt;
    A URI reference.&lt;br /&gt;
    Animatable: yes.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Are x and y necessary?&lt;br /&gt;
*xlink:href instead of url = this is nice.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 &amp;lt;figure&amp;gt;&lt;br /&gt;
  &amp;lt;svg:image xlink:href=&amp;quot;fig1.png&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;head&amp;gt;Figure One: The View from the Bridge&amp;lt;/head&amp;gt;&lt;br /&gt;
  &amp;lt;figDesc&amp;gt;A Whistleresque view showing four&lt;br /&gt;
  or five sailing boats in the foreground, and a&lt;br /&gt;
  series of buoys strung out between them.&amp;lt;/figDesc&amp;gt;&lt;br /&gt;
 &amp;lt;/figure&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Thoughts===&lt;br /&gt;
If we were to recommend a module to import all of SVG, it would be preferable to use only svg:image and to drop tei:graphic entirely (if svg:image does indeed do everything we would need it to do in TEI). But if we don't want to &amp;quot;modulate&amp;quot; SVG (if we just say that we will refer to external SVG files if we need them), do we still want to maintain a separate tei:graphic element?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==The nested grouping of TEI image elements==&lt;br /&gt;
&lt;br /&gt;
===tei:figure/tei:graphic|tei:head|tei:figDesc===&lt;br /&gt;
&lt;br /&gt;
*figure &amp;quot;contains a block containing graphics, illustrations, or figures.&amp;quot;&lt;br /&gt;
*graphic &amp;quot;indicates the location of an inline graphic, illustration, or figure.&amp;quot;&lt;br /&gt;
*head &amp;quot;contains any type of heading, for example the title of a section, or the heading of a list, glossary, manuscript description, etc.&amp;quot;&lt;br /&gt;
*figDesc &amp;quot;(Description of Figure) contains a brief prose description of the appearance or content of a graphic figure, for use when documenting an image without displaying it.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
May map to the SVG:&lt;br /&gt;
&lt;br /&gt;
===svg:g/svg:image|svg:title|svg:desc===&lt;br /&gt;
&lt;br /&gt;
*&amp;quot;The 'g' element is a container element  for grouping together related graphics elements.&amp;quot;&lt;br /&gt;
*&amp;quot;The 'image' element indicates that the contents of a complete file are to be rendered into a given rectangle within the current user coordinate system. The 'image' element can refer to raster image files such as PNG or JPEG or to files with MIME type of &amp;quot;image/svg+xml&amp;quot;&amp;quot;&lt;br /&gt;
*&amp;quot;Each container element or graphics element in an SVG drawing can supply a 'desc' and/or a 'title' description string where the description is text-only.&amp;quot;&lt;br /&gt;
*&amp;quot;The 'title' child element to an ... element serves the purposes of identifying the content of the given SVG document fragment.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
===Examples===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 &amp;lt;figure xml:id=&amp;quot;id1&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;graphic width=&amp;quot;4&amp;quot; height=&amp;quot;2&amp;quot; url=&amp;quot;fig1.png&amp;quot; mimeType=&amp;quot;image/png&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;head type=&amp;quot;image title&amp;quot;&amp;gt;Figure One: The View from the Bridge&amp;lt;/head&amp;gt;&lt;br /&gt;
  &amp;lt;figDesc&amp;gt;A Whistleresque view showing four&lt;br /&gt;
  or five sailing boats in the foreground, and a&lt;br /&gt;
  series of buoys strung out between them.&amp;lt;/figDesc&amp;gt;&lt;br /&gt;
 &amp;lt;/figure&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 &amp;lt;svg:g id=&amp;quot;id1&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;svg:image width=&amp;quot;4&amp;quot; height=&amp;quot;2&amp;quot; xlink:href=&amp;quot;fig1.png&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;svg:title&amp;gt;Figure One: The View from the Bridge&amp;lt;/svg:title&amp;gt;&lt;br /&gt;
  &amp;lt;svg:desc&amp;gt;A Whistleresque view showing four&lt;br /&gt;
  or five sailing boats in the foreground, and a&lt;br /&gt;
  series of buoys strung out between them.&amp;lt;/svg:desc&amp;gt;&lt;br /&gt;
 &amp;lt;/svg:g&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Notes===&lt;br /&gt;
*svg:g has @id, not @xml:id.&lt;br /&gt;
*tei:graphic/@scale and svg:image/@preserveAspectRatio (http://www.w3.org/TR/SVG/coords.html#preserveAspectRatio) are, I believe, similar, but they are Greek to me. I need help here.&lt;br /&gt;
*svg:image lacks @mimeType, but is it necessary?&lt;br /&gt;
*svg:title does not seem to have a type attribute, but since this element would be used only in reference to image titles, I don't think that this is a problem.&lt;br /&gt;
*As noted in a previous section, &amp;amp;lt;figure&amp;gt; may also contain &amp;amp;lt;p&amp;gt; or &amp;amp;lt;text&amp;gt;. There are no equivalent elements in SVG. Would it make sense to include those elements in an SVG group as TEI namespace?&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 &amp;lt;svg:g id=&amp;quot;id1&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;svg:image width=&amp;quot;4&amp;quot; height=&amp;quot;2&amp;quot; xlink:href=&amp;quot;fig1.png&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;svg:title&amp;gt;Figure One: The View from the Bridge&amp;lt;/svg:title&amp;gt;&lt;br /&gt;
  &amp;lt;svg:desc&amp;gt;A Whistleresque view showing four&lt;br /&gt;
  or five sailing boats in the foreground, and a&lt;br /&gt;
  series of buoys strung out between them.&amp;lt;/svg:desc&amp;gt;&lt;br /&gt;
  &amp;lt;tei:p&amp;gt;paragraph here&amp;lt;/tei:p&amp;gt;&lt;br /&gt;
  &amp;lt;tei:text&amp;gt;text contained on the image&amp;lt;/tei:text&amp;gt;&lt;br /&gt;
 &amp;lt;/svg:g&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Or should we encourage use of a standard TEI&lt;br /&gt;
block element such as a &amp;amp;lt;div&amp;gt; or &amp;amp;lt;figure&amp;gt; to bracket together an svg element&lt;br /&gt;
and any tei elements that need to be tied to it:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;figure&amp;gt;&lt;br /&gt;
 &amp;lt;svg:g id=&amp;quot;id1&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;svg:image width=&amp;quot;4&amp;quot; height=&amp;quot;2&amp;quot; xlink:href=&amp;quot;fig1.png&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;svg:title&amp;gt;Figure One: The View from the Bridge&amp;lt;/svg:title&amp;gt;&lt;br /&gt;
  &amp;lt;svg:desc&amp;gt;A Whistleresque view showing four&lt;br /&gt;
  or five sailing boats in the foreground, and a&lt;br /&gt;
  series of buoys strung out between them.&amp;lt;/svg:desc&amp;gt;&lt;br /&gt;
 &amp;lt;/svg:g&amp;gt;&lt;br /&gt;
 &amp;lt;p&amp;gt;paragraph here&amp;lt;/p&amp;gt;&lt;br /&gt;
 &amp;lt;text&amp;gt;text contained on the image&amp;lt;/text&amp;gt;&lt;br /&gt;
&amp;lt;/figure&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Mapping attributes==&lt;br /&gt;
&lt;br /&gt;
Hold coordinates in individual elements using @mets:coords (instead of creating @tei:coords)&lt;br /&gt;
&lt;br /&gt;
As described in the [http://www.loc.gov/standards/mets/docs/mets.v1-5.html#area METS documentation]:&lt;br /&gt;
COORDS: an optional string attribute listing a set of visual coordinates within an image (still image or video frame). The COORDS attribute should be used as in HTML 4.&lt;br /&gt;
&lt;br /&gt;
And in [http://www.w3.org/TR/REC-html40/struct/objects.html#adef-coords HTML 4.01]:&lt;br /&gt;
This attribute specifies the position and shape on the screen. The number and order of values depends on the shape being defined. Possible combinations:&lt;br /&gt;
*rect: left-x, top-y, right-x, bottom-y.&lt;br /&gt;
*circle: center-x, center-y, radius. Note. When the radius value is a percentage value, user agents should calculate the final radius value based on the associated object's width and height. The radius should be the smaller value of the two.&lt;br /&gt;
*poly: x1, y1, x2, y2, ..., xN, yN. The first x and y coordinate pair and the last should be the same to close the polygon. When these coordinate values are not the same, user agents should infer an additional coordinate pair to close the polygon.&lt;br /&gt;
&lt;br /&gt;
Coordinates are relative to the top, left corner of the object. All values are lengths. All values are separated by commas.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
METS defines @mets:coords on &amp;lt;area&amp;gt;. For TEI, it would be nice to have this attribute available to &amp;quot;regular&amp;quot; elements, not to a special element. The reasoning is that in many cases, especially when dealing with primary source texts, TEI elements refer not to a text in general but to the text as it appears in a specific physical document. It may not make sense to allow @mets:coords on &amp;amp;lt;p&amp;gt;, but it may make perfect sense to allow it on those elements described in Chapter 18 [http://www.tei-c.org/release/doc/tei-p5-doc/html/PH.html Transcription of Primary Sources] that relate to a specific physical occurrance:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;abbr&amp;gt;&lt;br /&gt;
&amp;lt;sic&amp;gt;&lt;br /&gt;
&amp;lt;add&amp;gt;&lt;br /&gt;
&amp;lt;del&amp;gt;&lt;br /&gt;
&amp;lt;hi&amp;gt;&lt;br /&gt;
&amp;lt;restore&amp;gt;&lt;br /&gt;
&amp;lt;gap&amp;gt;&lt;br /&gt;
&amp;lt;damage&amp;gt;&lt;br /&gt;
&amp;lt;unclear&amp;gt;&lt;br /&gt;
&amp;lt;space&amp;gt;&lt;br /&gt;
&amp;lt;fw&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
SVG defines various attribute values for coordinates. The system is based on a shape (identified by the element), but the attributes vary, so one could use the same attributes in the same element in various combinations to achieve the same result:&lt;br /&gt;
&lt;br /&gt;
rectangle:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
@svg:x = length&lt;br /&gt;
@svg:y = length&lt;br /&gt;
(rounded edges:&lt;br /&gt;
@svg:rx = length&lt;br /&gt;
@svg:ry = length)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
circle:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
@svg:cx = &amp;quot;&amp;lt;coordinate&amp;gt;&amp;quot;&lt;br /&gt;
    The x-axis coordinate of the center of the circle.&lt;br /&gt;
@svg:cy = &amp;quot;&amp;lt;coordinate&amp;gt;&amp;quot;&lt;br /&gt;
    The y-axis coordinate of the center of the circle.&lt;br /&gt;
@svg:r = &amp;quot;&amp;lt;length&amp;gt;&amp;quot;&lt;br /&gt;
    The radius of the circle.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
ellipse:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
@svg:cx = &amp;quot;&amp;lt;coordinate&amp;gt;&amp;quot;&lt;br /&gt;
    The x-axis coordinate of the center of the ellipse.&lt;br /&gt;
@svg:cy = &amp;quot;&amp;lt;coordinate&amp;gt;&amp;quot;&lt;br /&gt;
    The y-axis coordinate of the center of the ellipse.&lt;br /&gt;
@svg:rx = &amp;quot;&amp;lt;length&amp;gt;&amp;quot;&lt;br /&gt;
    The x-axis radius of the ellipse.&lt;br /&gt;
@svg:ry = &amp;quot;&amp;lt;length&amp;gt;&amp;quot;&lt;br /&gt;
    The y-axis radius of the ellipse.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
polygon:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
@svg:points = &amp;quot;&amp;lt;list-of-points&amp;gt;&amp;quot;&lt;br /&gt;
    The points that make up the polygon. All coordinate values are in the user coordinate system.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
@svg:points seems to me to be very similar to @mets:coords, except that it cannot be used to form a circle (only boundaries with straight edges)&lt;br /&gt;
&lt;br /&gt;
There may be instances where one would want to use @mets:coords (for simple circles and bounding boxes) and other times when it would make more sense to use svg:x/y/width/height etc. (for more complex shapes).&lt;br /&gt;
&lt;br /&gt;
We need to continue looking at SVG, whether we want to be able to import it in a module  or link to external files. Or both.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==tei:binaryObject==&lt;br /&gt;
&lt;br /&gt;
A rough equivalent for tei:binaryObject in svg. tei:binaryObject is an svg:image whose xlink:href uses the [http://tools.ietf.org/html/rfc2397 &amp;quot;data&amp;quot; URL scheme].&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;svg width=&amp;quot;4in&amp;quot; height=&amp;quot;3in&amp;quot; version=&amp;quot;1.1&amp;quot;&lt;br /&gt;
     xmlns=&amp;quot;http://www.w3.org/2000/svg&amp;quot; xmlns:xlink=&amp;quot;http://www.w3.org/1999/xlink&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;desc&amp;gt;This graphic links to a picture of Larry Masinter&amp;lt;/desc&amp;gt;&lt;br /&gt;
  &amp;lt;image x=&amp;quot;200&amp;quot; y=&amp;quot;200&amp;quot; width=&amp;quot;100px&amp;quot; height=&amp;quot;100px&amp;quot;&lt;br /&gt;
         xlink:href=&amp;quot;data:image/gif;base64,R0lGODdhMAAwAPAAAAAAAP///ywAAAAAMAAw&lt;br /&gt;
   AAAC8IyPqcvt3wCcDkiLc7C0qwyGHhSWpjQu5yqmCYsapyuvUUlvONmOZtfzgFz&lt;br /&gt;
   ByTB10QgxOR0TqBQejhRNzOfkVJ+5YiUqrXF5Y5lKh/DeuNcP5yLWGsEbtLiOSp&lt;br /&gt;
   a/TPg7JpJHxyendzWTBfX0cxOnKPjgBzi4diinWGdkF8kjdfnycQZXZeYGejmJl&lt;br /&gt;
   ZeGl9i2icVqaNVailT6F5iJ90m6mvuTS4OK05M0vDk0Q4XUtwvKOzrcd3iq9uis&lt;br /&gt;
   F81M1OIcR7lEewwcLp7tuNNkM3uNna3F2JQFo97Vriy/Xl4/f1cf5VWzXyym7PH&lt;br /&gt;
   hhx4dbgYKAAA7&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;title&amp;gt;Larry Masinter&amp;lt;/title&amp;gt;&lt;br /&gt;
  &amp;lt;/image&amp;gt;&lt;br /&gt;
&amp;lt;/svg&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Using SVG with TEI=&lt;br /&gt;
&lt;br /&gt;
In some instances, it makes sense to enable broad use of SVG throughout the TEI document. For instance,&lt;br /&gt;
although most of the examples here relate to the embedding of bitmap data,&lt;br /&gt;
the real power of SVG is in describing vector information, and it's the&lt;br /&gt;
perfect tool for capturing dividing lines on the page, shapes, blocks of&lt;br /&gt;
text set off from the page, decorative flourishes, simple diagrams,&lt;br /&gt;
graphs, logos and so on. It's not the case that, for example, illuminated manuscript pages&lt;br /&gt;
could be described in SVG in place of the use of hi-res page images, but&lt;br /&gt;
it would be useful to specify the layout of a complex MS page&lt;br /&gt;
(where there might be annotations on commentaries on commentaries) in&lt;br /&gt;
terms of SVG shape structures, with the text element blocks embedded&lt;br /&gt;
inside them, enabling a usefully approximate rendering of the page&lt;br /&gt;
layout incorporating the transcription.&lt;/div&gt;</summary>
		<author><name>Conal</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.tei-c.org/index.php?title=TEI_to_SVG&amp;diff=2702</id>
		<title>TEI to SVG</title>
		<link rel="alternate" type="text/html" href="https://wiki.tei-c.org/index.php?title=TEI_to_SVG&amp;diff=2702"/>
		<updated>2006-07-27T01:24:59Z</updated>

		<summary type="html">&lt;p&gt;Conal: /* tei:binaryObject */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=A Quick Look Through the TEI Figures Module=&lt;br /&gt;
&lt;br /&gt;
Module: figures (Tables, Formulae, and Graphics, [http://www.tei-c.org/release/doc/tei-p5-doc/html/FT.html P5 chapter 22])&lt;br /&gt;
&lt;br /&gt;
Elements Defined: table row cell formula figure figDesc graphic binaryObject&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;figure&amp;quot; module really contains three related - but very different - aspects.&lt;br /&gt;
&lt;br /&gt;
#Tables&amp;lt;br/&amp;gt;Elements: table row cell&amp;lt;br/&amp;gt;I don't immediately see anything corresponding to this in SVG. It wouldn't make sense, anyway - tables are really for organizing textual material. Anything else?&lt;br /&gt;
#Formulae&amp;lt;br/&amp;gt;Elements: formula&amp;lt;br/&amp;gt;Formula already allows for the inclusion of elements from outside the TEI, although the [http://www.tei-c.org/release/doc/tei-p5-doc/html/FT.html#id2784077 examples in the guidelines] do not use namespaces, and namespaces are not mentioned in the text. Should we recommend that &amp;lt;figure&amp;gt; require namespaces for elements pulled in from elsewhere? If so, what about (as in the first two examples) when the notation is non-XML? Is @notation really enough?&lt;br /&gt;
#*How will this section generally be used? Will the most common usages be MathML or ChemML (or something similar from the sciences), or perhaps simpler formulas expressed in available Unicode characters?&amp;lt;br/&amp;gt;&amp;quot;By default, a &amp;lt;formula&amp;gt; is assumed to contain character data which is not validated in any way&amp;quot;&amp;lt;br/&amp;gt;Is this really a good idea? This means that, if you have a formula that contains non-standard characters, you would be unable to use gaiji without customization. That seems strange.&lt;br /&gt;
#Graphic Images&amp;lt;br/&amp;gt;Elements: figure graphic binaryObject figDesc&amp;lt;br/&amp;gt;The &amp;lt;figure&amp;gt; element is used to contain images, captions, and textual descriptions of the pictures.&amp;lt;br/&amp;gt;The images themselves are specified using the &amp;lt;graphic&amp;gt; element, whose url attribute provides the location of an image.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 &amp;lt;figure&amp;gt;&lt;br /&gt;
  &amp;lt;graphic url=&amp;quot;Fig1.pdf&amp;quot;/&amp;gt;&lt;br /&gt;
 &amp;lt;/figure&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;amp;lt;figure&amp;gt; may also contain &amp;amp;lt;head&amp;gt; (providing a title or heading for the image) &amp;amp;lt;figDesc&amp;gt; (a description of the image) and &amp;amp;lt;p&amp;gt; (commentary or caption, not a description of the image).&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Where the graphic itself contains large amounts of text, perhaps with a complex structure, and perhaps difficult to distinguish from the graphic, the encoder should choose whether to regard the graphic as containing the text (in which case, a nested &amp;amp;lt;text&amp;gt; element may be included within the &amp;amp;lt;figure&amp;gt; element) or to regard the enclosed text as being a separate division of the &amp;amp;lt;text&amp;gt; element in which the graphic appears. In this latter case, an appropriate divn class element may be used for the text represented within the graphic, and the &amp;amp;lt;figure&amp;gt; element embedded within it. The choice will depend to a large degree on the encoder's understanding of the relationship between the graphic and the surrounding text.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
So &amp;amp;lt;figure&amp;gt; may also contain &amp;amp;lt;text&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=TEI Elements and their SVG Equivalents (approx.)=&lt;br /&gt;
&lt;br /&gt;
Quick Links:&lt;br /&gt;
&lt;br /&gt;
TEI Chapter 22 [http://www.tei-c.org/release/doc/tei-p5-doc/html/FT.html Tables, Formulae, and Graphics]&lt;br /&gt;
&lt;br /&gt;
Scalable Vector Graphics (SVG) [http://www.w3.org/TR/SVG/ 1.1 Specification]&lt;br /&gt;
&lt;br /&gt;
==tei:graphic and svg:image==&lt;br /&gt;
&lt;br /&gt;
===tei:graphic=== &lt;br /&gt;
tei:graphic &amp;quot;indicates the location of an inline graphic, illustration, or figure.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
attributes: (In addition to global attributes)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
width 	The display width of the image&lt;br /&gt;
	Status: Mandatory when applicable&lt;br /&gt;
	Datatype: data.outputMeasurement&lt;br /&gt;
height 	The display height of the image&lt;br /&gt;
	Status: Mandatory when applicable&lt;br /&gt;
	Datatype: data.outputMeasurement&lt;br /&gt;
scale 	A scale factor to be applied to the image to make it the desired display size&lt;br /&gt;
	Status: Mandatory when applicable&lt;br /&gt;
	Datatype: data.probability&lt;br /&gt;
url 	The target URL&lt;br /&gt;
	Status: Mandatory when applicable&lt;br /&gt;
	Datatype: data.pointer&lt;br /&gt;
	Values: The name of a URL which provides the image.&lt;br /&gt;
mimeType 	The MIME type&lt;br /&gt;
	Status: Mandatory when applicable&lt;br /&gt;
	Datatype: data.word&lt;br /&gt;
	Values: The MIME type to be used for the object when it is decoded&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 &amp;lt;figure&amp;gt;&lt;br /&gt;
  &amp;lt;graphic url=&amp;quot;fig1.png&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;head&amp;gt;Figure One: The View from the Bridge&amp;lt;/head&amp;gt;&lt;br /&gt;
  &amp;lt;figDesc&amp;gt;A Whistleresque view showing four&lt;br /&gt;
  or five sailing boats in the foreground, and a&lt;br /&gt;
  series of buoys strung out between them.&amp;lt;/figDesc&amp;gt;&lt;br /&gt;
 &amp;lt;/figure&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===svg:image===&lt;br /&gt;
&lt;br /&gt;
svg:image &amp;quot;indicates that the contents of a complete file are to be rendered into a given rectangle within the current user coordinate system. The 'image' element can refer to raster image files such as PNG or JPEG or to files with MIME type of &amp;quot;image/svg+xml&amp;quot;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
attributes:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
x = &amp;quot;&amp;lt;coordinate&amp;gt;&amp;quot;&lt;br /&gt;
    The x-axis coordinate of one corner of the rectangular region into which the referenced &lt;br /&gt;
    document is placed.&lt;br /&gt;
    If the attribute is not specified, the effect is as if a value of &amp;quot;0&amp;quot; were specified.&lt;br /&gt;
    Animatable: yes.&lt;br /&gt;
y = &amp;quot;&amp;lt;coordinate&amp;gt;&amp;quot;&lt;br /&gt;
    The y-axis coordinate of one corner of the rectangular region into which the referenced &lt;br /&gt;
    document is placed.&lt;br /&gt;
    If the attribute is not specified, the effect is as if a value of &amp;quot;0&amp;quot; were specified.&lt;br /&gt;
    Animatable: yes.&lt;br /&gt;
width = &amp;quot;&amp;lt;length&amp;gt;&amp;quot;&lt;br /&gt;
    The width of the rectangular region into which the referenced document is placed.&lt;br /&gt;
    A negative value is an error (see Error processing). A value of zero disables rendering of &lt;br /&gt;
    the element.&lt;br /&gt;
    Animatable: yes.&lt;br /&gt;
height = &amp;quot;&amp;lt;length&amp;gt;&amp;quot;&lt;br /&gt;
    The height of the rectangular region into which the referenced document is placed.&lt;br /&gt;
    A negative value is an error (see Error processing). A value of zero disables rendering of &lt;br /&gt;
    the element.&lt;br /&gt;
    Animatable: yes.&lt;br /&gt;
xlink:href = &amp;quot;&amp;lt;uri&amp;gt;&amp;quot;&lt;br /&gt;
    A URI reference.&lt;br /&gt;
    Animatable: yes.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Are x and y necessary?&lt;br /&gt;
*xlink:href instead of url = this is nice.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 &amp;lt;figure&amp;gt;&lt;br /&gt;
  &amp;lt;svg:image xlink:href=&amp;quot;fig1.png&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;head&amp;gt;Figure One: The View from the Bridge&amp;lt;/head&amp;gt;&lt;br /&gt;
  &amp;lt;figDesc&amp;gt;A Whistleresque view showing four&lt;br /&gt;
  or five sailing boats in the foreground, and a&lt;br /&gt;
  series of buoys strung out between them.&amp;lt;/figDesc&amp;gt;&lt;br /&gt;
 &amp;lt;/figure&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Thoughts===&lt;br /&gt;
If we were to recommend a module to import all of SVG, it would be preferable to use only svg:image and to drop tei:graphic entirely (if svg:image does indeed do everything we would need it to do in TEI). But if we don't want to &amp;quot;modulate&amp;quot; SVG (if we just say that we will refer to external SVG files if we need them), do we still want to maintain a separate tei:graphic element?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==The nested grouping of TEI image elements==&lt;br /&gt;
&lt;br /&gt;
===tei:figure/tei:graphic|tei:head|tei:figDesc===&lt;br /&gt;
&lt;br /&gt;
*figure &amp;quot;contains a block containing graphics, illustrations, or figures.&amp;quot;&lt;br /&gt;
*graphic &amp;quot;indicates the location of an inline graphic, illustration, or figure.&amp;quot;&lt;br /&gt;
*head &amp;quot;contains any type of heading, for example the title of a section, or the heading of a list, glossary, manuscript description, etc.&amp;quot;&lt;br /&gt;
*figDesc &amp;quot;(Description of Figure) contains a brief prose description of the appearance or content of a graphic figure, for use when documenting an image without displaying it.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
May map to the SVG:&lt;br /&gt;
&lt;br /&gt;
===svg:g/svg:image|svg:title|svg:desc===&lt;br /&gt;
&lt;br /&gt;
*&amp;quot;The 'g' element is a container element  for grouping together related graphics elements.&amp;quot;&lt;br /&gt;
*&amp;quot;The 'image' element indicates that the contents of a complete file are to be rendered into a given rectangle within the current user coordinate system. The 'image' element can refer to raster image files such as PNG or JPEG or to files with MIME type of &amp;quot;image/svg+xml&amp;quot;&amp;quot;&lt;br /&gt;
*&amp;quot;Each container element or graphics element in an SVG drawing can supply a 'desc' and/or a 'title' description string where the description is text-only.&amp;quot;&lt;br /&gt;
*&amp;quot;The 'title' child element to an ... element serves the purposes of identifying the content of the given SVG document fragment.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
===Examples===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 &amp;lt;figure xml:id=&amp;quot;id1&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;graphic width=&amp;quot;4&amp;quot; height=&amp;quot;2&amp;quot; url=&amp;quot;fig1.png&amp;quot; mimeType=&amp;quot;image/png&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;head type=&amp;quot;image title&amp;quot;&amp;gt;Figure One: The View from the Bridge&amp;lt;/head&amp;gt;&lt;br /&gt;
  &amp;lt;figDesc&amp;gt;A Whistleresque view showing four&lt;br /&gt;
  or five sailing boats in the foreground, and a&lt;br /&gt;
  series of buoys strung out between them.&amp;lt;/figDesc&amp;gt;&lt;br /&gt;
 &amp;lt;/figure&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 &amp;lt;svg:g id=&amp;quot;id1&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;svg:image width=&amp;quot;4&amp;quot; height=&amp;quot;2&amp;quot; xlink:href=&amp;quot;fig1.png&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;svg:title&amp;gt;Figure One: The View from the Bridge&amp;lt;/svg:title&amp;gt;&lt;br /&gt;
  &amp;lt;svg:desc&amp;gt;A Whistleresque view showing four&lt;br /&gt;
  or five sailing boats in the foreground, and a&lt;br /&gt;
  series of buoys strung out between them.&amp;lt;/svg:desc&amp;gt;&lt;br /&gt;
 &amp;lt;/svg:g&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Notes===&lt;br /&gt;
*svg:g has @id, not @xml:id.&lt;br /&gt;
*tei:graphic/@scale and svg:image/@preserveAspectRatio (http://www.w3.org/TR/SVG/coords.html#preserveAspectRatio) are, I believe, similar, but they are Greek to me. I need help here.&lt;br /&gt;
*svg:image lacks @mimeType, but is it necessary?&lt;br /&gt;
*svg:title does not seem to have a type attribute, but since this element would be used only in reference to image titles, I don't think that this is a problem.&lt;br /&gt;
*As noted in a previous section, &amp;amp;lt;figure&amp;gt; may also contain &amp;amp;lt;p&amp;gt; or &amp;amp;lt;text&amp;gt;. There are no equivalent elements in SVG. Would it make sense to include those elements in an SVG group as TEI namespace?&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 &amp;lt;svg:g id=&amp;quot;id1&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;svg:image width=&amp;quot;4&amp;quot; height=&amp;quot;2&amp;quot; xlink:href=&amp;quot;fig1.png&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;svg:title&amp;gt;Figure One: The View from the Bridge&amp;lt;/svg:title&amp;gt;&lt;br /&gt;
  &amp;lt;svg:desc&amp;gt;A Whistleresque view showing four&lt;br /&gt;
  or five sailing boats in the foreground, and a&lt;br /&gt;
  series of buoys strung out between them.&amp;lt;/svg:desc&amp;gt;&lt;br /&gt;
  &amp;lt;tei:p&amp;gt;paragraph here&amp;lt;/tei:p&amp;gt;&lt;br /&gt;
  &amp;lt;tei:text&amp;gt;text contained on the image&amp;lt;/tei:text&amp;gt;&lt;br /&gt;
 &amp;lt;/svg:g&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Or should we encourage use of a standard TEI&lt;br /&gt;
block element such as a &amp;amp;lt;div&amp;gt; or &amp;amp;lt;figure&amp;gt; to bracket together an svg element&lt;br /&gt;
and any tei elements that need to be tied to it:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;figure&amp;gt;&lt;br /&gt;
 &amp;lt;svg:g id=&amp;quot;id1&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;svg:image width=&amp;quot;4&amp;quot; height=&amp;quot;2&amp;quot; xlink:href=&amp;quot;fig1.png&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;svg:title&amp;gt;Figure One: The View from the Bridge&amp;lt;/svg:title&amp;gt;&lt;br /&gt;
  &amp;lt;svg:desc&amp;gt;A Whistleresque view showing four&lt;br /&gt;
  or five sailing boats in the foreground, and a&lt;br /&gt;
  series of buoys strung out between them.&amp;lt;/svg:desc&amp;gt;&lt;br /&gt;
 &amp;lt;/svg:g&amp;gt;&lt;br /&gt;
 &amp;lt;p&amp;gt;paragraph here&amp;lt;/p&amp;gt;&lt;br /&gt;
 &amp;lt;text&amp;gt;text contained on the image&amp;lt;/text&amp;gt;&lt;br /&gt;
&amp;lt;/figure&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Mapping attributes==&lt;br /&gt;
&lt;br /&gt;
Hold coordinates in individual elements using @mets:coords (instead of creating @tei:coords)&lt;br /&gt;
&lt;br /&gt;
As described in the [http://www.loc.gov/standards/mets/docs/mets.v1-5.html#area METS documentation]:&lt;br /&gt;
COORDS: an optional string attribute listing a set of visual coordinates within an image (still image or video frame). The COORDS attribute should be used as in HTML 4.&lt;br /&gt;
&lt;br /&gt;
And in [http://www.w3.org/TR/REC-html40/struct/objects.html#adef-coords HTML 4.01]:&lt;br /&gt;
This attribute specifies the position and shape on the screen. The number and order of values depends on the shape being defined. Possible combinations:&lt;br /&gt;
*rect: left-x, top-y, right-x, bottom-y.&lt;br /&gt;
*circle: center-x, center-y, radius. Note. When the radius value is a percentage value, user agents should calculate the final radius value based on the associated object's width and height. The radius should be the smaller value of the two.&lt;br /&gt;
*poly: x1, y1, x2, y2, ..., xN, yN. The first x and y coordinate pair and the last should be the same to close the polygon. When these coordinate values are not the same, user agents should infer an additional coordinate pair to close the polygon.&lt;br /&gt;
&lt;br /&gt;
Coordinates are relative to the top, left corner of the object. All values are lengths. All values are separated by commas.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
METS defines @mets:coords on &amp;lt;area&amp;gt;. For TEI, it would be nice to have this attribute available to &amp;quot;regular&amp;quot; elements, not to a special element. The reasoning is that in many cases, especially when dealing with primary source texts, TEI elements refer not to a text in general but to the text as it appears in a specific physical document. It may not make sense to allow @mets:coords on &amp;amp;lt;p&amp;gt;, but it may make perfect sense to allow it on those elements described in Chapter 18 [http://www.tei-c.org/release/doc/tei-p5-doc/html/PH.html Transcription of Primary Sources] that relate to a specific physical occurrance:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;abbr&amp;gt;&lt;br /&gt;
&amp;lt;sic&amp;gt;&lt;br /&gt;
&amp;lt;add&amp;gt;&lt;br /&gt;
&amp;lt;del&amp;gt;&lt;br /&gt;
&amp;lt;hi&amp;gt;&lt;br /&gt;
&amp;lt;restore&amp;gt;&lt;br /&gt;
&amp;lt;gap&amp;gt;&lt;br /&gt;
&amp;lt;damage&amp;gt;&lt;br /&gt;
&amp;lt;unclear&amp;gt;&lt;br /&gt;
&amp;lt;space&amp;gt;&lt;br /&gt;
&amp;lt;fw&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
SVG defines various attribute values for coordinates. The system is based on a shape (identified by the element), but the attributes vary, so one could use the same attributes in the same element in various combinations to achieve the same result:&lt;br /&gt;
&lt;br /&gt;
rectangle:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
@svg:x = length&lt;br /&gt;
@svg:y = length&lt;br /&gt;
(rounded edges:&lt;br /&gt;
@svg:rx = length&lt;br /&gt;
@svg:ry = length)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
circle:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
@svg:cx = &amp;quot;&amp;lt;coordinate&amp;gt;&amp;quot;&lt;br /&gt;
    The x-axis coordinate of the center of the circle.&lt;br /&gt;
@svg:cy = &amp;quot;&amp;lt;coordinate&amp;gt;&amp;quot;&lt;br /&gt;
    The y-axis coordinate of the center of the circle.&lt;br /&gt;
@svg:r = &amp;quot;&amp;lt;length&amp;gt;&amp;quot;&lt;br /&gt;
    The radius of the circle.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
ellipse:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
@svg:cx = &amp;quot;&amp;lt;coordinate&amp;gt;&amp;quot;&lt;br /&gt;
    The x-axis coordinate of the center of the ellipse.&lt;br /&gt;
@svg:cy = &amp;quot;&amp;lt;coordinate&amp;gt;&amp;quot;&lt;br /&gt;
    The y-axis coordinate of the center of the ellipse.&lt;br /&gt;
@svg:rx = &amp;quot;&amp;lt;length&amp;gt;&amp;quot;&lt;br /&gt;
    The x-axis radius of the ellipse.&lt;br /&gt;
@svg:ry = &amp;quot;&amp;lt;length&amp;gt;&amp;quot;&lt;br /&gt;
    The y-axis radius of the ellipse.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
polygon:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
@svg:points = &amp;quot;&amp;lt;list-of-points&amp;gt;&amp;quot;&lt;br /&gt;
    The points that make up the polygon. All coordinate values are in the user coordinate system.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
@svg:points seems to me to be very similar to @mets:coords, except that it cannot be used to form a circle (only boundaries with straight edges)&lt;br /&gt;
&lt;br /&gt;
There may be instances where one would want to use @mets:coords (for simple circles and bounding boxes) and other times when it would make more sense to use svg:x/y/width/height etc. (for more complex shapes).&lt;br /&gt;
&lt;br /&gt;
We need to continue looking at SVG, whether we want to be able to import it in a module  or link to external files. Or both.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==tei:binaryObject==&lt;br /&gt;
&lt;br /&gt;
A rough equivalent for tei:binaryObject in svg. tei:binaryObject is an svg:image whose xlink:href uses the [http://tools.ietf.org/html/rfc2397 &amp;quot;data&amp;quot; URL scheme].&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;svg width=&amp;quot;4in&amp;quot; height=&amp;quot;3in&amp;quot; version=&amp;quot;1.1&amp;quot;&lt;br /&gt;
     xmlns=&amp;quot;http://www.w3.org/2000/svg&amp;quot; xmlns:xlink=&amp;quot;http://www.w3.org/1999/xlink&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;desc&amp;gt;This graphic links to an external image&lt;br /&gt;
  &amp;lt;/desc&amp;gt;&lt;br /&gt;
  &amp;lt;image x=&amp;quot;200&amp;quot; y=&amp;quot;200&amp;quot; width=&amp;quot;100px&amp;quot; height=&amp;quot;100px&amp;quot;&lt;br /&gt;
         xlink:href=&amp;quot;data:image/gif;base64,R0lGODdhMAAwAPAAAAAAAP///ywAAAAAMAAw&lt;br /&gt;
   AAAC8IyPqcvt3wCcDkiLc7C0qwyGHhSWpjQu5yqmCYsapyuvUUlvONmOZtfzgFz&lt;br /&gt;
   ByTB10QgxOR0TqBQejhRNzOfkVJ+5YiUqrXF5Y5lKh/DeuNcP5yLWGsEbtLiOSp&lt;br /&gt;
   a/TPg7JpJHxyendzWTBfX0cxOnKPjgBzi4diinWGdkF8kjdfnycQZXZeYGejmJl&lt;br /&gt;
   ZeGl9i2icVqaNVailT6F5iJ90m6mvuTS4OK05M0vDk0Q4XUtwvKOzrcd3iq9uis&lt;br /&gt;
   F81M1OIcR7lEewwcLp7tuNNkM3uNna3F2JQFo97Vriy/Xl4/f1cf5VWzXyym7PH&lt;br /&gt;
   hhx4dbgYKAAA7&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;title&amp;gt;My image&amp;lt;/title&amp;gt;&lt;br /&gt;
  &amp;lt;/image&amp;gt;&lt;br /&gt;
&amp;lt;/svg&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Using SVG with TEI=&lt;br /&gt;
&lt;br /&gt;
In some instances, it makes sense to enable broad use of SVG throughout the TEI document. For instance,&lt;br /&gt;
although most of the examples here relate to the embedding of bitmap data,&lt;br /&gt;
the real power of SVG is in describing vector information, and it's the&lt;br /&gt;
perfect tool for capturing dividing lines on the page, shapes, blocks of&lt;br /&gt;
text set off from the page, decorative flourishes, simple diagrams,&lt;br /&gt;
graphs, logos and so on. It's not the case that, for example, illuminated manuscript pages&lt;br /&gt;
could be described in SVG in place of the use of hi-res page images, but&lt;br /&gt;
it would be useful to specify the layout of a complex MS page&lt;br /&gt;
(where there might be annotations on commentaries on commentaries) in&lt;br /&gt;
terms of SVG shape structures, with the text element blocks embedded&lt;br /&gt;
inside them, enabling a usefully approximate rendering of the page&lt;br /&gt;
layout incorporating the transcription.&lt;/div&gt;</summary>
		<author><name>Conal</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.tei-c.org/index.php?title=StrawManFacsimileMarkup&amp;diff=2701</id>
		<title>StrawManFacsimileMarkup</title>
		<link rel="alternate" type="text/html" href="https://wiki.tei-c.org/index.php?title=StrawManFacsimileMarkup&amp;diff=2701"/>
		<updated>2006-07-26T05:14:38Z</updated>

		<summary type="html">&lt;p&gt;Conal: added a new version using @decls to link page breaks to page facimiles&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=v v3 =&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;TEI&amp;gt;&lt;br /&gt;
&amp;lt;teiHeader&amp;gt;&lt;br /&gt;
&lt;br /&gt;
	&amp;lt;taxonomy id=&amp;quot;facsimile-types&amp;quot;&amp;gt;&lt;br /&gt;
		&amp;lt;!-- seems to me there are a variety of possible facsimile types ('uses'), --&amp;gt;&lt;br /&gt;
		&amp;lt;!-- and that projects might come up with new ones, or specialize existing ones --&amp;gt;&lt;br /&gt;
		&amp;lt;!-- as in the &amp;quot;very-small-thumbnail&amp;quot; below, which would mean providing a basic --&amp;gt;&lt;br /&gt;
		&amp;lt;!-- taxonomy which would be shared and part of the guidelines, while allowing --&amp;gt;&lt;br /&gt;
		&amp;lt;!-- extension --&amp;gt;&lt;br /&gt;
		&amp;lt;!-- how to use with tei:ref/@type? or replace tei:ref below with something else? --&amp;gt;&lt;br /&gt;
		&amp;lt;bibl&amp;gt;&lt;br /&gt;
			&amp;lt;ref target=&amp;quot;{pointer to a standard taxonomy of basic facsimile roles/relationships}&amp;quot;/&amp;gt;&lt;br /&gt;
		&amp;lt;/bibl&amp;gt;&lt;br /&gt;
		&amp;lt;category xml:id=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
			&amp;lt;catDesc&amp;gt;Textual form&amp;lt;/catDesc&amp;gt;&lt;br /&gt;
		&amp;lt;/category&amp;gt;&lt;br /&gt;
		&amp;lt;category xml:id=&amp;quot;thumbnail&amp;quot;&amp;gt;&lt;br /&gt;
			&amp;lt;catDesc&amp;gt;Thumbnail image&amp;lt;/catDesc&amp;gt;&lt;br /&gt;
			&amp;lt;category xml:id=&amp;quot;very-small-thumbnail&amp;quot;&amp;gt;&lt;br /&gt;
				&amp;lt;catDesc&amp;gt;Extra small thumbnail&amp;lt;/catDesc&amp;gt;&lt;br /&gt;
			&amp;lt;/category&amp;gt;&lt;br /&gt;
		&amp;lt;/category&amp;gt;&lt;br /&gt;
		&amp;lt;category xml:id=&amp;quot;access&amp;quot;&amp;gt;&lt;br /&gt;
			&amp;lt;catDesc&amp;gt;Large image&amp;lt;/catDesc&amp;gt;&lt;br /&gt;
		&amp;lt;/category&amp;gt;&lt;br /&gt;
		&amp;lt;category xml:id=&amp;quot;annotation&amp;quot;&amp;gt;&lt;br /&gt;
			&amp;lt;catDesc&amp;gt;Large annotated image&amp;lt;/catDesc&amp;gt;&lt;br /&gt;
		&amp;lt;/category&amp;gt;&lt;br /&gt;
	&amp;lt;/taxonomy&amp;gt;&lt;br /&gt;
&lt;br /&gt;
	...&lt;br /&gt;
	&amp;lt;!-- list of pages --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
	&amp;lt;pg xml:id=&amp;quot;pg1&amp;quot; width=&amp;quot;100mm&amp;quot; height=&amp;quot;120mm&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
		&amp;lt;!-- list of graphics which are images of this page --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
		&amp;lt;!-- @graphicType allows classification of graphics by resolution, equipment, or suitability for purpose --&amp;gt;&lt;br /&gt;
		&amp;lt;!-- xml:id, url, and mimeType are all existing attributes of tei:graphic --&amp;gt;&lt;br /&gt;
		&amp;lt;!-- The other attributes would give the position of the corner of the graphic (in the coordinate space of the &lt;br /&gt;
		parent pg element). NB the thumbnail and access images below have different scales, but they both cover the&lt;br /&gt;
		same area of the page, namely the region stretching from a point 10mm in from the left margin of the page,&lt;br /&gt;
		and 10mm down from the top of the page, down 8cm and across 10cm. If the image files were cropped to exactly&lt;br /&gt;
		match the size of the page, they would have leftX and leftY equal to 0. If the scans included white space&lt;br /&gt;
		around the edge of the physical pages, then the values would be negative. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
		&amp;lt;graphic &lt;br /&gt;
			facsimileType=&amp;quot;#thumbnail&amp;quot; &lt;br /&gt;
			xml:id=&amp;quot;thumb-p1&amp;quot; &lt;br /&gt;
			url=&amp;quot;thumb-p1.jpg&amp;quot; &lt;br /&gt;
			mimeType=&amp;quot;image/jpeg&amp;quot;&lt;br /&gt;
			scale=&amp;quot;4.0&amp;quot;&lt;br /&gt;
			leftX=&amp;quot;10mm&amp;quot;&lt;br /&gt;
			topY=&amp;quot;10mm&amp;quot;&lt;br /&gt;
			width=&amp;quot;80mm&amp;quot;&lt;br /&gt;
			height=&amp;quot;100mm&amp;quot;/&amp;gt;&lt;br /&gt;
		&amp;lt;graphic &lt;br /&gt;
			graphicType=&amp;quot;#access&amp;quot; &lt;br /&gt;
			xml:id=&amp;quot;access-p1&amp;quot; &lt;br /&gt;
			url=&amp;quot;access-p1.jpg&amp;quot; &lt;br /&gt;
			mimeType=&amp;quot;image/jpeg&amp;quot;&lt;br /&gt;
			scale=&amp;quot;1.0&amp;quot;&lt;br /&gt;
			leftX=&amp;quot;10mm&amp;quot;&lt;br /&gt;
			topY=&amp;quot;10mm&amp;quot;&lt;br /&gt;
			width=&amp;quot;80mm&amp;quot;&lt;br /&gt;
			height=&amp;quot;100mm&amp;quot;/&amp;gt;&lt;br /&gt;
		&amp;lt;!-- an SVG customisation should allow svg:svg here --&amp;gt;&lt;br /&gt;
	&amp;lt;/pg&amp;gt;&lt;br /&gt;
&lt;br /&gt;
	&amp;lt;!-- more pages ... --&amp;gt;&lt;br /&gt;
	&amp;lt;pg xml:id=&amp;quot;pg2&amp;quot; width=&amp;quot;100mm&amp;quot; height=&amp;quot;120mm&amp;quot;&amp;gt;&lt;br /&gt;
		&amp;lt;graphic facsimileType=&amp;quot;#thumbnail&amp;quot; xml:id=&amp;quot;thumb-p2&amp;quot; url=&amp;quot;thumb-p2.jpg&amp;quot; mimeType=&amp;quot;image/jpeg&amp;quot;/&amp;gt;&lt;br /&gt;
		&amp;lt;graphic facsimileType=&amp;quot;#access&amp;quot; xml:id=&amp;quot;access-p2&amp;quot; url=&amp;quot;access-p2.jpg&amp;quot; mimeType=&amp;quot;image/jpeg&amp;quot;/&amp;gt;&lt;br /&gt;
	&amp;lt;/pg&amp;gt;&lt;br /&gt;
&lt;br /&gt;
	...&lt;br /&gt;
&amp;lt;/teiHeader&amp;gt;&lt;br /&gt;
&amp;lt;body&amp;gt;&lt;br /&gt;
	...&lt;br /&gt;
	&amp;lt;pb xml:id=&amp;quot;pb1&amp;quot; decls=&amp;quot;#pg1&amp;quot;/&amp;gt;&lt;br /&gt;
	...&lt;br /&gt;
	&amp;lt;!-- the paragraph below occupies the rectangle whose corners are (20, 200) and (120, 230) --&amp;gt;&lt;br /&gt;
	&amp;lt;p leftX=&amp;quot;20&amp;quot; topY=&amp;quot;200&amp;quot; width=&amp;quot;100&amp;quot; height=&amp;quot;30&amp;quot;&amp;gt;Blah blah blah blah blah.&amp;lt;/p&amp;gt;&lt;br /&gt;
	...&lt;br /&gt;
	&amp;lt;pb xml:id=&amp;quot;pb2&amp;quot; decls=&amp;quot;#pg2&amp;quot;/&amp;gt;&lt;br /&gt;
	...&lt;br /&gt;
	&amp;lt;pb xml:id=&amp;quot;pb3&amp;quot; decls=&amp;quot;#pg3&amp;quot;/&amp;gt;&lt;br /&gt;
	...&lt;br /&gt;
	&amp;lt;pb xml:id=&amp;quot;pb4&amp;quot; decls=&amp;quot;#pg4&amp;quot;/&amp;gt;&lt;br /&gt;
	...&lt;br /&gt;
	&amp;lt;pb xml:id=&amp;quot;pb5&amp;quot; decls=&amp;quot;#pg5&amp;quot;/&amp;gt;&lt;br /&gt;
	...&lt;br /&gt;
&amp;lt;/body&amp;gt;&lt;br /&gt;
&amp;lt;/TEI&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
= v2 =&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;TEI&amp;gt;&lt;br /&gt;
&amp;lt;teiHeader&amp;gt;&lt;br /&gt;
&lt;br /&gt;
	&amp;lt;taxonomy id=&amp;quot;facsimile-types&amp;quot;&amp;gt;&lt;br /&gt;
		&amp;lt;!-- seems to me there are a variety of possible facsimile types ('uses'), --&amp;gt;&lt;br /&gt;
		&amp;lt;!-- and that projects might come up with new ones, or specialize existing ones --&amp;gt;&lt;br /&gt;
		&amp;lt;!-- as in the &amp;quot;very-small-thumbnail&amp;quot; below, which would mean providing a basic --&amp;gt;&lt;br /&gt;
		&amp;lt;!-- taxonomy which would be shared and part of the guidelines, while allowing --&amp;gt;&lt;br /&gt;
		&amp;lt;!-- extension --&amp;gt;&lt;br /&gt;
		&amp;lt;!-- how to use with tei:ref/@type? or replace tei:ref below with something else? --&amp;gt;&lt;br /&gt;
		&amp;lt;bibl&amp;gt;&lt;br /&gt;
			&amp;lt;ref target=&amp;quot;{pointer to a standard taxonomy of basic facsimile roles/relationships}&amp;quot;/&amp;gt;&lt;br /&gt;
		&amp;lt;/bibl&amp;gt;&lt;br /&gt;
		&amp;lt;category xml:id=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
			&amp;lt;catDesc&amp;gt;Textual form&amp;lt;/catDesc&amp;gt;&lt;br /&gt;
		&amp;lt;/category&amp;gt;&lt;br /&gt;
		&amp;lt;category xml:id=&amp;quot;thumbnail&amp;quot;&amp;gt;&lt;br /&gt;
			&amp;lt;catDesc&amp;gt;Thumbnail image&amp;lt;/catDesc&amp;gt;&lt;br /&gt;
			&amp;lt;category xml:id=&amp;quot;very-small-thumbnail&amp;quot;&amp;gt;&lt;br /&gt;
				&amp;lt;catDesc&amp;gt;Extra small thumbnail&amp;lt;/catDesc&amp;gt;&lt;br /&gt;
			&amp;lt;/category&amp;gt;&lt;br /&gt;
		&amp;lt;/category&amp;gt;&lt;br /&gt;
		&amp;lt;category xml:id=&amp;quot;access&amp;quot;&amp;gt;&lt;br /&gt;
			&amp;lt;catDesc&amp;gt;Large image&amp;lt;/catDesc&amp;gt;&lt;br /&gt;
		&amp;lt;/category&amp;gt;&lt;br /&gt;
		&amp;lt;category xml:id=&amp;quot;annotation&amp;quot;&amp;gt;&lt;br /&gt;
			&amp;lt;catDesc&amp;gt;Large annotated image&amp;lt;/catDesc&amp;gt;&lt;br /&gt;
		&amp;lt;/category&amp;gt;&lt;br /&gt;
	&amp;lt;/taxonomy&amp;gt;&lt;br /&gt;
&lt;br /&gt;
	...&lt;br /&gt;
	&amp;lt;!-- list of pages --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
	&amp;lt;!-- each page corresponds to a span of text using @from and @to (cf. span element), and has physical dimensions --&amp;gt;&lt;br /&gt;
	&amp;lt;pg xml:id=&amp;quot;pg1&amp;quot; from=&amp;quot;#pb1&amp;quot; to=&amp;quot;#pb2&amp;quot; width=&amp;quot;100mm&amp;quot; height=&amp;quot;120mm&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
		&amp;lt;!-- list of graphics which are images of this page --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
		&amp;lt;!-- @graphicType allows classification of graphics by resolution, equipment, or suitability for purpose --&amp;gt;&lt;br /&gt;
		&amp;lt;!-- xml:id, url, and mimeType are all existing attributes of tei:graphic --&amp;gt;&lt;br /&gt;
		&amp;lt;!-- The other attributes would give the position of the corner of the graphic (in the coordinate space of the &lt;br /&gt;
		parent pg element). NB the thumbnail and access images below have different scales, but they both cover the&lt;br /&gt;
		same area of the page, namely the region stretching from a point 10mm in from the left margin of the page,&lt;br /&gt;
		and 10mm down from the top of the page, down 8cm and across 10cm. If the image files were cropped to exactly&lt;br /&gt;
		match the size of the page, they would have leftX and leftY equal to 0. If the scans included white space&lt;br /&gt;
		around the edge of the physical pages, then the values would be negative. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
		&amp;lt;graphic &lt;br /&gt;
			facsimileType=&amp;quot;#thumbnail&amp;quot; &lt;br /&gt;
			xml:id=&amp;quot;thumb-p1&amp;quot; &lt;br /&gt;
			url=&amp;quot;thumb-p1.jpg&amp;quot; &lt;br /&gt;
			mimeType=&amp;quot;image/jpeg&amp;quot;&lt;br /&gt;
			scale=&amp;quot;4.0&amp;quot;&lt;br /&gt;
			leftX=&amp;quot;10mm&amp;quot;&lt;br /&gt;
			topY=&amp;quot;10mm&amp;quot;&lt;br /&gt;
			width=&amp;quot;80mm&amp;quot;&lt;br /&gt;
			height=&amp;quot;100mm&amp;quot;/&amp;gt;&lt;br /&gt;
		&amp;lt;graphic &lt;br /&gt;
			graphicType=&amp;quot;#access&amp;quot; &lt;br /&gt;
			xml:id=&amp;quot;access-p1&amp;quot; &lt;br /&gt;
			url=&amp;quot;access-p1.jpg&amp;quot; &lt;br /&gt;
			mimeType=&amp;quot;image/jpeg&amp;quot;&lt;br /&gt;
			scale=&amp;quot;1.0&amp;quot;&lt;br /&gt;
			leftX=&amp;quot;10mm&amp;quot;&lt;br /&gt;
			topY=&amp;quot;10mm&amp;quot;&lt;br /&gt;
			width=&amp;quot;80mm&amp;quot;&lt;br /&gt;
			height=&amp;quot;100mm&amp;quot;/&amp;gt;&lt;br /&gt;
		&amp;lt;!-- an SVG customisation should allow svg:svg here --&amp;gt;&lt;br /&gt;
	&amp;lt;/pg&amp;gt;&lt;br /&gt;
&lt;br /&gt;
	&amp;lt;!-- more pages ... --&amp;gt;&lt;br /&gt;
	&amp;lt;pg xml:id=&amp;quot;pg2&amp;quot; from=&amp;quot;#pb2&amp;quot; to=&amp;quot;#pb3&amp;quot; width=&amp;quot;100mm&amp;quot; height=&amp;quot;120mm&amp;quot;&amp;gt;&lt;br /&gt;
		&amp;lt;graphic facsimileType=&amp;quot;#thumbnail&amp;quot; xml:id=&amp;quot;thumb-p2&amp;quot; url=&amp;quot;thumb-p2.jpg&amp;quot; mimeType=&amp;quot;image/jpeg&amp;quot;/&amp;gt;&lt;br /&gt;
		&amp;lt;graphic facsimileType=&amp;quot;#access&amp;quot; xml:id=&amp;quot;access-p2&amp;quot; url=&amp;quot;access-p2.jpg&amp;quot; mimeType=&amp;quot;image/jpeg&amp;quot;/&amp;gt;&lt;br /&gt;
	&amp;lt;/pg&amp;gt;&lt;br /&gt;
&lt;br /&gt;
	...&lt;br /&gt;
&amp;lt;/teiHeader&amp;gt;&lt;br /&gt;
&amp;lt;body&amp;gt;&lt;br /&gt;
	...&lt;br /&gt;
	&amp;lt;pb xml:id=&amp;quot;pb1&amp;quot;/&amp;gt;&lt;br /&gt;
	...&lt;br /&gt;
	&amp;lt;!-- the paragraph below occupies the rectangle whose corners are (20, 200) and (120, 230) --&amp;gt;&lt;br /&gt;
	&amp;lt;p leftX=&amp;quot;20&amp;quot; topY=&amp;quot;200&amp;quot; width=&amp;quot;100&amp;quot; height=&amp;quot;30&amp;quot;&amp;gt;Blah blah blah blah blah.&amp;lt;/p&amp;gt;&lt;br /&gt;
	...&lt;br /&gt;
	&amp;lt;pb xml:id=&amp;quot;pb2&amp;quot;/&amp;gt;&lt;br /&gt;
	...&lt;br /&gt;
	&amp;lt;pb xml:id=&amp;quot;pb3&amp;quot;/&amp;gt;&lt;br /&gt;
	...&lt;br /&gt;
	&amp;lt;pb xml:id=&amp;quot;pb4&amp;quot;/&amp;gt;&lt;br /&gt;
	...&lt;br /&gt;
	&amp;lt;pb xml:id=&amp;quot;pb5&amp;quot;/&amp;gt;&lt;br /&gt;
	...&lt;br /&gt;
&amp;lt;/body&amp;gt;&lt;br /&gt;
&amp;lt;/TEI&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= v1 =&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;teiHeader&amp;gt;&lt;br /&gt;
&lt;br /&gt;
	&amp;lt;taxonomy id=&amp;quot;facsimile-types&amp;quot;&amp;gt;&lt;br /&gt;
		&amp;lt;!-- seems to me there are a variety of possible facsimile types ('uses'), --&amp;gt;&lt;br /&gt;
		&amp;lt;!-- and that projects might come up with new ones, or specialize existing ones --&amp;gt;&lt;br /&gt;
		&amp;lt;!-- as in the &amp;quot;very-small-thumbnail&amp;quot; below, which would mean providing a basic --&amp;gt;&lt;br /&gt;
		&amp;lt;!-- taxonomy which would be shared and part of the guidelines, while allowing --&amp;gt;&lt;br /&gt;
		&amp;lt;!-- extension --&amp;gt;&lt;br /&gt;
		&amp;lt;!-- how to use with tei:ref/@type? or replace tei:ref below with something else? --&amp;gt;&lt;br /&gt;
		&amp;lt;bibl&amp;gt;&lt;br /&gt;
			&amp;lt;ref target=&amp;quot;{pointer to a standard taxonomy of basic facsimile roles/relationships}&amp;quot;/&amp;gt;&lt;br /&gt;
		&amp;lt;/bibl&amp;gt;&lt;br /&gt;
		&amp;lt;category xml:id=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
			&amp;lt;catDesc&amp;gt;Textual form&amp;lt;/catDesc&amp;gt;&lt;br /&gt;
		&amp;lt;/category&amp;gt;&lt;br /&gt;
		&amp;lt;category xml:id=&amp;quot;thumbnail&amp;quot;&amp;gt;&lt;br /&gt;
			&amp;lt;catDesc&amp;gt;Thumbnail image&amp;lt;/catDesc&amp;gt;&lt;br /&gt;
			&amp;lt;category xml:id=&amp;quot;very-small-thumbnail&amp;quot;&amp;gt;&lt;br /&gt;
				&amp;lt;catDesc&amp;gt;Extra small thumbnail&amp;lt;/catDesc&amp;gt;&lt;br /&gt;
			&amp;lt;/category&amp;gt;&lt;br /&gt;
		&amp;lt;/category&amp;gt;&lt;br /&gt;
		&amp;lt;category xml:id=&amp;quot;access&amp;quot;&amp;gt;&lt;br /&gt;
			&amp;lt;catDesc&amp;gt;Large image&amp;lt;/catDesc&amp;gt;&lt;br /&gt;
		&amp;lt;/category&amp;gt;&lt;br /&gt;
		&amp;lt;category xml:id=&amp;quot;annotation&amp;quot;&amp;gt;&lt;br /&gt;
			&amp;lt;catDesc&amp;gt;Large annotated image&amp;lt;/catDesc&amp;gt;&lt;br /&gt;
		&amp;lt;/category&amp;gt;&lt;br /&gt;
	&amp;lt;/taxonomy&amp;gt;&lt;br /&gt;
&lt;br /&gt;
	...&lt;br /&gt;
	&amp;lt;facsimileStmt&amp;gt;&lt;br /&gt;
		&amp;lt;facsimileList&amp;gt;&amp;lt;!-- list of facsimile images, inline or external --&amp;gt;&lt;br /&gt;
			&amp;lt;graphic xml:id=&amp;quot;thumb-p1&amp;quot; url=&amp;quot;thumb-p1.jpg&amp;quot; mimeType=&amp;quot;image/jpeg&amp;quot;/&amp;gt;&lt;br /&gt;
			&amp;lt;graphic xml:id=&amp;quot;access-p1&amp;quot; url=&amp;quot;access-p1.jpg&amp;quot; mimeType=&amp;quot;image/jpeg&amp;quot;/&amp;gt;&lt;br /&gt;
			...&lt;br /&gt;
			&amp;lt;svg:svg xml:id=&amp;quot;detail-unclear-22&amp;quot; xmlns:svg=&amp;quot;http://www.w3.org/2000/svg&amp;quot;&amp;gt;&lt;br /&gt;
				&amp;lt;!-- svg image could be zoomed and cropped here to a detail --&amp;gt;&lt;br /&gt;
				&amp;lt;svg:image id=&amp;quot;svg1-access-p1-detail&amp;quot; x=&amp;quot;0&amp;quot; y=&amp;quot;0&amp;quot; width=&amp;quot;100&amp;quot; height=&amp;quot;100&amp;quot; &lt;br /&gt;
				xmlns:xlink=&amp;quot;http://www.w3.org/1999/xlink&amp;quot; xlink:href=&amp;quot;access-p1.jpg&amp;quot;/&amp;gt;&lt;br /&gt;
			&amp;lt;/svg:svg&amp;gt;&lt;br /&gt;
			...&lt;br /&gt;
		&amp;lt;/facsimileList&amp;gt;&lt;br /&gt;
		&amp;lt;facsimileLinks&amp;gt;&lt;br /&gt;
			&amp;lt;facsimileLink&amp;gt;&amp;lt;!-- group of links to equivalents --&amp;gt;&lt;br /&gt;
				&amp;lt;ref type=&amp;quot;text&amp;quot; target=&amp;quot;#pb1&amp;quot;/&amp;gt;&lt;br /&gt;
				&amp;lt;ref type=&amp;quot;thumbnail&amp;quot; target=&amp;quot;#thumb-p1&amp;quot;/&amp;gt;&lt;br /&gt;
				&amp;lt;ref type=&amp;quot;access&amp;quot; target=&amp;quot;#access-p1&amp;quot;/&amp;gt;&lt;br /&gt;
				&amp;lt;ref type=&amp;quot;annotation&amp;quot; target=&amp;quot;#annotation-p1&amp;quot;/&amp;gt;&lt;br /&gt;
			&amp;lt;/facsimileLink&amp;gt;&lt;br /&gt;
			&amp;lt;facsimileLink&amp;gt;&lt;br /&gt;
				&amp;lt;ref type=&amp;quot;text&amp;quot; target=&amp;quot;#unclear-22&amp;quot;/&amp;gt;&lt;br /&gt;
				&amp;lt;ref type=&amp;quot;access&amp;quot; target=&amp;quot;#detail-unclear-22&amp;quot;/&amp;gt;&lt;br /&gt;
			&amp;lt;/facsimileLink&amp;gt;&lt;br /&gt;
			...&lt;br /&gt;
		&amp;lt;/facsimileLinks&amp;gt;&lt;br /&gt;
		&lt;br /&gt;
	&amp;lt;/facsimileStmt&amp;gt;&lt;br /&gt;
	...&lt;br /&gt;
&amp;lt;/teiHeader&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Conal</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.tei-c.org/index.php?title=StrawManFacsimileMarkup&amp;diff=2700</id>
		<title>StrawManFacsimileMarkup</title>
		<link rel="alternate" type="text/html" href="https://wiki.tei-c.org/index.php?title=StrawManFacsimileMarkup&amp;diff=2700"/>
		<updated>2006-07-25T07:34:50Z</updated>

		<summary type="html">&lt;p&gt;Conal: /* v2 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= v2 =&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;TEI&amp;gt;&lt;br /&gt;
&amp;lt;teiHeader&amp;gt;&lt;br /&gt;
&lt;br /&gt;
	&amp;lt;taxonomy id=&amp;quot;facsimile-types&amp;quot;&amp;gt;&lt;br /&gt;
		&amp;lt;!-- seems to me there are a variety of possible facsimile types ('uses'), --&amp;gt;&lt;br /&gt;
		&amp;lt;!-- and that projects might come up with new ones, or specialize existing ones --&amp;gt;&lt;br /&gt;
		&amp;lt;!-- as in the &amp;quot;very-small-thumbnail&amp;quot; below, which would mean providing a basic --&amp;gt;&lt;br /&gt;
		&amp;lt;!-- taxonomy which would be shared and part of the guidelines, while allowing --&amp;gt;&lt;br /&gt;
		&amp;lt;!-- extension --&amp;gt;&lt;br /&gt;
		&amp;lt;!-- how to use with tei:ref/@type? or replace tei:ref below with something else? --&amp;gt;&lt;br /&gt;
		&amp;lt;bibl&amp;gt;&lt;br /&gt;
			&amp;lt;ref target=&amp;quot;{pointer to a standard taxonomy of basic facsimile roles/relationships}&amp;quot;/&amp;gt;&lt;br /&gt;
		&amp;lt;/bibl&amp;gt;&lt;br /&gt;
		&amp;lt;category xml:id=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
			&amp;lt;catDesc&amp;gt;Textual form&amp;lt;/catDesc&amp;gt;&lt;br /&gt;
		&amp;lt;/category&amp;gt;&lt;br /&gt;
		&amp;lt;category xml:id=&amp;quot;thumbnail&amp;quot;&amp;gt;&lt;br /&gt;
			&amp;lt;catDesc&amp;gt;Thumbnail image&amp;lt;/catDesc&amp;gt;&lt;br /&gt;
			&amp;lt;category xml:id=&amp;quot;very-small-thumbnail&amp;quot;&amp;gt;&lt;br /&gt;
				&amp;lt;catDesc&amp;gt;Extra small thumbnail&amp;lt;/catDesc&amp;gt;&lt;br /&gt;
			&amp;lt;/category&amp;gt;&lt;br /&gt;
		&amp;lt;/category&amp;gt;&lt;br /&gt;
		&amp;lt;category xml:id=&amp;quot;access&amp;quot;&amp;gt;&lt;br /&gt;
			&amp;lt;catDesc&amp;gt;Large image&amp;lt;/catDesc&amp;gt;&lt;br /&gt;
		&amp;lt;/category&amp;gt;&lt;br /&gt;
		&amp;lt;category xml:id=&amp;quot;annotation&amp;quot;&amp;gt;&lt;br /&gt;
			&amp;lt;catDesc&amp;gt;Large annotated image&amp;lt;/catDesc&amp;gt;&lt;br /&gt;
		&amp;lt;/category&amp;gt;&lt;br /&gt;
	&amp;lt;/taxonomy&amp;gt;&lt;br /&gt;
&lt;br /&gt;
	...&lt;br /&gt;
	&amp;lt;!-- list of pages --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
	&amp;lt;!-- each page corresponds to a span of text using @from and @to (cf. span element), and has physical dimensions --&amp;gt;&lt;br /&gt;
	&amp;lt;pg xml:id=&amp;quot;pg1&amp;quot; from=&amp;quot;#pb1&amp;quot; to=&amp;quot;#pb2&amp;quot; width=&amp;quot;100mm&amp;quot; height=&amp;quot;120mm&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
		&amp;lt;!-- list of graphics which are images of this page --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
		&amp;lt;!-- @graphicType allows classification of graphics by resolution, equipment, or suitability for purpose --&amp;gt;&lt;br /&gt;
		&amp;lt;!-- xml:id, url, and mimeType are all existing attributes of tei:graphic --&amp;gt;&lt;br /&gt;
		&amp;lt;!-- The other attributes would give the position of the corner of the graphic (in the coordinate space of the &lt;br /&gt;
		parent pg element). NB the thumbnail and access images below have different scales, but they both cover the&lt;br /&gt;
		same area of the page, namely the region stretching from a point 10mm in from the left margin of the page,&lt;br /&gt;
		and 10mm down from the top of the page, down 8cm and across 10cm. If the image files were cropped to exactly&lt;br /&gt;
		match the size of the page, they would have leftX and leftY equal to 0. If the scans included white space&lt;br /&gt;
		around the edge of the physical pages, then the values would be negative. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
		&amp;lt;graphic &lt;br /&gt;
			facsimileType=&amp;quot;#thumbnail&amp;quot; &lt;br /&gt;
			xml:id=&amp;quot;thumb-p1&amp;quot; &lt;br /&gt;
			url=&amp;quot;thumb-p1.jpg&amp;quot; &lt;br /&gt;
			mimeType=&amp;quot;image/jpeg&amp;quot;&lt;br /&gt;
			scale=&amp;quot;4.0&amp;quot;&lt;br /&gt;
			leftX=&amp;quot;10mm&amp;quot;&lt;br /&gt;
			topY=&amp;quot;10mm&amp;quot;&lt;br /&gt;
			width=&amp;quot;80mm&amp;quot;&lt;br /&gt;
			height=&amp;quot;100mm&amp;quot;/&amp;gt;&lt;br /&gt;
		&amp;lt;graphic &lt;br /&gt;
			graphicType=&amp;quot;#access&amp;quot; &lt;br /&gt;
			xml:id=&amp;quot;access-p1&amp;quot; &lt;br /&gt;
			url=&amp;quot;access-p1.jpg&amp;quot; &lt;br /&gt;
			mimeType=&amp;quot;image/jpeg&amp;quot;&lt;br /&gt;
			scale=&amp;quot;1.0&amp;quot;&lt;br /&gt;
			leftX=&amp;quot;10mm&amp;quot;&lt;br /&gt;
			topY=&amp;quot;10mm&amp;quot;&lt;br /&gt;
			width=&amp;quot;80mm&amp;quot;&lt;br /&gt;
			height=&amp;quot;100mm&amp;quot;/&amp;gt;&lt;br /&gt;
		&amp;lt;!-- an SVG customisation should allow svg:svg here --&amp;gt;&lt;br /&gt;
	&amp;lt;/pg&amp;gt;&lt;br /&gt;
&lt;br /&gt;
	&amp;lt;!-- more pages ... --&amp;gt;&lt;br /&gt;
	&amp;lt;pg xml:id=&amp;quot;pg2&amp;quot; from=&amp;quot;#pb2&amp;quot; to=&amp;quot;#pb3&amp;quot; width=&amp;quot;100mm&amp;quot; height=&amp;quot;120mm&amp;quot;&amp;gt;&lt;br /&gt;
		&amp;lt;graphic facsimileType=&amp;quot;#thumbnail&amp;quot; xml:id=&amp;quot;thumb-p2&amp;quot; url=&amp;quot;thumb-p2.jpg&amp;quot; mimeType=&amp;quot;image/jpeg&amp;quot;/&amp;gt;&lt;br /&gt;
		&amp;lt;graphic facsimileType=&amp;quot;#access&amp;quot; xml:id=&amp;quot;access-p2&amp;quot; url=&amp;quot;access-p2.jpg&amp;quot; mimeType=&amp;quot;image/jpeg&amp;quot;/&amp;gt;&lt;br /&gt;
	&amp;lt;/pg&amp;gt;&lt;br /&gt;
&lt;br /&gt;
	...&lt;br /&gt;
&amp;lt;/teiHeader&amp;gt;&lt;br /&gt;
&amp;lt;body&amp;gt;&lt;br /&gt;
	...&lt;br /&gt;
	&amp;lt;pb xml:id=&amp;quot;pb1&amp;quot;/&amp;gt;&lt;br /&gt;
	...&lt;br /&gt;
	&amp;lt;!-- the paragraph below occupies the rectangle whose corners are (20, 200) and (120, 230) --&amp;gt;&lt;br /&gt;
	&amp;lt;p leftX=&amp;quot;20&amp;quot; topY=&amp;quot;200&amp;quot; width=&amp;quot;100&amp;quot; height=&amp;quot;30&amp;quot;&amp;gt;Blah blah blah blah blah.&amp;lt;/p&amp;gt;&lt;br /&gt;
	...&lt;br /&gt;
	&amp;lt;pb xml:id=&amp;quot;pb2&amp;quot;/&amp;gt;&lt;br /&gt;
	...&lt;br /&gt;
	&amp;lt;pb xml:id=&amp;quot;pb3&amp;quot;/&amp;gt;&lt;br /&gt;
	...&lt;br /&gt;
	&amp;lt;pb xml:id=&amp;quot;pb4&amp;quot;/&amp;gt;&lt;br /&gt;
	...&lt;br /&gt;
	&amp;lt;pb xml:id=&amp;quot;pb5&amp;quot;/&amp;gt;&lt;br /&gt;
	...&lt;br /&gt;
&amp;lt;/body&amp;gt;&lt;br /&gt;
&amp;lt;/TEI&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= v1 =&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;teiHeader&amp;gt;&lt;br /&gt;
&lt;br /&gt;
	&amp;lt;taxonomy id=&amp;quot;facsimile-types&amp;quot;&amp;gt;&lt;br /&gt;
		&amp;lt;!-- seems to me there are a variety of possible facsimile types ('uses'), --&amp;gt;&lt;br /&gt;
		&amp;lt;!-- and that projects might come up with new ones, or specialize existing ones --&amp;gt;&lt;br /&gt;
		&amp;lt;!-- as in the &amp;quot;very-small-thumbnail&amp;quot; below, which would mean providing a basic --&amp;gt;&lt;br /&gt;
		&amp;lt;!-- taxonomy which would be shared and part of the guidelines, while allowing --&amp;gt;&lt;br /&gt;
		&amp;lt;!-- extension --&amp;gt;&lt;br /&gt;
		&amp;lt;!-- how to use with tei:ref/@type? or replace tei:ref below with something else? --&amp;gt;&lt;br /&gt;
		&amp;lt;bibl&amp;gt;&lt;br /&gt;
			&amp;lt;ref target=&amp;quot;{pointer to a standard taxonomy of basic facsimile roles/relationships}&amp;quot;/&amp;gt;&lt;br /&gt;
		&amp;lt;/bibl&amp;gt;&lt;br /&gt;
		&amp;lt;category xml:id=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
			&amp;lt;catDesc&amp;gt;Textual form&amp;lt;/catDesc&amp;gt;&lt;br /&gt;
		&amp;lt;/category&amp;gt;&lt;br /&gt;
		&amp;lt;category xml:id=&amp;quot;thumbnail&amp;quot;&amp;gt;&lt;br /&gt;
			&amp;lt;catDesc&amp;gt;Thumbnail image&amp;lt;/catDesc&amp;gt;&lt;br /&gt;
			&amp;lt;category xml:id=&amp;quot;very-small-thumbnail&amp;quot;&amp;gt;&lt;br /&gt;
				&amp;lt;catDesc&amp;gt;Extra small thumbnail&amp;lt;/catDesc&amp;gt;&lt;br /&gt;
			&amp;lt;/category&amp;gt;&lt;br /&gt;
		&amp;lt;/category&amp;gt;&lt;br /&gt;
		&amp;lt;category xml:id=&amp;quot;access&amp;quot;&amp;gt;&lt;br /&gt;
			&amp;lt;catDesc&amp;gt;Large image&amp;lt;/catDesc&amp;gt;&lt;br /&gt;
		&amp;lt;/category&amp;gt;&lt;br /&gt;
		&amp;lt;category xml:id=&amp;quot;annotation&amp;quot;&amp;gt;&lt;br /&gt;
			&amp;lt;catDesc&amp;gt;Large annotated image&amp;lt;/catDesc&amp;gt;&lt;br /&gt;
		&amp;lt;/category&amp;gt;&lt;br /&gt;
	&amp;lt;/taxonomy&amp;gt;&lt;br /&gt;
&lt;br /&gt;
	...&lt;br /&gt;
	&amp;lt;facsimileStmt&amp;gt;&lt;br /&gt;
		&amp;lt;facsimileList&amp;gt;&amp;lt;!-- list of facsimile images, inline or external --&amp;gt;&lt;br /&gt;
			&amp;lt;graphic xml:id=&amp;quot;thumb-p1&amp;quot; url=&amp;quot;thumb-p1.jpg&amp;quot; mimeType=&amp;quot;image/jpeg&amp;quot;/&amp;gt;&lt;br /&gt;
			&amp;lt;graphic xml:id=&amp;quot;access-p1&amp;quot; url=&amp;quot;access-p1.jpg&amp;quot; mimeType=&amp;quot;image/jpeg&amp;quot;/&amp;gt;&lt;br /&gt;
			...&lt;br /&gt;
			&amp;lt;svg:svg xml:id=&amp;quot;detail-unclear-22&amp;quot; xmlns:svg=&amp;quot;http://www.w3.org/2000/svg&amp;quot;&amp;gt;&lt;br /&gt;
				&amp;lt;!-- svg image could be zoomed and cropped here to a detail --&amp;gt;&lt;br /&gt;
				&amp;lt;svg:image id=&amp;quot;svg1-access-p1-detail&amp;quot; x=&amp;quot;0&amp;quot; y=&amp;quot;0&amp;quot; width=&amp;quot;100&amp;quot; height=&amp;quot;100&amp;quot; &lt;br /&gt;
				xmlns:xlink=&amp;quot;http://www.w3.org/1999/xlink&amp;quot; xlink:href=&amp;quot;access-p1.jpg&amp;quot;/&amp;gt;&lt;br /&gt;
			&amp;lt;/svg:svg&amp;gt;&lt;br /&gt;
			...&lt;br /&gt;
		&amp;lt;/facsimileList&amp;gt;&lt;br /&gt;
		&amp;lt;facsimileLinks&amp;gt;&lt;br /&gt;
			&amp;lt;facsimileLink&amp;gt;&amp;lt;!-- group of links to equivalents --&amp;gt;&lt;br /&gt;
				&amp;lt;ref type=&amp;quot;text&amp;quot; target=&amp;quot;#pb1&amp;quot;/&amp;gt;&lt;br /&gt;
				&amp;lt;ref type=&amp;quot;thumbnail&amp;quot; target=&amp;quot;#thumb-p1&amp;quot;/&amp;gt;&lt;br /&gt;
				&amp;lt;ref type=&amp;quot;access&amp;quot; target=&amp;quot;#access-p1&amp;quot;/&amp;gt;&lt;br /&gt;
				&amp;lt;ref type=&amp;quot;annotation&amp;quot; target=&amp;quot;#annotation-p1&amp;quot;/&amp;gt;&lt;br /&gt;
			&amp;lt;/facsimileLink&amp;gt;&lt;br /&gt;
			&amp;lt;facsimileLink&amp;gt;&lt;br /&gt;
				&amp;lt;ref type=&amp;quot;text&amp;quot; target=&amp;quot;#unclear-22&amp;quot;/&amp;gt;&lt;br /&gt;
				&amp;lt;ref type=&amp;quot;access&amp;quot; target=&amp;quot;#detail-unclear-22&amp;quot;/&amp;gt;&lt;br /&gt;
			&amp;lt;/facsimileLink&amp;gt;&lt;br /&gt;
			...&lt;br /&gt;
		&amp;lt;/facsimileLinks&amp;gt;&lt;br /&gt;
		&lt;br /&gt;
	&amp;lt;/facsimileStmt&amp;gt;&lt;br /&gt;
	...&lt;br /&gt;
&amp;lt;/teiHeader&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Conal</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.tei-c.org/index.php?title=StrawManFacsimileMarkup&amp;diff=2699</id>
		<title>StrawManFacsimileMarkup</title>
		<link rel="alternate" type="text/html" href="https://wiki.tei-c.org/index.php?title=StrawManFacsimileMarkup&amp;diff=2699"/>
		<updated>2006-07-25T07:28:22Z</updated>

		<summary type="html">&lt;p&gt;Conal: /* v2 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= v2 =&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;TEI&amp;gt;&lt;br /&gt;
&amp;lt;teiHeader&amp;gt;&lt;br /&gt;
&lt;br /&gt;
	&amp;lt;taxonomy id=&amp;quot;facsimile-types&amp;quot;&amp;gt;&lt;br /&gt;
		&amp;lt;!-- seems to me there are a variety of possible facsimile types ('uses'), --&amp;gt;&lt;br /&gt;
		&amp;lt;!-- and that projects might come up with new ones, or specialize existing ones --&amp;gt;&lt;br /&gt;
		&amp;lt;!-- as in the &amp;quot;very-small-thumbnail&amp;quot; below, which would mean providing a basic --&amp;gt;&lt;br /&gt;
		&amp;lt;!-- taxonomy which would be shared and part of the guidelines, while allowing --&amp;gt;&lt;br /&gt;
		&amp;lt;!-- extension --&amp;gt;&lt;br /&gt;
		&amp;lt;!-- how to use with tei:ref/@type? or replace tei:ref below with something else? --&amp;gt;&lt;br /&gt;
		&amp;lt;bibl&amp;gt;&lt;br /&gt;
			&amp;lt;ref target=&amp;quot;{pointer to a standard taxonomy of basic facsimile roles/relationships}&amp;quot;/&amp;gt;&lt;br /&gt;
		&amp;lt;/bibl&amp;gt;&lt;br /&gt;
		&amp;lt;category xml:id=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
			&amp;lt;catDesc&amp;gt;Textual form&amp;lt;/catDesc&amp;gt;&lt;br /&gt;
		&amp;lt;/category&amp;gt;&lt;br /&gt;
		&amp;lt;category xml:id=&amp;quot;thumbnail&amp;quot;&amp;gt;&lt;br /&gt;
			&amp;lt;catDesc&amp;gt;Thumbnail image&amp;lt;/catDesc&amp;gt;&lt;br /&gt;
			&amp;lt;category xml:id=&amp;quot;very-small-thumbnail&amp;quot;&amp;gt;&lt;br /&gt;
				&amp;lt;catDesc&amp;gt;Extra small thumbnail&amp;lt;/catDesc&amp;gt;&lt;br /&gt;
			&amp;lt;/category&amp;gt;&lt;br /&gt;
		&amp;lt;/category&amp;gt;&lt;br /&gt;
		&amp;lt;category xml:id=&amp;quot;access&amp;quot;&amp;gt;&lt;br /&gt;
			&amp;lt;catDesc&amp;gt;Large image&amp;lt;/catDesc&amp;gt;&lt;br /&gt;
		&amp;lt;/category&amp;gt;&lt;br /&gt;
		&amp;lt;category xml:id=&amp;quot;annotation&amp;quot;&amp;gt;&lt;br /&gt;
			&amp;lt;catDesc&amp;gt;Large annotated image&amp;lt;/catDesc&amp;gt;&lt;br /&gt;
		&amp;lt;/category&amp;gt;&lt;br /&gt;
	&amp;lt;/taxonomy&amp;gt;&lt;br /&gt;
&lt;br /&gt;
	...&lt;br /&gt;
	&amp;lt;!-- list of facsimile images --&amp;gt;&lt;br /&gt;
	&amp;lt;pg xml:id=&amp;quot;pg1&amp;quot; from=&amp;quot;#pb1&amp;quot; to=&amp;quot;#pb2&amp;quot; width=&amp;quot;100mm&amp;quot; height=&amp;quot;120mm&amp;quot;&amp;gt;&lt;br /&gt;
		&amp;lt;!-- @graphicType allows classification of graphics by resolution, equipment, or suitability for purpose --&amp;gt;&lt;br /&gt;
		&amp;lt;!-- xml:id, url, and mimeType are all existing attributes of tei:graphic --&amp;gt;&lt;br /&gt;
		&amp;lt;!-- The other attributes would give the position of the corner of the graphic (in the coordinate space of the &lt;br /&gt;
		parent pg element). NB the thumbnail and access images below have different scales, but they both cover the&lt;br /&gt;
		same area of the page, namely the region stretching from a point 10mm in from the left margin of the page,&lt;br /&gt;
		and 10mm down from the top of the page, down 8cm and across 10cm. If the image files were cropped to exactly&lt;br /&gt;
		match the size of the page, they would have leftX and leftY equal to 0. If the scans included white space&lt;br /&gt;
		around the edge of the physical pages, then the values would be negative. --&amp;gt;&lt;br /&gt;
		&amp;lt;graphic &lt;br /&gt;
			facsimileType=&amp;quot;#thumbnail&amp;quot; &lt;br /&gt;
			xml:id=&amp;quot;thumb-p1&amp;quot; &lt;br /&gt;
			url=&amp;quot;thumb-p1.jpg&amp;quot; &lt;br /&gt;
			mimeType=&amp;quot;image/jpeg&amp;quot;&lt;br /&gt;
			scale=&amp;quot;4.0&amp;quot;&lt;br /&gt;
			leftX=&amp;quot;10mm&amp;quot;&lt;br /&gt;
			topY=&amp;quot;10mm&amp;quot;&lt;br /&gt;
			width=&amp;quot;80mm&amp;quot;&lt;br /&gt;
			height=&amp;quot;100mm&amp;quot;/&amp;gt;&lt;br /&gt;
		&amp;lt;graphic &lt;br /&gt;
			graphicType=&amp;quot;#access&amp;quot; &lt;br /&gt;
			xml:id=&amp;quot;access-p1&amp;quot; &lt;br /&gt;
			url=&amp;quot;access-p1.jpg&amp;quot; &lt;br /&gt;
			mimeType=&amp;quot;image/jpeg&amp;quot;&lt;br /&gt;
			scale=&amp;quot;1.0&amp;quot;&lt;br /&gt;
			leftX=&amp;quot;10mm&amp;quot;&lt;br /&gt;
			topY=&amp;quot;10mm&amp;quot;&lt;br /&gt;
			width=&amp;quot;80mm&amp;quot;&lt;br /&gt;
			height=&amp;quot;100mm&amp;quot;/&amp;gt;&lt;br /&gt;
		&amp;lt;!-- an SVG customisation might allow svg:svg here --&amp;gt;&lt;br /&gt;
	&amp;lt;/pg&amp;gt;&lt;br /&gt;
	&amp;lt;pg xml:id=&amp;quot;pg2&amp;quot; from=&amp;quot;#pb2&amp;quot; to=&amp;quot;#pb3&amp;quot; width=&amp;quot;100mm&amp;quot; height=&amp;quot;120mm&amp;quot;&amp;gt;&lt;br /&gt;
		&amp;lt;graphic facsimileType=&amp;quot;#thumbnail&amp;quot; xml:id=&amp;quot;thumb-p2&amp;quot; url=&amp;quot;thumb-p2.jpg&amp;quot; mimeType=&amp;quot;image/jpeg&amp;quot;/&amp;gt;&lt;br /&gt;
		&amp;lt;graphic facsimileType=&amp;quot;#access&amp;quot; xml:id=&amp;quot;access-p2&amp;quot; url=&amp;quot;access-p2.jpg&amp;quot; mimeType=&amp;quot;image/jpeg&amp;quot;/&amp;gt;&lt;br /&gt;
	&amp;lt;/pg&amp;gt;&lt;br /&gt;
&lt;br /&gt;
	...&lt;br /&gt;
&amp;lt;/teiHeader&amp;gt;&lt;br /&gt;
&amp;lt;body&amp;gt;&lt;br /&gt;
	...&lt;br /&gt;
	&amp;lt;pb xml:id=&amp;quot;pb1&amp;quot;/&amp;gt;&lt;br /&gt;
	...&lt;br /&gt;
	&amp;lt;!-- the paragraph below occupies the rectangle whose corners are (20, 200) and (120, 230) --&amp;gt;&lt;br /&gt;
	&amp;lt;p leftX=&amp;quot;20&amp;quot; topY=&amp;quot;200&amp;quot; width=&amp;quot;100&amp;quot; height=&amp;quot;30&amp;quot;&amp;gt;Blah blah blah blah blah.&amp;lt;/p&amp;gt;&lt;br /&gt;
	...&lt;br /&gt;
	&amp;lt;pb xml:id=&amp;quot;pb2&amp;quot;/&amp;gt;&lt;br /&gt;
	...&lt;br /&gt;
	&amp;lt;pb xml:id=&amp;quot;pb3&amp;quot;/&amp;gt;&lt;br /&gt;
	...&lt;br /&gt;
	&amp;lt;pb xml:id=&amp;quot;pb4&amp;quot;/&amp;gt;&lt;br /&gt;
	...&lt;br /&gt;
	&amp;lt;pb xml:id=&amp;quot;pb5&amp;quot;/&amp;gt;&lt;br /&gt;
	...&lt;br /&gt;
&amp;lt;/body&amp;gt;&lt;br /&gt;
&amp;lt;/TEI&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= v1 =&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;teiHeader&amp;gt;&lt;br /&gt;
&lt;br /&gt;
	&amp;lt;taxonomy id=&amp;quot;facsimile-types&amp;quot;&amp;gt;&lt;br /&gt;
		&amp;lt;!-- seems to me there are a variety of possible facsimile types ('uses'), --&amp;gt;&lt;br /&gt;
		&amp;lt;!-- and that projects might come up with new ones, or specialize existing ones --&amp;gt;&lt;br /&gt;
		&amp;lt;!-- as in the &amp;quot;very-small-thumbnail&amp;quot; below, which would mean providing a basic --&amp;gt;&lt;br /&gt;
		&amp;lt;!-- taxonomy which would be shared and part of the guidelines, while allowing --&amp;gt;&lt;br /&gt;
		&amp;lt;!-- extension --&amp;gt;&lt;br /&gt;
		&amp;lt;!-- how to use with tei:ref/@type? or replace tei:ref below with something else? --&amp;gt;&lt;br /&gt;
		&amp;lt;bibl&amp;gt;&lt;br /&gt;
			&amp;lt;ref target=&amp;quot;{pointer to a standard taxonomy of basic facsimile roles/relationships}&amp;quot;/&amp;gt;&lt;br /&gt;
		&amp;lt;/bibl&amp;gt;&lt;br /&gt;
		&amp;lt;category xml:id=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
			&amp;lt;catDesc&amp;gt;Textual form&amp;lt;/catDesc&amp;gt;&lt;br /&gt;
		&amp;lt;/category&amp;gt;&lt;br /&gt;
		&amp;lt;category xml:id=&amp;quot;thumbnail&amp;quot;&amp;gt;&lt;br /&gt;
			&amp;lt;catDesc&amp;gt;Thumbnail image&amp;lt;/catDesc&amp;gt;&lt;br /&gt;
			&amp;lt;category xml:id=&amp;quot;very-small-thumbnail&amp;quot;&amp;gt;&lt;br /&gt;
				&amp;lt;catDesc&amp;gt;Extra small thumbnail&amp;lt;/catDesc&amp;gt;&lt;br /&gt;
			&amp;lt;/category&amp;gt;&lt;br /&gt;
		&amp;lt;/category&amp;gt;&lt;br /&gt;
		&amp;lt;category xml:id=&amp;quot;access&amp;quot;&amp;gt;&lt;br /&gt;
			&amp;lt;catDesc&amp;gt;Large image&amp;lt;/catDesc&amp;gt;&lt;br /&gt;
		&amp;lt;/category&amp;gt;&lt;br /&gt;
		&amp;lt;category xml:id=&amp;quot;annotation&amp;quot;&amp;gt;&lt;br /&gt;
			&amp;lt;catDesc&amp;gt;Large annotated image&amp;lt;/catDesc&amp;gt;&lt;br /&gt;
		&amp;lt;/category&amp;gt;&lt;br /&gt;
	&amp;lt;/taxonomy&amp;gt;&lt;br /&gt;
&lt;br /&gt;
	...&lt;br /&gt;
	&amp;lt;facsimileStmt&amp;gt;&lt;br /&gt;
		&amp;lt;facsimileList&amp;gt;&amp;lt;!-- list of facsimile images, inline or external --&amp;gt;&lt;br /&gt;
			&amp;lt;graphic xml:id=&amp;quot;thumb-p1&amp;quot; url=&amp;quot;thumb-p1.jpg&amp;quot; mimeType=&amp;quot;image/jpeg&amp;quot;/&amp;gt;&lt;br /&gt;
			&amp;lt;graphic xml:id=&amp;quot;access-p1&amp;quot; url=&amp;quot;access-p1.jpg&amp;quot; mimeType=&amp;quot;image/jpeg&amp;quot;/&amp;gt;&lt;br /&gt;
			...&lt;br /&gt;
			&amp;lt;svg:svg xml:id=&amp;quot;detail-unclear-22&amp;quot; xmlns:svg=&amp;quot;http://www.w3.org/2000/svg&amp;quot;&amp;gt;&lt;br /&gt;
				&amp;lt;!-- svg image could be zoomed and cropped here to a detail --&amp;gt;&lt;br /&gt;
				&amp;lt;svg:image id=&amp;quot;svg1-access-p1-detail&amp;quot; x=&amp;quot;0&amp;quot; y=&amp;quot;0&amp;quot; width=&amp;quot;100&amp;quot; height=&amp;quot;100&amp;quot; &lt;br /&gt;
				xmlns:xlink=&amp;quot;http://www.w3.org/1999/xlink&amp;quot; xlink:href=&amp;quot;access-p1.jpg&amp;quot;/&amp;gt;&lt;br /&gt;
			&amp;lt;/svg:svg&amp;gt;&lt;br /&gt;
			...&lt;br /&gt;
		&amp;lt;/facsimileList&amp;gt;&lt;br /&gt;
		&amp;lt;facsimileLinks&amp;gt;&lt;br /&gt;
			&amp;lt;facsimileLink&amp;gt;&amp;lt;!-- group of links to equivalents --&amp;gt;&lt;br /&gt;
				&amp;lt;ref type=&amp;quot;text&amp;quot; target=&amp;quot;#pb1&amp;quot;/&amp;gt;&lt;br /&gt;
				&amp;lt;ref type=&amp;quot;thumbnail&amp;quot; target=&amp;quot;#thumb-p1&amp;quot;/&amp;gt;&lt;br /&gt;
				&amp;lt;ref type=&amp;quot;access&amp;quot; target=&amp;quot;#access-p1&amp;quot;/&amp;gt;&lt;br /&gt;
				&amp;lt;ref type=&amp;quot;annotation&amp;quot; target=&amp;quot;#annotation-p1&amp;quot;/&amp;gt;&lt;br /&gt;
			&amp;lt;/facsimileLink&amp;gt;&lt;br /&gt;
			&amp;lt;facsimileLink&amp;gt;&lt;br /&gt;
				&amp;lt;ref type=&amp;quot;text&amp;quot; target=&amp;quot;#unclear-22&amp;quot;/&amp;gt;&lt;br /&gt;
				&amp;lt;ref type=&amp;quot;access&amp;quot; target=&amp;quot;#detail-unclear-22&amp;quot;/&amp;gt;&lt;br /&gt;
			&amp;lt;/facsimileLink&amp;gt;&lt;br /&gt;
			...&lt;br /&gt;
		&amp;lt;/facsimileLinks&amp;gt;&lt;br /&gt;
		&lt;br /&gt;
	&amp;lt;/facsimileStmt&amp;gt;&lt;br /&gt;
	...&lt;br /&gt;
&amp;lt;/teiHeader&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Conal</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.tei-c.org/index.php?title=StrawManFacsimileMarkup&amp;diff=2698</id>
		<title>StrawManFacsimileMarkup</title>
		<link rel="alternate" type="text/html" href="https://wiki.tei-c.org/index.php?title=StrawManFacsimileMarkup&amp;diff=2698"/>
		<updated>2006-07-25T07:04:53Z</updated>

		<summary type="html">&lt;p&gt;Conal: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= v2 =&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;teiHeader&amp;gt;&lt;br /&gt;
&lt;br /&gt;
	&amp;lt;taxonomy id=&amp;quot;facsimile-types&amp;quot;&amp;gt;&lt;br /&gt;
		&amp;lt;!-- seems to me there are a variety of possible facsimile types ('uses'), --&amp;gt;&lt;br /&gt;
		&amp;lt;!-- and that projects might come up with new ones, or specialize existing ones --&amp;gt;&lt;br /&gt;
		&amp;lt;!-- as in the &amp;quot;very-small-thumbnail&amp;quot; below, which would mean providing a basic --&amp;gt;&lt;br /&gt;
		&amp;lt;!-- taxonomy which would be shared and part of the guidelines, while allowing --&amp;gt;&lt;br /&gt;
		&amp;lt;!-- extension --&amp;gt;&lt;br /&gt;
		&amp;lt;!-- how to use with tei:ref/@type? or replace tei:ref below with something else? --&amp;gt;&lt;br /&gt;
		&amp;lt;bibl&amp;gt;&lt;br /&gt;
			&amp;lt;ref target=&amp;quot;{pointer to a standard taxonomy of basic facsimile roles/relationships}&amp;quot;/&amp;gt;&lt;br /&gt;
		&amp;lt;/bibl&amp;gt;&lt;br /&gt;
		&amp;lt;category xml:id=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
			&amp;lt;catDesc&amp;gt;Textual form&amp;lt;/catDesc&amp;gt;&lt;br /&gt;
		&amp;lt;/category&amp;gt;&lt;br /&gt;
		&amp;lt;category xml:id=&amp;quot;thumbnail&amp;quot;&amp;gt;&lt;br /&gt;
			&amp;lt;catDesc&amp;gt;Thumbnail image&amp;lt;/catDesc&amp;gt;&lt;br /&gt;
			&amp;lt;category xml:id=&amp;quot;very-small-thumbnail&amp;quot;&amp;gt;&lt;br /&gt;
				&amp;lt;catDesc&amp;gt;Extra small thumbnail&amp;lt;/catDesc&amp;gt;&lt;br /&gt;
			&amp;lt;/category&amp;gt;&lt;br /&gt;
		&amp;lt;/category&amp;gt;&lt;br /&gt;
		&amp;lt;category xml:id=&amp;quot;access&amp;quot;&amp;gt;&lt;br /&gt;
			&amp;lt;catDesc&amp;gt;Large image&amp;lt;/catDesc&amp;gt;&lt;br /&gt;
		&amp;lt;/category&amp;gt;&lt;br /&gt;
		&amp;lt;category xml:id=&amp;quot;annotation&amp;quot;&amp;gt;&lt;br /&gt;
			&amp;lt;catDesc&amp;gt;Large annotated image&amp;lt;/catDesc&amp;gt;&lt;br /&gt;
		&amp;lt;/category&amp;gt;&lt;br /&gt;
	&amp;lt;/taxonomy&amp;gt;&lt;br /&gt;
&lt;br /&gt;
	...&lt;br /&gt;
	&amp;lt;!-- list of facsimile images, inline or external --&amp;gt;&lt;br /&gt;
	&amp;lt;pg xml:id=&amp;quot;pg1&amp;quot;&amp;gt;&lt;br /&gt;
		&amp;lt;graphic facsimileType=&amp;quot;#thumbnail&amp;quot; xml:id=&amp;quot;thumb-p1&amp;quot; url=&amp;quot;thumb-p1.jpg&amp;quot; mimeType=&amp;quot;image/jpeg&amp;quot;/&amp;gt;&lt;br /&gt;
		&amp;lt;graphic facsimileType=&amp;quot;#access&amp;quot; xml:id=&amp;quot;access-p1&amp;quot; url=&amp;quot;access-p1.jpg&amp;quot; mimeType=&amp;quot;image/jpeg&amp;quot;/&amp;gt;&lt;br /&gt;
	&amp;lt;/pg&amp;gt;&lt;br /&gt;
	&amp;lt;pg xml:id=&amp;quot;pg2&amp;quot;&amp;gt;&lt;br /&gt;
		&amp;lt;graphic facsimileType=&amp;quot;#thumbnail&amp;quot; xml:id=&amp;quot;thumb-p2&amp;quot; url=&amp;quot;thumb-p2.jpg&amp;quot; mimeType=&amp;quot;image/jpeg&amp;quot;/&amp;gt;&lt;br /&gt;
		&amp;lt;graphic facsimileType=&amp;quot;#access&amp;quot; xml:id=&amp;quot;access-p2&amp;quot; url=&amp;quot;access-p2.jpg&amp;quot; mimeType=&amp;quot;image/jpeg&amp;quot;/&amp;gt;&lt;br /&gt;
	&amp;lt;/pg&amp;gt;&lt;br /&gt;
&lt;br /&gt;
	...&lt;br /&gt;
&amp;lt;/teiHeader&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= v1 =&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;teiHeader&amp;gt;&lt;br /&gt;
&lt;br /&gt;
	&amp;lt;taxonomy id=&amp;quot;facsimile-types&amp;quot;&amp;gt;&lt;br /&gt;
		&amp;lt;!-- seems to me there are a variety of possible facsimile types ('uses'), --&amp;gt;&lt;br /&gt;
		&amp;lt;!-- and that projects might come up with new ones, or specialize existing ones --&amp;gt;&lt;br /&gt;
		&amp;lt;!-- as in the &amp;quot;very-small-thumbnail&amp;quot; below, which would mean providing a basic --&amp;gt;&lt;br /&gt;
		&amp;lt;!-- taxonomy which would be shared and part of the guidelines, while allowing --&amp;gt;&lt;br /&gt;
		&amp;lt;!-- extension --&amp;gt;&lt;br /&gt;
		&amp;lt;!-- how to use with tei:ref/@type? or replace tei:ref below with something else? --&amp;gt;&lt;br /&gt;
		&amp;lt;bibl&amp;gt;&lt;br /&gt;
			&amp;lt;ref target=&amp;quot;{pointer to a standard taxonomy of basic facsimile roles/relationships}&amp;quot;/&amp;gt;&lt;br /&gt;
		&amp;lt;/bibl&amp;gt;&lt;br /&gt;
		&amp;lt;category xml:id=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
			&amp;lt;catDesc&amp;gt;Textual form&amp;lt;/catDesc&amp;gt;&lt;br /&gt;
		&amp;lt;/category&amp;gt;&lt;br /&gt;
		&amp;lt;category xml:id=&amp;quot;thumbnail&amp;quot;&amp;gt;&lt;br /&gt;
			&amp;lt;catDesc&amp;gt;Thumbnail image&amp;lt;/catDesc&amp;gt;&lt;br /&gt;
			&amp;lt;category xml:id=&amp;quot;very-small-thumbnail&amp;quot;&amp;gt;&lt;br /&gt;
				&amp;lt;catDesc&amp;gt;Extra small thumbnail&amp;lt;/catDesc&amp;gt;&lt;br /&gt;
			&amp;lt;/category&amp;gt;&lt;br /&gt;
		&amp;lt;/category&amp;gt;&lt;br /&gt;
		&amp;lt;category xml:id=&amp;quot;access&amp;quot;&amp;gt;&lt;br /&gt;
			&amp;lt;catDesc&amp;gt;Large image&amp;lt;/catDesc&amp;gt;&lt;br /&gt;
		&amp;lt;/category&amp;gt;&lt;br /&gt;
		&amp;lt;category xml:id=&amp;quot;annotation&amp;quot;&amp;gt;&lt;br /&gt;
			&amp;lt;catDesc&amp;gt;Large annotated image&amp;lt;/catDesc&amp;gt;&lt;br /&gt;
		&amp;lt;/category&amp;gt;&lt;br /&gt;
	&amp;lt;/taxonomy&amp;gt;&lt;br /&gt;
&lt;br /&gt;
	...&lt;br /&gt;
	&amp;lt;facsimileStmt&amp;gt;&lt;br /&gt;
		&amp;lt;facsimileList&amp;gt;&amp;lt;!-- list of facsimile images, inline or external --&amp;gt;&lt;br /&gt;
			&amp;lt;graphic xml:id=&amp;quot;thumb-p1&amp;quot; url=&amp;quot;thumb-p1.jpg&amp;quot; mimeType=&amp;quot;image/jpeg&amp;quot;/&amp;gt;&lt;br /&gt;
			&amp;lt;graphic xml:id=&amp;quot;access-p1&amp;quot; url=&amp;quot;access-p1.jpg&amp;quot; mimeType=&amp;quot;image/jpeg&amp;quot;/&amp;gt;&lt;br /&gt;
			...&lt;br /&gt;
			&amp;lt;svg:svg xml:id=&amp;quot;detail-unclear-22&amp;quot; xmlns:svg=&amp;quot;http://www.w3.org/2000/svg&amp;quot;&amp;gt;&lt;br /&gt;
				&amp;lt;!-- svg image could be zoomed and cropped here to a detail --&amp;gt;&lt;br /&gt;
				&amp;lt;svg:image id=&amp;quot;svg1-access-p1-detail&amp;quot; x=&amp;quot;0&amp;quot; y=&amp;quot;0&amp;quot; width=&amp;quot;100&amp;quot; height=&amp;quot;100&amp;quot; &lt;br /&gt;
				xmlns:xlink=&amp;quot;http://www.w3.org/1999/xlink&amp;quot; xlink:href=&amp;quot;access-p1.jpg&amp;quot;/&amp;gt;&lt;br /&gt;
			&amp;lt;/svg:svg&amp;gt;&lt;br /&gt;
			...&lt;br /&gt;
		&amp;lt;/facsimileList&amp;gt;&lt;br /&gt;
		&amp;lt;facsimileLinks&amp;gt;&lt;br /&gt;
			&amp;lt;facsimileLink&amp;gt;&amp;lt;!-- group of links to equivalents --&amp;gt;&lt;br /&gt;
				&amp;lt;ref type=&amp;quot;text&amp;quot; target=&amp;quot;#pb1&amp;quot;/&amp;gt;&lt;br /&gt;
				&amp;lt;ref type=&amp;quot;thumbnail&amp;quot; target=&amp;quot;#thumb-p1&amp;quot;/&amp;gt;&lt;br /&gt;
				&amp;lt;ref type=&amp;quot;access&amp;quot; target=&amp;quot;#access-p1&amp;quot;/&amp;gt;&lt;br /&gt;
				&amp;lt;ref type=&amp;quot;annotation&amp;quot; target=&amp;quot;#annotation-p1&amp;quot;/&amp;gt;&lt;br /&gt;
			&amp;lt;/facsimileLink&amp;gt;&lt;br /&gt;
			&amp;lt;facsimileLink&amp;gt;&lt;br /&gt;
				&amp;lt;ref type=&amp;quot;text&amp;quot; target=&amp;quot;#unclear-22&amp;quot;/&amp;gt;&lt;br /&gt;
				&amp;lt;ref type=&amp;quot;access&amp;quot; target=&amp;quot;#detail-unclear-22&amp;quot;/&amp;gt;&lt;br /&gt;
			&amp;lt;/facsimileLink&amp;gt;&lt;br /&gt;
			...&lt;br /&gt;
		&amp;lt;/facsimileLinks&amp;gt;&lt;br /&gt;
		&lt;br /&gt;
	&amp;lt;/facsimileStmt&amp;gt;&lt;br /&gt;
	...&lt;br /&gt;
&amp;lt;/teiHeader&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Conal</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.tei-c.org/index.php?title=LegacyFacsimileMarkup&amp;diff=2697</id>
		<title>LegacyFacsimileMarkup</title>
		<link rel="alternate" type="text/html" href="https://wiki.tei-c.org/index.php?title=LegacyFacsimileMarkup&amp;diff=2697"/>
		<updated>2006-07-25T06:50:46Z</updated>

		<summary type="html">&lt;p&gt;Conal: /* ALTO */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page includes some examples of different approaches for facsimile (image-based) markup.&lt;br /&gt;
&lt;br /&gt;
=P5 Guidelines, 22.3 (Specific Elements for Graphic Images)=&lt;br /&gt;
&lt;br /&gt;
The P5 Guidelines describe four elements for including graphic images in TEI documents:&lt;br /&gt;
&lt;br /&gt;
*figure: contains a block containing graphics, illustrations, or figures.&lt;br /&gt;
*graphic: indicates the location of an inline graphic, illustration, or figure.&lt;br /&gt;
*binaryObject: provides encoded binary data representing an inline graphic or other object.&lt;br /&gt;
*figdesc: contains a brief prose description of the appearance or content of a graphic figure, for use when documenting an image without displaying it.&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;figure&amp;gt; is the parent element for the others. &amp;amp;lt;figure&amp;gt; may also contain &amp;lt;head&amp;gt; (a header or title) and &amp;amp;lt;p&amp;gt; (commentary or caption, not a description of the image):&lt;br /&gt;
&lt;br /&gt;
Figure is also self-nesting, which allows for description of image fragments, though as TEI is now described those image fragments would have to be separate image files. Would it be useful to instead have a way to note coordinates using an attribute or attributes in &amp;amp;lt;graphic&amp;gt;? (@mets:coords or @svg coordinate attributes; see [[TEI_to_SVG#Mapping_attributes]]):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 &amp;lt;figure&amp;gt;&lt;br /&gt;
  &amp;lt;head&amp;gt;My entire image&amp;lt;/head&amp;gt;&lt;br /&gt;
       &amp;lt;graphic.../&amp;gt;&lt;br /&gt;
   &amp;lt;figure&amp;gt;&lt;br /&gt;
      &amp;lt;head&amp;gt;fragment 1&amp;lt;/head&amp;gt;&lt;br /&gt;
      &amp;lt;graphic.../&amp;gt;&lt;br /&gt;
  &amp;lt;/figure&amp;gt;&lt;br /&gt;
   &amp;lt;figure&amp;gt;&lt;br /&gt;
      &amp;lt;head&amp;gt;fragment 2&amp;lt;/head&amp;gt;&lt;br /&gt;
      &amp;lt;graphic.../&amp;gt;&lt;br /&gt;
  &amp;lt;/figure&amp;gt;&lt;br /&gt;
&amp;lt;/figure&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If a graphic contains a large amount of text, and the editor determines that the graphic actually contains that text (the text is not part of the surrounding text), &amp;amp;lt;figure&amp;gt; may contain &amp;amp;lt;text&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Linking Text &amp;amp; Image in P5==&lt;br /&gt;
&lt;br /&gt;
The Guidelines describes a number of ways to link text and image using methods described fully in [http://www.tei-c.org/release/doc/tei-p5-doc/html/SA.html 14 Linking, Segmentation, and Alignment]. &lt;br /&gt;
&lt;br /&gt;
===Linking thumbnails to full-resolution images===&lt;br /&gt;
To link thumbnails to larger images, create a &amp;lt;ref&amp;gt; tag that points to the xml:id of the corresponding figure. Include the thumbnail as a graphic in the &amp;lt;ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 &amp;lt;ref target=&amp;quot;#IM1&amp;quot;&amp;gt;Click here&lt;br /&gt;
   &amp;lt;graphic url=&amp;quot;fig1th.png&amp;quot;/&amp;gt;&lt;br /&gt;
   for enlightenment&lt;br /&gt;
 &amp;lt;/ref&amp;gt;&lt;br /&gt;
 &amp;lt;figure xml:id=&amp;quot;IM1&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;graphic url=&amp;quot;fig1.jpg&amp;quot;/&amp;gt;&lt;br /&gt;
 &amp;lt;/figure&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Associate images/parts of images with text elements===&lt;br /&gt;
Use the linking mechanism described in [http://www.tei-c.org/release/doc/tei-p5-doc/html/SA.html 14 Linking, Segmentation, and Alignment] to link together a figure (the example in the guidelines uses an external SVG file, parts of which are identified with xml:ids) and TEI elements (which are likewise identified using xml:ids).&lt;br /&gt;
&lt;br /&gt;
First, we use pointers to the graphic image:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 &amp;lt;ptr xml:id=&amp;quot;PD1&amp;quot; target=&amp;quot;Fig1.svg#object1&amp;quot;/&amp;gt;&lt;br /&gt;
 &amp;lt;ptr xml:id=&amp;quot;PD2&amp;quot; target=&amp;quot;Fig1.svg#object2&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These point inside the SVG file:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;svg width=&amp;quot;8cm&amp;quot; height=&amp;quot;3cm&amp;quot; viewBox=&amp;quot;2 1 8 3&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;g id=&amp;quot;object1&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;ellipse style=&amp;quot;fill: #ffffff&amp;quot; cx=&amp;quot;3.875&amp;quot; cy=&amp;quot;3.025&amp;quot; rx=&amp;quot;1.175&amp;quot; ry=&amp;quot;1.175&amp;quot;/&amp;gt;&lt;br /&gt;
 &amp;lt;/g&amp;gt;&lt;br /&gt;
 &amp;lt;g id=&amp;quot;object2&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;rect style=&amp;quot;fill: #a81616&amp;quot; x=&amp;quot;7.8&amp;quot; y=&amp;quot;1.9&amp;quot; width=&amp;quot;2.17581&amp;quot; height=&amp;quot;2.24833&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/g&amp;gt;&lt;br /&gt;
&amp;lt;/svg&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Areas in the TEI file are also uniquely identified:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 &amp;lt;div1 type=&amp;quot;chapter&amp;quot; xml:id=&amp;quot;CHAP1&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- ... --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;/div1&amp;gt;&lt;br /&gt;
 &amp;lt;div1 type=&amp;quot;chapter&amp;quot; xml:id=&amp;quot;CHAP2&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- ... --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;/div1&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then we can use a linkgroup to pull this all together:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 &amp;lt;linkGrp type=&amp;quot;callout&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;link targets=&amp;quot;#CHAP1 #PD1&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;link targets=&amp;quot;#CHAP2 #PD2&amp;quot;/&amp;gt;&lt;br /&gt;
 &amp;lt;/linkGrp&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Draft Recommendations for TEI Digital Facsimiles=&lt;br /&gt;
&lt;br /&gt;
http://users.ox.ac.uk/~lou/wip/digfax.html&lt;br /&gt;
&lt;br /&gt;
This document, authored by Richard Gartner and Lou Burnard and last updated in 2001, outlines ways to use TEI to represent three types of digital objects:&lt;br /&gt;
&lt;br /&gt;
*complete digital transcriptions of the content of manuscript or print originals (possibly including illustrations as well as text)&lt;br /&gt;
*collections of digitized page images (''digital facsimiles'') intended for use as surrogates for complete manuscript or print originals&lt;br /&gt;
*digital objects (''digital editions'') combining both page facsimiles and transcriptions, possibly also including layers of editorial annotation&lt;br /&gt;
&lt;br /&gt;
The authors attempt to address these areas of concern:&lt;br /&gt;
&lt;br /&gt;
*the need to distinguish images of a manuscript or print source from images located within it;&lt;br /&gt;
*the need to support multiple formats of a single image;&lt;br /&gt;
*the need to associate metadata at different levels (e.g. collection level, item level);&lt;br /&gt;
*the need to associate transcription and facsimile in a standard way;&lt;br /&gt;
*the need to define practices which can be used equally well in both SGML and XML environments;&lt;br /&gt;
*the desire to avoid special purpose rules which assume nonstandard or ad hoc processing rules.&lt;br /&gt;
&lt;br /&gt;
==Case 1: Transcription==&lt;br /&gt;
&lt;br /&gt;
Updated to cite chapters in P5:&lt;br /&gt;
&lt;br /&gt;
The content of a transcription should be marked up as a single &amp;amp;lt;TEI&amp;gt; element using the standard TEI elements &amp;amp;lt;text&amp;gt;, &amp;amp;lt;body&amp;gt;, &amp;amp;lt;div&amp;gt;, etc. from the TEI core tag sets.&lt;br /&gt;
&lt;br /&gt;
Follow the Guidelines chapters 18 [http://www.tei-c.org/release/doc/tei-p5-doc/html/PH.html Transcription of Primary Resources] and 13 [http://www.tei-c.org/release/doc/tei-p5-doc/html/MS.html Manuscript Description]. &lt;br /&gt;
&lt;br /&gt;
If the source contains &amp;quot;significant illustrative material&amp;quot;, use &amp;amp;lt;figure&amp;gt; (and children) from Guidelines chapter 22 [http://www.tei-c.org/release/doc/tei-p5-doc/html/FT.html Tables, Formulae, and Graphics] to insert illustrations in their proper location in the transcript.&lt;br /&gt;
&lt;br /&gt;
[[Image:Teidr-fig1.gif|left|thumb|Example of the TEI &amp;lt;figure&amp;gt; element.]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;lb n=&amp;quot;12&amp;quot;/&amp;gt;feond mid his geferum eallum. Feollon þa ufon &lt;br /&gt;
&amp;lt;lb n=&amp;quot;13&amp;quot;/&amp;gt;of heofnum þurhlonge swa þreo niht and da&lt;br /&gt;
&amp;lt;lb n=&amp;quot;14&amp;quot;/&amp;gt;gas, þa englas of heofnum on helle, and heo ealle &lt;br /&gt;
&amp;lt;lb n=&amp;quot;15&amp;quot;/&amp;gt;forsceop drihten to deoflum. &lt;br /&gt;
&lt;br /&gt;
  &amp;lt;figure&amp;gt;&lt;br /&gt;
    &amp;lt;head&amp;gt;Fall of the Angels&amp;lt;/head&amp;gt;&lt;br /&gt;
    &amp;lt;figDesc&amp;gt;Above, God, cross-nimbed, beardless, and holding a closed book, &lt;br /&gt;
    accompanied by three angels, turns and gestures toward three angels on &lt;br /&gt;
    the left, one of whom (Lucifer?) holds a palm frond ...&amp;lt;/figDesc&amp;gt;&lt;br /&gt;
  &amp;lt;/figure&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pb n=&amp;quot;17&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Case 2: Digital Facsimile==&lt;br /&gt;
&lt;br /&gt;
Should be marked as a separate &amp;lt;TEI&amp;gt; element. TEI structural tags may be used, but need not be, especially if differences between textual structure and physical structure cause overlap.&lt;br /&gt;
&lt;br /&gt;
Each distinct image making up the facsimile should be encoded as a &amp;lt;figure&amp;gt; element, arranged in the normal reading sequence of the facsimile. The appropriate milestone element (&amp;lt;pb/&amp;gt; or &amp;lt;cb/&amp;gt;) should be used at the appropriate place in the facsimile.&lt;br /&gt;
&lt;br /&gt;
[[Image:Teidr-fig2.gif|left|thumb|Example of the TEI &amp;lt;figure&amp;gt; element with reference to manuscript folio number.]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;pb n=&amp;quot;16&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;figure n=&amp;quot;16&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;figDesc&amp;gt;[Page 16: 15 lines of text followed by image of &amp;quot;Fall of Angels&amp;quot; &lt;br /&gt;
    (Ohlgren 16.11)]&amp;lt;/figDesc&amp;gt;&lt;br /&gt;
&amp;lt;/figure&amp;gt;&lt;br /&gt;
&amp;lt;pb n=&amp;quot;17&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;figure n=&amp;quot;17&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;figDesc&amp;gt;[Page 17: 15 lines of text followed by image of  &amp;quot;Fall of Angels&amp;quot; &lt;br /&gt;
    (Ohlgren 16.12)]&amp;lt;/figDesc&amp;gt;&lt;br /&gt;
&amp;lt;/figure&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;figure&amp;gt; elements may be self-nested to show that one image logically contains others (in cases where two image fit together to form one larger image).&lt;br /&gt;
&lt;br /&gt;
[[Image:Teidr-fig3.gif|left|thumb|Example of nesting TEI &amp;lt;figure&amp;gt; elements.]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;figure n=&amp;quot;16&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;figDesc&amp;gt;&lt;br /&gt;
    &amp;lt;figure&amp;gt;&lt;br /&gt;
      &amp;lt;figDesc&amp;gt;[Page 16: 15 lines of text (detail of upper part)]&amp;lt;/figDesc&amp;gt;&lt;br /&gt;
    &amp;lt;/figure&amp;gt;&lt;br /&gt;
    &amp;lt;figure&amp;gt;&lt;br /&gt;
      &amp;lt;figDesc&amp;gt;[Page 16: Image of &amp;quot;Fall of Angels&amp;quot; (Ohlgren 16.11) (detail of lower part)&amp;lt;/figDesc&amp;gt;&lt;br /&gt;
    &amp;lt;/figure&amp;gt;&lt;br /&gt;
  &amp;lt;/figDesc&amp;gt;&lt;br /&gt;
&amp;lt;/figure&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==3: Techniques for Referencing Images==&lt;br /&gt;
&lt;br /&gt;
Recommends declaring the file containing the image as an external entity and then referencing that entity using the &amp;quot;entity&amp;quot; attribute in &amp;lt;figure&amp;gt;. This approach depends on the use of the DTD (no longer practical given the TEI's move towards using the RelaxNG schema), and relies on an attribute that is no longer included in P5. &lt;br /&gt;
&lt;br /&gt;
In TEI P5 there are also two new elements, &amp;lt;graphic&amp;gt; and &amp;lt;binaryObject&amp;gt; which may be used to represent image references or images respectively. These permit the encoding of figures containing multiple images, for example.  The &amp;lt;graphic&amp;gt; element has a &amp;quot;url&amp;quot; attribute which enables the association of a &amp;lt;figure&amp;gt; with its corresponding image file. The recommendations in Gartner and Burnard need to be revised substantially in this respect.  &lt;br /&gt;
&lt;br /&gt;
[[Image:Teidr-fig4.gif|left|thumb|Example of the TEI &amp;lt;graphic&amp;gt; element with reference to image file URL]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;pb n=&amp;quot;16&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;figure n=&amp;quot;16&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;figDesc&amp;gt;[Page 16: 15 lines of text followed by image of &amp;quot;Fall of Angels&amp;quot; &lt;br /&gt;
    (Ohlgren 16.11)]&amp;lt;/figDesc&amp;gt;&lt;br /&gt;
    &amp;lt;graphic url=&amp;quot;http://image.ox.ac.uk/images/bodleian/msjunius11/16.jpg&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/figure&amp;gt;&lt;br /&gt;
&amp;lt;pb n=&amp;quot;17&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;figure n=&amp;quot;17&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;figDesc&amp;gt;[Page 17: 15 lines of text followed by image of  &amp;quot;Fall of Angels&amp;quot; &lt;br /&gt;
    (Ohlgren 16.12)]&amp;lt;/figDesc&amp;gt;&lt;br /&gt;
    &amp;lt;graphic url=&amp;quot;http://image.ox.ac.uk/images/bodleian/msjunius11/17.jpg&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/figure&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;figure&amp;gt; may contain more than one graphic, so it is possible to relate multiple image files to a single physical object:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
            &amp;lt;pb n=&amp;quot;16&amp;quot;/&amp;gt;&lt;br /&gt;
            &amp;lt;figure n=&amp;quot;16&amp;quot;&amp;gt;&lt;br /&gt;
                &amp;lt;figDesc&amp;gt;[Page 16: 15 lines of text followed by image of &amp;quot;Fall of Angels&amp;quot; (Ohlgren&lt;br /&gt;
                    16.11)]&amp;lt;/figDesc&amp;gt;&lt;br /&gt;
                &amp;lt;graphic n=&amp;quot;daylight&amp;quot; url=&amp;quot;http://image.ox.ac.uk/images/bodleian/msjunius11/16.jpg&amp;quot;/&amp;gt;&lt;br /&gt;
                &amp;lt;graphic n=&amp;quot;uv&amp;quot; url=&amp;quot;http://image.ox.ac.uk/images/bodleian/msjunius11/UV/16.jpg&amp;quot;/&amp;gt;&lt;br /&gt;
            &amp;lt;/figure&amp;gt;&lt;br /&gt;
            &amp;lt;pb n=&amp;quot;17&amp;quot;/&amp;gt;&lt;br /&gt;
            &amp;lt;figure n=&amp;quot;17&amp;quot;&amp;gt;&lt;br /&gt;
                &amp;lt;figDesc&amp;gt;[Page 17: 15 lines of text followed by image of &amp;quot;Fall of Angels&amp;quot; (Ohlgren&lt;br /&gt;
                    16.12)]&amp;lt;/figDesc&amp;gt;&lt;br /&gt;
                &amp;lt;graphic n=&amp;quot;daylight&amp;quot; url=&amp;quot;http://image.ox.ac.uk/images/bodleian/msjunius11/17.jpg&amp;quot;/&amp;gt;&lt;br /&gt;
                &amp;lt;graphic n=&amp;quot;uv&amp;quot; url=&amp;quot;http://image.ox.ac.uk/images/bodleian/msjunius11/UV/17.jpg&amp;quot;/&amp;gt;&lt;br /&gt;
            &amp;lt;/figure&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Other options mentioned in the recommendation: Xlink or Xinclude.&lt;br /&gt;
&lt;br /&gt;
==4: Aligning transcription and facsimile==&lt;br /&gt;
&lt;br /&gt;
The TEI Guidelines propose a number of methods for aligning parts of a document (see www.tei-c.org/Guidelines/SA). These may be briefly summarized as follows &lt;br /&gt;
*use the @corresp attribute to assert that a &amp;lt;pb&amp;gt; (or other reference point) in the transcription corresponds with a &amp;lt;pb&amp;gt; in the facsimile (or the reverse);&lt;br /&gt;
*alternatively, use a stand-off &amp;lt;link&amp;gt; element to assert the association between the two &amp;lt;pb&amp;gt; elements; &lt;br /&gt;
*for cross-document linking, an intermediate &amp;lt;xptr&amp;gt; may be used as the target.&lt;br /&gt;
(see [http://www.tei-c.org/release/doc/tei-p5-doc/html/SA.html Chapter 14 Linking, Segmentation, and Alignment]).&lt;br /&gt;
&lt;br /&gt;
[[Image:Teidr-fig5.gif|left|thumb|Example of linking image file with transcription using @corresp on &amp;lt;pb&amp;gt;.]]&lt;br /&gt;
&lt;br /&gt;
=Method used by the Edition Production Technology (EPT): Link text and images=&lt;br /&gt;
&lt;br /&gt;
The EPT (now EPPT: http://beowulf.engl.uky.edu/~eft/EPPT-Demo.html) uses a system combining a Image Catalog combined with a special attribute for coordinates to enable linking between text and image. For more details, see here: http://beowulf.engl.uky.edu/~kiernan/eBoethius/tech.htm#tech.&lt;br /&gt;
&lt;br /&gt;
==Image Catalog==&lt;br /&gt;
&lt;br /&gt;
The Image Catalog is a simple XML file that consists of lists of image files organized by category. There is one category for every set of image files for a given source. &lt;br /&gt;
*daylight (images taken under regular lighting)&lt;br /&gt;
*ultraviolet (images taken under ultraviolet lighting)&lt;br /&gt;
*microfilm (images scanned from microfilm)&lt;br /&gt;
&lt;br /&gt;
Categories are assigned unique IDs.&lt;br /&gt;
&lt;br /&gt;
Within each category, the user associates each file with an ID that is ''unique within the category''. IDs will repeat across categories. Essentially, these IDs associate the files with the same object, which may be represented by multiple images.&lt;br /&gt;
&lt;br /&gt;
[[Image:Ept-fig1.gif|left|thumb|Example of the EPT Image Catalog configuration file.]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;category name=&amp;quot;daylight&amp;quot; id=&amp;quot;d&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;file name=&amp;quot;aih0244-JPG.jpg&amp;quot; id=&amp;quot;5v&amp;quot; /&amp;gt;&lt;br /&gt;
  &amp;lt;file name=&amp;quot;aih0245-JPG.jpg&amp;quot; id=&amp;quot;6r&amp;quot; /&amp;gt;&lt;br /&gt;
  &amp;lt;file name=&amp;quot;aih0242-JPG.jpg&amp;quot; id=&amp;quot;6v&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/category&amp;gt;&lt;br /&gt;
&amp;lt;category name=&amp;quot;ultraviolet&amp;quot; id=&amp;quot;u&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;file name=&amp;quot;uv-5v.jpg&amp;quot; id=&amp;quot;5v&amp;quot; /&amp;gt;&lt;br /&gt;
  &amp;lt;file name=&amp;quot;uv-6r.jpg&amp;quot; id=&amp;quot;6r&amp;quot; /&amp;gt;&lt;br /&gt;
  &amp;lt;file name=&amp;quot;uv-6v.jpg&amp;quot; id=&amp;quot;6v&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/category&amp;gt;&lt;br /&gt;
&amp;lt;category name=&amp;quot;microfilm&amp;quot; id=&amp;quot;m&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;file name=&amp;quot;mf-5v.jpg&amp;quot; id=&amp;quot;5v&amp;quot; /&amp;gt;&lt;br /&gt;
  &amp;lt;file name=&amp;quot;mf-6r.jpg&amp;quot; id=&amp;quot;6r&amp;quot; /&amp;gt;&lt;br /&gt;
  &amp;lt;file name=&amp;quot;mf-6v.jpg&amp;quot; id=&amp;quot;6v&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/category&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The file IDs from image catalog are then associated with an attribute within the text markup itself. The attribute used is configured by the user; for the Electronic Boethius, we used the attribute ''n'' in the element ''&amp;lt;fol&amp;gt;'' (folio). The content for each folio is thus associated with the correct image files (from every category):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;fol n=&amp;quot;5v&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
points to &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;daylight&amp;gt;&amp;lt;file id=&amp;quot;5v&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;ultraviolet&amp;gt;&amp;lt;file id=“5v”/&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;microfilm&amp;gt;&amp;lt;file id=“5v”/&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Ept-fig2.gif|left|thumb|Example of EPT Image Catalog links image files with sections of text.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Attribute for Coordinates==&lt;br /&gt;
&lt;br /&gt;
A TEI element can be associated with a rectangular region of an image by encoding the co-ordinates of the region's corners as an attribute of that element. The EPT allows the user to assign an attribute (Electronic Boethius uses ''coords''). In whatever elements that attribute is defined, the coordinates, selected by the editor, are automatically entered by the software. The ID assigned to the categories in the Image Catalog are appended to the beginning of the coordinates. &lt;br /&gt;
&lt;br /&gt;
[[Image:Ept-fig3.gif|left|thumb|Example of @coords on &amp;lt;figure&amp;gt;.]]&lt;br /&gt;
[[Image:Ept-fig4.gif|thumb|Screenshot of EPPT]]&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;damage coords=&amp;quot;d:1058,738,1093,798&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Method used by the UVic Image Markup Tool: Annotate images=&lt;br /&gt;
&lt;br /&gt;
The UVic Image Markup Tool (http://www.tapor.uvic.ca/~mholmes/image_markup/) uses TEI, modified to allow for the inclusion of SVG (http://www.w3.org/Graphics/SVG/), to create a system for annotating images.&lt;br /&gt;
&lt;br /&gt;
Stated goals of the Tool:&lt;br /&gt;
&lt;br /&gt;
*be simple for novices to use &lt;br /&gt;
*load and display a wide variety of different image formats &lt;br /&gt;
*allow the user to specify arbitrary rectangles on the image, and associate them with annotations &lt;br /&gt;
*allow such rectangles to overlap if the user wishes &lt;br /&gt;
*provide mechanisms for bringing overlapped rectangles to the front easily &lt;br /&gt;
*allow annotations to be grouped into categories, distinguished by name and appearance, to allow different classes of annotation &lt;br /&gt;
*require no significant knowledge of XML or TEI &lt;br /&gt;
*allow the use of XML code if the user wishes &lt;br /&gt;
*save data in an XML file which conforms to a TEI P5-based schema &lt;br /&gt;
*reload data from its own files &lt;br /&gt;
*generate a simple &amp;quot;Web view&amp;quot; of the data for display in a browser &lt;br /&gt;
*come packaged with an installer, Help file, and basic tutorial &lt;br /&gt;
*be simple for novices to use! &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Simplified example from the IMT web:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;TEI&amp;gt;&lt;br /&gt;
    &amp;lt;teiHeader&amp;gt;&lt;br /&gt;
        &amp;lt;!-- ...header content... --&amp;gt;&lt;br /&gt;
    &amp;lt;/teiHeader&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;&lt;br /&gt;
        &amp;lt;body&amp;gt;&lt;br /&gt;
            &amp;lt;!-- ...TEI content... --&amp;gt;&lt;br /&gt;
            &amp;lt;div type=&amp;quot;imtAnnotatedImage&amp;quot;&amp;gt;&lt;br /&gt;
                &amp;lt;svg xmlns=&amp;quot;http://www.w3.org/2000/svg&amp;quot;&amp;gt;&lt;br /&gt;
                    &amp;lt;!-- ...svg content... --&amp;gt;&lt;br /&gt;
                    &amp;lt;image&amp;gt;&lt;br /&gt;
                      &amp;lt;!-- Image file is linked in here --&amp;gt;&lt;br /&gt;
                    &amp;lt;/image&amp;gt;&lt;br /&gt;
                    &amp;lt;rect&amp;gt;&lt;br /&gt;
                      &amp;lt;!-- Annotation area on the image defined here --&amp;gt;&lt;br /&gt;
                    &amp;lt;/rect&amp;gt;&lt;br /&gt;
                &amp;lt;/svg&amp;gt;&lt;br /&gt;
                &amp;lt;div type=&amp;quot;imtAnnotationLayer&amp;quot;&amp;gt;&lt;br /&gt;
                    &amp;lt;!-- Annotation content goes here --&amp;gt;&lt;br /&gt;
                &amp;lt;/div&amp;gt;&lt;br /&gt;
            &amp;lt;/div&amp;gt;&lt;br /&gt;
            &amp;lt;!-- ...TEI content... --&amp;gt;&lt;br /&gt;
        &amp;lt;/body&amp;gt;&lt;br /&gt;
    &amp;lt;/text&amp;gt;&lt;br /&gt;
&amp;lt;/TEI&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Using this system, a user can annotate many sections of a single image. Unlike the EPT system described above, in which the coordinates are stored directly in the element, here the image coordinates are stored in a separate section and linked to the annotations using unique IDs (''svg:id'' in ''&amp;lt;rect&amp;gt;'') to link the areas to the annotation content (''n'' in ''&amp;amp;lt;div type=&amp;quot;imtAnnotationLayer&amp;quot;&amp;gt;'').&lt;br /&gt;
&lt;br /&gt;
[[Image:Uvic-fig1.gif|left|thumb|Example of the coordinate system used by the UVic IMT.]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;div type=&amp;quot;imtAnnotatedImage&amp;quot; xml:id=&amp;quot;NB-B-17328&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;svg xmlns=&amp;quot;http://www.w3.org/2000/svg&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;image xmlns:xlink=&amp;quot;http://www.w3.org/1999/xlink&amp;quot; xlink:href=&amp;quot;NB-B-17328.jpg&amp;quot; width=&amp;quot;5060&amp;quot; height=&amp;quot;6025&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;title&amp;gt;NB-B-17328.jpg&amp;lt;/title&amp;gt;&lt;br /&gt;
        &amp;lt;desc&amp;gt;5060 x 6025&amp;lt;/desc&amp;gt;&lt;br /&gt;
        &amp;lt;rect svg:id=&amp;quot;NB-B-17328_0&amp;quot; x=&amp;quot;4287&amp;quot; y=&amp;quot;1412&amp;quot; width=&amp;quot;580&amp;quot; height=&amp;quot;426&amp;quot; style=&amp;quot;3&amp;quot; color=&amp;quot;#ff0000&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;rect svg:id=&amp;quot;NB-B-17328_1&amp;quot; x=&amp;quot;4067&amp;quot; y=&amp;quot;2019&amp;quot; width=&amp;quot;720&amp;quot; height=&amp;quot;747&amp;quot; style=&amp;quot;3&amp;quot; color=&amp;quot;#ff0000&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/svg&amp;gt;&lt;br /&gt;
    &amp;lt;div type=&amp;quot;imtAnnotationLayer&amp;quot; n=&amp;quot;NB-B-17328_0&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;head&amp;gt;la chandelle allume la découverte.&amp;lt;/head&amp;gt;&lt;br /&gt;
        &amp;lt;p&amp;gt;Il a trouvé la cache.&amp;lt;/p&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
    &amp;lt;div type=&amp;quot;imtAnnotationLayer&amp;quot; n=&amp;quot;NB-B-17328_1&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;head&amp;gt;le couvercle de la malle&amp;lt;/head&amp;gt;&lt;br /&gt;
        &amp;lt;p&amp;gt;Il est pris sans vert&amp;lt;/p&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Uvic-fig2.gif|left|thumb|Screenshot from the UVic IMT interface.]]&lt;br /&gt;
[[Image:Uvic-fig3.gif|thumb|Browser view of output from the UVic IMT.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(TEI examples from the UVic file example: http://www.tapor.uvic.ca/~mholmes/image_markup/Amant.xml)&lt;br /&gt;
&lt;br /&gt;
For more details on the TEI/SVG used by the IMT, see here: http://www.tapor.uvic.ca/~mholmes/image_markup/xml.php&lt;br /&gt;
&lt;br /&gt;
=Using METS to link text and image=&lt;br /&gt;
&lt;br /&gt;
==What is METS?==&lt;br /&gt;
*Metadata Encoding and Transmission Standard (http://www.loc.gov/standards/mets/)&lt;br /&gt;
*“a standard for encoding … metadata regarding objects within a digital library”&lt;br /&gt;
*Centered at the Library of Congress&lt;br /&gt;
*Developed out of the metadata specs from the LOC’s “Making of America 2” project (MOA2)&lt;br /&gt;
*Developed by librarians and archivists, for librarians and archivists&lt;br /&gt;
*Accepted standard with a broad user base (http://sunsite.berkeley.edu/mets/registry/)&lt;br /&gt;
*Unrelated to TEI&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
While a library may record descriptive metadata regarding a book in its collection, the book will not dissolve into a series of unconnected pages if the library fails to record structural metadata regarding the book's organization, nor will scholars be unable to evaluate the book's worth if the library fails to note that the book was produced using a Ryobi offset press.” (METS: An Overview and Tutorial)&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Why METS?==&lt;br /&gt;
*System to organize disparate parts and relate files (and pieces of files): &lt;br /&gt;
**Areas on images correspond with sections of text&lt;br /&gt;
**Areas on images relate to one another&lt;br /&gt;
**Areas of text relate to one another&lt;br /&gt;
*METS provides sections for defining the logical and/or physical structure of the digital object&lt;br /&gt;
**File Section (fileSec)&lt;br /&gt;
**Structural Map (structMap)&lt;br /&gt;
&lt;br /&gt;
==File Section==&lt;br /&gt;
“lists all files containing content which comprise the electronic versions of the digital object.”&lt;br /&gt;
*Similar to the EPT Image Catalog&lt;br /&gt;
&lt;br /&gt;
==Within the FileSec==&lt;br /&gt;
*FileSec consists of Groups of File Locaters&lt;br /&gt;
**File Group: contains related files&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&amp;lt;fileGrp USE=&amp;quot;facsimile&amp;quot;&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
**File: assigns the individual files unique identifiers&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&amp;lt;file ID=&amp;quot;C-Clbiv-69v&amp;quot; MIMETYPE=&amp;quot;image/tiff&amp;quot;&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
**File Locater: points to the location of the file, using xlink syntax&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&amp;lt;FLocat LOCTYPE=&amp;quot;URN&amp;quot; xlink:href=&amp;quot;images/C-Clbiv-69v.jpg&amp;quot;/&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Example (Images)===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;fileGrp USE=&amp;quot;facsimile&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;file ID=&amp;quot;C-Clbiv-69v&amp;quot; MIMETYPE=&amp;quot;image/tiff&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;FLocat LOCTYPE=&amp;quot;URN&amp;quot; xlink:href=&amp;quot;images/C-Clbiv-69v.tif&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;/file&amp;gt;&lt;br /&gt;
  &amp;lt;file ID=&amp;quot;C-Clbiv-70r&amp;quot; MIMETYPE=&amp;quot;image/tiff&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;FLocat LOCTYPE=&amp;quot;URN&amp;quot; xlink:href=&amp;quot;images/C-Clbiv-70r.tif&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/file&amp;gt;&lt;br /&gt;
…&lt;br /&gt;
&amp;lt;/fileGrp&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Example (Transcript)===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;fileGrp USE=&amp;quot;transcript&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;file ID=&amp;quot;id-pref-genesis&amp;quot; MIMETYPE=&amp;quot;text/xml&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;FLocat LOCTYPE=&amp;quot;URN&amp;quot; xlink:href=“transcription/pref-genesis.xml&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;/file&amp;gt;&lt;br /&gt;
  &amp;lt;file ID=&amp;quot;id-genesis&amp;quot; MIMETYPE=&amp;quot;text/xml&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;FLocat LOCTYPE=&amp;quot;URN&amp;quot; xlink:href=“transcription/genesis.xml&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;/file&amp;gt;&lt;br /&gt;
  &amp;lt;file ID=&amp;quot;id-exodus&amp;quot; MIMETYPE=&amp;quot;text/xml&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;FLocat LOCTYPE=&amp;quot;URN&amp;quot; xlink:href=“transcription/exodus.xml&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;/file&amp;gt;&lt;br /&gt;
…&lt;br /&gt;
&amp;lt;/fileGrp&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Structural Map==&lt;br /&gt;
“outlines a hierarchical structure for the digital library object, and links the elements of that structure to content files … that pertain to each element.”&lt;br /&gt;
*Organization may be logical or physical&lt;br /&gt;
*A single METS file may contain multiple structural maps&lt;br /&gt;
&lt;br /&gt;
==Within the StructMap==&lt;br /&gt;
*StructMap consists of organizational divisions, that may nest&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;div LABEL=&amp;quot;Genesis&amp;quot; ORDER=&amp;quot;2&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;div LABEL=&amp;quot;Folio 1v&amp;quot; ORDER=&amp;quot;2&amp;quot;&amp;gt;&lt;br /&gt;
   ...&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*The divisions contain pointers to the files, and areas of files, indexed in the fileSec&lt;br /&gt;
&amp;lt;pre&amp;gt; &lt;br /&gt;
&amp;lt;div LABEL=&amp;quot;Genesis&amp;quot; ORDER=&amp;quot;2&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;div LABEL=&amp;quot;Folio 1v&amp;quot; ORDER=&amp;quot;2&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;fptr FILEID=&amp;quot;C-Clbiv-1v&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;fptr&amp;gt;&lt;br /&gt;
      &amp;lt;area FILEID=&amp;quot;id-genesis&amp;quot; BEGIN=&amp;quot;1v.32&amp;quot; END=&amp;quot;1v.38&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/fptr&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Example (Basic)===&lt;br /&gt;
The first file pointer references the corresponding image file, while the second one references the corresponding line range (BEGIN and END) in the XML file (these are the values of, for example, @xml:id on &amp;amp;lt;lb/&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;div LABEL=&amp;quot;Folio 69v&amp;quot; ORDER=“139&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;fptr FILEID=&amp;quot;C-Clbiv-69v&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;fptr&amp;gt;&lt;br /&gt;
    &amp;lt;area FILEID=&amp;quot;id-genesis&amp;quot; BEGIN=&amp;quot;69v.1&amp;quot; END=&amp;quot;69v.12&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;/fptr&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div LABEL=&amp;quot;Folio 70r&amp;quot; ORDER=&amp;quot;140&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;fptr FILEID=&amp;quot;C-Clbiv-70r&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;fptr&amp;gt;&lt;br /&gt;
    &amp;lt;area FILEID=&amp;quot;id-genesis&amp;quot; BEGIN=&amp;quot;70r.1&amp;quot; END=&amp;quot;70r.38&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;/fptr&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Example (Advanced)===&lt;br /&gt;
*&amp;amp;lt;area&amp;gt;: reference coordinates within an image file. &lt;br /&gt;
**especially useful for extensively illustrated manuscripts &lt;br /&gt;
*create links between text and image.&lt;br /&gt;
**@COORDS in &amp;lt;area&amp;gt; for image files&lt;br /&gt;
**@BEGIN and @END in &amp;lt;area&amp;gt; for XML/TEI files&lt;br /&gt;
*Simplifies encoding:&lt;br /&gt;
**no need to define @COORDS to clutter up the TEI; &lt;br /&gt;
**no need to find a place to store a linking section in the TEI file &lt;br /&gt;
**no need to use the SVG namespace&lt;br /&gt;
**separate the objects (image and XML files) from the indexing of their relationships with one another&lt;br /&gt;
&lt;br /&gt;
[[Image:mets-fig1.gif|left|thumb|Advanced Example of using METS and TEI to link sections of text with sections of image]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 &amp;lt;div LABEL=&amp;quot;Folio 69v&amp;quot; ORDER=&amp;quot;139&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;div LABEL=&amp;quot;Annotation 1&amp;quot; &lt;br /&gt;
    &amp;lt;fptr&amp;gt;&lt;br /&gt;
      &amp;lt;area FILEID=&amp;quot;C-Clbiv-69v&amp;quot; COORDS=&amp;quot;40,12,975,121&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/fptr&amp;gt;&lt;br /&gt;
    &amp;lt;fptr&amp;gt;&lt;br /&gt;
       &amp;lt;area FILEID=&amp;quot;id-genesis&amp;quot; BEGIN=&amp;quot;69v.annot.1&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/fptr&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div LABEL=&amp;quot;Illustration 1&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;fptr&amp;gt; &lt;br /&gt;
      &amp;lt;area FILEID=&amp;quot;C-Clbiv-69v&amp;quot; COORDS=&amp;quot;96,87979,572&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/fptr&amp;gt;&lt;br /&gt;
    &amp;lt;fptr&amp;gt;&lt;br /&gt;
       &amp;lt;area FILEID=&amp;quot;id-genesis&amp;quot; BEGIN=&amp;quot;69v.illus.1&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/fptr&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div LABEL=&amp;quot;Text&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;fptr&amp;gt; &lt;br /&gt;
      &amp;lt;area FILEID=&amp;quot;C-Clbiv-69v&amp;quot; COORDS=&amp;quot;71,531,978,859&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/fptr&amp;gt;&lt;br /&gt;
    &amp;lt;fptr&amp;gt;&lt;br /&gt;
      &amp;lt;area FILEID=&amp;quot;id-genesis&amp;quot; BEGIN=&amp;quot;69v.1&amp;quot; END=&amp;quot;69v.9&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/fptr&amp;gt;&lt;br /&gt;
   &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=ALTO=&lt;br /&gt;
&lt;br /&gt;
[http://www.ccs-gmbh.com/alto/ ALTO (Analysed Layout and Text Object)] is an extension schema for METS, allowing the markup of layout information of digitised texts. It has had a bit of use in newspaper digitisation in the States, in the National Digital Newspaper Project.&lt;br /&gt;
&lt;br /&gt;
In summary, it defines digitised texts as consisting of &amp;quot;page&amp;quot; elements containing &amp;quot;blocks&amp;quot; which have rectangular coordinates assigned to them using attributes HPOS, VPOS, WIDTH, and HEIGHT, and also a ROTATION. Each block element's page is associated with image files with stand-off markup in the normal METS way. &lt;br /&gt;
&lt;br /&gt;
By contrast we need a different way to relate TEI content elements to pages, since the dominant hierarchy in TEI is logical rather than physical (i.e. div rather than page). &lt;br /&gt;
&lt;br /&gt;
[http://www.loc.gov/ndnp/alto_1-1-041.xsd XML Schema for ALTO]&lt;br /&gt;
&lt;br /&gt;
=Conclusions=&lt;br /&gt;
*Draft Recommendations for TEI Digital Facsimiles&lt;br /&gt;
**Not robust&lt;br /&gt;
**No specific image/text linking&lt;br /&gt;
**Based on TEI P3 (though updated on this page to TEI P5)&lt;br /&gt;
*Edition Production Technology (EPT)&lt;br /&gt;
**Designed for textual annotation, but can annotate illustrations as well&lt;br /&gt;
**Markup schema is not defined - editors can use their own markup schemas (requires @coords)&lt;br /&gt;
**Complex&lt;br /&gt;
**Dependent on editing software&lt;br /&gt;
**Supports most image file formats (jpeg, tiff, gif, bmp)&lt;br /&gt;
**No visualization outside of the editing environment&lt;br /&gt;
*UVic Image Annotation Tool&lt;br /&gt;
**Simple&lt;br /&gt;
**Annotates via description – no “text encoding” (i.e., cannot include in an electronic transcription)&lt;br /&gt;
**Based on accepted standards&lt;br /&gt;
**Markup schema is defined (extended TEI + SVG)&lt;br /&gt;
**Visualization through SVG-enabled browser&lt;br /&gt;
*METS&lt;br /&gt;
**Very complex&lt;br /&gt;
**Objects separate from indexes&lt;br /&gt;
**Flexible – can link many textual and image sections (Venetus A – link main text and several layers of annotations)&lt;br /&gt;
**No visualization (yet) for the more advanced image-text links&lt;/div&gt;</summary>
		<author><name>Conal</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.tei-c.org/index.php?title=LegacyFacsimileMarkup&amp;diff=2696</id>
		<title>LegacyFacsimileMarkup</title>
		<link rel="alternate" type="text/html" href="https://wiki.tei-c.org/index.php?title=LegacyFacsimileMarkup&amp;diff=2696"/>
		<updated>2006-07-25T06:48:19Z</updated>

		<summary type="html">&lt;p&gt;Conal: added ALTO references&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page includes some examples of different approaches for facsimile (image-based) markup.&lt;br /&gt;
&lt;br /&gt;
=P5 Guidelines, 22.3 (Specific Elements for Graphic Images)=&lt;br /&gt;
&lt;br /&gt;
The P5 Guidelines describe four elements for including graphic images in TEI documents:&lt;br /&gt;
&lt;br /&gt;
*figure: contains a block containing graphics, illustrations, or figures.&lt;br /&gt;
*graphic: indicates the location of an inline graphic, illustration, or figure.&lt;br /&gt;
*binaryObject: provides encoded binary data representing an inline graphic or other object.&lt;br /&gt;
*figdesc: contains a brief prose description of the appearance or content of a graphic figure, for use when documenting an image without displaying it.&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;figure&amp;gt; is the parent element for the others. &amp;amp;lt;figure&amp;gt; may also contain &amp;lt;head&amp;gt; (a header or title) and &amp;amp;lt;p&amp;gt; (commentary or caption, not a description of the image):&lt;br /&gt;
&lt;br /&gt;
Figure is also self-nesting, which allows for description of image fragments, though as TEI is now described those image fragments would have to be separate image files. Would it be useful to instead have a way to note coordinates using an attribute or attributes in &amp;amp;lt;graphic&amp;gt;? (@mets:coords or @svg coordinate attributes; see [[TEI_to_SVG#Mapping_attributes]]):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 &amp;lt;figure&amp;gt;&lt;br /&gt;
  &amp;lt;head&amp;gt;My entire image&amp;lt;/head&amp;gt;&lt;br /&gt;
       &amp;lt;graphic.../&amp;gt;&lt;br /&gt;
   &amp;lt;figure&amp;gt;&lt;br /&gt;
      &amp;lt;head&amp;gt;fragment 1&amp;lt;/head&amp;gt;&lt;br /&gt;
      &amp;lt;graphic.../&amp;gt;&lt;br /&gt;
  &amp;lt;/figure&amp;gt;&lt;br /&gt;
   &amp;lt;figure&amp;gt;&lt;br /&gt;
      &amp;lt;head&amp;gt;fragment 2&amp;lt;/head&amp;gt;&lt;br /&gt;
      &amp;lt;graphic.../&amp;gt;&lt;br /&gt;
  &amp;lt;/figure&amp;gt;&lt;br /&gt;
&amp;lt;/figure&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If a graphic contains a large amount of text, and the editor determines that the graphic actually contains that text (the text is not part of the surrounding text), &amp;amp;lt;figure&amp;gt; may contain &amp;amp;lt;text&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Linking Text &amp;amp; Image in P5==&lt;br /&gt;
&lt;br /&gt;
The Guidelines describes a number of ways to link text and image using methods described fully in [http://www.tei-c.org/release/doc/tei-p5-doc/html/SA.html 14 Linking, Segmentation, and Alignment]. &lt;br /&gt;
&lt;br /&gt;
===Linking thumbnails to full-resolution images===&lt;br /&gt;
To link thumbnails to larger images, create a &amp;lt;ref&amp;gt; tag that points to the xml:id of the corresponding figure. Include the thumbnail as a graphic in the &amp;lt;ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 &amp;lt;ref target=&amp;quot;#IM1&amp;quot;&amp;gt;Click here&lt;br /&gt;
   &amp;lt;graphic url=&amp;quot;fig1th.png&amp;quot;/&amp;gt;&lt;br /&gt;
   for enlightenment&lt;br /&gt;
 &amp;lt;/ref&amp;gt;&lt;br /&gt;
 &amp;lt;figure xml:id=&amp;quot;IM1&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;graphic url=&amp;quot;fig1.jpg&amp;quot;/&amp;gt;&lt;br /&gt;
 &amp;lt;/figure&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Associate images/parts of images with text elements===&lt;br /&gt;
Use the linking mechanism described in [http://www.tei-c.org/release/doc/tei-p5-doc/html/SA.html 14 Linking, Segmentation, and Alignment] to link together a figure (the example in the guidelines uses an external SVG file, parts of which are identified with xml:ids) and TEI elements (which are likewise identified using xml:ids).&lt;br /&gt;
&lt;br /&gt;
First, we use pointers to the graphic image:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 &amp;lt;ptr xml:id=&amp;quot;PD1&amp;quot; target=&amp;quot;Fig1.svg#object1&amp;quot;/&amp;gt;&lt;br /&gt;
 &amp;lt;ptr xml:id=&amp;quot;PD2&amp;quot; target=&amp;quot;Fig1.svg#object2&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These point inside the SVG file:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;svg width=&amp;quot;8cm&amp;quot; height=&amp;quot;3cm&amp;quot; viewBox=&amp;quot;2 1 8 3&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;g id=&amp;quot;object1&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;ellipse style=&amp;quot;fill: #ffffff&amp;quot; cx=&amp;quot;3.875&amp;quot; cy=&amp;quot;3.025&amp;quot; rx=&amp;quot;1.175&amp;quot; ry=&amp;quot;1.175&amp;quot;/&amp;gt;&lt;br /&gt;
 &amp;lt;/g&amp;gt;&lt;br /&gt;
 &amp;lt;g id=&amp;quot;object2&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;rect style=&amp;quot;fill: #a81616&amp;quot; x=&amp;quot;7.8&amp;quot; y=&amp;quot;1.9&amp;quot; width=&amp;quot;2.17581&amp;quot; height=&amp;quot;2.24833&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/g&amp;gt;&lt;br /&gt;
&amp;lt;/svg&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Areas in the TEI file are also uniquely identified:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 &amp;lt;div1 type=&amp;quot;chapter&amp;quot; xml:id=&amp;quot;CHAP1&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- ... --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;/div1&amp;gt;&lt;br /&gt;
 &amp;lt;div1 type=&amp;quot;chapter&amp;quot; xml:id=&amp;quot;CHAP2&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- ... --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;/div1&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then we can use a linkgroup to pull this all together:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 &amp;lt;linkGrp type=&amp;quot;callout&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;link targets=&amp;quot;#CHAP1 #PD1&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;link targets=&amp;quot;#CHAP2 #PD2&amp;quot;/&amp;gt;&lt;br /&gt;
 &amp;lt;/linkGrp&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Draft Recommendations for TEI Digital Facsimiles=&lt;br /&gt;
&lt;br /&gt;
http://users.ox.ac.uk/~lou/wip/digfax.html&lt;br /&gt;
&lt;br /&gt;
This document, authored by Richard Gartner and Lou Burnard and last updated in 2001, outlines ways to use TEI to represent three types of digital objects:&lt;br /&gt;
&lt;br /&gt;
*complete digital transcriptions of the content of manuscript or print originals (possibly including illustrations as well as text)&lt;br /&gt;
*collections of digitized page images (''digital facsimiles'') intended for use as surrogates for complete manuscript or print originals&lt;br /&gt;
*digital objects (''digital editions'') combining both page facsimiles and transcriptions, possibly also including layers of editorial annotation&lt;br /&gt;
&lt;br /&gt;
The authors attempt to address these areas of concern:&lt;br /&gt;
&lt;br /&gt;
*the need to distinguish images of a manuscript or print source from images located within it;&lt;br /&gt;
*the need to support multiple formats of a single image;&lt;br /&gt;
*the need to associate metadata at different levels (e.g. collection level, item level);&lt;br /&gt;
*the need to associate transcription and facsimile in a standard way;&lt;br /&gt;
*the need to define practices which can be used equally well in both SGML and XML environments;&lt;br /&gt;
*the desire to avoid special purpose rules which assume nonstandard or ad hoc processing rules.&lt;br /&gt;
&lt;br /&gt;
==Case 1: Transcription==&lt;br /&gt;
&lt;br /&gt;
Updated to cite chapters in P5:&lt;br /&gt;
&lt;br /&gt;
The content of a transcription should be marked up as a single &amp;amp;lt;TEI&amp;gt; element using the standard TEI elements &amp;amp;lt;text&amp;gt;, &amp;amp;lt;body&amp;gt;, &amp;amp;lt;div&amp;gt;, etc. from the TEI core tag sets.&lt;br /&gt;
&lt;br /&gt;
Follow the Guidelines chapters 18 [http://www.tei-c.org/release/doc/tei-p5-doc/html/PH.html Transcription of Primary Resources] and 13 [http://www.tei-c.org/release/doc/tei-p5-doc/html/MS.html Manuscript Description]. &lt;br /&gt;
&lt;br /&gt;
If the source contains &amp;quot;significant illustrative material&amp;quot;, use &amp;amp;lt;figure&amp;gt; (and children) from Guidelines chapter 22 [http://www.tei-c.org/release/doc/tei-p5-doc/html/FT.html Tables, Formulae, and Graphics] to insert illustrations in their proper location in the transcript.&lt;br /&gt;
&lt;br /&gt;
[[Image:Teidr-fig1.gif|left|thumb|Example of the TEI &amp;lt;figure&amp;gt; element.]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;lb n=&amp;quot;12&amp;quot;/&amp;gt;feond mid his geferum eallum. Feollon þa ufon &lt;br /&gt;
&amp;lt;lb n=&amp;quot;13&amp;quot;/&amp;gt;of heofnum þurhlonge swa þreo niht and da&lt;br /&gt;
&amp;lt;lb n=&amp;quot;14&amp;quot;/&amp;gt;gas, þa englas of heofnum on helle, and heo ealle &lt;br /&gt;
&amp;lt;lb n=&amp;quot;15&amp;quot;/&amp;gt;forsceop drihten to deoflum. &lt;br /&gt;
&lt;br /&gt;
  &amp;lt;figure&amp;gt;&lt;br /&gt;
    &amp;lt;head&amp;gt;Fall of the Angels&amp;lt;/head&amp;gt;&lt;br /&gt;
    &amp;lt;figDesc&amp;gt;Above, God, cross-nimbed, beardless, and holding a closed book, &lt;br /&gt;
    accompanied by three angels, turns and gestures toward three angels on &lt;br /&gt;
    the left, one of whom (Lucifer?) holds a palm frond ...&amp;lt;/figDesc&amp;gt;&lt;br /&gt;
  &amp;lt;/figure&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pb n=&amp;quot;17&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Case 2: Digital Facsimile==&lt;br /&gt;
&lt;br /&gt;
Should be marked as a separate &amp;lt;TEI&amp;gt; element. TEI structural tags may be used, but need not be, especially if differences between textual structure and physical structure cause overlap.&lt;br /&gt;
&lt;br /&gt;
Each distinct image making up the facsimile should be encoded as a &amp;lt;figure&amp;gt; element, arranged in the normal reading sequence of the facsimile. The appropriate milestone element (&amp;lt;pb/&amp;gt; or &amp;lt;cb/&amp;gt;) should be used at the appropriate place in the facsimile.&lt;br /&gt;
&lt;br /&gt;
[[Image:Teidr-fig2.gif|left|thumb|Example of the TEI &amp;lt;figure&amp;gt; element with reference to manuscript folio number.]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;pb n=&amp;quot;16&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;figure n=&amp;quot;16&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;figDesc&amp;gt;[Page 16: 15 lines of text followed by image of &amp;quot;Fall of Angels&amp;quot; &lt;br /&gt;
    (Ohlgren 16.11)]&amp;lt;/figDesc&amp;gt;&lt;br /&gt;
&amp;lt;/figure&amp;gt;&lt;br /&gt;
&amp;lt;pb n=&amp;quot;17&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;figure n=&amp;quot;17&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;figDesc&amp;gt;[Page 17: 15 lines of text followed by image of  &amp;quot;Fall of Angels&amp;quot; &lt;br /&gt;
    (Ohlgren 16.12)]&amp;lt;/figDesc&amp;gt;&lt;br /&gt;
&amp;lt;/figure&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;figure&amp;gt; elements may be self-nested to show that one image logically contains others (in cases where two image fit together to form one larger image).&lt;br /&gt;
&lt;br /&gt;
[[Image:Teidr-fig3.gif|left|thumb|Example of nesting TEI &amp;lt;figure&amp;gt; elements.]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;figure n=&amp;quot;16&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;figDesc&amp;gt;&lt;br /&gt;
    &amp;lt;figure&amp;gt;&lt;br /&gt;
      &amp;lt;figDesc&amp;gt;[Page 16: 15 lines of text (detail of upper part)]&amp;lt;/figDesc&amp;gt;&lt;br /&gt;
    &amp;lt;/figure&amp;gt;&lt;br /&gt;
    &amp;lt;figure&amp;gt;&lt;br /&gt;
      &amp;lt;figDesc&amp;gt;[Page 16: Image of &amp;quot;Fall of Angels&amp;quot; (Ohlgren 16.11) (detail of lower part)&amp;lt;/figDesc&amp;gt;&lt;br /&gt;
    &amp;lt;/figure&amp;gt;&lt;br /&gt;
  &amp;lt;/figDesc&amp;gt;&lt;br /&gt;
&amp;lt;/figure&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==3: Techniques for Referencing Images==&lt;br /&gt;
&lt;br /&gt;
Recommends declaring the file containing the image as an external entity and then referencing that entity using the &amp;quot;entity&amp;quot; attribute in &amp;lt;figure&amp;gt;. This approach depends on the use of the DTD (no longer practical given the TEI's move towards using the RelaxNG schema), and relies on an attribute that is no longer included in P5. &lt;br /&gt;
&lt;br /&gt;
In TEI P5 there are also two new elements, &amp;lt;graphic&amp;gt; and &amp;lt;binaryObject&amp;gt; which may be used to represent image references or images respectively. These permit the encoding of figures containing multiple images, for example.  The &amp;lt;graphic&amp;gt; element has a &amp;quot;url&amp;quot; attribute which enables the association of a &amp;lt;figure&amp;gt; with its corresponding image file. The recommendations in Gartner and Burnard need to be revised substantially in this respect.  &lt;br /&gt;
&lt;br /&gt;
[[Image:Teidr-fig4.gif|left|thumb|Example of the TEI &amp;lt;graphic&amp;gt; element with reference to image file URL]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;pb n=&amp;quot;16&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;figure n=&amp;quot;16&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;figDesc&amp;gt;[Page 16: 15 lines of text followed by image of &amp;quot;Fall of Angels&amp;quot; &lt;br /&gt;
    (Ohlgren 16.11)]&amp;lt;/figDesc&amp;gt;&lt;br /&gt;
    &amp;lt;graphic url=&amp;quot;http://image.ox.ac.uk/images/bodleian/msjunius11/16.jpg&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/figure&amp;gt;&lt;br /&gt;
&amp;lt;pb n=&amp;quot;17&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;figure n=&amp;quot;17&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;figDesc&amp;gt;[Page 17: 15 lines of text followed by image of  &amp;quot;Fall of Angels&amp;quot; &lt;br /&gt;
    (Ohlgren 16.12)]&amp;lt;/figDesc&amp;gt;&lt;br /&gt;
    &amp;lt;graphic url=&amp;quot;http://image.ox.ac.uk/images/bodleian/msjunius11/17.jpg&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/figure&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;figure&amp;gt; may contain more than one graphic, so it is possible to relate multiple image files to a single physical object:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
            &amp;lt;pb n=&amp;quot;16&amp;quot;/&amp;gt;&lt;br /&gt;
            &amp;lt;figure n=&amp;quot;16&amp;quot;&amp;gt;&lt;br /&gt;
                &amp;lt;figDesc&amp;gt;[Page 16: 15 lines of text followed by image of &amp;quot;Fall of Angels&amp;quot; (Ohlgren&lt;br /&gt;
                    16.11)]&amp;lt;/figDesc&amp;gt;&lt;br /&gt;
                &amp;lt;graphic n=&amp;quot;daylight&amp;quot; url=&amp;quot;http://image.ox.ac.uk/images/bodleian/msjunius11/16.jpg&amp;quot;/&amp;gt;&lt;br /&gt;
                &amp;lt;graphic n=&amp;quot;uv&amp;quot; url=&amp;quot;http://image.ox.ac.uk/images/bodleian/msjunius11/UV/16.jpg&amp;quot;/&amp;gt;&lt;br /&gt;
            &amp;lt;/figure&amp;gt;&lt;br /&gt;
            &amp;lt;pb n=&amp;quot;17&amp;quot;/&amp;gt;&lt;br /&gt;
            &amp;lt;figure n=&amp;quot;17&amp;quot;&amp;gt;&lt;br /&gt;
                &amp;lt;figDesc&amp;gt;[Page 17: 15 lines of text followed by image of &amp;quot;Fall of Angels&amp;quot; (Ohlgren&lt;br /&gt;
                    16.12)]&amp;lt;/figDesc&amp;gt;&lt;br /&gt;
                &amp;lt;graphic n=&amp;quot;daylight&amp;quot; url=&amp;quot;http://image.ox.ac.uk/images/bodleian/msjunius11/17.jpg&amp;quot;/&amp;gt;&lt;br /&gt;
                &amp;lt;graphic n=&amp;quot;uv&amp;quot; url=&amp;quot;http://image.ox.ac.uk/images/bodleian/msjunius11/UV/17.jpg&amp;quot;/&amp;gt;&lt;br /&gt;
            &amp;lt;/figure&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Other options mentioned in the recommendation: Xlink or Xinclude.&lt;br /&gt;
&lt;br /&gt;
==4: Aligning transcription and facsimile==&lt;br /&gt;
&lt;br /&gt;
The TEI Guidelines propose a number of methods for aligning parts of a document (see www.tei-c.org/Guidelines/SA). These may be briefly summarized as follows &lt;br /&gt;
*use the @corresp attribute to assert that a &amp;lt;pb&amp;gt; (or other reference point) in the transcription corresponds with a &amp;lt;pb&amp;gt; in the facsimile (or the reverse);&lt;br /&gt;
*alternatively, use a stand-off &amp;lt;link&amp;gt; element to assert the association between the two &amp;lt;pb&amp;gt; elements; &lt;br /&gt;
*for cross-document linking, an intermediate &amp;lt;xptr&amp;gt; may be used as the target.&lt;br /&gt;
(see [http://www.tei-c.org/release/doc/tei-p5-doc/html/SA.html Chapter 14 Linking, Segmentation, and Alignment]).&lt;br /&gt;
&lt;br /&gt;
[[Image:Teidr-fig5.gif|left|thumb|Example of linking image file with transcription using @corresp on &amp;lt;pb&amp;gt;.]]&lt;br /&gt;
&lt;br /&gt;
=Method used by the Edition Production Technology (EPT): Link text and images=&lt;br /&gt;
&lt;br /&gt;
The EPT (now EPPT: http://beowulf.engl.uky.edu/~eft/EPPT-Demo.html) uses a system combining a Image Catalog combined with a special attribute for coordinates to enable linking between text and image. For more details, see here: http://beowulf.engl.uky.edu/~kiernan/eBoethius/tech.htm#tech.&lt;br /&gt;
&lt;br /&gt;
==Image Catalog==&lt;br /&gt;
&lt;br /&gt;
The Image Catalog is a simple XML file that consists of lists of image files organized by category. There is one category for every set of image files for a given source. &lt;br /&gt;
*daylight (images taken under regular lighting)&lt;br /&gt;
*ultraviolet (images taken under ultraviolet lighting)&lt;br /&gt;
*microfilm (images scanned from microfilm)&lt;br /&gt;
&lt;br /&gt;
Categories are assigned unique IDs.&lt;br /&gt;
&lt;br /&gt;
Within each category, the user associates each file with an ID that is ''unique within the category''. IDs will repeat across categories. Essentially, these IDs associate the files with the same object, which may be represented by multiple images.&lt;br /&gt;
&lt;br /&gt;
[[Image:Ept-fig1.gif|left|thumb|Example of the EPT Image Catalog configuration file.]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;category name=&amp;quot;daylight&amp;quot; id=&amp;quot;d&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;file name=&amp;quot;aih0244-JPG.jpg&amp;quot; id=&amp;quot;5v&amp;quot; /&amp;gt;&lt;br /&gt;
  &amp;lt;file name=&amp;quot;aih0245-JPG.jpg&amp;quot; id=&amp;quot;6r&amp;quot; /&amp;gt;&lt;br /&gt;
  &amp;lt;file name=&amp;quot;aih0242-JPG.jpg&amp;quot; id=&amp;quot;6v&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/category&amp;gt;&lt;br /&gt;
&amp;lt;category name=&amp;quot;ultraviolet&amp;quot; id=&amp;quot;u&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;file name=&amp;quot;uv-5v.jpg&amp;quot; id=&amp;quot;5v&amp;quot; /&amp;gt;&lt;br /&gt;
  &amp;lt;file name=&amp;quot;uv-6r.jpg&amp;quot; id=&amp;quot;6r&amp;quot; /&amp;gt;&lt;br /&gt;
  &amp;lt;file name=&amp;quot;uv-6v.jpg&amp;quot; id=&amp;quot;6v&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/category&amp;gt;&lt;br /&gt;
&amp;lt;category name=&amp;quot;microfilm&amp;quot; id=&amp;quot;m&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;file name=&amp;quot;mf-5v.jpg&amp;quot; id=&amp;quot;5v&amp;quot; /&amp;gt;&lt;br /&gt;
  &amp;lt;file name=&amp;quot;mf-6r.jpg&amp;quot; id=&amp;quot;6r&amp;quot; /&amp;gt;&lt;br /&gt;
  &amp;lt;file name=&amp;quot;mf-6v.jpg&amp;quot; id=&amp;quot;6v&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/category&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The file IDs from image catalog are then associated with an attribute within the text markup itself. The attribute used is configured by the user; for the Electronic Boethius, we used the attribute ''n'' in the element ''&amp;lt;fol&amp;gt;'' (folio). The content for each folio is thus associated with the correct image files (from every category):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;fol n=&amp;quot;5v&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
points to &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;daylight&amp;gt;&amp;lt;file id=&amp;quot;5v&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;ultraviolet&amp;gt;&amp;lt;file id=“5v”/&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;microfilm&amp;gt;&amp;lt;file id=“5v”/&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Ept-fig2.gif|left|thumb|Example of EPT Image Catalog links image files with sections of text.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Attribute for Coordinates==&lt;br /&gt;
&lt;br /&gt;
A TEI element can be associated with a rectangular region of an image by encoding the co-ordinates of the region's corners as an attribute of that element. The EPT allows the user to assign an attribute (Electronic Boethius uses ''coords''). In whatever elements that attribute is defined, the coordinates, selected by the editor, are automatically entered by the software. The ID assigned to the categories in the Image Catalog are appended to the beginning of the coordinates. &lt;br /&gt;
&lt;br /&gt;
[[Image:Ept-fig3.gif|left|thumb|Example of @coords on &amp;lt;figure&amp;gt;.]]&lt;br /&gt;
[[Image:Ept-fig4.gif|thumb|Screenshot of EPPT]]&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;damage coords=&amp;quot;d:1058,738,1093,798&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Method used by the UVic Image Markup Tool: Annotate images=&lt;br /&gt;
&lt;br /&gt;
The UVic Image Markup Tool (http://www.tapor.uvic.ca/~mholmes/image_markup/) uses TEI, modified to allow for the inclusion of SVG (http://www.w3.org/Graphics/SVG/), to create a system for annotating images.&lt;br /&gt;
&lt;br /&gt;
Stated goals of the Tool:&lt;br /&gt;
&lt;br /&gt;
*be simple for novices to use &lt;br /&gt;
*load and display a wide variety of different image formats &lt;br /&gt;
*allow the user to specify arbitrary rectangles on the image, and associate them with annotations &lt;br /&gt;
*allow such rectangles to overlap if the user wishes &lt;br /&gt;
*provide mechanisms for bringing overlapped rectangles to the front easily &lt;br /&gt;
*allow annotations to be grouped into categories, distinguished by name and appearance, to allow different classes of annotation &lt;br /&gt;
*require no significant knowledge of XML or TEI &lt;br /&gt;
*allow the use of XML code if the user wishes &lt;br /&gt;
*save data in an XML file which conforms to a TEI P5-based schema &lt;br /&gt;
*reload data from its own files &lt;br /&gt;
*generate a simple &amp;quot;Web view&amp;quot; of the data for display in a browser &lt;br /&gt;
*come packaged with an installer, Help file, and basic tutorial &lt;br /&gt;
*be simple for novices to use! &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Simplified example from the IMT web:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;TEI&amp;gt;&lt;br /&gt;
    &amp;lt;teiHeader&amp;gt;&lt;br /&gt;
        &amp;lt;!-- ...header content... --&amp;gt;&lt;br /&gt;
    &amp;lt;/teiHeader&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;&lt;br /&gt;
        &amp;lt;body&amp;gt;&lt;br /&gt;
            &amp;lt;!-- ...TEI content... --&amp;gt;&lt;br /&gt;
            &amp;lt;div type=&amp;quot;imtAnnotatedImage&amp;quot;&amp;gt;&lt;br /&gt;
                &amp;lt;svg xmlns=&amp;quot;http://www.w3.org/2000/svg&amp;quot;&amp;gt;&lt;br /&gt;
                    &amp;lt;!-- ...svg content... --&amp;gt;&lt;br /&gt;
                    &amp;lt;image&amp;gt;&lt;br /&gt;
                      &amp;lt;!-- Image file is linked in here --&amp;gt;&lt;br /&gt;
                    &amp;lt;/image&amp;gt;&lt;br /&gt;
                    &amp;lt;rect&amp;gt;&lt;br /&gt;
                      &amp;lt;!-- Annotation area on the image defined here --&amp;gt;&lt;br /&gt;
                    &amp;lt;/rect&amp;gt;&lt;br /&gt;
                &amp;lt;/svg&amp;gt;&lt;br /&gt;
                &amp;lt;div type=&amp;quot;imtAnnotationLayer&amp;quot;&amp;gt;&lt;br /&gt;
                    &amp;lt;!-- Annotation content goes here --&amp;gt;&lt;br /&gt;
                &amp;lt;/div&amp;gt;&lt;br /&gt;
            &amp;lt;/div&amp;gt;&lt;br /&gt;
            &amp;lt;!-- ...TEI content... --&amp;gt;&lt;br /&gt;
        &amp;lt;/body&amp;gt;&lt;br /&gt;
    &amp;lt;/text&amp;gt;&lt;br /&gt;
&amp;lt;/TEI&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Using this system, a user can annotate many sections of a single image. Unlike the EPT system described above, in which the coordinates are stored directly in the element, here the image coordinates are stored in a separate section and linked to the annotations using unique IDs (''svg:id'' in ''&amp;lt;rect&amp;gt;'') to link the areas to the annotation content (''n'' in ''&amp;amp;lt;div type=&amp;quot;imtAnnotationLayer&amp;quot;&amp;gt;'').&lt;br /&gt;
&lt;br /&gt;
[[Image:Uvic-fig1.gif|left|thumb|Example of the coordinate system used by the UVic IMT.]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;div type=&amp;quot;imtAnnotatedImage&amp;quot; xml:id=&amp;quot;NB-B-17328&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;svg xmlns=&amp;quot;http://www.w3.org/2000/svg&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;image xmlns:xlink=&amp;quot;http://www.w3.org/1999/xlink&amp;quot; xlink:href=&amp;quot;NB-B-17328.jpg&amp;quot; width=&amp;quot;5060&amp;quot; height=&amp;quot;6025&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;title&amp;gt;NB-B-17328.jpg&amp;lt;/title&amp;gt;&lt;br /&gt;
        &amp;lt;desc&amp;gt;5060 x 6025&amp;lt;/desc&amp;gt;&lt;br /&gt;
        &amp;lt;rect svg:id=&amp;quot;NB-B-17328_0&amp;quot; x=&amp;quot;4287&amp;quot; y=&amp;quot;1412&amp;quot; width=&amp;quot;580&amp;quot; height=&amp;quot;426&amp;quot; style=&amp;quot;3&amp;quot; color=&amp;quot;#ff0000&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;rect svg:id=&amp;quot;NB-B-17328_1&amp;quot; x=&amp;quot;4067&amp;quot; y=&amp;quot;2019&amp;quot; width=&amp;quot;720&amp;quot; height=&amp;quot;747&amp;quot; style=&amp;quot;3&amp;quot; color=&amp;quot;#ff0000&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/svg&amp;gt;&lt;br /&gt;
    &amp;lt;div type=&amp;quot;imtAnnotationLayer&amp;quot; n=&amp;quot;NB-B-17328_0&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;head&amp;gt;la chandelle allume la découverte.&amp;lt;/head&amp;gt;&lt;br /&gt;
        &amp;lt;p&amp;gt;Il a trouvé la cache.&amp;lt;/p&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
    &amp;lt;div type=&amp;quot;imtAnnotationLayer&amp;quot; n=&amp;quot;NB-B-17328_1&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;head&amp;gt;le couvercle de la malle&amp;lt;/head&amp;gt;&lt;br /&gt;
        &amp;lt;p&amp;gt;Il est pris sans vert&amp;lt;/p&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Uvic-fig2.gif|left|thumb|Screenshot from the UVic IMT interface.]]&lt;br /&gt;
[[Image:Uvic-fig3.gif|thumb|Browser view of output from the UVic IMT.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(TEI examples from the UVic file example: http://www.tapor.uvic.ca/~mholmes/image_markup/Amant.xml)&lt;br /&gt;
&lt;br /&gt;
For more details on the TEI/SVG used by the IMT, see here: http://www.tapor.uvic.ca/~mholmes/image_markup/xml.php&lt;br /&gt;
&lt;br /&gt;
=Using METS to link text and image=&lt;br /&gt;
&lt;br /&gt;
==What is METS?==&lt;br /&gt;
*Metadata Encoding and Transmission Standard (http://www.loc.gov/standards/mets/)&lt;br /&gt;
*“a standard for encoding … metadata regarding objects within a digital library”&lt;br /&gt;
*Centered at the Library of Congress&lt;br /&gt;
*Developed out of the metadata specs from the LOC’s “Making of America 2” project (MOA2)&lt;br /&gt;
*Developed by librarians and archivists, for librarians and archivists&lt;br /&gt;
*Accepted standard with a broad user base (http://sunsite.berkeley.edu/mets/registry/)&lt;br /&gt;
*Unrelated to TEI&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
While a library may record descriptive metadata regarding a book in its collection, the book will not dissolve into a series of unconnected pages if the library fails to record structural metadata regarding the book's organization, nor will scholars be unable to evaluate the book's worth if the library fails to note that the book was produced using a Ryobi offset press.” (METS: An Overview and Tutorial)&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Why METS?==&lt;br /&gt;
*System to organize disparate parts and relate files (and pieces of files): &lt;br /&gt;
**Areas on images correspond with sections of text&lt;br /&gt;
**Areas on images relate to one another&lt;br /&gt;
**Areas of text relate to one another&lt;br /&gt;
*METS provides sections for defining the logical and/or physical structure of the digital object&lt;br /&gt;
**File Section (fileSec)&lt;br /&gt;
**Structural Map (structMap)&lt;br /&gt;
&lt;br /&gt;
==File Section==&lt;br /&gt;
“lists all files containing content which comprise the electronic versions of the digital object.”&lt;br /&gt;
*Similar to the EPT Image Catalog&lt;br /&gt;
&lt;br /&gt;
==Within the FileSec==&lt;br /&gt;
*FileSec consists of Groups of File Locaters&lt;br /&gt;
**File Group: contains related files&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&amp;lt;fileGrp USE=&amp;quot;facsimile&amp;quot;&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
**File: assigns the individual files unique identifiers&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&amp;lt;file ID=&amp;quot;C-Clbiv-69v&amp;quot; MIMETYPE=&amp;quot;image/tiff&amp;quot;&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
**File Locater: points to the location of the file, using xlink syntax&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&amp;lt;FLocat LOCTYPE=&amp;quot;URN&amp;quot; xlink:href=&amp;quot;images/C-Clbiv-69v.jpg&amp;quot;/&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Example (Images)===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;fileGrp USE=&amp;quot;facsimile&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;file ID=&amp;quot;C-Clbiv-69v&amp;quot; MIMETYPE=&amp;quot;image/tiff&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;FLocat LOCTYPE=&amp;quot;URN&amp;quot; xlink:href=&amp;quot;images/C-Clbiv-69v.tif&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;/file&amp;gt;&lt;br /&gt;
  &amp;lt;file ID=&amp;quot;C-Clbiv-70r&amp;quot; MIMETYPE=&amp;quot;image/tiff&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;FLocat LOCTYPE=&amp;quot;URN&amp;quot; xlink:href=&amp;quot;images/C-Clbiv-70r.tif&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/file&amp;gt;&lt;br /&gt;
…&lt;br /&gt;
&amp;lt;/fileGrp&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Example (Transcript)===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;fileGrp USE=&amp;quot;transcript&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;file ID=&amp;quot;id-pref-genesis&amp;quot; MIMETYPE=&amp;quot;text/xml&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;FLocat LOCTYPE=&amp;quot;URN&amp;quot; xlink:href=“transcription/pref-genesis.xml&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;/file&amp;gt;&lt;br /&gt;
  &amp;lt;file ID=&amp;quot;id-genesis&amp;quot; MIMETYPE=&amp;quot;text/xml&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;FLocat LOCTYPE=&amp;quot;URN&amp;quot; xlink:href=“transcription/genesis.xml&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;/file&amp;gt;&lt;br /&gt;
  &amp;lt;file ID=&amp;quot;id-exodus&amp;quot; MIMETYPE=&amp;quot;text/xml&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;FLocat LOCTYPE=&amp;quot;URN&amp;quot; xlink:href=“transcription/exodus.xml&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;/file&amp;gt;&lt;br /&gt;
…&lt;br /&gt;
&amp;lt;/fileGrp&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Structural Map==&lt;br /&gt;
“outlines a hierarchical structure for the digital library object, and links the elements of that structure to content files … that pertain to each element.”&lt;br /&gt;
*Organization may be logical or physical&lt;br /&gt;
*A single METS file may contain multiple structural maps&lt;br /&gt;
&lt;br /&gt;
==Within the StructMap==&lt;br /&gt;
*StructMap consists of organizational divisions, that may nest&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;div LABEL=&amp;quot;Genesis&amp;quot; ORDER=&amp;quot;2&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;div LABEL=&amp;quot;Folio 1v&amp;quot; ORDER=&amp;quot;2&amp;quot;&amp;gt;&lt;br /&gt;
   ...&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*The divisions contain pointers to the files, and areas of files, indexed in the fileSec&lt;br /&gt;
&amp;lt;pre&amp;gt; &lt;br /&gt;
&amp;lt;div LABEL=&amp;quot;Genesis&amp;quot; ORDER=&amp;quot;2&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;div LABEL=&amp;quot;Folio 1v&amp;quot; ORDER=&amp;quot;2&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;fptr FILEID=&amp;quot;C-Clbiv-1v&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;fptr&amp;gt;&lt;br /&gt;
      &amp;lt;area FILEID=&amp;quot;id-genesis&amp;quot; BEGIN=&amp;quot;1v.32&amp;quot; END=&amp;quot;1v.38&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/fptr&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Example (Basic)===&lt;br /&gt;
The first file pointer references the corresponding image file, while the second one references the corresponding line range (BEGIN and END) in the XML file (these are the values of, for example, @xml:id on &amp;amp;lt;lb/&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;div LABEL=&amp;quot;Folio 69v&amp;quot; ORDER=“139&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;fptr FILEID=&amp;quot;C-Clbiv-69v&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;fptr&amp;gt;&lt;br /&gt;
    &amp;lt;area FILEID=&amp;quot;id-genesis&amp;quot; BEGIN=&amp;quot;69v.1&amp;quot; END=&amp;quot;69v.12&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;/fptr&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div LABEL=&amp;quot;Folio 70r&amp;quot; ORDER=&amp;quot;140&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;fptr FILEID=&amp;quot;C-Clbiv-70r&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;fptr&amp;gt;&lt;br /&gt;
    &amp;lt;area FILEID=&amp;quot;id-genesis&amp;quot; BEGIN=&amp;quot;70r.1&amp;quot; END=&amp;quot;70r.38&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;/fptr&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Example (Advanced)===&lt;br /&gt;
*&amp;amp;lt;area&amp;gt;: reference coordinates within an image file. &lt;br /&gt;
**especially useful for extensively illustrated manuscripts &lt;br /&gt;
*create links between text and image.&lt;br /&gt;
**@COORDS in &amp;lt;area&amp;gt; for image files&lt;br /&gt;
**@BEGIN and @END in &amp;lt;area&amp;gt; for XML/TEI files&lt;br /&gt;
*Simplifies encoding:&lt;br /&gt;
**no need to define @COORDS to clutter up the TEI; &lt;br /&gt;
**no need to find a place to store a linking section in the TEI file &lt;br /&gt;
**no need to use the SVG namespace&lt;br /&gt;
**separate the objects (image and XML files) from the indexing of their relationships with one another&lt;br /&gt;
&lt;br /&gt;
[[Image:mets-fig1.gif|left|thumb|Advanced Example of using METS and TEI to link sections of text with sections of image]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 &amp;lt;div LABEL=&amp;quot;Folio 69v&amp;quot; ORDER=&amp;quot;139&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;div LABEL=&amp;quot;Annotation 1&amp;quot; &lt;br /&gt;
    &amp;lt;fptr&amp;gt;&lt;br /&gt;
      &amp;lt;area FILEID=&amp;quot;C-Clbiv-69v&amp;quot; COORDS=&amp;quot;40,12,975,121&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/fptr&amp;gt;&lt;br /&gt;
    &amp;lt;fptr&amp;gt;&lt;br /&gt;
       &amp;lt;area FILEID=&amp;quot;id-genesis&amp;quot; BEGIN=&amp;quot;69v.annot.1&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/fptr&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div LABEL=&amp;quot;Illustration 1&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;fptr&amp;gt; &lt;br /&gt;
      &amp;lt;area FILEID=&amp;quot;C-Clbiv-69v&amp;quot; COORDS=&amp;quot;96,87979,572&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/fptr&amp;gt;&lt;br /&gt;
    &amp;lt;fptr&amp;gt;&lt;br /&gt;
       &amp;lt;area FILEID=&amp;quot;id-genesis&amp;quot; BEGIN=&amp;quot;69v.illus.1&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/fptr&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div LABEL=&amp;quot;Text&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;fptr&amp;gt; &lt;br /&gt;
      &amp;lt;area FILEID=&amp;quot;C-Clbiv-69v&amp;quot; COORDS=&amp;quot;71,531,978,859&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/fptr&amp;gt;&lt;br /&gt;
    &amp;lt;fptr&amp;gt;&lt;br /&gt;
      &amp;lt;area FILEID=&amp;quot;id-genesis&amp;quot; BEGIN=&amp;quot;69v.1&amp;quot; END=&amp;quot;69v.9&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/fptr&amp;gt;&lt;br /&gt;
   &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=ALTO=&lt;br /&gt;
&lt;br /&gt;
[http://www.ccs-gmbh.com/alto/ ALTO (Analysed Layout and Text Object)] is an extension schema for METS, allowing the markup of layout information of digitised texts. It has had a bit of use in newspaper digitisation in the States, in the National Digital Newspaper Project.&lt;br /&gt;
&lt;br /&gt;
In summary, it defines digitised texts as belonging to &amp;quot;blocks&amp;quot; which have rectangular coordinates assigned to them using attributes HPOS, VPOS, WIDTH, and HEIGHT, and also a ROTATION. Each block belongs to a page which is associated with image files in the normal METS way. &lt;br /&gt;
&lt;br /&gt;
By contrast we need a different way to relate TEI content elements to pages, since the dominant hierarchy in TEI is logical rather than physical (i.e. div rather than page). &lt;br /&gt;
&lt;br /&gt;
[http://www.loc.gov/ndnp/alto_1-1-041.xsd XML Schema for ALTO]&lt;br /&gt;
&lt;br /&gt;
=Conclusions=&lt;br /&gt;
*Draft Recommendations for TEI Digital Facsimiles&lt;br /&gt;
**Not robust&lt;br /&gt;
**No specific image/text linking&lt;br /&gt;
**Based on TEI P3 (though updated on this page to TEI P5)&lt;br /&gt;
*Edition Production Technology (EPT)&lt;br /&gt;
**Designed for textual annotation, but can annotate illustrations as well&lt;br /&gt;
**Markup schema is not defined - editors can use their own markup schemas (requires @coords)&lt;br /&gt;
**Complex&lt;br /&gt;
**Dependent on editing software&lt;br /&gt;
**Supports most image file formats (jpeg, tiff, gif, bmp)&lt;br /&gt;
**No visualization outside of the editing environment&lt;br /&gt;
*UVic Image Annotation Tool&lt;br /&gt;
**Simple&lt;br /&gt;
**Annotates via description – no “text encoding” (i.e., cannot include in an electronic transcription)&lt;br /&gt;
**Based on accepted standards&lt;br /&gt;
**Markup schema is defined (extended TEI + SVG)&lt;br /&gt;
**Visualization through SVG-enabled browser&lt;br /&gt;
*METS&lt;br /&gt;
**Very complex&lt;br /&gt;
**Objects separate from indexes&lt;br /&gt;
**Flexible – can link many textual and image sections (Venetus A – link main text and several layers of annotations)&lt;br /&gt;
**No visualization (yet) for the more advanced image-text links&lt;/div&gt;</summary>
		<author><name>Conal</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.tei-c.org/index.php?title=LegacyFacsimileMarkup&amp;diff=2627</id>
		<title>LegacyFacsimileMarkup</title>
		<link rel="alternate" type="text/html" href="https://wiki.tei-c.org/index.php?title=LegacyFacsimileMarkup&amp;diff=2627"/>
		<updated>2006-06-07T11:58:49Z</updated>

		<summary type="html">&lt;p&gt;Conal: /* Method used by the UVic Image Markup Tool: Annotate images */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page includes some examples of different approaches for facsimile (image-based) markup.&lt;br /&gt;
&lt;br /&gt;
=P5 Guidelines, 22.3 (Specific Elements for Graphic Images)=&lt;br /&gt;
&lt;br /&gt;
The P5 Guidelines describe four elements for including graphic images in TEI documents:&lt;br /&gt;
&lt;br /&gt;
*figure: contains a block containing graphics, illustrations, or figures.&lt;br /&gt;
*graphic: indicates the location of an inline graphic, illustration, or figure.&lt;br /&gt;
*binaryObject: provides encoded binary data representing an inline graphic or other object.&lt;br /&gt;
*figdesc: contains a brief prose description of the appearance or content of a graphic figure, for use when documenting an image without displaying it.&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;figure&amp;gt; is the parent element for the others. &amp;amp;lt;figure&amp;gt; may also contain &amp;lt;head&amp;gt; (a header or title) and &amp;amp;lt;p&amp;gt; (commentary or caption, not a description of the image).&lt;br /&gt;
&lt;br /&gt;
If a graphic contains a large amount of text, and the editor determines that the graphic actually contains that text (the text is not part of the surrounding text), &amp;amp;lt;figure&amp;gt; may contain &amp;amp;lt;text&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Linking Text &amp;amp; Image in P5==&lt;br /&gt;
&lt;br /&gt;
The Guidelines describes a number of ways to link text and image using methods described fully in [http://www.tei-c.org/release/doc/tei-p5-doc/html/SA.html 14 Linking, Segmentation, and Alignment]. &lt;br /&gt;
&lt;br /&gt;
===Linking thumbnails to full-resolution images===&lt;br /&gt;
To link thumbnails to larger images, create a &amp;lt;ref&amp;gt; tag that points to the xml:id of the corresponding figure. Include the thumbnail as a graphic in the &amp;lt;ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 &amp;lt;ref target=&amp;quot;#IM1&amp;quot;&amp;gt;Click here&lt;br /&gt;
   &amp;lt;graphic url=&amp;quot;fig1th.png&amp;quot;/&amp;gt;&lt;br /&gt;
   for enlightenment&lt;br /&gt;
 &amp;lt;/ref&amp;gt;&lt;br /&gt;
 &amp;lt;figure xml:id=&amp;quot;IM1&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;graphic url=&amp;quot;fig1.jpg&amp;quot;/&amp;gt;&lt;br /&gt;
 &amp;lt;/figure&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Associate images/parts of images with text elements===&lt;br /&gt;
Use the linking mechanism described in [http://www.tei-c.org/release/doc/tei-p5-doc/html/SA.html 14 Linking, Segmentation, and Alignment] to link together a figure (the example in the guidelines uses an external SVG file, parts of which are identified with xml:ids) and TEI elements (which are likewise identified using xml:ids).&lt;br /&gt;
&lt;br /&gt;
First, we use pointers to the graphic image:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 &amp;lt;ptr xml:id=&amp;quot;PD1&amp;quot; target=&amp;quot;Fig1.svg#object1&amp;quot;/&amp;gt;&lt;br /&gt;
 &amp;lt;ptr xml:id=&amp;quot;PD2&amp;quot; target=&amp;quot;Fig1.svg#object2&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These point inside the SVG file:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;svg width=&amp;quot;8cm&amp;quot; height=&amp;quot;3cm&amp;quot; viewBox=&amp;quot;2 1 8 3&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;g id=&amp;quot;object1&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;ellipse style=&amp;quot;fill: #ffffff&amp;quot; cx=&amp;quot;3.875&amp;quot; cy=&amp;quot;3.025&amp;quot; rx=&amp;quot;1.175&amp;quot; ry=&amp;quot;1.175&amp;quot;/&amp;gt;&lt;br /&gt;
 &amp;lt;/g&amp;gt;&lt;br /&gt;
 &amp;lt;g id=&amp;quot;object2&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;rect style=&amp;quot;fill: #a81616&amp;quot; x=&amp;quot;7.8&amp;quot; y=&amp;quot;1.9&amp;quot; width=&amp;quot;2.17581&amp;quot; height=&amp;quot;2.24833&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/g&amp;gt;&lt;br /&gt;
&amp;lt;/svg&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Areas in the TEI file are also uniquely identified:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 &amp;lt;div1 type=&amp;quot;chapter&amp;quot; xml:id=&amp;quot;CHAP1&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- ... --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;/div1&amp;gt;&lt;br /&gt;
 &amp;lt;div1 type=&amp;quot;chapter&amp;quot; xml:id=&amp;quot;CHAP2&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- ... --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;/div1&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then we can use a linkgroup to pull this all together:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 &amp;lt;linkGrp type=&amp;quot;callout&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;link targets=&amp;quot;#CHAP1 #PD1&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;link targets=&amp;quot;#CHAP2 #PD2&amp;quot;/&amp;gt;&lt;br /&gt;
 &amp;lt;/linkGrp&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Draft Recommendations for TEI Digital Facsimiles=&lt;br /&gt;
&lt;br /&gt;
http://users.ox.ac.uk/~lou/wip/digfax.html&lt;br /&gt;
&lt;br /&gt;
This document, authored by Richard Gartner and Lou Burnard and last updated in 2001, outlines ways to use TEI to represent three types of digital objects:&lt;br /&gt;
&lt;br /&gt;
*complete digital transcriptions of the content of manuscript or print originals (possibly including illustrations as well as text)&lt;br /&gt;
*collections of digitized page images (''digital facsimiles'') intended for use as surrogates for complete manuscript or print originals&lt;br /&gt;
*digital objects (''digital editions'') combining both page facsimiles and transcriptions, possibly also including layers of editorial annotation&lt;br /&gt;
&lt;br /&gt;
The authors attempt to address these areas of concern:&lt;br /&gt;
&lt;br /&gt;
*the need to distinguish images of a manuscript or print source from images located within it;&lt;br /&gt;
*the need to support multiple formats of a single image;&lt;br /&gt;
*the need to associate metadata at different levels (e.g. collection level, item level);&lt;br /&gt;
*the need to associate transcription and facsimile in a standard way;&lt;br /&gt;
*the need to define practices which can be used equally well in both SGML and XML environments;&lt;br /&gt;
*the desire to avoid special purpose rules which assume nonstandard or ad hoc processing rules.&lt;br /&gt;
&lt;br /&gt;
==Case 1: Transcription==&lt;br /&gt;
&lt;br /&gt;
Updated to cite chapters in P5:&lt;br /&gt;
&lt;br /&gt;
The content of a transcription should be marked up as a single &amp;amp;lt;TEI&amp;gt; element using the standard TEI elements &amp;amp;lt;text&amp;gt;, &amp;amp;lt;body&amp;gt;, &amp;amp;lt;div&amp;gt;, etc. from the TEI core tag sets.&lt;br /&gt;
&lt;br /&gt;
Follow the Guidelines chapters 18 [http://www.tei-c.org/release/doc/tei-p5-doc/html/PH.html Transcription of Primary Resources] and 13 [http://www.tei-c.org/release/doc/tei-p5-doc/html/MS.html Manuscript Description]. &lt;br /&gt;
&lt;br /&gt;
If the source contains &amp;quot;significant illustrative material&amp;quot;, use &amp;amp;lt;figure&amp;gt; (and children) from Guidelines chapter 22 [http://www.tei-c.org/release/doc/tei-p5-doc/html/FT.html Tables, Formulae, and Graphics] to insert illustrations in their proper location in the transcript.&lt;br /&gt;
&lt;br /&gt;
[[Image:Teidr-fig1.gif|left|thumb|Example of the TEI &amp;lt;figure&amp;gt; element.]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;lb n=&amp;quot;12&amp;quot;/&amp;gt;feond mid his geferum eallum. Feollon þa ufon &lt;br /&gt;
&amp;lt;lb n=&amp;quot;13&amp;quot;/&amp;gt;of heofnum þurhlonge swa þreo niht and da&lt;br /&gt;
&amp;lt;lb n=&amp;quot;14&amp;quot;/&amp;gt;gas, þa englas of heofnum on helle, and heo ealle &lt;br /&gt;
&amp;lt;lb n=&amp;quot;15&amp;quot;/&amp;gt;forsceop drihten to deoflum. &lt;br /&gt;
&lt;br /&gt;
  &amp;lt;figure&amp;gt;&lt;br /&gt;
    &amp;lt;head&amp;gt;Fall of the Angels&amp;lt;/head&amp;gt;&lt;br /&gt;
    &amp;lt;figDesc&amp;gt;Above, God, cross-nimbed, beardless, and holding a closed book, &lt;br /&gt;
    accompanied by three angels, turns and gestures toward three angels on &lt;br /&gt;
    the left, one of whom (Lucifer?) holds a palm frond ...&amp;lt;/figDesc&amp;gt;&lt;br /&gt;
  &amp;lt;/figure&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pb n=&amp;quot;17&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Case 2: Digital Facsimile==&lt;br /&gt;
&lt;br /&gt;
Should be marked as a separate &amp;lt;TEI&amp;gt; element. TEI structural tags may be used, but need not be, especially if differences between textual structure and physical structure cause overlap.&lt;br /&gt;
&lt;br /&gt;
Each distinct image making up the facsimile should be encoded as a &amp;lt;figure&amp;gt; element, arranged in the normal reading sequence of the facsimile. The appropriate milestone element (&amp;lt;pb/&amp;gt; or &amp;lt;cb/&amp;gt;) should be used at the appropriate place in the facsimile.&lt;br /&gt;
&lt;br /&gt;
[[Image:Teidr-fig2.gif|left|thumb|Example of the TEI &amp;lt;figure&amp;gt; element with reference to manuscript folio number.]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;pb n=&amp;quot;16&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;figure n=&amp;quot;16&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;figDesc&amp;gt;[Page 16: 15 lines of text followed by image of &amp;quot;Fall of Angels&amp;quot; &lt;br /&gt;
    (Ohlgren 16.11)]&amp;lt;/figDesc&amp;gt;&lt;br /&gt;
&amp;lt;/figure&amp;gt;&lt;br /&gt;
&amp;lt;pb n=&amp;quot;17&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;figure n=&amp;quot;17&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;figDesc&amp;gt;[Page 17: 15 lines of text followed by image of  &amp;quot;Fall of Angels&amp;quot; &lt;br /&gt;
    (Ohlgren 16.12)]&amp;lt;/figDesc&amp;gt;&lt;br /&gt;
&amp;lt;/figure&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;figure&amp;gt; elements may be self-nested to show that one image logically contains others (in cases where two image fit together to form one larger image).&lt;br /&gt;
&lt;br /&gt;
[[Image:Teidr-fig3.gif|left|thumb|Example of nesting TEI &amp;lt;figure&amp;gt; elements.]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;figure n=&amp;quot;16&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;figDesc&amp;gt;&lt;br /&gt;
    &amp;lt;figure&amp;gt;&lt;br /&gt;
      &amp;lt;figDesc&amp;gt;[Page 16: 15 lines of text (detail of upper part)]&amp;lt;/figDesc&amp;gt;&lt;br /&gt;
    &amp;lt;/figure&amp;gt;&lt;br /&gt;
    &amp;lt;figure&amp;gt;&lt;br /&gt;
      &amp;lt;figDesc&amp;gt;[Page 16: Image of &amp;quot;Fall of Angels&amp;quot; (Ohlgren 16.11) (detail of lower part)&amp;lt;/figDesc&amp;gt;&lt;br /&gt;
    &amp;lt;/figure&amp;gt;&lt;br /&gt;
  &amp;lt;/figDesc&amp;gt;&lt;br /&gt;
&amp;lt;/figure&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==3: Techniques for Referencing Images==&lt;br /&gt;
&lt;br /&gt;
Recommends declaring the file containing the image as an external entity and then referencing that entity using the &amp;quot;entity&amp;quot; attribute in &amp;lt;figure&amp;gt;. This approach depends on the use of the DTD (no longer practical given the TEI's move towards using the RelaxNG schema), and relies on an attribute that is no longer included in P5. &lt;br /&gt;
&lt;br /&gt;
In TEI P5 there are also two new elements, &amp;lt;graphic&amp;gt; and &amp;lt;binaryObject&amp;gt; which may be used to represent image references or images respectively. These permit the encoding of figures containing multiple images, for example.  The &amp;lt;graphic&amp;gt; element has a &amp;quot;url&amp;quot; attribute which enables the association of a &amp;lt;figure&amp;gt; with its corresponding image file. The recommendations in Gartner and Burnard need to be revised substantially in this respect.  &lt;br /&gt;
&lt;br /&gt;
[[Image:Teidr-fig4.gif|left|thumb|Example of the TEI &amp;lt;graphic&amp;gt; element with reference to image file URL]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;pb n=&amp;quot;16&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;figure n=&amp;quot;16&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;figDesc&amp;gt;[Page 16: 15 lines of text followed by image of &amp;quot;Fall of Angels&amp;quot; &lt;br /&gt;
    (Ohlgren 16.11)]&amp;lt;/figDesc&amp;gt;&lt;br /&gt;
    &amp;lt;graphic url=&amp;quot;http://image.ox.ac.uk/images/bodleian/msjunius11/16.jpg&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/figure&amp;gt;&lt;br /&gt;
&amp;lt;pb n=&amp;quot;17&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;figure n=&amp;quot;17&amp;quot; url=&amp;quot;http://image.ox.ac.uk/images/bodleian/msjunius11/17.jpg&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;figDesc&amp;gt;[Page 17: 15 lines of text followed by image of  &amp;quot;Fall of Angels&amp;quot; &lt;br /&gt;
    (Ohlgren 16.12)]&amp;lt;/figDesc&amp;gt;&lt;br /&gt;
    &amp;lt;graphic url=&amp;quot;http://image.ox.ac.uk/images/bodleian/msjunius11/17.jpg&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/figure&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This approach is simple, though it is not practical if one has multiple images of the same page in various resolutions&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;figure&amp;gt;&lt;br /&gt;
  &amp;lt;head&amp;gt;Figure One: The View from the Bridge&amp;lt;/head&amp;gt;&lt;br /&gt;
  &amp;lt;figDesc&amp;gt;A Whistleresque view showing four&lt;br /&gt;
  	or five sailing boats in the foreground, and a&lt;br /&gt;
  	series of buoys strung out between them.&amp;lt;/figDesc&amp;gt;&lt;br /&gt;
  &amp;lt;graphic url=&amp;quot;http://www.somewhere.eu/fig1.png&amp;quot; scale=&amp;quot;0.5&amp;quot;/&amp;gt;&lt;br /&gt;
 &amp;lt;/figure&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Other options mentioned in the recommendation: Xlink or Xinclude.&lt;br /&gt;
&lt;br /&gt;
==4: Aligning transcription and fascimile==&lt;br /&gt;
&lt;br /&gt;
The TEI Guidelines propose a number of methods for aligning parts of a document (see www.tei-c.org/Guidelines/SA). These may be briefly summarized as follows &lt;br /&gt;
*use the @corresp attribute to assert that a &amp;lt;pb&amp;gt; (or other reference point) in the transcription corresponds with a &amp;lt;pb&amp;gt; in the facsimile (or the reverse);&lt;br /&gt;
*alternatively, use a stand-off &amp;lt;link&amp;gt; element to assert the association between the two &amp;lt;pb&amp;gt; elements; &lt;br /&gt;
*for cross-document linking, an intermediate &amp;lt;xptr&amp;gt; may be used as the target.&lt;br /&gt;
(see [http://www.tei-c.org/release/doc/tei-p5-doc/html/SA.html Chapter 14 Linking, Segmentation, and Alignment]).&lt;br /&gt;
&lt;br /&gt;
[[Image:Teidr-fig5.gif|left|thumb|Example of linking image file with transcription using @corresp on &amp;lt;pb&amp;gt;.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Method used by the Edition Production Technology (EPT): Link text and images=&lt;br /&gt;
&lt;br /&gt;
The EPT (now EPPT: http://beowulf.engl.uky.edu/~eft/EPPT-Demo.html) uses a system combining a Image Catalog combined with a special attribute for coordinates to enable linking between text and image. For more details, see here: http://beowulf.engl.uky.edu/~kiernan/eBoethius/tech.htm#tech.&lt;br /&gt;
&lt;br /&gt;
==Image Catalog==&lt;br /&gt;
&lt;br /&gt;
The Image Catalog is a simple XML file that consists of lists of image files organized by category. There is one category for every set of image files for a given source. &lt;br /&gt;
*daylight (images taken under regular lighting)&lt;br /&gt;
*ultraviolet (images taken under ultraviolet lighting)&lt;br /&gt;
*microfilm (images scanned from microfilm)&lt;br /&gt;
&lt;br /&gt;
Categories are assigned unique IDs.&lt;br /&gt;
&lt;br /&gt;
Within each category, the user associates each file with an ID that is ''unique within the category''. IDs will repeat across categories. Essentially, these IDs associate the files with the same object, which may be represented by multiple images.&lt;br /&gt;
&lt;br /&gt;
[[Image:Ept-fig1.gif|left|thumb|Example of the EPT Image Catalog configuration file.]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;category name=&amp;quot;daylight&amp;quot; id=&amp;quot;d&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;file name=&amp;quot;aih0244-JPG.jpg&amp;quot; id=&amp;quot;5v&amp;quot; /&amp;gt;&lt;br /&gt;
  &amp;lt;file name=&amp;quot;aih0245-JPG.jpg&amp;quot; id=&amp;quot;6r&amp;quot; /&amp;gt;&lt;br /&gt;
  &amp;lt;file name=&amp;quot;aih0242-JPG.jpg&amp;quot; id=&amp;quot;6v&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/category&amp;gt;&lt;br /&gt;
&amp;lt;category name=&amp;quot;ultraviolet&amp;quot; id=&amp;quot;u&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;file name=&amp;quot;uv-5v.jpg&amp;quot; id=&amp;quot;5v&amp;quot; /&amp;gt;&lt;br /&gt;
  &amp;lt;file name=&amp;quot;uv-6r.jpg&amp;quot; id=&amp;quot;6r&amp;quot; /&amp;gt;&lt;br /&gt;
  &amp;lt;file name=&amp;quot;uv-6v.jpg&amp;quot; id=&amp;quot;6v&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/category&amp;gt;&lt;br /&gt;
&amp;lt;category name=&amp;quot;microfilm&amp;quot; id=&amp;quot;m&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;file name=&amp;quot;mf-5v.jpg&amp;quot; id=&amp;quot;5v&amp;quot; /&amp;gt;&lt;br /&gt;
  &amp;lt;file name=&amp;quot;mf-6r.jpg&amp;quot; id=&amp;quot;6r&amp;quot; /&amp;gt;&lt;br /&gt;
  &amp;lt;file name=&amp;quot;mf-6v.jpg&amp;quot; id=&amp;quot;6v&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/category&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The file IDs from image catalog are then associated with an attribute within the text markup itself. The attribute used is configured by the user; for the Electronic Boethius, we used the attribute ''n'' in the element ''&amp;lt;fol&amp;gt;'' (folio). The content for each folio is thus associated with the correct image files (from every category):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;fol n=&amp;quot;5v&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
points to &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;daylight&amp;gt;&amp;lt;file id=&amp;quot;5v&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;ultraviolet&amp;gt;&amp;lt;file id=“5v”/&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;microfilm&amp;gt;&amp;lt;file id=“5v”/&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Ept-fig2.gif|left|thumb|Example of EPT Image Catalog links image files with sections of text.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Attribute for Coordinates==&lt;br /&gt;
&lt;br /&gt;
A TEI element can be associated with a rectangular region of an image by encoding the co-ordinates of the region's corners as an attribute of that element. The EPT allows the user to assign an attribute (Electronic Boethius uses ''coords''). In whatever elements that attribute is defined, the coordinates, selected by the editor, are automatically entered by the software. The ID assigned to the categories in the Image Catalog are appended to the beginning of the coordinates. &lt;br /&gt;
&lt;br /&gt;
[[Image:Ept-fig3.gif|left|thumb|Example of @coords on &amp;lt;figure&amp;gt;.]]&lt;br /&gt;
[[Image:Ept-fig4.gif|thumb|Screenshot of EPPT]]&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;damage coords=&amp;quot;d:1058,738,1093,798&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Method used by the UVic Image Markup Tool: Annotate images=&lt;br /&gt;
&lt;br /&gt;
The UVic Image Markup Tool (http://www.tapor.uvic.ca/~mholmes/image_markup/) uses TEI, modified to allow for the inclusion of SVG (http://www.w3.org/Graphics/SVG/), to create a system for annotating images.&lt;br /&gt;
&lt;br /&gt;
Stated goals of the Tool:&lt;br /&gt;
&lt;br /&gt;
*be simple for novices to use &lt;br /&gt;
*load and display a wide variety of different image formats &lt;br /&gt;
*allow the user to specify arbitrary rectangles on the image, and associate them with annotations &lt;br /&gt;
*allow such rectangles to overlap if the user wishes &lt;br /&gt;
*provide mechanisms for bringing overlapped rectangles to the front easily &lt;br /&gt;
*allow annotations to be grouped into categories, distinguished by name and appearance, to allow different classes of annotation &lt;br /&gt;
*require no significant knowledge of XML or TEI &lt;br /&gt;
*allow the use of XML code if the user wishes &lt;br /&gt;
*save data in an XML file which conforms to a TEI P5-based schema &lt;br /&gt;
*reload data from its own files &lt;br /&gt;
*generate a simple &amp;quot;Web view&amp;quot; of the data for display in a browser &lt;br /&gt;
*come packaged with an installer, Help file, and basic tutorial &lt;br /&gt;
*be simple for novices to use! &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Simplified example from the IMT web:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;TEI&amp;gt;&lt;br /&gt;
    &amp;lt;teiHeader&amp;gt;&lt;br /&gt;
        &amp;lt;!-- ...header content... --&amp;gt;&lt;br /&gt;
    &amp;lt;/teiHeader&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;&lt;br /&gt;
        &amp;lt;body&amp;gt;&lt;br /&gt;
            &amp;lt;!-- ...TEI content... --&amp;gt;&lt;br /&gt;
            &amp;lt;div type=&amp;quot;imtAnnotatedImage&amp;quot;&amp;gt;&lt;br /&gt;
                &amp;lt;svg xmlns=&amp;quot;http://www.w3.org/2000/svg&amp;quot;&amp;gt;&lt;br /&gt;
                    &amp;lt;!-- ...svg content... --&amp;gt;&lt;br /&gt;
                    &amp;lt;image&amp;gt;&lt;br /&gt;
                      &amp;lt;!-- Image file is linked in here --&amp;gt;&lt;br /&gt;
                    &amp;lt;/image&amp;gt;&lt;br /&gt;
                    &amp;lt;rect&amp;gt;&lt;br /&gt;
                      &amp;lt;!-- Annotation area on the image defined here --&amp;gt;&lt;br /&gt;
                    &amp;lt;/rect&amp;gt;&lt;br /&gt;
                &amp;lt;/svg&amp;gt;&lt;br /&gt;
                &amp;lt;div type=&amp;quot;imtAnnotationLayer&amp;quot;&amp;gt;&lt;br /&gt;
                    &amp;lt;!-- Annotation content goes here --&amp;gt;&lt;br /&gt;
                &amp;lt;/div&amp;gt;&lt;br /&gt;
            &amp;lt;/div&amp;gt;&lt;br /&gt;
            &amp;lt;!-- ...TEI content... --&amp;gt;&lt;br /&gt;
        &amp;lt;/body&amp;gt;&lt;br /&gt;
    &amp;lt;/text&amp;gt;&lt;br /&gt;
&amp;lt;/TEI&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Using this system, a user can annotate many sections of a single image. Unlike the EPT system described above, in which the coordinates are stored directly in the element, here the image coordinates are stored in a separate section and linked to the annotations using unique IDs (''svg:id'' in ''&amp;lt;rect&amp;gt;'') to link the areas to the annotation content (''n'' in ''&amp;amp;lt;div type=&amp;quot;imtAnnotationLayer&amp;quot;&amp;gt;'').&lt;br /&gt;
&lt;br /&gt;
[[Image:Uvic-fig1.gif|left|thumb|Example of the coordinate system used by the UVic IMT.]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;div type=&amp;quot;imtAnnotatedImage&amp;quot; xml:id=&amp;quot;NB-B-17328&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;svg xmlns=&amp;quot;http://www.w3.org/2000/svg&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;image xmlns:xlink=&amp;quot;http://www.w3.org/1999/xlink&amp;quot; xlink:href=&amp;quot;NB-B-17328.jpg&amp;quot; width=&amp;quot;5060&amp;quot; height=&amp;quot;6025&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;title&amp;gt;NB-B-17328.jpg&amp;lt;/title&amp;gt;&lt;br /&gt;
        &amp;lt;desc&amp;gt;5060 x 6025&amp;lt;/desc&amp;gt;&lt;br /&gt;
        &amp;lt;rect svg:id=&amp;quot;NB-B-17328_0&amp;quot; x=&amp;quot;4287&amp;quot; y=&amp;quot;1412&amp;quot; width=&amp;quot;580&amp;quot; height=&amp;quot;426&amp;quot; style=&amp;quot;3&amp;quot; color=&amp;quot;#ff0000&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;rect svg:id=&amp;quot;NB-B-17328_1&amp;quot; x=&amp;quot;4067&amp;quot; y=&amp;quot;2019&amp;quot; width=&amp;quot;720&amp;quot; height=&amp;quot;747&amp;quot; style=&amp;quot;3&amp;quot; color=&amp;quot;#ff0000&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/svg&amp;gt;&lt;br /&gt;
    &amp;lt;div type=&amp;quot;imtAnnotationLayer&amp;quot; n=&amp;quot;NB-B-17328_0&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;head&amp;gt;la chandelle allume la découverte.&amp;lt;/head&amp;gt;&lt;br /&gt;
        &amp;lt;p&amp;gt;Il a trouvé la cache.&amp;lt;/p&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
    &amp;lt;div type=&amp;quot;imtAnnotationLayer&amp;quot; n=&amp;quot;NB-B-17328_1&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;head&amp;gt;le couvercle de la malle&amp;lt;/head&amp;gt;&lt;br /&gt;
        &amp;lt;p&amp;gt;Il est pris sans vert&amp;lt;/p&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Uvic-fig2.gif|left|thumb|Screenshot from the UVic IMT interface.]]&lt;br /&gt;
[[Image:Uvic-fig3.gif|thumb|Browser view of output from the UVic IMT.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(TEI examples from the UVic file example: http://www.tapor.uvic.ca/~mholmes/image_markup/Amant.xml)&lt;br /&gt;
&lt;br /&gt;
For more details on the TEI/SVG used by the IMT, see here: http://www.tapor.uvic.ca/~mholmes/image_markup/xml.php&lt;br /&gt;
&lt;br /&gt;
=Using METS to link text and image=&lt;br /&gt;
&lt;br /&gt;
==What is METS?==&lt;br /&gt;
*Metadata Encoding and Transmission Standard (http://www.loc.gov/standards/mets/)&lt;br /&gt;
*“a standard for encoding … metadata regarding objects within a digital library”&lt;br /&gt;
*Centered at the Library of Congress&lt;br /&gt;
*Developed out of the metadata specs from the LOC’s “Making of America 2” project (MOA2)&lt;br /&gt;
*Developed by librarians and archivists, for librarians and archivists&lt;br /&gt;
*Accepted standard with a broad user base (http://sunsite.berkeley.edu/mets/registry/)&lt;br /&gt;
*Unrelated to TEI&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
While a library may record descriptive metadata regarding a book in its collection, the book will not dissolve into a series of unconnected pages if the library fails to record structural metadata regarding the book's organization, nor will scholars be unable to evaluate the book's worth if the library fails to note that the book was produced using a Ryobi offset press.” (METS: An Overview and Tutorial)&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Why METS?==&lt;br /&gt;
*System to organize disparate parts and relate files (and pieces of files): &lt;br /&gt;
**Areas on images correspond with sections of text&lt;br /&gt;
**Areas on images relate to one another&lt;br /&gt;
**Areas of text relate to one another&lt;br /&gt;
*METS provides sections for defining the logical and/or physical structure of the digital object&lt;br /&gt;
**File Section (fileSec)&lt;br /&gt;
**Structural Map (structMap)&lt;br /&gt;
&lt;br /&gt;
==File Section==&lt;br /&gt;
“lists all files containing content which comprise the electronic versions of the digital object.”&lt;br /&gt;
*Similar to the EPT Image Catalog&lt;br /&gt;
&lt;br /&gt;
==Within the FileSec==&lt;br /&gt;
*FileSec consists of Groups of File Locaters&lt;br /&gt;
**File Group: contains related files&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&amp;lt;fileGrp USE=&amp;quot;facsimile&amp;quot;&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
**File: assigns the individual files unique identifiers&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&amp;lt;file ID=&amp;quot;C-Clbiv-69v&amp;quot; MIMETYPE=&amp;quot;image/tiff&amp;quot;&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
**File Locater: points to the location of the file, using xlink syntax&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&amp;lt;FLocat LOCTYPE=&amp;quot;URN&amp;quot; xlink:href=&amp;quot;images/C-Clbiv-69v.jpg&amp;quot;/&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Example (Images)===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;fileGrp USE=&amp;quot;facsimile&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;file ID=&amp;quot;C-Clbiv-69v&amp;quot; MIMETYPE=&amp;quot;image/tiff&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;FLocat LOCTYPE=&amp;quot;URN&amp;quot; xlink:href=&amp;quot;images/C-Clbiv-69v.tif&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;/file&amp;gt;&lt;br /&gt;
  &amp;lt;file ID=&amp;quot;C-Clbiv-70r&amp;quot; MIMETYPE=&amp;quot;image/tiff&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;FLocat LOCTYPE=&amp;quot;URN&amp;quot; xlink:href=&amp;quot;images/C-Clbiv-70r.tif&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/file&amp;gt;&lt;br /&gt;
…&lt;br /&gt;
&amp;lt;/fileGrp&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Example (Transcript)===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;fileGrp USE=&amp;quot;transcript&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;file ID=&amp;quot;id-pref-genesis&amp;quot; MIMETYPE=&amp;quot;text/xml&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;FLocat LOCTYPE=&amp;quot;URN&amp;quot; xlink:href=“transcription/pref-genesis.xml&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;/file&amp;gt;&lt;br /&gt;
  &amp;lt;file ID=&amp;quot;id-genesis&amp;quot; MIMETYPE=&amp;quot;text/xml&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;FLocat LOCTYPE=&amp;quot;URN&amp;quot; xlink:href=“transcription/genesis.xml&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;/file&amp;gt;&lt;br /&gt;
  &amp;lt;file ID=&amp;quot;id-exodus&amp;quot; MIMETYPE=&amp;quot;text/xml&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;FLocat LOCTYPE=&amp;quot;URN&amp;quot; xlink:href=“transcription/exodus.xml&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;/file&amp;gt;&lt;br /&gt;
…&lt;br /&gt;
&amp;lt;/fileGrp&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Structural Map==&lt;br /&gt;
“outlines a hierarchical structure for the digital library object, and links the elements of that structure to content files … that pertain to each element.”&lt;br /&gt;
*Organization may be logical or physical&lt;br /&gt;
*A single METS file may contain multiple structural maps&lt;br /&gt;
&lt;br /&gt;
==Within the StructMap==&lt;br /&gt;
*StructMap consists of organizational divisions, that may nest&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;div LABEL=&amp;quot;Genesis&amp;quot; ORDER=&amp;quot;2&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;div LABEL=&amp;quot;Folio 1v&amp;quot; ORDER=&amp;quot;2&amp;quot;&amp;gt;&lt;br /&gt;
   ...&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*The divisions contain pointers to the files, and areas of files, indexed in the fileSec&lt;br /&gt;
&amp;lt;pre&amp;gt; &lt;br /&gt;
&amp;lt;div LABEL=&amp;quot;Genesis&amp;quot; ORDER=&amp;quot;2&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;div LABEL=&amp;quot;Folio 1v&amp;quot; ORDER=&amp;quot;2&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;fptr FILEID=&amp;quot;C-Clbiv-1v&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;fptr&amp;gt;&lt;br /&gt;
      &amp;lt;area FILEID=&amp;quot;id-genesis&amp;quot; BEGIN=&amp;quot;1v.32&amp;quot; END=&amp;quot;1v.38&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/fptr&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Example (Basic)===&lt;br /&gt;
The first file pointer references the corresponding image file, while the second one references the corresponding line range (BEGIN and END) in the XML file (these are the values of, for example, @xml:id on &amp;amp;lt;lb/&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;div LABEL=&amp;quot;Folio 69v&amp;quot; ORDER=“139&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;fptr FILEID=&amp;quot;C-Clbiv-69v&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;fptr&amp;gt;&lt;br /&gt;
    &amp;lt;area FILEID=&amp;quot;id-genesis&amp;quot; BEGIN=&amp;quot;69v.1&amp;quot; END=&amp;quot;69v.12&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;/fptr&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div LABEL=&amp;quot;Folio 70r&amp;quot; ORDER=&amp;quot;140&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;fptr FILEID=&amp;quot;C-Clbiv-70r&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;fptr&amp;gt;&lt;br /&gt;
    &amp;lt;area FILEID=&amp;quot;id-genesis&amp;quot; BEGIN=&amp;quot;70r.1&amp;quot; END=&amp;quot;70r.38&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;/fptr&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Example (Advanced)===&lt;br /&gt;
*&amp;amp;lt;area&amp;gt;: reference coordinates within an image file. &lt;br /&gt;
**especially useful for extensively illustrated manuscripts &lt;br /&gt;
*create links between text and image.&lt;br /&gt;
**@COORDS in &amp;lt;area&amp;gt; for image files&lt;br /&gt;
**@BEGIN and @END in &amp;lt;area&amp;gt; for XML/TEI files&lt;br /&gt;
*Simplifies encoding:&lt;br /&gt;
**no need to define @COORDS to clutter up the TEI; &lt;br /&gt;
**no need to find a place to store a linking section in the TEI file &lt;br /&gt;
**no need to use the SVG namespace&lt;br /&gt;
**separate the objects (image and XML files) from the indexing of their relationships with one another&lt;br /&gt;
&lt;br /&gt;
[[Image:mets-fig1.gif|left|thumb|Advanced Example of using METS and TEI to link sections of text with sections of image]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 &amp;lt;div LABEL=&amp;quot;Folio 69v&amp;quot; ORDER=&amp;quot;139&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;div LABEL=&amp;quot;Annotation 1&amp;quot; &lt;br /&gt;
    &amp;lt;fptr&amp;gt;&lt;br /&gt;
      &amp;lt;area FILEID=&amp;quot;C-Clbiv-69v&amp;quot; COORDS=&amp;quot;40,12,975,121&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/fptr&amp;gt;&lt;br /&gt;
    &amp;lt;fptr&amp;gt;&lt;br /&gt;
       &amp;lt;area FILEID=&amp;quot;id-genesis&amp;quot; BEGIN=&amp;quot;69v.annot.1&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/fptr&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div LABEL=&amp;quot;Illustration 1&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;fptr&amp;gt; &lt;br /&gt;
      &amp;lt;area FILEID=&amp;quot;C-Clbiv-69v&amp;quot; COORDS=&amp;quot;96,87979,572&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/fptr&amp;gt;&lt;br /&gt;
    &amp;lt;fptr&amp;gt;&lt;br /&gt;
       &amp;lt;area FILEID=&amp;quot;id-genesis&amp;quot; BEGIN=&amp;quot;69v.illus.1&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/fptr&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div LABEL=&amp;quot;Text&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;fptr&amp;gt; &lt;br /&gt;
      &amp;lt;area FILEID=&amp;quot;C-Clbiv-69v&amp;quot; COORDS=&amp;quot;71,531,978,859&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/fptr&amp;gt;&lt;br /&gt;
    &amp;lt;fptr&amp;gt;&lt;br /&gt;
      &amp;lt;area FILEID=&amp;quot;id-genesis&amp;quot; BEGIN=&amp;quot;69v.1&amp;quot; END=&amp;quot;69v.9&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/fptr&amp;gt;&lt;br /&gt;
   &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Conclusions=&lt;br /&gt;
*Draft Recommendations for TEI Digital Facsimiles&lt;br /&gt;
**Not robust&lt;br /&gt;
**No specific image/text linking&lt;br /&gt;
**Need to be updated for TEI P5&lt;br /&gt;
*Edition Production Technology (EPT)&lt;br /&gt;
**Designed for textual annotation, but can annotate illustrations as well&lt;br /&gt;
**Markup schema is not defined&lt;br /&gt;
**Complex&lt;br /&gt;
**Dependent on editing software&lt;br /&gt;
**Limited image file support&lt;br /&gt;
**No visualization outside of the editing environment&lt;br /&gt;
*UVic Image Annotation Tool&lt;br /&gt;
**Simple&lt;br /&gt;
**Annotates via description – no “text encoding” (i.e., cannot include in an electronic transcription)&lt;br /&gt;
**Based on accepted standards&lt;br /&gt;
**Markup schema is defined (extended TEI + SVG)&lt;br /&gt;
**Visualization through SVG-enabled browser&lt;br /&gt;
*METS&lt;br /&gt;
**Very complex&lt;br /&gt;
**Objects separate from indexes&lt;br /&gt;
**Flexible – can link many textual and image sections (Venetus A – link main text and several layers of annotations)&lt;br /&gt;
**No visualization (yet) for the more advanced image-text links&lt;/div&gt;</summary>
		<author><name>Conal</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.tei-c.org/index.php?title=LegacyFacsimileMarkup&amp;diff=2626</id>
		<title>LegacyFacsimileMarkup</title>
		<link rel="alternate" type="text/html" href="https://wiki.tei-c.org/index.php?title=LegacyFacsimileMarkup&amp;diff=2626"/>
		<updated>2006-06-07T11:36:31Z</updated>

		<summary type="html">&lt;p&gt;Conal: /* Attribute for Coordinates */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page includes some examples of different approaches for facsimile (image-based) markup.&lt;br /&gt;
&lt;br /&gt;
=P5 Guidelines, 22.3 (Specific Elements for Graphic Images)=&lt;br /&gt;
&lt;br /&gt;
The P5 Guidelines describe four elements for including graphic images in TEI documents:&lt;br /&gt;
&lt;br /&gt;
*figure: contains a block containing graphics, illustrations, or figures.&lt;br /&gt;
*graphic: indicates the location of an inline graphic, illustration, or figure.&lt;br /&gt;
*binaryObject: provides encoded binary data representing an inline graphic or other object.&lt;br /&gt;
*figdesc: contains a brief prose description of the appearance or content of a graphic figure, for use when documenting an image without displaying it.&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;figure&amp;gt; is the parent element for the others. &amp;amp;lt;figure&amp;gt; may also contain &amp;lt;head&amp;gt; (a header or title) and &amp;amp;lt;p&amp;gt; (commentary or caption, not a description of the image).&lt;br /&gt;
&lt;br /&gt;
If a graphic contains a large amount of text, and the editor determines that the graphic actually contains that text (the text is not part of the surrounding text), &amp;amp;lt;figure&amp;gt; may contain &amp;amp;lt;text&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Linking Text &amp;amp; Image in P5==&lt;br /&gt;
&lt;br /&gt;
The Guidelines describes a number of ways to link text and image using methods described fully in [http://www.tei-c.org/release/doc/tei-p5-doc/html/SA.html 14 Linking, Segmentation, and Alignment]. &lt;br /&gt;
&lt;br /&gt;
===Linking thumbnails to full-resolution images===&lt;br /&gt;
To link thumbnails to larger images, create a &amp;lt;ref&amp;gt; tag that points to the xml:id of the corresponding figure. Include the thumbnail as a graphic in the &amp;lt;ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 &amp;lt;ref target=&amp;quot;#IM1&amp;quot;&amp;gt;Click here&lt;br /&gt;
   &amp;lt;graphic url=&amp;quot;fig1th.png&amp;quot;/&amp;gt;&lt;br /&gt;
   for enlightenment&lt;br /&gt;
 &amp;lt;/ref&amp;gt;&lt;br /&gt;
 &amp;lt;figure xml:id=&amp;quot;IM1&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;graphic url=&amp;quot;fig1.jpg&amp;quot;/&amp;gt;&lt;br /&gt;
 &amp;lt;/figure&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Associate images/parts of images with text elements===&lt;br /&gt;
Use the linking mechanism described in [http://www.tei-c.org/release/doc/tei-p5-doc/html/SA.html 14 Linking, Segmentation, and Alignment] to link together a figure (the example in the guidelines uses an external SVG file, parts of which are identified with xml:ids) and TEI elements (which are likewise identified using xml:ids).&lt;br /&gt;
&lt;br /&gt;
First, we use pointers to the graphic image:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 &amp;lt;ptr xml:id=&amp;quot;PD1&amp;quot; target=&amp;quot;Fig1.svg#object1&amp;quot;/&amp;gt;&lt;br /&gt;
 &amp;lt;ptr xml:id=&amp;quot;PD2&amp;quot; target=&amp;quot;Fig1.svg#object2&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These point inside the SVG file:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;svg width=&amp;quot;8cm&amp;quot; height=&amp;quot;3cm&amp;quot; viewBox=&amp;quot;2 1 8 3&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;g id=&amp;quot;object1&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;ellipse style=&amp;quot;fill: #ffffff&amp;quot; cx=&amp;quot;3.875&amp;quot; cy=&amp;quot;3.025&amp;quot; rx=&amp;quot;1.175&amp;quot; ry=&amp;quot;1.175&amp;quot;/&amp;gt;&lt;br /&gt;
 &amp;lt;/g&amp;gt;&lt;br /&gt;
 &amp;lt;g id=&amp;quot;object2&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;rect style=&amp;quot;fill: #a81616&amp;quot; x=&amp;quot;7.8&amp;quot; y=&amp;quot;1.9&amp;quot; width=&amp;quot;2.17581&amp;quot; height=&amp;quot;2.24833&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/g&amp;gt;&lt;br /&gt;
&amp;lt;/svg&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Areas in the TEI file are also uniquely identified:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 &amp;lt;div1 type=&amp;quot;chapter&amp;quot; xml:id=&amp;quot;CHAP1&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- ... --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;/div1&amp;gt;&lt;br /&gt;
 &amp;lt;div1 type=&amp;quot;chapter&amp;quot; xml:id=&amp;quot;CHAP2&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- ... --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;/div1&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then we can use a linkgroup to pull this all together:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 &amp;lt;linkGrp type=&amp;quot;callout&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;link targets=&amp;quot;#CHAP1 #PD1&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;link targets=&amp;quot;#CHAP2 #PD2&amp;quot;/&amp;gt;&lt;br /&gt;
 &amp;lt;/linkGrp&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Draft Recommendations for TEI Digital Facsimiles=&lt;br /&gt;
&lt;br /&gt;
http://users.ox.ac.uk/~lou/wip/digfax.html&lt;br /&gt;
&lt;br /&gt;
This document, authored by Richard Gartner and Lou Burnard and last updated in 2001, outlines ways to use TEI to represent three types of digital objects:&lt;br /&gt;
&lt;br /&gt;
*complete digital transcriptions of the content of manuscript or print originals (possibly including illustrations as well as text)&lt;br /&gt;
*collections of digitized page images (''digital facsimiles'') intended for use as surrogates for complete manuscript or print originals&lt;br /&gt;
*digital objects (''digital editions'') combining both page facsimiles and transcriptions, possibly also including layers of editorial annotation&lt;br /&gt;
&lt;br /&gt;
The authors attempt to address these areas of concern:&lt;br /&gt;
&lt;br /&gt;
*the need to distinguish images of a manuscript or print source from images located within it;&lt;br /&gt;
*the need to support multiple formats of a single image;&lt;br /&gt;
*the need to associate metadata at different levels (e.g. collection level, item level);&lt;br /&gt;
*the need to associate transcription and facsimile in a standard way;&lt;br /&gt;
*the need to define practices which can be used equally well in both SGML and XML environments;&lt;br /&gt;
*the desire to avoid special purpose rules which assume nonstandard or ad hoc processing rules.&lt;br /&gt;
&lt;br /&gt;
==Case 1: Transcription==&lt;br /&gt;
&lt;br /&gt;
Updated to cite chapters in P5:&lt;br /&gt;
&lt;br /&gt;
The content of a transcription should be marked up as a single &amp;amp;lt;TEI&amp;gt; element using the standard TEI elements &amp;amp;lt;text&amp;gt;, &amp;amp;lt;body&amp;gt;, &amp;amp;lt;div&amp;gt;, etc. from the TEI core tag sets.&lt;br /&gt;
&lt;br /&gt;
Follow the Guidelines chapters 18 [http://www.tei-c.org/release/doc/tei-p5-doc/html/PH.html Transcription of Primary Resources] and 13 [http://www.tei-c.org/release/doc/tei-p5-doc/html/MS.html Manuscript Description]. &lt;br /&gt;
&lt;br /&gt;
If the source contains &amp;quot;significant illustrative material&amp;quot;, use &amp;amp;lt;figure&amp;gt; (and children) from Guidelines chapter 22 [http://www.tei-c.org/release/doc/tei-p5-doc/html/FT.html Tables, Formulae, and Graphics] to insert illustrations in their proper location in the transcript.&lt;br /&gt;
&lt;br /&gt;
[[Image:Teidr-fig1.gif|left|thumb|Example of the TEI &amp;lt;figure&amp;gt; element.]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;lb n=&amp;quot;12&amp;quot;/&amp;gt;feond mid his geferum eallum. Feollon þa ufon &lt;br /&gt;
&amp;lt;lb n=&amp;quot;13&amp;quot;/&amp;gt;of heofnum þurhlonge swa þreo niht and da&lt;br /&gt;
&amp;lt;lb n=&amp;quot;14&amp;quot;/&amp;gt;gas, þa englas of heofnum on helle, and heo ealle &lt;br /&gt;
&amp;lt;lb n=&amp;quot;15&amp;quot;/&amp;gt;forsceop drihten to deoflum. &lt;br /&gt;
&lt;br /&gt;
  &amp;lt;figure&amp;gt;&lt;br /&gt;
    &amp;lt;head&amp;gt;Fall of the Angels&amp;lt;/head&amp;gt;&lt;br /&gt;
    &amp;lt;figDesc&amp;gt;Above, God, cross-nimbed, beardless, and holding a closed book, &lt;br /&gt;
    accompanied by three angels, turns and gestures toward three angels on &lt;br /&gt;
    the left, one of whom (Lucifer?) holds a palm frond ...&amp;lt;/figDesc&amp;gt;&lt;br /&gt;
  &amp;lt;/figure&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pb n=&amp;quot;17&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Case 2: Digital Facsimile==&lt;br /&gt;
&lt;br /&gt;
Should be marked as a separate &amp;lt;TEI&amp;gt; element. TEI structural tags may be used, but need not be, especially if differences between textual structure and physical structure cause overlap.&lt;br /&gt;
&lt;br /&gt;
Each distinct image making up the facsimile should be encoded as a &amp;lt;figure&amp;gt; element, arranged in the normal reading sequence of the facsimile. The appropriate milestone element (&amp;lt;pb/&amp;gt; or &amp;lt;cb/&amp;gt;) should be used at the appropriate place in the facsimile.&lt;br /&gt;
&lt;br /&gt;
[[Image:Teidr-fig2.gif|left|thumb|Example of the TEI &amp;lt;figure&amp;gt; element with reference to manuscript folio number.]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;pb n=&amp;quot;16&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;figure n=&amp;quot;16&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;figDesc&amp;gt;[Page 16: 15 lines of text followed by image of &amp;quot;Fall of Angels&amp;quot; &lt;br /&gt;
    (Ohlgren 16.11)]&amp;lt;/figDesc&amp;gt;&lt;br /&gt;
&amp;lt;/figure&amp;gt;&lt;br /&gt;
&amp;lt;pb n=&amp;quot;17&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;figure n=&amp;quot;17&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;figDesc&amp;gt;[Page 17: 15 lines of text followed by image of  &amp;quot;Fall of Angels&amp;quot; &lt;br /&gt;
    (Ohlgren 16.12)]&amp;lt;/figDesc&amp;gt;&lt;br /&gt;
&amp;lt;/figure&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;figure&amp;gt; elements may be self-nested to show that one image logically contains others (in cases where two image fit together to form one larger image).&lt;br /&gt;
&lt;br /&gt;
[[Image:Teidr-fig3.gif|left|thumb|Example of nesting TEI &amp;lt;figure&amp;gt; elements.]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;figure n=&amp;quot;16&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;figDesc&amp;gt;&lt;br /&gt;
    &amp;lt;figure&amp;gt;&lt;br /&gt;
      &amp;lt;figDesc&amp;gt;[Page 16: 15 lines of text (detail of upper part)]&amp;lt;/figDesc&amp;gt;&lt;br /&gt;
    &amp;lt;/figure&amp;gt;&lt;br /&gt;
    &amp;lt;figure&amp;gt;&lt;br /&gt;
      &amp;lt;figDesc&amp;gt;[Page 16: Image of &amp;quot;Fall of Angels&amp;quot; (Ohlgren 16.11) (detail of lower part)&amp;lt;/figDesc&amp;gt;&lt;br /&gt;
    &amp;lt;/figure&amp;gt;&lt;br /&gt;
  &amp;lt;/figDesc&amp;gt;&lt;br /&gt;
&amp;lt;/figure&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==3: Techniques for Referencing Images==&lt;br /&gt;
&lt;br /&gt;
Recommends declaring the file containing the image as an external entity and then referencing that entity using the &amp;quot;entity&amp;quot; attribute in &amp;lt;figure&amp;gt;. This approach depends on the use of the DTD (no longer practical given the TEI's move towards using the RelaxNG schema), and relies on an attribute that is no longer included in P5. &lt;br /&gt;
&lt;br /&gt;
In TEI P5 there are also two new elements, &amp;lt;graphic&amp;gt; and &amp;lt;binaryObject&amp;gt; which may be used to represent image references or images respectively. These permit the encoding of figures containing multiple images, for example.  The &amp;lt;graphic&amp;gt; element has a &amp;quot;url&amp;quot; attribute which enables the association of a &amp;lt;figure&amp;gt; with its corresponding image file. The recommendations in Gartner and Burnard need to be revised substantially in this respect.  &lt;br /&gt;
&lt;br /&gt;
[[Image:Teidr-fig4.gif|left|thumb|Example of the TEI &amp;lt;graphic&amp;gt; element with reference to image file URL]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;pb n=&amp;quot;16&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;figure n=&amp;quot;16&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;figDesc&amp;gt;[Page 16: 15 lines of text followed by image of &amp;quot;Fall of Angels&amp;quot; &lt;br /&gt;
    (Ohlgren 16.11)]&amp;lt;/figDesc&amp;gt;&lt;br /&gt;
    &amp;lt;graphic url=&amp;quot;http://image.ox.ac.uk/images/bodleian/msjunius11/16.jpg&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/figure&amp;gt;&lt;br /&gt;
&amp;lt;pb n=&amp;quot;17&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;figure n=&amp;quot;17&amp;quot; url=&amp;quot;http://image.ox.ac.uk/images/bodleian/msjunius11/17.jpg&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;figDesc&amp;gt;[Page 17: 15 lines of text followed by image of  &amp;quot;Fall of Angels&amp;quot; &lt;br /&gt;
    (Ohlgren 16.12)]&amp;lt;/figDesc&amp;gt;&lt;br /&gt;
    &amp;lt;graphic url=&amp;quot;http://image.ox.ac.uk/images/bodleian/msjunius11/17.jpg&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/figure&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This approach is simple, though it is not practical if one has multiple images of the same page in various resolutions&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;figure&amp;gt;&lt;br /&gt;
  &amp;lt;head&amp;gt;Figure One: The View from the Bridge&amp;lt;/head&amp;gt;&lt;br /&gt;
  &amp;lt;figDesc&amp;gt;A Whistleresque view showing four&lt;br /&gt;
  	or five sailing boats in the foreground, and a&lt;br /&gt;
  	series of buoys strung out between them.&amp;lt;/figDesc&amp;gt;&lt;br /&gt;
  &amp;lt;graphic url=&amp;quot;http://www.somewhere.eu/fig1.png&amp;quot; scale=&amp;quot;0.5&amp;quot;/&amp;gt;&lt;br /&gt;
 &amp;lt;/figure&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Other options mentioned in the recommendation: Xlink or Xinclude.&lt;br /&gt;
&lt;br /&gt;
==4: Aligning transcription and fascimile==&lt;br /&gt;
&lt;br /&gt;
The TEI Guidelines propose a number of methods for aligning parts of a document (see www.tei-c.org/Guidelines/SA). These may be briefly summarized as follows &lt;br /&gt;
*use the @corresp attribute to assert that a &amp;lt;pb&amp;gt; (or other reference point) in the transcription corresponds with a &amp;lt;pb&amp;gt; in the facsimile (or the reverse);&lt;br /&gt;
*alternatively, use a stand-off &amp;lt;link&amp;gt; element to assert the association between the two &amp;lt;pb&amp;gt; elements; &lt;br /&gt;
*for cross-document linking, an intermediate &amp;lt;xptr&amp;gt; may be used as the target.&lt;br /&gt;
(see [http://www.tei-c.org/release/doc/tei-p5-doc/html/SA.html Chapter 14 Linking, Segmentation, and Alignment]).&lt;br /&gt;
&lt;br /&gt;
[[Image:Teidr-fig5.gif|left|thumb|Example of linking image file with transcription using @corresp on &amp;lt;pb&amp;gt;.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Method used by the Edition Production Technology (EPT): Link text and images=&lt;br /&gt;
&lt;br /&gt;
The EPT (now EPPT: http://beowulf.engl.uky.edu/~eft/EPPT-Demo.html) uses a system combining a Image Catalog combined with a special attribute for coordinates to enable linking between text and image. For more details, see here: http://beowulf.engl.uky.edu/~kiernan/eBoethius/tech.htm#tech.&lt;br /&gt;
&lt;br /&gt;
==Image Catalog==&lt;br /&gt;
&lt;br /&gt;
The Image Catalog is a simple XML file that consists of lists of image files organized by category. There is one category for every set of image files for a given source. &lt;br /&gt;
*daylight (images taken under regular lighting)&lt;br /&gt;
*ultraviolet (images taken under ultraviolet lighting)&lt;br /&gt;
*microfilm (images scanned from microfilm)&lt;br /&gt;
&lt;br /&gt;
Categories are assigned unique IDs.&lt;br /&gt;
&lt;br /&gt;
Within each category, the user associates each file with an ID that is ''unique within the category''. IDs will repeat across categories. Essentially, these IDs associate the files with the same object, which may be represented by multiple images.&lt;br /&gt;
&lt;br /&gt;
[[Image:Ept-fig1.gif|left|thumb|Example of the EPT Image Catalog configuration file.]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;category name=&amp;quot;daylight&amp;quot; id=&amp;quot;d&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;file name=&amp;quot;aih0244-JPG.jpg&amp;quot; id=&amp;quot;5v&amp;quot; /&amp;gt;&lt;br /&gt;
  &amp;lt;file name=&amp;quot;aih0245-JPG.jpg&amp;quot; id=&amp;quot;6r&amp;quot; /&amp;gt;&lt;br /&gt;
  &amp;lt;file name=&amp;quot;aih0242-JPG.jpg&amp;quot; id=&amp;quot;6v&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/category&amp;gt;&lt;br /&gt;
&amp;lt;category name=&amp;quot;ultraviolet&amp;quot; id=&amp;quot;u&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;file name=&amp;quot;uv-5v.jpg&amp;quot; id=&amp;quot;5v&amp;quot; /&amp;gt;&lt;br /&gt;
  &amp;lt;file name=&amp;quot;uv-6r.jpg&amp;quot; id=&amp;quot;6r&amp;quot; /&amp;gt;&lt;br /&gt;
  &amp;lt;file name=&amp;quot;uv-6v.jpg&amp;quot; id=&amp;quot;6v&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/category&amp;gt;&lt;br /&gt;
&amp;lt;category name=&amp;quot;microfilm&amp;quot; id=&amp;quot;m&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;file name=&amp;quot;mf-5v.jpg&amp;quot; id=&amp;quot;5v&amp;quot; /&amp;gt;&lt;br /&gt;
  &amp;lt;file name=&amp;quot;mf-6r.jpg&amp;quot; id=&amp;quot;6r&amp;quot; /&amp;gt;&lt;br /&gt;
  &amp;lt;file name=&amp;quot;mf-6v.jpg&amp;quot; id=&amp;quot;6v&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/category&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The file IDs from image catalog are then associated with an attribute within the text markup itself. The attribute used is configured by the user; for the Electronic Boethius, we used the attribute ''n'' in the element ''&amp;lt;fol&amp;gt;'' (folio). The content for each folio is thus associated with the correct image files (from every category):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;fol n=&amp;quot;5v&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
points to &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;daylight&amp;gt;&amp;lt;file id=&amp;quot;5v&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;ultraviolet&amp;gt;&amp;lt;file id=“5v”/&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;microfilm&amp;gt;&amp;lt;file id=“5v”/&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Ept-fig2.gif|left|thumb|Example of EPT Image Catalog links image files with sections of text.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Attribute for Coordinates==&lt;br /&gt;
&lt;br /&gt;
A TEI element can be associated with a rectangular region of an image by encoding the co-ordinates of the region's corners as an attribute of that element. The EPT allows the user to assign an attribute (Electronic Boethius uses ''coords''). In whatever elements that attribute is defined, the coordinates, selected by the editor, are automatically entered by the software. The ID assigned to the categories in the Image Catalog are appended to the beginning of the coordinates. &lt;br /&gt;
&lt;br /&gt;
[[Image:Ept-fig3.gif|left|thumb|Example of @coords on &amp;lt;figure&amp;gt;.]]&lt;br /&gt;
[[Image:Ept-fig4.gif|thumb|Screenshot of EPPT]]&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;damage coords=&amp;quot;d:1058,738,1093,798&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Method used by the UVic Image Markup Tool: Annotate images=&lt;br /&gt;
&lt;br /&gt;
The UVic Image Markup Tool (http://www.tapor.uvic.ca/~mholmes/image_markup/) uses TEI, modified to allow for the inclusion of SVG (http://www.w3.org/Graphics/SVG/), to create a system for annotating images.&lt;br /&gt;
&lt;br /&gt;
Stated goals of the Tool:&lt;br /&gt;
&lt;br /&gt;
*be simple for novices to use &lt;br /&gt;
*load and display a wide variety of different image formats &lt;br /&gt;
*allow the user to specify arbitrary rectangles on the image, and associate them with annotations &lt;br /&gt;
*allow such rectangles to overlap if the user wishes &lt;br /&gt;
*provide mechanisms for bringing overlapped rectangles to the front easily &lt;br /&gt;
*allow annotations to be grouped into categories, distinguished by name and appearance, to allow different classes of annotation &lt;br /&gt;
*require no significant knowledge of XML or TEI &lt;br /&gt;
*allow the use of XML code if the user wishes &lt;br /&gt;
*save data in an XML file which conforms to a TEI P5-based schema &lt;br /&gt;
*reload data from its own files &lt;br /&gt;
*generate a simple &amp;quot;Web view&amp;quot; of the data for display in a browser &lt;br /&gt;
*come packaged with an installer, Help file, and basic tutorial &lt;br /&gt;
*be simple for novices to use! &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Simplified example from the IMT web:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;TEI&amp;gt;&lt;br /&gt;
    &amp;lt;teiHeader&amp;gt;&lt;br /&gt;
        &amp;lt;!-- ...header content... --&amp;gt;&lt;br /&gt;
    &amp;lt;/teiHeader&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;&lt;br /&gt;
        &amp;lt;body&amp;gt;&lt;br /&gt;
            &amp;lt;!-- ...TEI content... --&amp;gt;&lt;br /&gt;
            &amp;lt;div type=&amp;quot;imtAnnotatedImage&amp;quot;&amp;gt;&lt;br /&gt;
                &amp;lt;svg&amp;gt;&lt;br /&gt;
                    &amp;lt;!-- ...svg content... --&amp;gt;&lt;br /&gt;
                    &amp;lt;image&amp;gt;&lt;br /&gt;
                      &amp;lt;!-- Image file is linked in here --&amp;gt;&lt;br /&gt;
                    &amp;lt;/image&amp;gt;&lt;br /&gt;
                    &amp;lt;rect&amp;gt;&lt;br /&gt;
                      &amp;lt;!-- Annotation area on the image defined here --&amp;gt;&lt;br /&gt;
                    &amp;lt;/rect&amp;gt;&lt;br /&gt;
                &amp;lt;/svg&amp;gt;&lt;br /&gt;
                &amp;lt;div type=&amp;quot;imtAnnotationLayer&amp;quot;&amp;gt;&lt;br /&gt;
                    &amp;lt;!-- Annotation content goes here --&amp;gt;&lt;br /&gt;
                &amp;lt;/div&amp;gt;&lt;br /&gt;
            &amp;lt;/div&amp;gt;&lt;br /&gt;
            &amp;lt;!-- ...TEI content... --&amp;gt;&lt;br /&gt;
        &amp;lt;/body&amp;gt;&lt;br /&gt;
    &amp;lt;/text&amp;gt;&lt;br /&gt;
&amp;lt;/TEI&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Using this system, a user can annotate many sections of a single image. Unlike the EPT system described above, in which the coordinates are stored directly in the element, here the image coordinates are stored in a separate section and linked to the annotations using unique IDs (''svg:id'' in ''&amp;lt;rect&amp;gt;'') to link the areas to the annotation content (''n'' in ''&amp;amp;lt;div type=&amp;quot;imtAnnotationLayer&amp;quot;&amp;gt;'').&lt;br /&gt;
&lt;br /&gt;
[[Image:Uvic-fig1.gif|left|thumb|Example of the coordinate system used by the UVic IMT.]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;div type=&amp;quot;imtAnnotatedImage&amp;quot; xml:id=&amp;quot;NB-B-17328&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;svg xmlns=&amp;quot;http://www.w3.org/2000/svg&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;image xmlns:xlink=&amp;quot;http://www.w3.org/1999/xlink&amp;quot; xlink:href=&amp;quot;NB-B-17328.jpg&amp;quot; width=&amp;quot;5060&amp;quot; height=&amp;quot;6025&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;title&amp;gt;NB-B-17328.jpg&amp;lt;/title&amp;gt;&lt;br /&gt;
        &amp;lt;desc&amp;gt;5060 x 6025&amp;lt;/desc&amp;gt;&lt;br /&gt;
        &amp;lt;rect svg:id=&amp;quot;NB-B-17328_0&amp;quot; x=&amp;quot;4287&amp;quot; y=&amp;quot;1412&amp;quot; width=&amp;quot;580&amp;quot; height=&amp;quot;426&amp;quot; style=&amp;quot;3&amp;quot; color=&amp;quot;#ff0000&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;rect svg:id=&amp;quot;NB-B-17328_1&amp;quot; x=&amp;quot;4067&amp;quot; y=&amp;quot;2019&amp;quot; width=&amp;quot;720&amp;quot; height=&amp;quot;747&amp;quot; style=&amp;quot;3&amp;quot; color=&amp;quot;#ff0000&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/svg&amp;gt;&lt;br /&gt;
    &amp;lt;div type=&amp;quot;imtAnnotationLayer&amp;quot; n=&amp;quot;NB-B-17328_0&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;head&amp;gt;la chandelle allume la découverte.&amp;lt;/head&amp;gt;&lt;br /&gt;
        &amp;lt;p&amp;gt;Il a trouvé la cache.&amp;lt;/p&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
    &amp;lt;div type=&amp;quot;imtAnnotationLayer&amp;quot; n=&amp;quot;NB-B-17328_1&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;head&amp;gt;le couvercle de la malle&amp;lt;/head&amp;gt;&lt;br /&gt;
        &amp;lt;p&amp;gt;Il est pris sans vert&amp;lt;/p&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Uvic-fig2.gif|left|thumb|Screenshot from the UVic IMT interface.]]&lt;br /&gt;
[[Image:Uvic-fig3.gif|thumb|Browser view of output from the UVic IMT.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(TEI examples from the UVic file example: http://www.tapor.uvic.ca/~mholmes/image_markup/Amant.xml)&lt;br /&gt;
&lt;br /&gt;
For more details on the TEI/SVG used by the IMT, see here: http://www.tapor.uvic.ca/~mholmes/image_markup/xml.php&lt;br /&gt;
&lt;br /&gt;
=Using METS to link text and image=&lt;br /&gt;
&lt;br /&gt;
==What is METS?==&lt;br /&gt;
*Metadata Encoding and Transmission Standard (http://www.loc.gov/standards/mets/)&lt;br /&gt;
*“a standard for encoding … metadata regarding objects within a digital library”&lt;br /&gt;
*Centered at the Library of Congress&lt;br /&gt;
*Developed out of the metadata specs from the LOC’s “Making of America 2” project (MOA2)&lt;br /&gt;
*Developed by librarians and archivists, for librarians and archivists&lt;br /&gt;
*Accepted standard with a broad user base (http://sunsite.berkeley.edu/mets/registry/)&lt;br /&gt;
*Unrelated to TEI&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
While a library may record descriptive metadata regarding a book in its collection, the book will not dissolve into a series of unconnected pages if the library fails to record structural metadata regarding the book's organization, nor will scholars be unable to evaluate the book's worth if the library fails to note that the book was produced using a Ryobi offset press.” (METS: An Overview and Tutorial)&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Why METS?==&lt;br /&gt;
*System to organize disparate parts and relate files (and pieces of files): &lt;br /&gt;
**Areas on images correspond with sections of text&lt;br /&gt;
**Areas on images relate to one another&lt;br /&gt;
**Areas of text relate to one another&lt;br /&gt;
*METS provides sections for defining the logical and/or physical structure of the digital object&lt;br /&gt;
**File Section (fileSec)&lt;br /&gt;
**Structural Map (structMap)&lt;br /&gt;
&lt;br /&gt;
==File Section==&lt;br /&gt;
“lists all files containing content which comprise the electronic versions of the digital object.”&lt;br /&gt;
*Similar to the EPT Image Catalog&lt;br /&gt;
&lt;br /&gt;
==Within the FileSec==&lt;br /&gt;
*FileSec consists of Groups of File Locaters&lt;br /&gt;
**File Group: contains related files&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&amp;lt;fileGrp USE=&amp;quot;facsimile&amp;quot;&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
**File: assigns the individual files unique identifiers&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&amp;lt;file ID=&amp;quot;C-Clbiv-69v&amp;quot; MIMETYPE=&amp;quot;image/tiff&amp;quot;&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
**File Locater: points to the location of the file, using xlink syntax&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&amp;lt;FLocat LOCTYPE=&amp;quot;URN&amp;quot; xlink:href=&amp;quot;images/C-Clbiv-69v.jpg&amp;quot;/&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Example (Images)===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;fileGrp USE=&amp;quot;facsimile&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;file ID=&amp;quot;C-Clbiv-69v&amp;quot; MIMETYPE=&amp;quot;image/tiff&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;FLocat LOCTYPE=&amp;quot;URN&amp;quot; xlink:href=&amp;quot;images/C-Clbiv-69v.tif&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;/file&amp;gt;&lt;br /&gt;
  &amp;lt;file ID=&amp;quot;C-Clbiv-70r&amp;quot; MIMETYPE=&amp;quot;image/tiff&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;FLocat LOCTYPE=&amp;quot;URN&amp;quot; xlink:href=&amp;quot;images/C-Clbiv-70r.tif&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/file&amp;gt;&lt;br /&gt;
…&lt;br /&gt;
&amp;lt;/fileGrp&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Example (Transcript)===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;fileGrp USE=&amp;quot;transcript&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;file ID=&amp;quot;id-pref-genesis&amp;quot; MIMETYPE=&amp;quot;text/xml&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;FLocat LOCTYPE=&amp;quot;URN&amp;quot; xlink:href=“transcription/pref-genesis.xml&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;/file&amp;gt;&lt;br /&gt;
  &amp;lt;file ID=&amp;quot;id-genesis&amp;quot; MIMETYPE=&amp;quot;text/xml&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;FLocat LOCTYPE=&amp;quot;URN&amp;quot; xlink:href=“transcription/genesis.xml&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;/file&amp;gt;&lt;br /&gt;
  &amp;lt;file ID=&amp;quot;id-exodus&amp;quot; MIMETYPE=&amp;quot;text/xml&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;FLocat LOCTYPE=&amp;quot;URN&amp;quot; xlink:href=“transcription/exodus.xml&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;/file&amp;gt;&lt;br /&gt;
…&lt;br /&gt;
&amp;lt;/fileGrp&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Structural Map==&lt;br /&gt;
“outlines a hierarchical structure for the digital library object, and links the elements of that structure to content files … that pertain to each element.”&lt;br /&gt;
*Organization may be logical or physical&lt;br /&gt;
*A single METS file may contain multiple structural maps&lt;br /&gt;
&lt;br /&gt;
==Within the StructMap==&lt;br /&gt;
*StructMap consists of organizational divisions, that may nest&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;div LABEL=&amp;quot;Genesis&amp;quot; ORDER=&amp;quot;2&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;div LABEL=&amp;quot;Folio 1v&amp;quot; ORDER=&amp;quot;2&amp;quot;&amp;gt;&lt;br /&gt;
   ...&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*The divisions contain pointers to the files, and areas of files, indexed in the fileSec&lt;br /&gt;
&amp;lt;pre&amp;gt; &lt;br /&gt;
&amp;lt;div LABEL=&amp;quot;Genesis&amp;quot; ORDER=&amp;quot;2&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;div LABEL=&amp;quot;Folio 1v&amp;quot; ORDER=&amp;quot;2&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;fptr FILEID=&amp;quot;C-Clbiv-1v&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;fptr&amp;gt;&lt;br /&gt;
      &amp;lt;area FILEID=&amp;quot;id-genesis&amp;quot; BEGIN=&amp;quot;1v.32&amp;quot; END=&amp;quot;1v.38&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/fptr&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Example (Basic)===&lt;br /&gt;
The first file pointer references the corresponding image file, while the second one references the corresponding line range (BEGIN and END) in the XML file (these are the values of, for example, @xml:id on &amp;amp;lt;lb/&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;div LABEL=&amp;quot;Folio 69v&amp;quot; ORDER=“139&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;fptr FILEID=&amp;quot;C-Clbiv-69v&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;fptr&amp;gt;&lt;br /&gt;
    &amp;lt;area FILEID=&amp;quot;id-genesis&amp;quot; BEGIN=&amp;quot;69v.1&amp;quot; END=&amp;quot;69v.12&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;/fptr&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div LABEL=&amp;quot;Folio 70r&amp;quot; ORDER=&amp;quot;140&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;fptr FILEID=&amp;quot;C-Clbiv-70r&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;fptr&amp;gt;&lt;br /&gt;
    &amp;lt;area FILEID=&amp;quot;id-genesis&amp;quot; BEGIN=&amp;quot;70r.1&amp;quot; END=&amp;quot;70r.38&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;/fptr&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Example (Advanced)===&lt;br /&gt;
*&amp;amp;lt;area&amp;gt;: reference coordinates within an image file. &lt;br /&gt;
**especially useful for extensively illustrated manuscripts &lt;br /&gt;
*create links between text and image.&lt;br /&gt;
**@COORDS in &amp;lt;area&amp;gt; for image files&lt;br /&gt;
**@BEGIN and @END in &amp;lt;area&amp;gt; for XML/TEI files&lt;br /&gt;
*Simplifies encoding:&lt;br /&gt;
**no need to define @COORDS to clutter up the TEI; &lt;br /&gt;
**no need to find a place to store a linking section in the TEI file &lt;br /&gt;
**no need to use the SVG namespace&lt;br /&gt;
**separate the objects (image and XML files) from the indexing of their relationships with one another&lt;br /&gt;
&lt;br /&gt;
[[Image:mets-fig1.gif|left|thumb|Advanced Example of using METS and TEI to link sections of text with sections of image]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 &amp;lt;div LABEL=&amp;quot;Folio 69v&amp;quot; ORDER=&amp;quot;139&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;div LABEL=&amp;quot;Annotation 1&amp;quot; &lt;br /&gt;
    &amp;lt;fptr&amp;gt;&lt;br /&gt;
      &amp;lt;area FILEID=&amp;quot;C-Clbiv-69v&amp;quot; COORDS=&amp;quot;40,12,975,121&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/fptr&amp;gt;&lt;br /&gt;
    &amp;lt;fptr&amp;gt;&lt;br /&gt;
       &amp;lt;area FILEID=&amp;quot;id-genesis&amp;quot; BEGIN=&amp;quot;69v.annot.1&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/fptr&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div LABEL=&amp;quot;Illustration 1&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;fptr&amp;gt; &lt;br /&gt;
      &amp;lt;area FILEID=&amp;quot;C-Clbiv-69v&amp;quot; COORDS=&amp;quot;96,87979,572&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/fptr&amp;gt;&lt;br /&gt;
    &amp;lt;fptr&amp;gt;&lt;br /&gt;
       &amp;lt;area FILEID=&amp;quot;id-genesis&amp;quot; BEGIN=&amp;quot;69v.illus.1&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/fptr&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div LABEL=&amp;quot;Text&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;fptr&amp;gt; &lt;br /&gt;
      &amp;lt;area FILEID=&amp;quot;C-Clbiv-69v&amp;quot; COORDS=&amp;quot;71,531,978,859&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/fptr&amp;gt;&lt;br /&gt;
    &amp;lt;fptr&amp;gt;&lt;br /&gt;
      &amp;lt;area FILEID=&amp;quot;id-genesis&amp;quot; BEGIN=&amp;quot;69v.1&amp;quot; END=&amp;quot;69v.9&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/fptr&amp;gt;&lt;br /&gt;
   &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Conclusions=&lt;br /&gt;
*Draft Recommendations for TEI Digital Facsimiles&lt;br /&gt;
**Not robust&lt;br /&gt;
**No specific image/text linking&lt;br /&gt;
**Need to be updated for TEI P5&lt;br /&gt;
*Edition Production Technology (EPT)&lt;br /&gt;
**Designed for textual annotation, but can annotate illustrations as well&lt;br /&gt;
**Markup schema is not defined&lt;br /&gt;
**Complex&lt;br /&gt;
**Dependent on editing software&lt;br /&gt;
**Limited image file support&lt;br /&gt;
**No visualization outside of the editing environment&lt;br /&gt;
*UVic Image Annotation Tool&lt;br /&gt;
**Simple&lt;br /&gt;
**Annotates via description – no “text encoding” (i.e., cannot include in an electronic transcription)&lt;br /&gt;
**Based on accepted standards&lt;br /&gt;
**Markup schema is defined (extended TEI + SVG)&lt;br /&gt;
**Visualization through SVG-enabled browser&lt;br /&gt;
*METS&lt;br /&gt;
**Very complex&lt;br /&gt;
**Objects separate from indexes&lt;br /&gt;
**Flexible – can link many textual and image sections (Venetus A – link main text and several layers of annotations)&lt;br /&gt;
**No visualization (yet) for the more advanced image-text links&lt;/div&gt;</summary>
		<author><name>Conal</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.tei-c.org/index.php?title=LegacyFacsimileMarkup&amp;diff=2625</id>
		<title>LegacyFacsimileMarkup</title>
		<link rel="alternate" type="text/html" href="https://wiki.tei-c.org/index.php?title=LegacyFacsimileMarkup&amp;diff=2625"/>
		<updated>2006-06-07T11:02:54Z</updated>

		<summary type="html">&lt;p&gt;Conal: /* Conclusions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page includes some examples of different approaches for facsimile (image-based) markup.&lt;br /&gt;
&lt;br /&gt;
=P5 Guidelines, 22.3 (Specific Elements for Graphic Images)=&lt;br /&gt;
&lt;br /&gt;
The P5 Guidelines describe four elements for including graphic images in TEI documents:&lt;br /&gt;
&lt;br /&gt;
*figure: contains a block containing graphics, illustrations, or figures.&lt;br /&gt;
*graphic: indicates the location of an inline graphic, illustration, or figure.&lt;br /&gt;
*binaryObject: provides encoded binary data representing an inline graphic or other object.&lt;br /&gt;
*figdesc: contains a brief prose description of the appearance or content of a graphic figure, for use when documenting an image without displaying it.&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;figure&amp;gt; is the parent element for the others. &amp;amp;lt;figure&amp;gt; may also contain &amp;lt;head&amp;gt; (a header or title) and &amp;amp;lt;p&amp;gt; (commentary or caption, not a description of the image).&lt;br /&gt;
&lt;br /&gt;
If a graphic contains a large amount of text, and the editor determines that the graphic actually contains that text (the text is not part of the surrounding text), &amp;amp;lt;figure&amp;gt; may contain &amp;amp;lt;text&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Linking Text &amp;amp; Image in P5==&lt;br /&gt;
&lt;br /&gt;
The Guidelines describes a number of ways to link text and image using methods described fully in [http://www.tei-c.org/release/doc/tei-p5-doc/html/SA.html 14 Linking, Segmentation, and Alignment]. &lt;br /&gt;
&lt;br /&gt;
===Linking thumbnails to full-resolution images===&lt;br /&gt;
To link thumbnails to larger images, create a &amp;lt;ref&amp;gt; tag that points to the xml:id of the corresponding figure. Include the thumbnail as a graphic in the &amp;lt;ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 &amp;lt;ref target=&amp;quot;#IM1&amp;quot;&amp;gt;Click here&lt;br /&gt;
   &amp;lt;graphic url=&amp;quot;fig1th.png&amp;quot;/&amp;gt;&lt;br /&gt;
   for enlightenment&lt;br /&gt;
 &amp;lt;/ref&amp;gt;&lt;br /&gt;
 &amp;lt;figure xml:id=&amp;quot;IM1&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;graphic url=&amp;quot;fig1.jpg&amp;quot;/&amp;gt;&lt;br /&gt;
 &amp;lt;/figure&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Associate images/parts of images with text elements===&lt;br /&gt;
Use the linking mechanism described in [http://www.tei-c.org/release/doc/tei-p5-doc/html/SA.html 14 Linking, Segmentation, and Alignment] to link together a figure (the example in the guidelines uses an external SVG file, parts of which are identified with xml:ids) and TEI elements (which are likewise identified using xml:ids).&lt;br /&gt;
&lt;br /&gt;
First, we use pointers to the graphic image:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 &amp;lt;ptr xml:id=&amp;quot;PD1&amp;quot; target=&amp;quot;Fig1.svg#object1&amp;quot;/&amp;gt;&lt;br /&gt;
 &amp;lt;ptr xml:id=&amp;quot;PD2&amp;quot; target=&amp;quot;Fig1.svg#object2&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These point inside the SVG file:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;svg width=&amp;quot;8cm&amp;quot; height=&amp;quot;3cm&amp;quot; viewBox=&amp;quot;2 1 8 3&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;g id=&amp;quot;object1&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;ellipse style=&amp;quot;fill: #ffffff&amp;quot; cx=&amp;quot;3.875&amp;quot; cy=&amp;quot;3.025&amp;quot; rx=&amp;quot;1.175&amp;quot; ry=&amp;quot;1.175&amp;quot;/&amp;gt;&lt;br /&gt;
 &amp;lt;/g&amp;gt;&lt;br /&gt;
 &amp;lt;g id=&amp;quot;object2&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;rect style=&amp;quot;fill: #a81616&amp;quot; x=&amp;quot;7.8&amp;quot; y=&amp;quot;1.9&amp;quot; width=&amp;quot;2.17581&amp;quot; height=&amp;quot;2.24833&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/g&amp;gt;&lt;br /&gt;
&amp;lt;/svg&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Areas in the TEI file are also uniquely identified:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 &amp;lt;div1 type=&amp;quot;chapter&amp;quot; xml:id=&amp;quot;CHAP1&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- ... --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;/div1&amp;gt;&lt;br /&gt;
 &amp;lt;div1 type=&amp;quot;chapter&amp;quot; xml:id=&amp;quot;CHAP2&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- ... --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;/div1&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then we can use a linkgroup to pull this all together:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 &amp;lt;linkGrp type=&amp;quot;callout&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;link targets=&amp;quot;#CHAP1 #PD1&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;link targets=&amp;quot;#CHAP2 #PD2&amp;quot;/&amp;gt;&lt;br /&gt;
 &amp;lt;/linkGrp&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Draft Recommendations for TEI Digital Facsimiles=&lt;br /&gt;
&lt;br /&gt;
http://users.ox.ac.uk/~lou/wip/digfax.html&lt;br /&gt;
&lt;br /&gt;
This document, authored by Richard Gartner and Lou Burnard and last updated in 2001, outlines ways to use TEI to represent three types of digital objects:&lt;br /&gt;
&lt;br /&gt;
*complete digital transcriptions of the content of manuscript or print originals (possibly including illustrations as well as text)&lt;br /&gt;
*collections of digitized page images (''digital facsimiles'') intended for use as surrogates for complete manuscript or print originals&lt;br /&gt;
*digital objects (''digital editions'') combining both page facsimiles and transcriptions, possibly also including layers of editorial annotation&lt;br /&gt;
&lt;br /&gt;
The authors attempt to address these areas of concern:&lt;br /&gt;
&lt;br /&gt;
*the need to distinguish images of a manuscript or print source from images located within it;&lt;br /&gt;
*the need to support multiple formats of a single image;&lt;br /&gt;
*the need to associate metadata at different levels (e.g. collection level, item level);&lt;br /&gt;
*the need to associate transcription and facsimile in a standard way;&lt;br /&gt;
*the need to define practices which can be used equally well in both SGML and XML environments;&lt;br /&gt;
*the desire to avoid special purpose rules which assume nonstandard or ad hoc processing rules.&lt;br /&gt;
&lt;br /&gt;
==Case 1: Transcription==&lt;br /&gt;
&lt;br /&gt;
Updated to cite chapters in P5:&lt;br /&gt;
&lt;br /&gt;
The content of a transcription should be marked up as a single &amp;amp;lt;TEI&amp;gt; element using the standard TEI elements &amp;amp;lt;text&amp;gt;, &amp;amp;lt;body&amp;gt;, &amp;amp;lt;div&amp;gt;, etc. from the TEI core tag sets.&lt;br /&gt;
&lt;br /&gt;
Follow the Guidelines chapters 18 [http://www.tei-c.org/release/doc/tei-p5-doc/html/PH.html Transcription of Primary Resources] and 13 [http://www.tei-c.org/release/doc/tei-p5-doc/html/MS.html Manuscript Description]. &lt;br /&gt;
&lt;br /&gt;
If the source contains &amp;quot;significant illustrative material&amp;quot;, use &amp;amp;lt;figure&amp;gt; (and children) from Guidelines chapter 22 [http://www.tei-c.org/release/doc/tei-p5-doc/html/FT.html Tables, Formulae, and Graphics] to insert illustrations in their proper location in the transcript.&lt;br /&gt;
&lt;br /&gt;
[[Image:Teidr-fig1.gif|left|thumb|Example of the TEI &amp;lt;figure&amp;gt; element.]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;lb n=&amp;quot;12&amp;quot;/&amp;gt;feond mid his geferum eallum. Feollon þa ufon &lt;br /&gt;
&amp;lt;lb n=&amp;quot;13&amp;quot;/&amp;gt;of heofnum þurhlonge swa þreo niht and da&lt;br /&gt;
&amp;lt;lb n=&amp;quot;14&amp;quot;/&amp;gt;gas, þa englas of heofnum on helle, and heo ealle &lt;br /&gt;
&amp;lt;lb n=&amp;quot;15&amp;quot;/&amp;gt;forsceop drihten to deoflum. &lt;br /&gt;
&lt;br /&gt;
  &amp;lt;figure&amp;gt;&lt;br /&gt;
    &amp;lt;head&amp;gt;Fall of the Angels&amp;lt;/head&amp;gt;&lt;br /&gt;
    &amp;lt;figDesc&amp;gt;Above, God, cross-nimbed, beardless, and holding a closed book, &lt;br /&gt;
    accompanied by three angels, turns and gestures toward three angels on &lt;br /&gt;
    the left, one of whom (Lucifer?) holds a palm frond ...&amp;lt;/figDesc&amp;gt;&lt;br /&gt;
  &amp;lt;/figure&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pb n=&amp;quot;17&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Case 2: Digital Facsimile==&lt;br /&gt;
&lt;br /&gt;
Should be marked as a separate &amp;lt;TEI&amp;gt; element. TEI structural tags may be used, but need not be, especially if differences between textual structure and physical structure cause overlap.&lt;br /&gt;
&lt;br /&gt;
Each distinct image making up the facsimile should be encoded as a &amp;lt;figure&amp;gt; element, arranged in the normal reading sequence of the facsimile. The appropriate milestone element (&amp;lt;pb/&amp;gt; or &amp;lt;cb/&amp;gt;) should be used at the appropriate place in the facsimile.&lt;br /&gt;
&lt;br /&gt;
[[Image:Teidr-fig2.gif|left|thumb|Example of the TEI &amp;lt;figure&amp;gt; element with reference to manuscript folio number.]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;pb n=&amp;quot;16&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;figure n=&amp;quot;16&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;figDesc&amp;gt;[Page 16: 15 lines of text followed by image of &amp;quot;Fall of Angels&amp;quot; &lt;br /&gt;
    (Ohlgren 16.11)]&amp;lt;/figDesc&amp;gt;&lt;br /&gt;
&amp;lt;/figure&amp;gt;&lt;br /&gt;
&amp;lt;pb n=&amp;quot;17&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;figure n=&amp;quot;17&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;figDesc&amp;gt;[Page 17: 15 lines of text followed by image of  &amp;quot;Fall of Angels&amp;quot; &lt;br /&gt;
    (Ohlgren 16.12)]&amp;lt;/figDesc&amp;gt;&lt;br /&gt;
&amp;lt;/figure&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;figure&amp;gt; elements may be self-nested to show that one image logically contains others (in cases where two image fit together to form one larger image).&lt;br /&gt;
&lt;br /&gt;
[[Image:Teidr-fig3.gif|left|thumb|Example of nesting TEI &amp;lt;figure&amp;gt; elements.]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;figure n=&amp;quot;16&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;figDesc&amp;gt;&lt;br /&gt;
    &amp;lt;figure&amp;gt;&lt;br /&gt;
      &amp;lt;figDesc&amp;gt;[Page 16: 15 lines of text (detail of upper part)]&amp;lt;/figDesc&amp;gt;&lt;br /&gt;
    &amp;lt;/figure&amp;gt;&lt;br /&gt;
    &amp;lt;figure&amp;gt;&lt;br /&gt;
      &amp;lt;figDesc&amp;gt;[Page 16: Image of &amp;quot;Fall of Angels&amp;quot; (Ohlgren 16.11) (detail of lower part)&amp;lt;/figDesc&amp;gt;&lt;br /&gt;
    &amp;lt;/figure&amp;gt;&lt;br /&gt;
  &amp;lt;/figDesc&amp;gt;&lt;br /&gt;
&amp;lt;/figure&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==3: Techniques for Referencing Images==&lt;br /&gt;
&lt;br /&gt;
Recommends declaring the file containing the image as an external entity and then referencing that entity using the &amp;quot;entity&amp;quot; attribute in &amp;lt;figure&amp;gt;. This approach depends on the use of the DTD (no longer practical given the TEI's move towards using the RelaxNG schema), and relies on an attribute that is no longer included in P5. &lt;br /&gt;
&lt;br /&gt;
In TEI P5 there are also two new elements, &amp;lt;graphic&amp;gt; and &amp;lt;binaryObject&amp;gt; which may be used to represent image references or images respectively. These permit the encoding of figures containing multiple images, for example.  The &amp;lt;graphic&amp;gt; element has a &amp;quot;url&amp;quot; attribute which enables the association of a &amp;lt;figure&amp;gt; with its corresponding image file. The recommendations in Gartner and Burnard need to be revised substantially in this respect.  &lt;br /&gt;
&lt;br /&gt;
[[Image:Teidr-fig4.gif|left|thumb|Example of the TEI &amp;lt;graphic&amp;gt; element with reference to image file URL]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;pb n=&amp;quot;16&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;figure n=&amp;quot;16&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;figDesc&amp;gt;[Page 16: 15 lines of text followed by image of &amp;quot;Fall of Angels&amp;quot; &lt;br /&gt;
    (Ohlgren 16.11)]&amp;lt;/figDesc&amp;gt;&lt;br /&gt;
    &amp;lt;graphic url=&amp;quot;http://image.ox.ac.uk/images/bodleian/msjunius11/16.jpg&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/figure&amp;gt;&lt;br /&gt;
&amp;lt;pb n=&amp;quot;17&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;figure n=&amp;quot;17&amp;quot; url=&amp;quot;http://image.ox.ac.uk/images/bodleian/msjunius11/17.jpg&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;figDesc&amp;gt;[Page 17: 15 lines of text followed by image of  &amp;quot;Fall of Angels&amp;quot; &lt;br /&gt;
    (Ohlgren 16.12)]&amp;lt;/figDesc&amp;gt;&lt;br /&gt;
    &amp;lt;graphic url=&amp;quot;http://image.ox.ac.uk/images/bodleian/msjunius11/17.jpg&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/figure&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This approach is simple, though it is not practical if one has multiple images of the same page in various resolutions&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;figure&amp;gt;&lt;br /&gt;
  &amp;lt;head&amp;gt;Figure One: The View from the Bridge&amp;lt;/head&amp;gt;&lt;br /&gt;
  &amp;lt;figDesc&amp;gt;A Whistleresque view showing four&lt;br /&gt;
  	or five sailing boats in the foreground, and a&lt;br /&gt;
  	series of buoys strung out between them.&amp;lt;/figDesc&amp;gt;&lt;br /&gt;
  &amp;lt;graphic url=&amp;quot;http://www.somewhere.eu/fig1.png&amp;quot; scale=&amp;quot;0.5&amp;quot;/&amp;gt;&lt;br /&gt;
 &amp;lt;/figure&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Other options mentioned in the recommendation: Xlink or Xinclude.&lt;br /&gt;
&lt;br /&gt;
==4: Aligning transcription and fascimile==&lt;br /&gt;
&lt;br /&gt;
The TEI Guidelines propose a number of methods for aligning parts of a document (see www.tei-c.org/Guidelines/SA). These may be briefly summarized as follows &lt;br /&gt;
*use the @corresp attribute to assert that a &amp;lt;pb&amp;gt; (or other reference point) in the transcription corresponds with a &amp;lt;pb&amp;gt; in the facsimile (or the reverse);&lt;br /&gt;
*alternatively, use a stand-off &amp;lt;link&amp;gt; element to assert the association between the two &amp;lt;pb&amp;gt; elements; &lt;br /&gt;
*for cross-document linking, an intermediate &amp;lt;xptr&amp;gt; may be used as the target.&lt;br /&gt;
(see [http://www.tei-c.org/release/doc/tei-p5-doc/html/SA.html Chapter 14 Linking, Segmentation, and Alignment]).&lt;br /&gt;
&lt;br /&gt;
[[Image:Teidr-fig5.gif|left|thumb|Example of linking image file with transcription using @corresp on &amp;lt;pb&amp;gt;.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Method used by the Edition Production Technology (EPT): Link text and images=&lt;br /&gt;
&lt;br /&gt;
The EPT (now EPPT: http://beowulf.engl.uky.edu/~eft/EPPT-Demo.html) uses a system combining a Image Catalog combined with a special attribute for coordinates to enable linking between text and image. For more details, see here: http://beowulf.engl.uky.edu/~kiernan/eBoethius/tech.htm#tech.&lt;br /&gt;
&lt;br /&gt;
==Image Catalog==&lt;br /&gt;
&lt;br /&gt;
The Image Catalog is a simple XML file that consists of lists of image files organized by category. There is one category for every set of image files for a given source. &lt;br /&gt;
*daylight (images taken under regular lighting)&lt;br /&gt;
*ultraviolet (images taken under ultraviolet lighting)&lt;br /&gt;
*microfilm (images scanned from microfilm)&lt;br /&gt;
&lt;br /&gt;
Categories are assigned unique IDs.&lt;br /&gt;
&lt;br /&gt;
Within each category, the user associates each file with an ID that is ''unique within the category''. IDs will repeat across categories. Essentially, these IDs associate the files with the same object, which may be represented by multiple images.&lt;br /&gt;
&lt;br /&gt;
[[Image:Ept-fig1.gif|left|thumb|Example of the EPT Image Catalog configuration file.]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;category name=&amp;quot;daylight&amp;quot; id=&amp;quot;d&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;file name=&amp;quot;aih0244-JPG.jpg&amp;quot; id=&amp;quot;5v&amp;quot; /&amp;gt;&lt;br /&gt;
  &amp;lt;file name=&amp;quot;aih0245-JPG.jpg&amp;quot; id=&amp;quot;6r&amp;quot; /&amp;gt;&lt;br /&gt;
  &amp;lt;file name=&amp;quot;aih0242-JPG.jpg&amp;quot; id=&amp;quot;6v&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/category&amp;gt;&lt;br /&gt;
&amp;lt;category name=&amp;quot;ultraviolet&amp;quot; id=&amp;quot;u&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;file name=&amp;quot;uv-5v.jpg&amp;quot; id=&amp;quot;5v&amp;quot; /&amp;gt;&lt;br /&gt;
  &amp;lt;file name=&amp;quot;uv-6r.jpg&amp;quot; id=&amp;quot;6r&amp;quot; /&amp;gt;&lt;br /&gt;
  &amp;lt;file name=&amp;quot;uv-6v.jpg&amp;quot; id=&amp;quot;6v&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/category&amp;gt;&lt;br /&gt;
&amp;lt;category name=&amp;quot;microfilm&amp;quot; id=&amp;quot;m&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;file name=&amp;quot;mf-5v.jpg&amp;quot; id=&amp;quot;5v&amp;quot; /&amp;gt;&lt;br /&gt;
  &amp;lt;file name=&amp;quot;mf-6r.jpg&amp;quot; id=&amp;quot;6r&amp;quot; /&amp;gt;&lt;br /&gt;
  &amp;lt;file name=&amp;quot;mf-6v.jpg&amp;quot; id=&amp;quot;6v&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/category&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The file IDs from image catalog are then associated with an attribute within the text markup itself. The attribute used is configured by the user; for the Electronic Boethius, we used the attribute ''n'' in the element ''&amp;lt;fol&amp;gt;'' (folio). The content for each folio is thus associated with the correct image files (from every category):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;fol n=&amp;quot;5v&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
points to &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;daylight&amp;gt;&amp;lt;file id=&amp;quot;5v&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;ultraviolet&amp;gt;&amp;lt;file id=“5v”/&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;microfilm&amp;gt;&amp;lt;file id=“5v”/&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Ept-fig2.gif|left|thumb|Example of EPT Image Catalog links image files with sections of text.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Attribute for Coordinates==&lt;br /&gt;
&lt;br /&gt;
To store coordinates from an image that correspond with a given piece of XML content, the EPT simply allows the user to assign an attribute (Electronic Boethius uses ''coords''). In whatever elements that attribute is defined, the coordinates, selected by the editor, are automatically entered by the software. The ID assigned to the categories in the Image Catalog are appended to the beginning of the coordinates.&lt;br /&gt;
&lt;br /&gt;
[[Image:Ept-fig3.gif|left|thumb|Example of @coords on &amp;lt;figure&amp;gt;.]]&lt;br /&gt;
[[Image:Ept-fig4.gif|thumb|Screenshot of EPPT]]&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;damage coords=&amp;quot;d:1058,738,1093,798&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Method used by the UVic Image Markup Tool: Annotate images=&lt;br /&gt;
&lt;br /&gt;
The UVic Image Markup Tool (http://www.tapor.uvic.ca/~mholmes/image_markup/) uses TEI, modified to allow for the inclusion of SVG (http://www.w3.org/Graphics/SVG/), to create a system for annotating images.&lt;br /&gt;
&lt;br /&gt;
Stated goals of the Tool:&lt;br /&gt;
&lt;br /&gt;
*be simple for novices to use &lt;br /&gt;
*load and display a wide variety of different image formats &lt;br /&gt;
*allow the user to specify arbitrary rectangles on the image, and associate them with annotations &lt;br /&gt;
*allow such rectangles to overlap if the user wishes &lt;br /&gt;
*provide mechanisms for bringing overlapped rectangles to the front easily &lt;br /&gt;
*allow annotations to be grouped into categories, distinguished by name and appearance, to allow different classes of annotation &lt;br /&gt;
*require no significant knowledge of XML or TEI &lt;br /&gt;
*allow the use of XML code if the user wishes &lt;br /&gt;
*save data in an XML file which conforms to a TEI P5-based schema &lt;br /&gt;
*reload data from its own files &lt;br /&gt;
*generate a simple &amp;quot;Web view&amp;quot; of the data for display in a browser &lt;br /&gt;
*come packaged with an installer, Help file, and basic tutorial &lt;br /&gt;
*be simple for novices to use! &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Simplified example from the IMT web:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;TEI&amp;gt;&lt;br /&gt;
    &amp;lt;teiHeader&amp;gt;&lt;br /&gt;
        &amp;lt;!-- ...header content... --&amp;gt;&lt;br /&gt;
    &amp;lt;/teiHeader&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;&lt;br /&gt;
        &amp;lt;body&amp;gt;&lt;br /&gt;
            &amp;lt;!-- ...TEI content... --&amp;gt;&lt;br /&gt;
            &amp;lt;div type=&amp;quot;imtAnnotatedImage&amp;quot;&amp;gt;&lt;br /&gt;
                &amp;lt;svg&amp;gt;&lt;br /&gt;
                    &amp;lt;!-- ...svg content... --&amp;gt;&lt;br /&gt;
                    &amp;lt;image&amp;gt;&lt;br /&gt;
                      &amp;lt;!-- Image file is linked in here --&amp;gt;&lt;br /&gt;
                    &amp;lt;/image&amp;gt;&lt;br /&gt;
                    &amp;lt;rect&amp;gt;&lt;br /&gt;
                      &amp;lt;!-- Annotation area on the image defined here --&amp;gt;&lt;br /&gt;
                    &amp;lt;/rect&amp;gt;&lt;br /&gt;
                &amp;lt;/svg&amp;gt;&lt;br /&gt;
                &amp;lt;div type=&amp;quot;imtAnnotationLayer&amp;quot;&amp;gt;&lt;br /&gt;
                    &amp;lt;!-- Annotation content goes here --&amp;gt;&lt;br /&gt;
                &amp;lt;/div&amp;gt;&lt;br /&gt;
            &amp;lt;/div&amp;gt;&lt;br /&gt;
            &amp;lt;!-- ...TEI content... --&amp;gt;&lt;br /&gt;
        &amp;lt;/body&amp;gt;&lt;br /&gt;
    &amp;lt;/text&amp;gt;&lt;br /&gt;
&amp;lt;/TEI&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Using this system, a user can annotate many sections of a single image. Unlike the EPT system described above, in which the coordinates are stored directly in the element, here the image coordinates are stored in a separate section and linked to the annotations using unique IDs (''svg:id'' in ''&amp;lt;rect&amp;gt;'') to link the areas to the annotation content (''n'' in ''&amp;amp;lt;div type=&amp;quot;imtAnnotationLayer&amp;quot;&amp;gt;'').&lt;br /&gt;
&lt;br /&gt;
[[Image:Uvic-fig1.gif|left|thumb|Example of the coordinate system used by the UVic IMT.]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;div type=&amp;quot;imtAnnotatedImage&amp;quot; xml:id=&amp;quot;NB-B-17328&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;svg xmlns=&amp;quot;http://www.w3.org/2000/svg&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;image xmlns:xlink=&amp;quot;http://www.w3.org/1999/xlink&amp;quot; xlink:href=&amp;quot;NB-B-17328.jpg&amp;quot; width=&amp;quot;5060&amp;quot; height=&amp;quot;6025&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;title&amp;gt;NB-B-17328.jpg&amp;lt;/title&amp;gt;&lt;br /&gt;
        &amp;lt;desc&amp;gt;5060 x 6025&amp;lt;/desc&amp;gt;&lt;br /&gt;
        &amp;lt;rect svg:id=&amp;quot;NB-B-17328_0&amp;quot; x=&amp;quot;4287&amp;quot; y=&amp;quot;1412&amp;quot; width=&amp;quot;580&amp;quot; height=&amp;quot;426&amp;quot; style=&amp;quot;3&amp;quot; color=&amp;quot;#ff0000&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;rect svg:id=&amp;quot;NB-B-17328_1&amp;quot; x=&amp;quot;4067&amp;quot; y=&amp;quot;2019&amp;quot; width=&amp;quot;720&amp;quot; height=&amp;quot;747&amp;quot; style=&amp;quot;3&amp;quot; color=&amp;quot;#ff0000&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/svg&amp;gt;&lt;br /&gt;
    &amp;lt;div type=&amp;quot;imtAnnotationLayer&amp;quot; n=&amp;quot;NB-B-17328_0&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;head&amp;gt;la chandelle allume la découverte.&amp;lt;/head&amp;gt;&lt;br /&gt;
        &amp;lt;p&amp;gt;Il a trouvé la cache.&amp;lt;/p&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
    &amp;lt;div type=&amp;quot;imtAnnotationLayer&amp;quot; n=&amp;quot;NB-B-17328_1&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;head&amp;gt;le couvercle de la malle&amp;lt;/head&amp;gt;&lt;br /&gt;
        &amp;lt;p&amp;gt;Il est pris sans vert&amp;lt;/p&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Uvic-fig2.gif|left|thumb|Screenshot from the UVic IMT interface.]]&lt;br /&gt;
[[Image:Uvic-fig3.gif|thumb|Browser view of output from the UVic IMT.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(TEI examples from the UVic file example: http://www.tapor.uvic.ca/~mholmes/image_markup/Amant.xml)&lt;br /&gt;
&lt;br /&gt;
For more details on the TEI/SVG used by the IMT, see here: http://www.tapor.uvic.ca/~mholmes/image_markup/xml.php&lt;br /&gt;
&lt;br /&gt;
=Using METS to link text and image=&lt;br /&gt;
&lt;br /&gt;
==What is METS?==&lt;br /&gt;
*Metadata Encoding and Transmission Standard (http://www.loc.gov/standards/mets/)&lt;br /&gt;
*“a standard for encoding … metadata regarding objects within a digital library”&lt;br /&gt;
*Centered at the Library of Congress&lt;br /&gt;
*Developed out of the metadata specs from the LOC’s “Making of America 2” project (MOA2)&lt;br /&gt;
*Developed by librarians and archivists, for librarians and archivists&lt;br /&gt;
*Accepted standard with a broad user base (http://sunsite.berkeley.edu/mets/registry/)&lt;br /&gt;
*Unrelated to TEI&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
While a library may record descriptive metadata regarding a book in its collection, the book will not dissolve into a series of unconnected pages if the library fails to record structural metadata regarding the book's organization, nor will scholars be unable to evaluate the book's worth if the library fails to note that the book was produced using a Ryobi offset press.” (METS: An Overview and Tutorial)&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Why METS?==&lt;br /&gt;
*System to organize disparate parts and relate files (and pieces of files): &lt;br /&gt;
**Areas on images correspond with sections of text&lt;br /&gt;
**Areas on images relate to one another&lt;br /&gt;
**Areas of text relate to one another&lt;br /&gt;
*METS provides sections for defining the logical and/or physical structure of the digital object&lt;br /&gt;
**File Section (fileSec)&lt;br /&gt;
**Structural Map (structMap)&lt;br /&gt;
&lt;br /&gt;
==File Section==&lt;br /&gt;
“lists all files containing content which comprise the electronic versions of the digital object.”&lt;br /&gt;
*Similar to the EPT Image Catalog&lt;br /&gt;
&lt;br /&gt;
==Within the FileSec==&lt;br /&gt;
*FileSec consists of Groups of File Locaters&lt;br /&gt;
**File Group: contains related files&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&amp;lt;fileGrp USE=&amp;quot;facsimile&amp;quot;&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
**File: assigns the individual files unique identifiers&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&amp;lt;file ID=&amp;quot;C-Clbiv-69v&amp;quot; MIMETYPE=&amp;quot;image/tiff&amp;quot;&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
**File Locater: points to the location of the file, using xlink syntax&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&amp;lt;FLocat LOCTYPE=&amp;quot;URN&amp;quot; xlink:href=&amp;quot;images/C-Clbiv-69v.jpg&amp;quot;/&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Example (Images)===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;fileGrp USE=&amp;quot;facsimile&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;file ID=&amp;quot;C-Clbiv-69v&amp;quot; MIMETYPE=&amp;quot;image/tiff&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;FLocat LOCTYPE=&amp;quot;URN&amp;quot; xlink:href=&amp;quot;images/C-Clbiv-69v.tif&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;/file&amp;gt;&lt;br /&gt;
  &amp;lt;file ID=&amp;quot;C-Clbiv-70r&amp;quot; MIMETYPE=&amp;quot;image/tiff&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;FLocat LOCTYPE=&amp;quot;URN&amp;quot; xlink:href=&amp;quot;images/C-Clbiv-70r.tif&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/file&amp;gt;&lt;br /&gt;
…&lt;br /&gt;
&amp;lt;/fileGrp&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Example (Transcript)===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;fileGrp USE=&amp;quot;transcript&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;file ID=&amp;quot;id-pref-genesis&amp;quot; MIMETYPE=&amp;quot;text/xml&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;FLocat LOCTYPE=&amp;quot;URN&amp;quot; xlink:href=“transcription/pref-genesis.xml&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;/file&amp;gt;&lt;br /&gt;
  &amp;lt;file ID=&amp;quot;id-genesis&amp;quot; MIMETYPE=&amp;quot;text/xml&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;FLocat LOCTYPE=&amp;quot;URN&amp;quot; xlink:href=“transcription/genesis.xml&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;/file&amp;gt;&lt;br /&gt;
  &amp;lt;file ID=&amp;quot;id-exodus&amp;quot; MIMETYPE=&amp;quot;text/xml&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;FLocat LOCTYPE=&amp;quot;URN&amp;quot; xlink:href=“transcription/exodus.xml&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;/file&amp;gt;&lt;br /&gt;
…&lt;br /&gt;
&amp;lt;/fileGrp&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Structural Map==&lt;br /&gt;
“outlines a hierarchical structure for the digital library object, and links the elements of that structure to content files … that pertain to each element.”&lt;br /&gt;
*Organization may be logical or physical&lt;br /&gt;
*A single METS file may contain multiple structural maps&lt;br /&gt;
&lt;br /&gt;
==Within the StructMap==&lt;br /&gt;
*StructMap consists of organizational divisions, that may nest&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;div LABEL=&amp;quot;Genesis&amp;quot; ORDER=&amp;quot;2&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;div LABEL=&amp;quot;Folio 1v&amp;quot; ORDER=&amp;quot;2&amp;quot;&amp;gt;&lt;br /&gt;
   ...&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*The divisions contain pointers to the files, and areas of files, indexed in the fileSec&lt;br /&gt;
&amp;lt;pre&amp;gt; &lt;br /&gt;
&amp;lt;div LABEL=&amp;quot;Genesis&amp;quot; ORDER=&amp;quot;2&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;div LABEL=&amp;quot;Folio 1v&amp;quot; ORDER=&amp;quot;2&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;fptr FILEID=&amp;quot;C-Clbiv-1v&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;fptr&amp;gt;&lt;br /&gt;
      &amp;lt;area FILEID=&amp;quot;id-genesis&amp;quot; BEGIN=&amp;quot;1v.32&amp;quot; END=&amp;quot;1v.38&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/fptr&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Example (Basic)===&lt;br /&gt;
The first file pointer references the corresponding image file, while the second one references the corresponding line range (BEGIN and END) in the XML file (these are the values of, for example, @xml:id on &amp;amp;lt;lb/&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;div LABEL=&amp;quot;Folio 69v&amp;quot; ORDER=“139&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;fptr FILEID=&amp;quot;C-Clbiv-69v&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;fptr&amp;gt;&lt;br /&gt;
    &amp;lt;area FILEID=&amp;quot;id-genesis&amp;quot; BEGIN=&amp;quot;69v.1&amp;quot; END=&amp;quot;69v.12&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;/fptr&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div LABEL=&amp;quot;Folio 70r&amp;quot; ORDER=&amp;quot;140&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;fptr FILEID=&amp;quot;C-Clbiv-70r&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;fptr&amp;gt;&lt;br /&gt;
    &amp;lt;area FILEID=&amp;quot;id-genesis&amp;quot; BEGIN=&amp;quot;70r.1&amp;quot; END=&amp;quot;70r.38&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;/fptr&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Example (Advanced)===&lt;br /&gt;
*&amp;amp;lt;area&amp;gt;: reference coordinates within an image file. &lt;br /&gt;
**especially useful for extensively illustrated manuscripts &lt;br /&gt;
*create links between text and image.&lt;br /&gt;
**@COORDS in &amp;lt;area&amp;gt; for image files&lt;br /&gt;
**@BEGIN and @END in &amp;lt;area&amp;gt; for XML/TEI files&lt;br /&gt;
*Simplifies encoding:&lt;br /&gt;
**no need to define @COORDS to clutter up the TEI; &lt;br /&gt;
**no need to find a place to store a linking section in the TEI file &lt;br /&gt;
**no need to use the SVG namespace&lt;br /&gt;
**separate the objects (image and XML files) from the indexing of their relationships with one another&lt;br /&gt;
&lt;br /&gt;
[[Image:mets-fig1.gif|left|thumb|Advanced Example of using METS and TEI to link sections of text with sections of image]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 &amp;lt;div LABEL=&amp;quot;Folio 69v&amp;quot; ORDER=&amp;quot;139&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;div LABEL=&amp;quot;Annotation 1&amp;quot; &lt;br /&gt;
    &amp;lt;fptr&amp;gt;&lt;br /&gt;
      &amp;lt;area FILEID=&amp;quot;C-Clbiv-69v&amp;quot; COORDS=&amp;quot;40,12,975,121&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/fptr&amp;gt;&lt;br /&gt;
    &amp;lt;fptr&amp;gt;&lt;br /&gt;
       &amp;lt;area FILEID=&amp;quot;id-genesis&amp;quot; BEGIN=&amp;quot;69v.annot.1&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/fptr&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div LABEL=&amp;quot;Illustration 1&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;fptr&amp;gt; &lt;br /&gt;
      &amp;lt;area FILEID=&amp;quot;C-Clbiv-69v&amp;quot; COORDS=&amp;quot;96,87979,572&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/fptr&amp;gt;&lt;br /&gt;
    &amp;lt;fptr&amp;gt;&lt;br /&gt;
       &amp;lt;area FILEID=&amp;quot;id-genesis&amp;quot; BEGIN=&amp;quot;69v.illus.1&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/fptr&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;div LABEL=&amp;quot;Text&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;fptr&amp;gt; &lt;br /&gt;
      &amp;lt;area FILEID=&amp;quot;C-Clbiv-69v&amp;quot; COORDS=&amp;quot;71,531,978,859&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/fptr&amp;gt;&lt;br /&gt;
    &amp;lt;fptr&amp;gt;&lt;br /&gt;
      &amp;lt;area FILEID=&amp;quot;id-genesis&amp;quot; BEGIN=&amp;quot;69v.1&amp;quot; END=&amp;quot;69v.9&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/fptr&amp;gt;&lt;br /&gt;
   &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Conclusions=&lt;br /&gt;
*Draft Recommendations for TEI Digital Facsimiles&lt;br /&gt;
**Not robust&lt;br /&gt;
**No specific image/text linking&lt;br /&gt;
**Need to be updated for TEI P5&lt;br /&gt;
*Edition Production Technology (EPT)&lt;br /&gt;
**Designed for textual annotation, but can annotate illustrations as well&lt;br /&gt;
**Markup schema is not defined&lt;br /&gt;
**Complex&lt;br /&gt;
**Dependent on editing software&lt;br /&gt;
**Limited image file support&lt;br /&gt;
**No visualization outside of the editing environment&lt;br /&gt;
*UVic Image Annotation Tool&lt;br /&gt;
**Simple&lt;br /&gt;
**Annotates via description – no “text encoding” (i.e., cannot include in an electronic transcription)&lt;br /&gt;
**Based on accepted standards&lt;br /&gt;
**Markup schema is defined (extended TEI + SVG)&lt;br /&gt;
**Visualization through SVG-enabled browser&lt;br /&gt;
*METS&lt;br /&gt;
**Very complex&lt;br /&gt;
**Objects separate from indexes&lt;br /&gt;
**Flexible – can link many textual and image sections (Venetus A – link main text and several layers of annotations)&lt;br /&gt;
**No visualization (yet) for the more advanced image-text links&lt;/div&gt;</summary>
		<author><name>Conal</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.tei-c.org/index.php?title=FacsimileMarkup&amp;diff=2510</id>
		<title>FacsimileMarkup</title>
		<link rel="alternate" type="text/html" href="https://wiki.tei-c.org/index.php?title=FacsimileMarkup&amp;diff=2510"/>
		<updated>2006-02-24T10:44:45Z</updated>

		<summary type="html">&lt;p&gt;Conal: SIG:Facsimile moved to FacsimileMarkup&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
The Facsimile task force / SIG is about markup of facsimile images with correspondence to parts of the text.&lt;br /&gt;
&lt;br /&gt;
Conal is going to produce some quick samples.&lt;br /&gt;
&lt;br /&gt;
== Tasks ==&lt;br /&gt;
&lt;br /&gt;
# collate [[LegacyFacsimileMarkup|existing markup]], including simple pb/@url style markup at one extreme and METS at the other&lt;br /&gt;
# develop straw man facsimile modules:&lt;br /&gt;
## a [[StrawManFacsimileMarkup|high-end markup]]: &lt;br /&gt;
### list of facsimile images, &lt;br /&gt;
### each image linked to a locations in the text by a typed link (e.g. thumbnail, display...) &lt;br /&gt;
### see METS structure map&lt;br /&gt;
### link between text and fragments ''within'' an image? (e.g. svg region) Requires another indirection&lt;br /&gt;
## a low-end markup: &amp;lt;pb n=&amp;quot;1&amp;quot; url=&amp;quot;page-1.jpg&amp;quot;/&amp;gt;&lt;br /&gt;
## other widely-used style of markup?&lt;br /&gt;
### use ODD equiv system to map low-end to the high-end markup?&lt;br /&gt;
&lt;br /&gt;
[[Category:SIG]]&lt;/div&gt;</summary>
		<author><name>Conal</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.tei-c.org/index.php?title=SIG:Facsimile&amp;diff=2511</id>
		<title>SIG:Facsimile</title>
		<link rel="alternate" type="text/html" href="https://wiki.tei-c.org/index.php?title=SIG:Facsimile&amp;diff=2511"/>
		<updated>2006-02-24T10:44:45Z</updated>

		<summary type="html">&lt;p&gt;Conal: SIG:Facsimile moved to FacsimileMarkup: Did not form a SIG&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#redirect [[FacsimileMarkup]]&lt;/div&gt;</summary>
		<author><name>Conal</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.tei-c.org/index.php?title=FacsimileMarkup&amp;diff=2509</id>
		<title>FacsimileMarkup</title>
		<link rel="alternate" type="text/html" href="https://wiki.tei-c.org/index.php?title=FacsimileMarkup&amp;diff=2509"/>
		<updated>2006-02-24T10:37:02Z</updated>

		<summary type="html">&lt;p&gt;Conal: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
The Facsimile task force / SIG is about markup of facsimile images with correspondence to parts of the text.&lt;br /&gt;
&lt;br /&gt;
Conal is going to produce some quick samples.&lt;br /&gt;
&lt;br /&gt;
== Tasks ==&lt;br /&gt;
&lt;br /&gt;
# collate [[LegacyFacsimileMarkup|existing markup]], including simple pb/@url style markup at one extreme and METS at the other&lt;br /&gt;
# develop straw man facsimile modules:&lt;br /&gt;
## a [[StrawManFacsimileMarkup|high-end markup]]: &lt;br /&gt;
### list of facsimile images, &lt;br /&gt;
### each image linked to a locations in the text by a typed link (e.g. thumbnail, display...) &lt;br /&gt;
### see METS structure map&lt;br /&gt;
### link between text and fragments ''within'' an image? (e.g. svg region) Requires another indirection&lt;br /&gt;
## a low-end markup: &amp;lt;pb n=&amp;quot;1&amp;quot; url=&amp;quot;page-1.jpg&amp;quot;/&amp;gt;&lt;br /&gt;
## other widely-used style of markup?&lt;br /&gt;
### use ODD equiv system to map low-end to the high-end markup?&lt;br /&gt;
&lt;br /&gt;
[[Category:SIG]]&lt;/div&gt;</summary>
		<author><name>Conal</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.tei-c.org/index.php?title=StrawManFacsimileMarkup&amp;diff=2508</id>
		<title>StrawManFacsimileMarkup</title>
		<link rel="alternate" type="text/html" href="https://wiki.tei-c.org/index.php?title=StrawManFacsimileMarkup&amp;diff=2508"/>
		<updated>2006-02-24T10:14:55Z</updated>

		<summary type="html">&lt;p&gt;Conal: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;teiHeader&amp;gt;&lt;br /&gt;
&lt;br /&gt;
	&amp;lt;taxonomy id=&amp;quot;facsimile-types&amp;quot;&amp;gt;&lt;br /&gt;
		&amp;lt;!-- seems to me there are a variety of possible facsimile types ('uses'), --&amp;gt;&lt;br /&gt;
		&amp;lt;!-- and that projects might come up with new ones, or specialize existing ones --&amp;gt;&lt;br /&gt;
		&amp;lt;!-- as in the &amp;quot;very-small-thumbnail&amp;quot; below, which would mean providing a basic --&amp;gt;&lt;br /&gt;
		&amp;lt;!-- taxonomy which would be shared and part of the guidelines, while allowing --&amp;gt;&lt;br /&gt;
		&amp;lt;!-- extension --&amp;gt;&lt;br /&gt;
		&amp;lt;!-- how to use with tei:ref/@type? or replace tei:ref below with something else? --&amp;gt;&lt;br /&gt;
		&amp;lt;bibl&amp;gt;&lt;br /&gt;
			&amp;lt;ref target=&amp;quot;{pointer to a standard taxonomy of basic facsimile roles/relationships}&amp;quot;/&amp;gt;&lt;br /&gt;
			&amp;lt;category xml:id=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
				&amp;lt;catDesc&amp;gt;Textual form&amp;lt;/catDesc&amp;gt;&lt;br /&gt;
			&amp;lt;/category&amp;gt;&lt;br /&gt;
			&amp;lt;category xml:id=&amp;quot;thumbnail&amp;quot;&amp;gt;&lt;br /&gt;
				&amp;lt;catDesc&amp;gt;Thumbnail image&amp;lt;/catDesc&amp;gt;&lt;br /&gt;
				&amp;lt;category xml:id=&amp;quot;very-small-thumbnail&amp;quot;&amp;gt;&lt;br /&gt;
					&amp;lt;catDesc&amp;gt;Extra small thumbnail&amp;lt;/catDesc&amp;gt;&lt;br /&gt;
				&amp;lt;/category&amp;gt;&lt;br /&gt;
			&amp;lt;/category&amp;gt;&lt;br /&gt;
			&amp;lt;category xml:id=&amp;quot;access&amp;quot;&amp;gt;&lt;br /&gt;
				&amp;lt;catDesc&amp;gt;Large image&amp;lt;/catDesc&amp;gt;&lt;br /&gt;
			&amp;lt;/category&amp;gt;&lt;br /&gt;
			&amp;lt;category xml:id=&amp;quot;annotation&amp;quot;&amp;gt;&lt;br /&gt;
				&amp;lt;catDesc&amp;gt;Large annotated image&amp;lt;/catDesc&amp;gt;&lt;br /&gt;
			&amp;lt;/category&amp;gt;&lt;br /&gt;
		&amp;lt;/bibl&amp;gt;&lt;br /&gt;
	&amp;lt;/taxonomy&amp;gt;&lt;br /&gt;
&lt;br /&gt;
	...&lt;br /&gt;
	&amp;lt;facsimileStmt&amp;gt;&lt;br /&gt;
		&amp;lt;facsimileList&amp;gt;&amp;lt;!-- list of facsimile images, inline or external --&amp;gt;&lt;br /&gt;
			&amp;lt;graphic xml:id=&amp;quot;thumb-p1&amp;quot; url=&amp;quot;thumb-p1.jpg&amp;quot; mimeType=&amp;quot;image/jpeg&amp;quot;/&amp;gt;&lt;br /&gt;
			&amp;lt;graphic xml:id=&amp;quot;access-p1&amp;quot; url=&amp;quot;access-p1.jpg&amp;quot; mimeType=&amp;quot;image/jpeg&amp;quot;/&amp;gt;&lt;br /&gt;
			...&lt;br /&gt;
			&amp;lt;svg:svg xml:id=&amp;quot;detail-unclear-22&amp;quot; xmlns:svg=&amp;quot;http://www.w3.org/2000/svg&amp;quot;&amp;gt;&lt;br /&gt;
				&amp;lt;!-- svg image could be zoomed and cropped here to a detail --&amp;gt;&lt;br /&gt;
				&amp;lt;svg:image id=&amp;quot;svg1-access-p1-detail&amp;quot; x=&amp;quot;0&amp;quot; y=&amp;quot;0&amp;quot; width=&amp;quot;100&amp;quot; height=&amp;quot;100&amp;quot; &lt;br /&gt;
				xmlns:xlink=&amp;quot;http://www.w3.org/1999/xlink&amp;quot; xlink:href=&amp;quot;access-p1.jpg&amp;quot;/&amp;gt;&lt;br /&gt;
			&amp;lt;/svg:svg&amp;gt;&lt;br /&gt;
			...&lt;br /&gt;
		&amp;lt;/facsimileList&amp;gt;&lt;br /&gt;
		&amp;lt;facsimileLinks&amp;gt;&lt;br /&gt;
			&amp;lt;facsimileLink&amp;gt;&amp;lt;!-- group of links to equivalents --&amp;gt;&lt;br /&gt;
				&amp;lt;ref type=&amp;quot;text&amp;quot; target=&amp;quot;#pb1&amp;quot;/&amp;gt;&lt;br /&gt;
				&amp;lt;ref type=&amp;quot;thumbnail&amp;quot; target=&amp;quot;#thumb-p1&amp;quot;/&amp;gt;&lt;br /&gt;
				&amp;lt;ref type=&amp;quot;access&amp;quot; target=&amp;quot;#access-p1&amp;quot;/&amp;gt;&lt;br /&gt;
				&amp;lt;ref type=&amp;quot;annotation&amp;quot; target=&amp;quot;#annotation-p1&amp;quot;/&amp;gt;&lt;br /&gt;
			&amp;lt;/facsimileLink&amp;gt;&lt;br /&gt;
			&amp;lt;facsimileLink&amp;gt;&lt;br /&gt;
				&amp;lt;ref type=&amp;quot;text&amp;quot; target=&amp;quot;#unclear-22&amp;quot;/&amp;gt;&lt;br /&gt;
				&amp;lt;ref type=&amp;quot;access&amp;quot; target=&amp;quot;#detail-unclear-22&amp;quot;/&amp;gt;&lt;br /&gt;
			&amp;lt;/facsimileLink&amp;gt;&lt;br /&gt;
			...&lt;br /&gt;
		&amp;lt;/facsimileLinks&amp;gt;&lt;br /&gt;
		&lt;br /&gt;
	&amp;lt;/facsimileStmt&amp;gt;&lt;br /&gt;
	...&lt;br /&gt;
&amp;lt;/teiHeader&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Conal</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.tei-c.org/index.php?title=StrawManFacsimileMarkup&amp;diff=2507</id>
		<title>StrawManFacsimileMarkup</title>
		<link rel="alternate" type="text/html" href="https://wiki.tei-c.org/index.php?title=StrawManFacsimileMarkup&amp;diff=2507"/>
		<updated>2006-02-24T10:01:22Z</updated>

		<summary type="html">&lt;p&gt;Conal: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;teiHeader&amp;gt;&lt;br /&gt;
&lt;br /&gt;
	&amp;lt;taxonomy&amp;gt;&amp;lt;!-- ??? replace with some kind of keyword system, for use with tei:ref/@type? --&amp;gt;&lt;br /&gt;
		&amp;lt;bibl&amp;gt;&lt;br /&gt;
			&amp;lt;ref target=&amp;quot;{pointer to a standard taxonomy of facsimile roles/relationships?}&amp;quot;/&amp;gt;&lt;br /&gt;
			&amp;lt;category xml:id=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
				&amp;lt;catDesc&amp;gt;Textual form&amp;lt;/catDesc&amp;gt;&lt;br /&gt;
			&amp;lt;/category&amp;gt;&lt;br /&gt;
			&amp;lt;category xml:id=&amp;quot;thumbnail&amp;quot;&amp;gt;&lt;br /&gt;
				&amp;lt;catDesc&amp;gt;Thumbnail image&amp;lt;/catDesc&amp;gt;&lt;br /&gt;
			&amp;lt;/category&amp;gt;&lt;br /&gt;
			&amp;lt;category xml:id=&amp;quot;access&amp;quot;&amp;gt;&lt;br /&gt;
				&amp;lt;catDesc&amp;gt;Large image&amp;lt;/catDesc&amp;gt;&lt;br /&gt;
			&amp;lt;/category&amp;gt;&lt;br /&gt;
			&amp;lt;category xml:id=&amp;quot;annotation&amp;quot;&amp;gt;&lt;br /&gt;
				&amp;lt;catDesc&amp;gt;Large annotated image&amp;lt;/catDesc&amp;gt;&lt;br /&gt;
			&amp;lt;/category&amp;gt;&lt;br /&gt;
		&amp;lt;/bibl&amp;gt;&lt;br /&gt;
	&amp;lt;/taxonomy&amp;gt;&lt;br /&gt;
&lt;br /&gt;
	...&lt;br /&gt;
	&amp;lt;facsimileStmt&amp;gt;&lt;br /&gt;
		&amp;lt;facsimileList&amp;gt;&amp;lt;!-- list of facsimile images, inline or external --&amp;gt;&lt;br /&gt;
			&amp;lt;graphic xml:id=&amp;quot;thumb-p1&amp;quot; url=&amp;quot;thumb-p1.jpg&amp;quot; mimeType=&amp;quot;image/jpeg&amp;quot;/&amp;gt;&lt;br /&gt;
			&amp;lt;graphic xml:id=&amp;quot;access-p1&amp;quot; url=&amp;quot;access-p1.jpg&amp;quot; mimeType=&amp;quot;image/jpeg&amp;quot;/&amp;gt;&lt;br /&gt;
			...&lt;br /&gt;
			&amp;lt;svg:svg xml:id=&amp;quot;detail-unclear-22&amp;quot; xmlns:svg=&amp;quot;http://www.w3.org/2000/svg&amp;quot;&amp;gt;&lt;br /&gt;
				&amp;lt;!-- svg image could be zoomed and cropped here to a detail --&amp;gt;&lt;br /&gt;
				&amp;lt;svg:image id=&amp;quot;svg1-access-p1-detail&amp;quot; x=&amp;quot;0&amp;quot; y=&amp;quot;0&amp;quot; width=&amp;quot;100&amp;quot; height=&amp;quot;100&amp;quot; &lt;br /&gt;
				xmlns:xlink=&amp;quot;http://www.w3.org/1999/xlink&amp;quot; xlink:href=&amp;quot;access-p1.jpg&amp;quot;/&amp;gt;&lt;br /&gt;
			&amp;lt;/svg:svg&amp;gt;&lt;br /&gt;
			...&lt;br /&gt;
		&amp;lt;/facsimileList&amp;gt;&lt;br /&gt;
		&amp;lt;facsimileLinks&amp;gt;&lt;br /&gt;
			&amp;lt;facsimileLink&amp;gt;&amp;lt;!-- group of links to equivalents --&amp;gt;&lt;br /&gt;
				&amp;lt;ref type=&amp;quot;text&amp;quot; target=&amp;quot;#pb1&amp;quot;/&amp;gt;&lt;br /&gt;
				&amp;lt;ref type=&amp;quot;thumbnail&amp;quot; target=&amp;quot;#thumb-p1&amp;quot;/&amp;gt;&lt;br /&gt;
				&amp;lt;ref type=&amp;quot;access&amp;quot; target=&amp;quot;#access-p1&amp;quot;/&amp;gt;&lt;br /&gt;
				&amp;lt;ref type=&amp;quot;annotation&amp;quot; target=&amp;quot;#annotation-p1&amp;quot;/&amp;gt;&lt;br /&gt;
			&amp;lt;/facsimileLink&amp;gt;&lt;br /&gt;
			&amp;lt;facsimileLink&amp;gt;&lt;br /&gt;
				&amp;lt;ref type=&amp;quot;text&amp;quot; target=&amp;quot;#unclear-22&amp;quot;/&amp;gt;&lt;br /&gt;
				&amp;lt;ref type=&amp;quot;access&amp;quot; target=&amp;quot;#detail-unclear-22&amp;quot;/&amp;gt;&lt;br /&gt;
			&amp;lt;/facsimileLink&amp;gt;&lt;br /&gt;
			...&lt;br /&gt;
		&amp;lt;/facsimileLinks&amp;gt;&lt;br /&gt;
		&lt;br /&gt;
	&amp;lt;/facsimileStmt&amp;gt;&lt;br /&gt;
	...&lt;br /&gt;
&amp;lt;/teiHeader&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Conal</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.tei-c.org/index.php?title=StrawManFacsimileMarkup&amp;diff=2506</id>
		<title>StrawManFacsimileMarkup</title>
		<link rel="alternate" type="text/html" href="https://wiki.tei-c.org/index.php?title=StrawManFacsimileMarkup&amp;diff=2506"/>
		<updated>2006-02-24T09:59:25Z</updated>

		<summary type="html">&lt;p&gt;Conal: quoted markup&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;teiHeader&amp;gt;&lt;br /&gt;
&lt;br /&gt;
	&amp;lt;taxonomy&amp;gt;&amp;lt;!-- ??? replace with some kind of keyword system, for use with tei:ref/@type? --&amp;gt;&lt;br /&gt;
		&amp;lt;bibl&amp;gt;&lt;br /&gt;
			&amp;lt;ref target=&amp;quot;{pointer to a standard taxonomy of facsimile roles/relationships?}&amp;quot;/&amp;gt;&lt;br /&gt;
			&amp;lt;category xml:id=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
				&amp;lt;catDesc&amp;gt;Textual form&amp;lt;/catDesc&amp;gt;&lt;br /&gt;
			&amp;lt;/category&amp;gt;&lt;br /&gt;
			&amp;lt;category xml:id=&amp;quot;thumbnail&amp;quot;&amp;gt;&lt;br /&gt;
				&amp;lt;catDesc&amp;gt;Thumbnail image&amp;lt;/catDesc&amp;gt;&lt;br /&gt;
			&amp;lt;/category&amp;gt;&lt;br /&gt;
			&amp;lt;category xml:id=&amp;quot;access&amp;quot;&amp;gt;&lt;br /&gt;
				&amp;lt;catDesc&amp;gt;Large image&amp;lt;/catDesc&amp;gt;&lt;br /&gt;
			&amp;lt;/category&amp;gt;&lt;br /&gt;
			&amp;lt;category xml:id=&amp;quot;annotation&amp;quot;&amp;gt;&lt;br /&gt;
				&amp;lt;catDesc&amp;gt;Large annotated image&amp;lt;/catDesc&amp;gt;&lt;br /&gt;
			&amp;lt;/category&amp;gt;&lt;br /&gt;
		&amp;lt;/bibl&amp;gt;&lt;br /&gt;
	&amp;lt;/taxonomy&amp;gt;&lt;br /&gt;
&lt;br /&gt;
	...&lt;br /&gt;
	&amp;lt;facsimileStmt&amp;gt;&lt;br /&gt;
		&amp;lt;facsimileList&amp;gt;&amp;lt;!-- list of facsimile images, inline or external --&amp;gt;&lt;br /&gt;
			&amp;lt;graphic xml:id=&amp;quot;thumb-p1&amp;quot; url=&amp;quot;thumb-p1.jpg&amp;quot; mimeType=&amp;quot;image/jpeg&amp;quot;/&amp;gt;&lt;br /&gt;
			&amp;lt;graphic xml:id=&amp;quot;access-p1&amp;quot; url=&amp;quot;access-p1.jpg&amp;quot; mimeType=&amp;quot;image/jpeg&amp;quot;/&amp;gt;&lt;br /&gt;
			...&lt;br /&gt;
			&amp;lt;svg:svg xml:id=&amp;quot;detail-unclear-22&amp;quot; xmlns:svg=&amp;quot;http://www.w3.org/2000/svg&amp;quot;&amp;gt;&lt;br /&gt;
				&amp;lt;!-- svg image could be zoomed and cropped here to a detail --&amp;gt;&lt;br /&gt;
				&amp;lt;svg:image id=&amp;quot;svg1-access-p1-detail&amp;quot; x=&amp;quot;0&amp;quot; y=&amp;quot;0&amp;quot; width=&amp;quot;100&amp;quot; height=&amp;quot;100&amp;quot; &lt;br /&gt;
				xmlns:xlink=&amp;quot;http://www.w3.org/1999/xlink&amp;quot; xlink:href=&amp;quot;access-p1.jpg&amp;quot;/&amp;gt;&lt;br /&gt;
			&amp;lt;/svg:svg&amp;gt;&lt;br /&gt;
			...&lt;br /&gt;
		&amp;lt;/facsimileList&amp;gt;&lt;br /&gt;
		&amp;lt;facsimileLinks&amp;gt;&lt;br /&gt;
			&amp;lt;facsimileLink&amp;gt;&amp;lt;!--  --&amp;gt;&lt;br /&gt;
				&amp;lt;ref type=&amp;quot;text&amp;quot; target=&amp;quot;#pb1&amp;quot;/&amp;gt;&lt;br /&gt;
				&amp;lt;ref type=&amp;quot;thumbnail&amp;quot; target=&amp;quot;#thumb-p1&amp;quot;/&amp;gt;&lt;br /&gt;
				&amp;lt;ref type=&amp;quot;access&amp;quot; target=&amp;quot;#access-p1&amp;quot;/&amp;gt;&lt;br /&gt;
				&amp;lt;ref type=&amp;quot;annotation&amp;quot; target=&amp;quot;#annotation-p1&amp;quot;/&amp;gt;&lt;br /&gt;
			&amp;lt;/facsimileLink&amp;gt;&lt;br /&gt;
			&amp;lt;facsimileLink&amp;gt;&lt;br /&gt;
				&amp;lt;ref type=&amp;quot;text&amp;quot; target=&amp;quot;#unclear-22&amp;quot;/&amp;gt;&lt;br /&gt;
				&amp;lt;ref type=&amp;quot;access&amp;quot; target=&amp;quot;#detail-unclear-22&amp;quot;/&amp;gt;&lt;br /&gt;
			&amp;lt;/facsimileLink&amp;gt;&lt;br /&gt;
			...&lt;br /&gt;
		&amp;lt;/facsimileLinks&amp;gt;&lt;br /&gt;
		&lt;br /&gt;
	&amp;lt;/facsimileStmt&amp;gt;&lt;br /&gt;
	...&lt;br /&gt;
&amp;lt;/teiHeader&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Conal</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.tei-c.org/index.php?title=StrawManFacsimileMarkup&amp;diff=2505</id>
		<title>StrawManFacsimileMarkup</title>
		<link rel="alternate" type="text/html" href="https://wiki.tei-c.org/index.php?title=StrawManFacsimileMarkup&amp;diff=2505"/>
		<updated>2006-02-24T09:57:40Z</updated>

		<summary type="html">&lt;p&gt;Conal: scribbed down some straw man markup&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;teiHeader&amp;gt;&lt;br /&gt;
&lt;br /&gt;
	&amp;lt;taxonomy&amp;gt;&amp;lt;!-- ??? replace with some kind of keyword system, for use with tei:ref/@type? --&amp;gt;&lt;br /&gt;
		&amp;lt;bibl&amp;gt;&lt;br /&gt;
			&amp;lt;ref target=&amp;quot;{pointer to a standard taxonomy of facsimile roles/relationships?}&amp;quot;/&amp;gt;&lt;br /&gt;
			&amp;lt;category xml:id=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
				&amp;lt;catDesc&amp;gt;Textual form&amp;lt;/catDesc&amp;gt;&lt;br /&gt;
			&amp;lt;/category&amp;gt;&lt;br /&gt;
			&amp;lt;category xml:id=&amp;quot;thumbnail&amp;quot;&amp;gt;&lt;br /&gt;
				&amp;lt;catDesc&amp;gt;Thumbnail image&amp;lt;/catDesc&amp;gt;&lt;br /&gt;
			&amp;lt;/category&amp;gt;&lt;br /&gt;
			&amp;lt;category xml:id=&amp;quot;access&amp;quot;&amp;gt;&lt;br /&gt;
				&amp;lt;catDesc&amp;gt;Large image&amp;lt;/catDesc&amp;gt;&lt;br /&gt;
			&amp;lt;/category&amp;gt;&lt;br /&gt;
			&amp;lt;category xml:id=&amp;quot;annotation&amp;quot;&amp;gt;&lt;br /&gt;
				&amp;lt;catDesc&amp;gt;Large annotated image&amp;lt;/catDesc&amp;gt;&lt;br /&gt;
			&amp;lt;/category&amp;gt;&lt;br /&gt;
		&amp;lt;/bibl&amp;gt;&lt;br /&gt;
	&amp;lt;/taxonomy&amp;gt;&lt;br /&gt;
&lt;br /&gt;
	...&lt;br /&gt;
	&amp;lt;facsimileStmt&amp;gt;&lt;br /&gt;
		&amp;lt;facsimileList&amp;gt;&amp;lt;!-- list of facsimile images, inline or external --&amp;gt;&lt;br /&gt;
			&amp;lt;graphic xml:id=&amp;quot;thumb-p1&amp;quot; url=&amp;quot;thumb-p1.jpg&amp;quot; mimeType=&amp;quot;image/jpeg&amp;quot;/&amp;gt;&lt;br /&gt;
			&amp;lt;graphic xml:id=&amp;quot;access-p1&amp;quot; url=&amp;quot;access-p1.jpg&amp;quot; mimeType=&amp;quot;image/jpeg&amp;quot;/&amp;gt;&lt;br /&gt;
			...&lt;br /&gt;
			&amp;lt;svg:svg xml:id=&amp;quot;detail-unclear-22&amp;quot; xmlns:svg=&amp;quot;http://www.w3.org/2000/svg&amp;quot;&amp;gt;&lt;br /&gt;
				&amp;lt;!-- svg image could be zoomed and cropped here to a detail --&amp;gt;&lt;br /&gt;
				&amp;lt;svg:image id=&amp;quot;svg1-access-p1-detail&amp;quot; x=&amp;quot;0&amp;quot; y=&amp;quot;0&amp;quot; width=&amp;quot;100&amp;quot; height=&amp;quot;100&amp;quot; &lt;br /&gt;
				xmlns:xlink=&amp;quot;http://www.w3.org/1999/xlink&amp;quot; xlink:href=&amp;quot;access-p1.jpg&amp;quot;/&amp;gt;&lt;br /&gt;
			&amp;lt;/svg:svg&amp;gt;&lt;br /&gt;
			...&lt;br /&gt;
		&amp;lt;/facsimileList&amp;gt;&lt;br /&gt;
		&amp;lt;facsimileLinks&amp;gt;&lt;br /&gt;
			&amp;lt;facsimileLink&amp;gt;&amp;lt;!--  --&amp;gt;&lt;br /&gt;
				&amp;lt;ref type=&amp;quot;text&amp;quot; target=&amp;quot;#pb1&amp;quot;/&amp;gt;&lt;br /&gt;
				&amp;lt;ref type=&amp;quot;thumbnail&amp;quot; target=&amp;quot;#thumb-p1&amp;quot;/&amp;gt;&lt;br /&gt;
				&amp;lt;ref type=&amp;quot;access&amp;quot; target=&amp;quot;#access-p1&amp;quot;/&amp;gt;&lt;br /&gt;
				&amp;lt;ref type=&amp;quot;annotation&amp;quot; target=&amp;quot;#annotation-p1&amp;quot;/&amp;gt;&lt;br /&gt;
			&amp;lt;/facsimileLink&amp;gt;&lt;br /&gt;
			&amp;lt;facsimileLink&amp;gt;&lt;br /&gt;
				&amp;lt;ref type=&amp;quot;text&amp;quot; target=&amp;quot;#unclear-22&amp;quot;/&amp;gt;&lt;br /&gt;
				&amp;lt;ref type=&amp;quot;access&amp;quot; target=&amp;quot;#detail-unclear-22&amp;quot;/&amp;gt;&lt;br /&gt;
			&amp;lt;/facsimileLink&amp;gt;&lt;br /&gt;
			...&lt;br /&gt;
		&amp;lt;/facsimileLinks&amp;gt;&lt;br /&gt;
		&lt;br /&gt;
	&amp;lt;/facsimileStmt&amp;gt;&lt;br /&gt;
	...&lt;br /&gt;
&amp;lt;/teiHeader&amp;gt;&lt;/div&gt;</summary>
		<author><name>Conal</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.tei-c.org/index.php?title=FacsimileMarkup&amp;diff=2504</id>
		<title>FacsimileMarkup</title>
		<link rel="alternate" type="text/html" href="https://wiki.tei-c.org/index.php?title=FacsimileMarkup&amp;diff=2504"/>
		<updated>2006-02-24T09:04:38Z</updated>

		<summary type="html">&lt;p&gt;Conal: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
The Facsimile task force / SIG is about markup of facsimile images with correspondence to parts of the text.&lt;br /&gt;
&lt;br /&gt;
Conal is going to produce some quick samples.&lt;br /&gt;
&lt;br /&gt;
== Tasks ==&lt;br /&gt;
&lt;br /&gt;
# collate [[LegacyFacsimileMarkup|existing markup]], including simple pb/@url style markup at one extreme and METS at the other&lt;br /&gt;
# develop straw man facsimile modules:&lt;br /&gt;
## a [[StrawManFacsimileMarkup|high-end markup]]: &lt;br /&gt;
### list of facsimile images, &lt;br /&gt;
### each image linked to a locations in the text by a typed link (e.g. thumbnail, display...) &lt;br /&gt;
### see METS structure map&lt;br /&gt;
### link between text and fragments ''within'' an image? (e.g. svg region) Requires another indirection&lt;br /&gt;
## a low-end markup: &amp;lt;pb n=&amp;quot;1&amp;quot; url=&amp;quot;page-1.jpg&amp;quot;/&amp;gt;&lt;br /&gt;
## other widely-used style of markup?&lt;br /&gt;
### use ODD filter system to map low-end to the high-end markup?&lt;br /&gt;
&lt;br /&gt;
[[Category:SIG]]&lt;/div&gt;</summary>
		<author><name>Conal</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.tei-c.org/index.php?title=FacsimileMarkup&amp;diff=2503</id>
		<title>FacsimileMarkup</title>
		<link rel="alternate" type="text/html" href="https://wiki.tei-c.org/index.php?title=FacsimileMarkup&amp;diff=2503"/>
		<updated>2006-02-24T09:04:17Z</updated>

		<summary type="html">&lt;p&gt;Conal: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
The Facsimile task force / SIG is about markup of facsimile images with correspondence to parts of the text.&lt;br /&gt;
&lt;br /&gt;
Conal is going to produce some quick samples.&lt;br /&gt;
&lt;br /&gt;
== Tasks ==&lt;br /&gt;
&lt;br /&gt;
# collate [[LegacyFacsimileMarkup|existing markup]], including simple pb/@url style markup at one extreme and METS at the other&lt;br /&gt;
# develop straw man facsimile modules:&lt;br /&gt;
## a [StrawManFacsimileMarkup|high-end markup]: &lt;br /&gt;
### list of facsimile images, &lt;br /&gt;
### each image linked to a locations in the text by a typed link (e.g. thumbnail, display...) &lt;br /&gt;
### see METS structure map&lt;br /&gt;
### link between text and fragments ''within'' an image? (e.g. svg region) Requires another indirection&lt;br /&gt;
## a low-end markup: &amp;lt;pb n=&amp;quot;1&amp;quot; url=&amp;quot;page-1.jpg&amp;quot;/&amp;gt;&lt;br /&gt;
## other widely-used style of markup?&lt;br /&gt;
### use ODD filter system to map low-end to the high-end markup?&lt;br /&gt;
&lt;br /&gt;
[[Category:SIG]]&lt;/div&gt;</summary>
		<author><name>Conal</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.tei-c.org/index.php?title=FacsimileMarkup&amp;diff=2229</id>
		<title>FacsimileMarkup</title>
		<link rel="alternate" type="text/html" href="https://wiki.tei-c.org/index.php?title=FacsimileMarkup&amp;diff=2229"/>
		<updated>2005-12-16T14:05:23Z</updated>

		<summary type="html">&lt;p&gt;Conal: created a note about work on Facsimile markup for linking page images to text&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
The Facsimile task force / SIG is about markup of facsimile images with correspondence to parts of the text.&lt;br /&gt;
&lt;br /&gt;
Conal is going to produce some quick samples.&lt;br /&gt;
&lt;br /&gt;
== Tasks ==&lt;br /&gt;
&lt;br /&gt;
# collate [[LegacyFacsimileMarkup|existing markup]], including simple pb/@url style markup at one extreme and METS at the other&lt;br /&gt;
# develop straw man facsimile modules:&lt;br /&gt;
## a high-end markup: &lt;br /&gt;
### list of facsimile images, &lt;br /&gt;
### each image linked to a locations in the text by a typed link (e.g. thumbnail, display...) &lt;br /&gt;
### see METS structure map&lt;br /&gt;
### link between text and fragments ''within'' an image? (e.g. svg region) Requires another indirection&lt;br /&gt;
## a low-end markup: &amp;lt;pb n=&amp;quot;1&amp;quot; url=&amp;quot;page-1.jpg&amp;quot;/&amp;gt;&lt;br /&gt;
## other widely-used style of markup?&lt;br /&gt;
### use ODD filter system to map low-end to the high-end markup?&lt;br /&gt;
&lt;br /&gt;
[[Category:SIG]]&lt;/div&gt;</summary>
		<author><name>Conal</name></author>
		
	</entry>
</feed>