Fix rendering of processing instructions
Fix rendering of XML declaration if encoding is set
Fix locale parsing
Documentation for the markup template engine