NamedSubString Tag

OpenDescription

The root tag for Named Data Source XML tags. The Named Data Source tags allow you to set the value of one or more named data sources.

OpenSyntax

<NamedSubString Name=Value>...</NamedSubString>

The supported attributes include:

Attribute

Required/Optional

Description

Name

Required

Name of the data source on the template.

OpenChild Elements

The following child element tags are supported:

Tag

Required/Optional

Description

Value

Required

The value of the named data source.

OpenParent Tags

<FormatSetup>
<Print>
<ExportPrintPreviewToImage>

OpenRemarks

<NamedSubString> is an optional tag that is used with the <FormatSetup>, <Print>, and <ExportPrintPreviewToImage> commands.

OpenExample

This example demonstrates the <NamedSubString> tag contained within the <Print> command. The <NamedSubString> tag can also be contained within the <FormatSetup> and <ExportPrintPreviewToImage> commands.

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

<XMLScript Version="2.0" Name="09232006_103601_Job1" ID="123">

<Command Name="Job1">

<Print>

<Format>Document1.btw</Format>

<NamedSubString Name="SubString1">

<Value>John Doe</Value>

</NamedSubString>

</Print>

</Command>

</XMLScript>

OpenRequirements

BTXML Script version 1.0 (BarTender 8.0 and higher)