Revert "Move declaration to avoid warning when compiling wo Libxml2"
Revert "Move declaration to avoid warning when compiling wo Libxml2"

This reverts commit 4df8de77ce5d4d97a9d5588f49a5c8298183776e.

dcrossleyau/yaz,dcrossleyau/yaz,dcrossleyau/yaz