System.Xml.XmlProcessingInstruction and IXMLDOMProcessingInstruction

only for RuBoard

System.Xml.XmlProcessingInstruction and IXMLDOMProcessingInstruction

XmlProcessingInstruction class in the System.Xml namespace is an implementation of the W3C ProcessingInstruction interface. This class represents a processing instruction, which XML defines to keep processor-specific information in the text of the document. Table B.32 and Table B.33 list the properties and methods respectively found in the XmlProcessingInstruction class.

Table B.32. System.Xml.XmlProcessingInstruction and IXMLDOMProcessingInstruction Properties

XmlProcessingInstruction (Inherits XmlLinkedNode )

Description

MSXML IXMLDOM ProcessingInstruction

LocalName (Overrides XMLNode:: LocalName )

Gets the name of the node without the namespace prefix.

baseName

Data

Gets or sets the content of the processing instruction, excluding the target.

data

NextSibling (Inherited from XmlLinkedNode )

Returns the node following this node at the same level in the document hierarchy.

nextSibling

Name (Overrides XMLNode:: Name )

Gets the qualified name of the node.

nodeName

NodeType (Overrides XMLNode:: NodeType )

Returns an XmlNodeType enumeration member representing this node's type.

nodeType (Gets an IXMLDOMNodeType enumeration member)

Value (Overrides XMLNode:: Value )

Gets or sets the value (text) of the current node.

nodeValue

PreviousSibling (Inherited from XmlLinkedNode )

Gets the node previous to this node at the same level in the document hierarchy.

previousSibling

Target

Returns the target of the processing instruction.

target

InnerText (Overrides XMLNode:: InnerText )

Gets or sets the concatenated values of the node and all its children.

text

Table B.33. System.Xml.XmlProcessingInstruction and IXMLDOMProcessingInstruction Methods

XmlProcessingInstruction (Inherits XmlLinkedNode )

Description

MSXML IXMLDOM ProcessingInstruction

CloneNode (Overrides XMLNode::CloneNode )

Similar to XMLNode::Clone but accepts a deep Boolean parameter indicating if the subtree should be duplicated .

cloneNode

WriteContentTo (Overrides XMLNode:: WriteContentTo )

Saves the contents of the XmlDocument node to the specified XmlWriter . No effect for ProcessingInstruction nodes because they do not have children.

 

WriteTo (Overrides XMLNode::WriteTo )

Saves the XmlDocument node to the specified XmlWriter .

No effect for XmlEntity nodes.

 
only for RuBoard


XML and ASP. NET
XML and ASP.NET
ISBN: B000H2MXOM
EAN: N/A
Year: 2005
Pages: 184

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net