Moves the cursor to the next node in the document. This function must be called at least once to set the current cursor position. Returns true (1) if the cursor position was set successfully.
Close the document. This should be called directly to ensure that cleanup occurs on the correct thread.
Returns true (1) if an error has been reported by the XML parser.
Base structure.