XMLParserItf Interface CATIDOMProcessingInstruction

Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.


interface CATIDOMProcessingInstruction

Interface to represent a "processing instruction", used in XML as a way to keep processor-specific information in the text of the document.

See also the Document Object Model (DOM) Level 2 Core Specification.


Method Index


o GetData(CATUnicodeString&)
Retrieves the content of this processing instruction.
o GetTarget(CATUnicodeString&)
Retrieves the target of this processing instruction.
o SetData(CATUnicodeString&)
Sets the content of this processing instruction.

Methods


o GetData
public virtual HRESULT GetData(CATUnicodeString& oData) = 0
Retrieves the content of this processing instruction. This is from the first non white space character after the target to the character immediately preceding the ?>.
Parameters:
oData
the content of this processing instruction
o GetTarget
public virtual HRESULT GetTarget(CATUnicodeString& oTarget) = 0
Retrieves the target of this processing instruction. XML defines this as being the first token following the markup that begins the processing instruction.
Parameters:
oTarget
the target of this processing instruction
o SetData
public virtual HRESULT SetData( const CATUnicodeString& iData) = 0
Sets the content of this processing instruction. This is from the first non white space character after the target to the character immediately preceding the ?>.
Parameters:
iData
the content of this processing instruction
Errors Returned:
Error Class Error Id Description
CATDOMException XMLParserERR_2207 NO_MODIFICATION_ALLOWED_ERR: Raised if this node is readonly.

This object is included in the file: CATIDOMProcessingInstruction.h
If needed, your Imakefile.mk should include the module: CatXmlItfExt

Copyright © 1999-2014, Dassault Systèmes. All rights reserved.