change MetadataManagerService to EditorService
Integrate map directive into XSL templates