XMLNode Object Members
Represents a single XML element applied to a document.
Methods
Name | Description | |
---|---|---|
![]() | Copy | Copies the specified XML element, excluding XML markup, to the Clipboard. |
![]() | Cut | Removes the specified XML element from the document and places it on the Clipboard. |
![]() | Delete | Deletes the specified XML element from an XML document. |
![]() | RemoveChild | Removes a child element from the specified element. |
![]() | SelectNodes | Returns an XMLNodes collection that represents all the child elements that match the XPath parameter, in the order in which they appear within the specified XML element. |
![]() | SelectSingleNode | Returns an XMLNode object that represents the first child element that matches the XPath parameter within the specified XML element. |
![]() | SetValidationError | Changes the validation error text displayed to a user for a specified node and forces Word to report a node as invalid. |
![]() | Validate | Validates an individual XML element against the XML schemas that are attached to a document. |
Properties
Name | Description | |
---|---|---|
![]() | Application | Returns an Application object that represents the Microsoft Word application. |
![]() | Attributes | Returns an XMLNodes collection that represents the attributes for the specified element. |
![]() | BaseName | Returns a String that represents the name of the element without any prefix. |
![]() | ChildNodes | Returns an XMLNodes collection that represents the child elements of a specified element. |
![]() | ChildNodeSuggestions | Returns an XMLChildNodeSuggestions collection that represents the list of child elements for a specified element. |
![]() | Creator | Returns a 32-bit integer that indicates the application in which the specified object was created. Read-only Long. |
![]() | FirstChild | Returns a DiagramNode object that represents the first child node of a parent node. Read-only. |
![]() | HasChildNodes | Returns a Boolean that represents whether an XML node has child nodes. Read-only. |
![]() | LastChild | Returns an XMLNode object that represents the last child node of an XML element. |
![]() | Level | Returns a WdXMLNodeLevel constant that represents whether an XML element is part of a paragraph, is a paragraph, or is contained within a table cell or contains a table row. Read-only. |
![]() | NamespaceURI | Returns a String that represents the Uniform Resource Identifier (URI) of the schema namespace for the specified object. Read-only. |
![]() | NextSibling | Returns an XMLNode object that represents the next element in the document that is at the same level as the specified element. |
![]() | NodeType | Returns a WdXMLNodeType constant that represents the type of node. |
![]() | NodeValue | Returns or sets a String that represents the value of an XML element. Read/write. |
![]() | OwnerDocument | Returns a Document object that represents the parent document of the specified XML element. |
![]() | Parent | Returns an Object that represents the parent object of the specified XMLNode object. |
![]() | ParentNode | Returns an XMLNode object that represents the parent element of the specified element. |
![]() | PlaceholderText | Sets or returns a String that represents the text displayed for an element that contains no text. |
![]() | PreviousSibling | Returns an XMLNode object that represents the previous element in the document that is at the same level as the specified element. |
![]() | Range | Returns a Range object that represents the portion of a document that is contained in the specified object. Read-only. |
![]() | SmartTag | Returns a SmartTag object that represents the smart tag associated with an XML element. |
![]() | Text | Returns or sets the text contained within the XML element. Read/write String. |
![]() | ValidationErrorText | Returns a String that represents the description for a validation error on an XMLNode object. |
![]() | ValidationStatus | Returns a WdXMLValidationStatus constant that represents whether an element or attribute is valid according to the attached schema. |
![]() | WordOpenXML | Returns a String that represents the XML for the node in the Microsoft Office Word Open XML format. Read-only. |
![]() | XML | Returns a String that represents the text, with or without XML markup, that is contained within an XML node. Read-only. |