aboutsummaryrefslogtreecommitdiffstats
path: root/src/documentation/intermediate-format-ng/example1.xml
blob: c994e4ea8c3197c4ae82134183fddeed9e318d94 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<?xml version="1.0" encoding="UTF-8"?>
<!--
  Licensed to the Apache Software Foundation (ASF) under one or more
  contributor license agreements.  See the NOTICE file distributed with
  this work for additional information regarding copyright ownership.
  The ASF licenses this file to You under the Apache License, Version 2.0
  (the "License"); you may not use this file except in compliance with
  the License.  You may obtain a copy of the License at
  
  http://www.apache.org/licenses/LICENSE-2.0
  
  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.
-->
<!-- $Id$ -->
<document xmlns="http://xmlgraphics.apache.org/fop/intermediate"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://xmlgraphics.apache.org/fop/intermediate fop-intermediate-format-ng.xsd"
  xmlns:xlink="http://www.w3.org/1999/xlink">
  <header>
    <x:xmpmeta xmlns:x="adobe:ns:meta/">
      <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
        <rdf:Description rdf:about="" xmlns:dc="http://purl.org/dc/elements/1.1/">
          <dc:title>New Intermediate Format Demo Document</dc:title>
          <dc:creator>
            <rdf:Seq>
              <rdf:li>Jeremias Märki</rdf:li>
            </rdf:Seq>
          </dc:creator>
        </rdf:Description>
      </rdf:RDF>
    </x:xmpmeta>
    <bookmark-tree>
      <bookmark internal-destination="toc">
        <bookmark-title color="blue" font-weight="bold">Table of Contents</bookmark-title>
      </bookmark>
      <bookmark internal-destination="chapter1">
        <bookmark-title>Chapter 1</bookmark-title>
      </bookmark>
    </bookmark-tree>
  </header>
  
  <page-sequence id="ps1">
    <page index="1" name="1">
      <page-header>
        <ps:ps-setup-code xmlns:ps="apache:fop:extensions:postscript">%FOPTestPSSetupCode: General
          setup code here!</ps:ps-setup-code>
      </page-header>
      <content>
        <!-- Note: this is not actual content that is supposed to make any sense.
             It is merely to give you an idea what the content can look like. -->
        <box transform="translate(5000, 6000)" width="18000" height="10000">
          <font family="Helvetica" style="normal" weight="400" variant="normal" size="12000"
            color="black"/>
          <text x="1233 1241 1247 1253 1264" y="803">Hello</text>
          <draw-rect x="1233" y="1200" width="20000" height="20000" fill="yellow" stroke="none"/>
          <box transform="translate(1233, 1200)" width="20000" height="20000" clip="true">
            <image xlink:href="myimage.svg" x="0" y="0" width="20000" height="20000"/>
          </box>
        </box>
      </content>
      <page-trailer>
        <target x="1233" y="803" name="toc"/>
        <target x="1233" y="1200" name="chapter1"/>
      </page-trailer>
    </page>
  </page-sequence>
</document>