Cigarette and Tobacco Products Flat (FLT) File and XML Filing Guide
XML File
Extensible Markup Language (XML) is a simple text-based format for representing structured information. We use an XML schema set based on the State Cigarette version 2.0 schema set by the TIGERS National Standards.
XML File Standards
CDTFA XML file standards can be found in the cigarette XML schema and cigarette XPath document.
Cigarette XML Schema
Cigarette XPath Document
The XPath document has additional information about how the individual data elements are used within the XML schema. Your file must contain all of the required tags within the XPath document to be valid. The XPath uses an absolute location path which consists of one or more steps and begins with forward slash (/) with each step separated by a forward slash (/) and each attribute separated by a commercial at (@). Use the XPath document to navigate through elements and attributes in an XML document.
Column Header | Purpose |
---|---|
XPath | This field provides the absolute location path for each element and attribute |
Efile Type | This field provides the data type |
Length | This field provides the maximum field length for each element and attribute |
Req | This field provides the element's and attribute's status (Req = Required, Opt = Optional) |
Choice | This field specifies a number of alternatives of which only one can be present in the XML file |
Occurs | This field provides the minimum and maximum number of occurrences for the node or field |
Notes/Comments | This field provides the rules and validations performed for each element or attribute |
Download the applicable XPath document listed below.