Target Skill:

Define XML and explain the XML conversion process 

Declaring an XML File

The 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.

 

Produced By Netscape Learning.  Copyright © 1999 Netscape Communications Corporation