Org.Xml.Sax.IDocumentHandler.StartElement Method
Receive notification of the beginning of an element.

Syntax

[Android.Runtime.Register("startElement", "(Ljava/lang/String;Lorg/xml/sax/AttributeList;)V", "GetStartElement_Ljava_lang_String_Lorg_xml_sax_AttributeList_Handler:Org.Xml.Sax.IDocumentHandlerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void StartElement (string name, IAttributeList atts)

See Also

IDocumentHandler.EndElement(string)
IAttributeList

Parameters

name
The element type name.
atts
The attributes attached to the element, if any.

Exceptions

TypeReason
Org.Xml.Sax.SAXExceptionAny SAX exception, possibly wrapping another exception.

Remarks

Receive notification of the beginning of an element.

The Parser will invoke this method at the beginning of every element in the XML document; there will be a corresponding endElement() event for every startElement() event (even when the element is empty). All of the element's content will be reported, in order, before the corresponding endElement() event.

If the element name has a namespace prefix, the prefix will still be attached. Note that the attribute list provided will contain only attributes with explicit values (specified or defaulted): #IMPLIED attributes will be omitted.

[Android Documentation]

Requirements

Namespace: Org.Xml.Sax
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1