Org.Xml.Sax.IContentHandler.ProcessingInstruction Method
Receive notification of a processing instruction.

Syntax

[Android.Runtime.Register("processingInstruction", "(Ljava/lang/String;Ljava/lang/String;)V", "GetProcessingInstruction_Ljava_lang_String_Ljava_lang_String_Handler:Org.Xml.Sax.IContentHandlerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void ProcessingInstruction (string target, string data)

Parameters

target
the processing instruction target
data
the processing instruction data, or null if none was supplied. The data does not include any whitespace separating it from the target

Exceptions

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

Remarks

Receive notification of a processing instruction.

The Parser will invoke this method once for each processing instruction found: note that processing instructions may occur before or after the main document element.

A SAX parser must never report an XML declaration (XML 1.0, section 2.8) or a text declaration (XML 1.0, section 4.3.1) using this method.

Like IContentHandler.Characters(Char[], System.Int32, System.Int32), processing instruction data may have characters that need more than one char value.

[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