Template XML Handling

Arbitrary XML files are loaded by the $xml.dom(filename) method, an instance of the DOMFileFactory class. The class of document object is determined by the dom.data.class property and defaults to a SportPage JDOMFile object.

JDOMFile provides methods to query, transform and output the XML from within a template (see Sportwire JDOMFile API Docs) and uses the TTL cache to temporarily store parsed documents.