<?xml version="1.0" encoding="UTF-8"?>
<Layout xmlns="urn:speedata.de:2009/publisher/en" xmlns:sd="urn:speedata:2009/publisher/functions/en">

  <Options mainlanguage="German"/>
  <Trace grid="no" gridallocation="no"/>

  <LoadFontfile name="WarnockPro-Regular" filename="WarnockPro-Regular.otf" marginprotrusion="60"/>

  <DefineFontfamily name="Überschrift" fontsize="14" leading="16">
    <Regular fontface="WarnockPro-Regular"></Regular>
  </DefineFontfamily>
  <DefineFontfamily name="text" fontsize="10" leading="12">
    <Regular fontface="WarnockPro-Regular"></Regular>
  </DefineFontfamily>

  <DefineTextformat name="text" orphan="yes"/>
  <DefineTextformat name="Überschrift" margin-top="3pt" orphan="yes"/>

  <SetGrid width="5mm" height="12pt"></SetGrid>
  <Pageformat width="125mm" height="145mm"></Pageformat>

  <Pagetype name="text" test="true()">
    <Margin left="1cm" right="1cm" top="1cm" bottom="1cm"></Margin>
    <PositioningArea name="text">
      <PositioningFrame width="10" height="30" row="1" column="1"></PositioningFrame>
      <PositioningFrame width="10" height="30" row="1" column="12"></PositioningFrame>
    </PositioningArea>
  </Pagetype>

  <DefineColor name="grau" value="#D1FEE7"></DefineColor>
  <DefineColor name="weiß" value="#FFF"></DefineColor>

  <Record element="data">
    <PlaceObject row="10" column="12" valign="bottom">
      <Image file="tree.pdf" width="10"/>
    </PlaceObject>
    <ForAll select="Abschnitt">
      <Output area="text">
        <Text>
          <Paragraph textformat="Überschrift" fontface="Überschrift">
            <Value select="@titel"/>
          </Paragraph>
        </Text>
      </Output>
      <Output area="text">
        <Text>
          <Paragraph fontface="text">
            <Value select="string(.)"/>
          </Paragraph>
        </Text>
      </Output>
    </ForAll>
  </Record>
</Layout>

