Method StartElement
StartElement(String, String, String, IAttributes)
Receive notification of the start of an element.
By default, do nothing. Application writers may override this method in a subclass to take specific actions at the start of each element (such as allocating a new tree node or writing output to a file).
Declaration
public virtual void StartElement(string uri, string localName, string qName, IAttributes attributes)
Parameters
Type | Name | Description |
---|---|---|
System.String | uri | The Namespace URI, or the empty string if the element has no Namespace URI or if Namespace processing is not being performed. |
System.String | localName | The local name (without prefix), or the empty string if Namespace processing is not being performed. |
System.String | qName | The qualified name (with prefix), or the empty string if qualified names are not available. |
IAttributes | attributes | The attributes attached to the element. If there are no attributes, it shall be an empty Attributes object. |
Implements
Exceptions
Type | Condition |
---|---|
SAXException | Any SAX exception, possibly wrapping another exception. |