NamedSubString Tag

ClosedDescription

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.

ClosedSyntax

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

The supported attributes include the following.

Attribute

Required/Optional

Description

Name

Required

Name of the data source on the template.

ClosedChild Elements

The following child element tags are supported.

Tag

Required/Optional

Description

Value

Required

The value of the named data source.

ClosedParent Tags

<FormatSetup>
<Print>
<ExportPrintPreviewToImage>

ClosedRemarks

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

ClosedExample

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>

ClosedRequirements

BTXML Script version 1.0 (BarTender 8.0 and later versions)