Allows parsing an XML file to contain only defines and no templates.