Titanium.XML.ProcessingInstruction

Object of Titanium.XML.
Platform Since
Android 0.9
iPhone 0.9
iPad 0.9

Summary

a way to keep processor-specific information in the text of the document. See DOM Level 2 Spec

Methods

Name Summary
addEventListener

Adds the specified callback as an event listener for the named event.

fireEvent

Fires a synthesized event to any registered listeners.

getData

Gets the value of the data property.

getTarget

Gets the value of the target property.

removeEventListener

Removes the specified callback as an event listener for the named event.

setData

Sets the value of the data property.

Properties

Name Type Summary
data String

Retrieve the content of this processing instruction. This from the first non white space character after the target to the character immediatly preceding the ?>. When setting a processing instruction, a DOMException may be thrown on an invalid instruction.

target String

Retrieve the target of this processing instruction. XML defines this as being the first token following the markup that begins the processing instruction. read-only

Events

This type has no events.