XMLInternalDocument function

Class to represent reference to C-level data structure for an XML document