![]()
|
Declaring an XML FileThe first tag in an XML file “declares” to the processing system that the file is XML. Subsequent lines or tags in the file serve as data elements, which the parser reads and passes to the data loading service for subsequent loading into the database.The illustration shows an example XML file. Each tag in the XML file corresponds to a column in a table in the database. In this example, the DTD file (billx.dtd) defines the structure of the XML file for developer reference, but is not used by the XML parser. Items between the tags are the actual data elements to be loaded into that database column.
|