check for NULL to prevent crash with meta elements

* xmlsave.c: check for NULL to prevent crash with meta elements
2 files changed