How to best handle NULL return from xmlNodeGetContent()