add_empty_element


Description:

public void add_empty_element (string? ns_href, string name)

Adds an empty element, which is an element with no attribute and no value.

It's the same as calling start_element immediately followed by end_element.

Parameters:

this

an XmlDocument

ns_href

optional namespace href for the new element, or null

name

name of the new element