Method StartElement
StartElement(String, String, String, IAttributes)
Write a start tag. Pass the event on down the filter chain for further processing.
Declaration
public override void StartElement(string uri, string localName, string qName, IAttributes atts)
Parameters
Type | Name | Description |
---|---|---|
System.String | uri | The Namespace URI, or the empty string if none is available. |
System.String | localName | The element's local (unprefixed) name (required). |
System.String | qName | The element's qualified (prefixed) name, or the empty string is none is available. This method will use the qName as a template for generating a prefix if necessary, but it is not guaranteed to use the same qName. |
IAttributes | atts | The element's attribute list (must not be null). |
Overrides
Exceptions
Type | Condition |
---|---|
SAXException | If there is an error writing the start tag, or if a handler further down the filter chain raises an exception. |
See Also
StartElement(String, String)
Start a new element without a qname or attributes.
This method will provide a default empty attribute list and an empty string for the qualified name. It invokes StartElement(String, String, String, IAttributes) directly.
Declaration
public virtual void StartElement(string uri, string localName)
Parameters
Type | Name | Description |
---|---|---|
System.String | uri | The element's Namespace URI. |
System.String | localName | The element's local name. |
Exceptions
Type | Condition |
---|---|
SAXException | If there is an error writing the start tag, or if a handler further down the filter chain raises an exception. |
See Also
StartElement(String)
Start a new element without a qname, attributes or a Namespace URI.
This method will provide an empty string for the Namespace URI, and empty string for the qualified name, and a default empty attribute list. It invokes
startElement(string, string, string, Attributes)}
directly.
Declaration
public virtual void StartElement(string localName)
Parameters
Type | Name | Description |
---|---|---|
System.String | localName | The element's local name. |
Exceptions
Type | Condition |
---|---|
SAXException | If there is an error writing the start tag, or if a handler further down the filter chain raises an exception. |