XmlDocument


Description:

[ CCode ( has_construct_function = false ) ]
public XmlDocument (string? ns_href, string root_element)

Creates a new XmlDocument with root element root_element and optionally also with set default namespace ns_href.

Parameters:

ns_href

default namespace href to use, or null

root_element

root element name

Returns:

a new XmlDocument; free it with unref, when no longer needed.