TextData Tag |
Sets the text data for the record set.
<TextData>Value</TextData>
Where Value equals the text data for the recordset. Valid for Text recordset types only.
The <TextData> tag is available with the <Print> command only. It is not available with the <FormatSetup> command.
|
The <TextData> tag supports use of the XML keyword CDATA. This XML keyword is optional and is used to denote data that should not be interpreted as XML markup. A CDATA section starts with the sequence <![CDATA[and ends with the sequence ]]>. All characters enclosed between the two sequences are interpreted as characters, not markup. Common XML markup escapes, which are necessary if you do not use the CDATA XML keyword, include the following:
|
<?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>
<RecordSet Name="Text Document 1" Type="btTextFile">
<Delimitation>btDelimQuoteAndComma</Delimitation>
<UseFieldNamesFromFirstRecord>true</UseFieldNamesFromFirstRecord>
<TextData>
<![CDATA["FirstName","LastName","City","Zip Code"
"Adam","Jones","Bellevue","98008"
"John","Smith","Kirkland","98293"]]>
</TextData>
</RecordSet>
</Print>
</Command>
</XMLScript>
BTXML Script version 1.0 (BarTender 8.0 and higher)