speedata Publisher
Description: Include Toplevel element for included layout files. Child elements DefineColor, DefineFontalias, DefineFontfamily, DefineTextformat, Hyphenation, LoadFontfile, …

Version 5.9.2

# `Include`

Toplevel element for included layout files.

## Child elements

`DefineColor`, `DefineFontalias`, `DefineFontfamily`, `DefineTextformat`, `Hyphenation`, `LoadFontfile`, `Options`, `Pageformat`, `Pagetype`, `Record`, `Section`, `SetGrid`, `SetVariable`, `Stylesheet`, `Switch`

## Parent elements

`AtPageCreation`, `AtPageShipout`, `Case`, `Contents`, `ForAll`, `Loop`, `Otherwise`, `Record`, `SavePages`, `Until`, `While`

## Attributes

`xml:base` (optional)
  (not intended to be used, for error-free validation purpose only)

## Example

The main file:

    <?xml version="1.0" encoding="UTF-8"?>
    <Layout xmlns="urn:speedata.de:2009/publisher/en"
      xmlns:sd="urn:speedata:2009/publisher/functions/en"
      xmlns:xi="http://www.w3.org/2001/XInclude">

      <xi:include href="sublayout.xml" />

      <Record element="data">
        <PlaceObject background="full" background-color="green">
          <Textblock>
            <Paragraph><Value>Hello world</Value></Paragraph>
          </Textblock>
        </PlaceObject>
      </Record>

    </Layout>

and the file `sublayout.xml`:

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

      <DefineColor name="green" value="#0f0"/>
      <DefineColor name="gray" value="#ddd"/>

    </Include>

## Info

This command is obsolete. Use `Layout` instead.

#### On this page