Print
Using Grid Publisher » Uploading Grid Data in XML Format

Common Content

Common Content

Uploading Grid Data in XML Format

Grid Publisher accepts XML files that comply with the simplified XML schema definition shown in this section. Some tag attributes exist only for backwards compatibility with older grid implementations.

XML declaration

The XML declaration must be as shown:


<?xml version="1.0" encoding="UTF-8"?>

<SP> Tag

Provide one <SP> tag that contains one or more <ROW> tags.

<SP app-type="publish-grid" row-count="6" column-count="4" key-list="KEY">
    <ROW></ROW>
         Common Content
</SP>

 

app-type

String

Must be "publish-grid" as shown.

row-count

Integer

The number of rows in the grid. (There is no column header row in an XML grid file.)

column-count

Integer

The number of columns in the grid.

key-list

String

The name of the key value column.

 

<ROW> Tag

Provide a <ROW> tag for each key value (row of data) in the grid. Each <ROW> tag contains two or more <column-name> tags, one of which is the key column.

<ROW rownum="1" KEY-1="001" KEY-1-COLUMN="KEY">
 <column-name></column-name>
                 Common Content
</ROW>

 

rownum

Integer

The ordinal number of the row, counting from one.

KEY-1

String

The value of the key value column.

KEY-1-COLUMN

String

The name of the key value column.

 

<column-name> Tag

Within each <ROW> tag, provide a <column-name> tag for each column in the grid.

<column-name>value</column-name>
               Common Content

 

value

String

The key value (first tag only) or the value to substitute for the symbol at mailing time.

 

  • The name of the first <column-name> tag can be any alphanumeric string but must match the KEY-1-COLUMN attribute of the <ROW> tag.
  • The value of the first <column-name> tag must match the KEY-1 attribute of the <ROW> tag.

Example

This example uses the same data as the example in Uploading Grid Data in Text Format.

See Also

Using Grid Publisher

How Grid Publishing Works

Process Overview

Using the Grid Publisher Tool

Previewing a Grid Object

Adding a Grid Object

Editing a Grid Object

Uploading Grid Data in Text Format

Top of Page ©2009 e-Dialog. All rights reserved. Print