System::Xml::XmlDocument::CreateNode メソッド
コンテンツ
[
隠れる
]XmlDocument::CreateNode(const String&, const String&, const String&) method
指定されたノードタイプ、XmlDocument::get_Name、および XmlNode::get_NamespaceURI を使用して XmlNode を作成します。
virtual SharedPtr<XmlNode> System::Xml::XmlDocument::CreateNode(const String &nodeTypeString, const String &name, const String &namespaceURI)
| パラメーター | 型 | 説明 |
|---|---|---|
| nodeTypeString | const String& | 新しいノードの XmlNodeType の String バージョン。このパラメーターは以下の表に列挙された値のいずれかでなければなりません。 |
| name | const String& | 新しいノードの修飾名です。名前にコロンが含まれる場合、XmlNode::get_Prefix と XmlDocument::get_LocalName のコンポーネントに分割されます。 |
| namespaceURI | const String& | 新しいノードの名前空間 URI。 |
ReturnValue
新しい XmlNode。
備考
| nodeTypeString パラメーターは大文字小文字を区別し、以下の表の値のいずれかでなければなりません: | |
|---|---|
| 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 |
参照
- Typedef SharedPtr
- Class XmlNode
- Class String
- Class XmlDocument
- Namespace System::Xml
- Library Aspose.Page for C++
XmlDocument::CreateNode(XmlNodeType, const String&, const String&) method
指定されたXmlNode を、指定されたXmlNodeType、XmlDocument::get_Name および XmlNode::get_NamespaceURI で作成します。
virtual SharedPtr<XmlNode> System::Xml::XmlDocument::CreateNode(XmlNodeType type, const String &name, const String &namespaceURI)
| パラメーター | 型 | 説明 |
|---|---|---|
| type | XmlNodeType | 新しいノードのXmlNodeTypeです。 |
| name | const String& | 新しいノードの修飾名です。名前にコロンが含まれる場合、XmlNode::get_Prefix と XmlDocument::get_LocalName のコンポーネントに分割されます。 |
| namespaceURI | const String& | 新しいノードの名前空間 URI。 |
ReturnValue
新しい XmlNode。
参照
- Typedef SharedPtr
- Class XmlNode
- Enum XmlNodeType
- Class String
- Class XmlDocument
- Namespace System::Xml
- Library Aspose.Page for C++
XmlDocument::CreateNode(XmlNodeType, const String&, const String&, const String&) method
指定されたXmlNodeType、XmlNode::get_Prefix、XmlDocument::get_Name および XmlNode::get_NamespaceURI を使用して、XmlNode を作成します。
virtual SharedPtr<XmlNode> System::Xml::XmlDocument::CreateNode(XmlNodeType type, const String &prefix, const String &name, const String &namespaceURI)
| パラメーター | 型 | 説明 |
|---|---|---|
| type | XmlNodeType | 新しいノードのXmlNodeTypeです。 |
| prefix | const String& | 新しいノードのプレフィックスです。 |
| name | const String& | 新しいノードのローカル名です。 |
| namespaceURI | const String& | 新しいノードの名前空間 URI。 |
ReturnValue
新しい XmlNode。
参照
- Typedef SharedPtr
- Class XmlNode
- Enum XmlNodeType
- Class String
- Class XmlDocument
- Namespace System::Xml
- Library Aspose.Page for C++