Implement dynamic generation of &base; entity for XML documents and
activate it instead of using a static &base;. Since an .xml database file
(or an .xslt stylesheet file) is used from various directories, the static
&base; no longer works.
PR: www/102331