Apply the given namespace to the document (or element) where matching “${xxx}” are replaced by their value.
Clone of itools.stl for odf_document.
Arguments:
document – odf_document
namespace – dict
Return: modified “document” argument
Interprets the given data as a substitution string with the “${expr}” format, where the expression within the brackets is an STL expression.
Returns the interpreted string.