#26-process document and templates entry