System::Xml::XmlProcessingInstruction class
Contents
[
Hide
]XmlProcessingInstruction class
Represents a processing instruction, which XML defines to keep processor-specific information in the text of the document.
class XmlProcessingInstruction : public System::Xml::XmlLinkedNode
Methods
Method | Description |
---|---|
CloneNode(bool) override | Creates a duplicate of this node. |
get_Data() | Returns the content of the processing instruction, excluding the target. |
get_InnerText() override | Returns the concatenated values of the node and all its children. |
get_LocalName() override | Returns the local name of the node. |
get_Name() override | Returns the qualified name of the node. |
get_NodeType() override | Returns the type of the current node. |
get_Target() | Returns the target of the processing instruction. |
get_Value() override | Returns the value of the node. |
set_Data(const String&) | Sets the content of the processing instruction, excluding the target. |
set_InnerText(String) override | Sets the concatenated values of the node and all its children. |
set_Value(String) override | Sets the value of the node. |
WriteContentTo(const SharedPtr<XmlWriter>&) override | Saves all the children of the node to the specified XmlWriter. Because ProcessingInstruction nodes do not have children, this method has no effect. |
WriteTo(const SharedPtr<XmlWriter>&) override | Saves the node to the specified XmlWriter. |
Typedefs
Typedef | Description |
---|---|
Ptr | An alias for shared pointer to an instance of this class. |
Remarks
Objects of this class should only be allocated using System::MakeObject() function. Never create instances of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.
See Also
- Class XmlLinkedNode
- Namespace System::Xml
- Library Aspose.TeX for C++