Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Weitere mögliche Top Level Elemente (zusätzlich zum <Layout> Element) sind die Elemente <Description> und <Styles>. In der DDB sind Angaben in den Unterlementen <MeasurementUnit> und <sourceImageInformation> erforderlich. <Styles> enthält Informationen zu Text- und Absatzstilen.

Einfaches Beispiel eines ALTO-Datensatz

Code Block
languagexml
titleEinfaches Beispiel eines ALTO-Datensatzes
<alto>
	<Description>
		<MeasurementUnit>pixel</MeasurementUnit>
		<sourceImageInformation>
			<fileIdentifier>5177528</fileIdentifier>
		</sourceImageInformation>
	</Description>
	<Layout>
		<Page WIDTH="3174" PHYSICAL_IMG_NR="1" ID="p5177528" HEIGHT="4065">
			<PrintSpace WIDTH="3174" HPOS="0" VPOS="0" ID="ps5177528" HEIGHT="4065">
				<TextBlock WIDTH="3174" HPOS="0" VPOS="0" ID="tb5177528" HEIGHT="4065">
					<TextLine HPOS="1835" VPOS="325" ID="tl0" WIDTH="665" HEIGHT="57">
						<String HEIGHT="60" CONTENT="Bielefeld" WIDTH="184" HPOS="1835" VPOS="325" ID="st0"/>
						<String HEIGHT="60" CONTENT="," WIDTH="21" HPOS="2019" VPOS="325" ID="st1"/>
						<SP/>
						<String HEIGHT="60" CONTENT="den" WIDTH="58" HPOS="2062" VPOS="322" ID="st2"/>
						<SP/>
						<String HEIGHT="60" CONTENT="4" WIDTH="21" HPOS="2157" VPOS="320" ID="st3"/>
						<String HEIGHT="60" CONTENT="." WIDTH="21" HPOS="2178" VPOS="320" ID="st4"/>
						<SP/>
						<String HEIGHT="60" CONTENT="Oktober" WIDTH="169" HPOS="2215" VPOS="320" ID="st5"/>
						<SP/>
						<String HEIGHT="60" CONTENT="1924" WIDTH="90" HPOS="2410" VPOS="322" ID="st6"/>
					</TextLine>
				</TextBlock>
			</PrintSpace>
		</Page>
	</Layout>
</alto>

<alto>

<Description>

<MeasurementUnit>pixel</MeasurementUnit>

...