Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
data
Collapse the table of content
Expand the table of content

data property

Gets the data of a processing instruction.

Document Object Model (DOM) Level 2 Core Specification, Section 1.3Internet Explorer 9

 

Syntax

HRESULT value = object.get_data(BSTR* p);

Property values

Type: BSTR

The name of the processing instruction.

Standards information

Remarks

Processing instructions are supported only by XML documents.

A processing instruction provides direction to an XML parser. The following code example shows a processing instruction that is specified in markup.


<?xml-stylesheet type="text/css" href="style.css"?>

For this example, the IDOMProcessingInstruction::data property would return type='text/css' href='style.css'.

See also

Reference
IHTMLDocument7::createProcessingInstruction
IDOMProcessingInstruction::target

 

 

Community Additions

ADD
Show:
© 2015 Microsoft