target property

[This documentation is preliminary and is subject to change.]

Gets the target of a processing instruction.

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

Syntax

HRESULT value = object.get_target(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 target property would return xml-stylesheet.

See also

Reference

createProcessingInstruction

data

 

 

Build date: 1/26/2012