System::Xml::XmlDocument::CreateNode method
Contents
[
Hide
]XmlDocument::CreateNode(XmlNodeType, const String&, const String&, const String&) method
Creates a XmlNode with the specified XmlNodeType, XmlNode::get_Prefix, XmlDocument::get_Name, and XmlNode::get_NamespaceURI.
virtual SharedPtr<XmlNode> System::Xml::XmlDocument::CreateNode(XmlNodeType type, const String &prefix, const String &name, const String &namespaceURI)
Parameter | Type | Description |
---|---|---|
type | XmlNodeType | The XmlNodeType of the new node. |
prefix | const String& | The prefix of the new node. |
name | const String& | The local name of the new node. |
namespaceURI | const String& | The namespace URI of the new node. |
ReturnValue
The new XmlNode.
See Also
- Typedef SharedPtr
- Class XmlNode
- Enum XmlNodeType
- Class String
- Class XmlDocument
- Namespace System::Xml
- Library Aspose.Font for C++
XmlDocument::CreateNode(const String&, const String&, const String&) method
Creates an XmlNode with the specified node type, XmlDocument::get_Name, and XmlNode::get_NamespaceURI.
virtual SharedPtr<XmlNode> System::Xml::XmlDocument::CreateNode(const String &nodeTypeString, const String &name, const String &namespaceURI)
Parameter | Type | Description |
---|---|---|
nodeTypeString | const String& | String version of the XmlNodeType of the new node. This parameter must be one of the values listed in the table below. |
name | const String& | The qualified name of the new node. If the name contains a colon, it is parsed into XmlNode::get_Prefix and XmlDocument::get_LocalName components. |
namespaceURI | const String& | The namespace URI of the new node. |
ReturnValue
The new XmlNode.
Remarks
The nodeTypeString parameter is case sensitive and must be one of the values in the following table: | |
---|---|
nodeTypeString | XmlNodeType |
attribute | Attribute |
cdatasection | CDATA |
comment | Comment |
document | Document |
documentfragment | DocumentFragment |
documenttype | DocumentType |
element | Element |
entityreference | EntityReference |
processinginstruction | ProcessingInstruction |
significantwhitespace | SignificantWhitespace |
text | Text |
whitespace | Whitespace |
See Also
- Typedef SharedPtr
- Class XmlNode
- Class String
- Class XmlDocument
- Namespace System::Xml
- Library Aspose.Font for C++
XmlDocument::CreateNode(XmlNodeType, const String&, const String&) method
Creates an XmlNode with the specified XmlNodeType, XmlDocument::get_Name, and XmlNode::get_NamespaceURI.
virtual SharedPtr<XmlNode> System::Xml::XmlDocument::CreateNode(XmlNodeType type, const String &name, const String &namespaceURI)
Parameter | Type | Description |
---|---|---|
type | XmlNodeType | The XmlNodeType of the new node. |
name | const String& | The qualified name of the new node. If the name contains a colon then it is parsed into XmlNode::get_Prefix and XmlDocument::get_LocalName components. |
namespaceURI | const String& | The namespace URI of the new node. |
ReturnValue
The new XmlNode.
See Also
- Typedef SharedPtr
- Class XmlNode
- Enum XmlNodeType
- Class String
- Class XmlDocument
- Namespace System::Xml
- Library Aspose.Font for C++