khtml Library API Documentation

DOM::ProcessingInstruction Class Reference

The ProcessingInstruction interface represents a "processing instruction", used in XML as a way to keep processor-specific information in the text of the document. More...

#include <dom_xml.h>

Inheritance diagram for DOM::ProcessingInstruction:

DOM::Node List of all members.

Public Methods

ProcessingInstruction & operator= (const Node &other)
DOMString target () const
DOMString data () const
void setData (const DOMString &)
StyleSheet sheet () const

Detailed Description

The ProcessingInstruction interface represents a "processing instruction", used in XML as a way to keep processor-specific information in the text of the document.

Definition at line 259 of file dom_xml.h.


Member Function Documentation

DOMString ProcessingInstruction::target  
 

The target of this processing instruction.

XML defines this as being the first token following the markup that begins the processing instruction.

Definition at line 256 of file dom_xml.cpp.

DOMString ProcessingInstruction::data  
 

The content of this processing instruction.

This is from the first non white space character after the target to the character immediately preceding the ?&gt; .

Definition at line 264 of file dom_xml.cpp.

void ProcessingInstruction::setData const DOMString  
 

see data

Exceptions:
DOMException  NO_MODIFICATION_ALLOWED_ERR: Raised when the node is readonly.

Definition at line 272 of file dom_xml.cpp.

StyleSheet ProcessingInstruction::sheet  
 

Introduced in DOM Level 2 This method is from the LinkStyle interface.

The style sheet.

Definition at line 287 of file dom_xml.cpp.


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for khtml Library Version 3.2.0.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Feb 4 12:37:25 2004 by doxygen 1.2.18 written by Dimitri van Heesch, © 1997-2003