Table of contents

 

In general, FAST message templates are stored in a single XML file and define how to encode and decode message content. These templates must be identical for both the encoder and decoder.
The syntax of standard XML" should be "Standard XML"

DocumentBuilder docBuilder = DocumentBuilderFactory.newInstance().newDocumentBuilder();
File xmlFile = new File(templateFileName);
Document doc = null;
try {
    doc = docBuilder.parse(xmlFile);
} catch (Exception ex) {
    //handle exception
    ...
}

The template xml file contains a set of FAST message templates that describe the format of encoded messages.