XML content

Build 1501 on 14/Nov/2017  This topic last edited on: 19/Mar/2015, at 17:39

It is possible to specify the documents' data directly as XML instead than using an external file, e.g. importing:

  <root>

    <document id="doc001" name="my document">

      <xml mime="application/x-teradp-gn4">

        <Page>

          <Layers>

            <LayerContent>. . .</LayerContent>

          </Layers>

        </Page>

      </xml>

    </document>

  </root>

will create a document with the specified XML content as its data.

The 'mime' attribute is optional - if not specified the workflow assumes 'application/xml'.

Similarly it is possible to specify the stories' text directly as XML, e.g.

  <root>

    <story id="story0001" name="my story">

      <xml>

        <p>First paragraph</p>

        <p>Second paragraph</p>

      </xml>

    </story>

  </root>

See also

Metadata