aboutsummaryrefslogtreecommitdiffstats
path: root/src/documentation/intermediate-format-ng/example1.xml
diff options
context:
space:
mode:
authorJeremias Maerki <jeremias@apache.org>2007-11-22 16:13:05 +0000
committerJeremias Maerki <jeremias@apache.org>2007-11-22 16:13:05 +0000
commit80433dd208568dcfa0dabe0bd58e59f14487d353 (patch)
tree863976cc9681c7ad6a432d2cd61c733d1bdf0f46 /src/documentation/intermediate-format-ng/example1.xml
parentb035ca72ae33279c2d1988a1a1768d4b8a815928 (diff)
downloadxmlgraphics-fop-80433dd208568dcfa0dabe0bd58e59f14487d353.tar.gz
xmlgraphics-fop-80433dd208568dcfa0dabe0bd58e59f14487d353.zip
First draft of a possible new intermediate format for Apache FOP.
Details on: http://wiki.apache.org/xmlgraphics-fop/AreaTreeIntermediateXml/NewDesign git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@597448 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/documentation/intermediate-format-ng/example1.xml')
-rw-r--r--src/documentation/intermediate-format-ng/example1.xml71
1 files changed, 71 insertions, 0 deletions
diff --git a/src/documentation/intermediate-format-ng/example1.xml b/src/documentation/intermediate-format-ng/example1.xml
new file mode 100644
index 000000000..c994e4ea8
--- /dev/null
+++ b/src/documentation/intermediate-format-ng/example1.xml
@@ -0,0 +1,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>