onNewDocument = function() { this.Syntax = Settings.GetSyntax("xml"); };