DOMProcessingInstruction properties

In addition to the properties it inherits from the DOMNode interface, the DOMProcessingInstruction interface supports two properties, target and data.

target 
Access  Read-only 
Type  String 
Description  The target of the processing instruction. XML defines this as being the first token following the markup that begins the processing instruction. 
Usage 
JScript  DOMProcessingInstruction_object.target;  
VBScript  DOMProcessingInstruction_object.target 

data 
Access  Read/write 
Type  String 
Description  The content of the processing instruction. This starts with the first non-whitespace character after the target, and ends with the character immediately preceding the ?> delimiter. Write is not implemented. 
Usage 
JScript  DOMProcessingInstruction_object.data;  
VBScript  DOMProcessingInstruction_object.data 


Right arrow
Next Topic
Left arrow
Previous Topic
Table of contents
Table of Contents

Copyright © SoftQuad Software Inc. 1999