Element MethodsDownload PDFSelected SectionSelected Section and Subsection(s)Entire ManualUpdated2026-02-042 minute(s) readLabVIEWAPI ReferenceLabVIEW G Get Elements By Tag Name ArrayReturns an array of nodes of all descendant elements with a tag name that you specify, in the order in which a preorder traversal of the Element tree encounters the nodes. Get AttributeRetrieves an attribute value by name. Get Attribute NodeRetrieves an attribute by name. Set AttributeAdds an attribute. If an attribute with the name you specify already exists in the element, its value changes to that of the Value parameter. Set Attribute NodeAdds an attribute. If an attribute with the name you specify already exists in the element, the new attribute replaces the existing attribute. If the new attribute replaces an attribute with the same name, the method returns the previously existing attribute as Old Attribute.Remove AttributeRemoves an attribute by name. If the removed attribute has a default value it is immediately replaced. Remove Attribute NodeRemoves an attribute that you specify. If the removed attribute has a default value it is immediately replaced. Get Elements By Tag NameReturns a list of all descendant elements with a tag name you specify, in the order that a preorder traversal of the Element tree would encounter the nodes. Get Attribute NSRetrieves an attribute value by local name and namespace URI. Set Attribute NSAdds a new attribute. If an attribute with the same local name and namespace URI already exists on the element, the prefix of the existing element changes to the prefix part of the qualified name indicated in the Qualified Name parameter, and its value changes to the value indicated in the Value parameter.Remove Attribute NSRemoves an attribute by local name and namespace URI. If the removed attribute has a default value it is immediately replaced.Get Attribute Node NSRetrieves an attribute by local name and namespace URI. Set Attribute Node NSAdds a new attribute. If an attribute with the same local name and namespace URI already exists in the element, the new attribute replaces it. Get Elements By Tag Name NS ArrayReturns an array of nodes of elements with a local name and namespace URI you specify, in the order that a preorder traversal of the Document tree would encounter them, starting from a node you specify. Get Elements By Tag Name NSReturns a list of elements with a local name and namespace URI you specify, in the order that a preorder traversal of the Document tree would encounter them, starting from a node you specify. Has AttributeReturns TRUE when an element contains an attribute with a name you specify, or if the attribute has a default value. Has Attribute NSReturns TRUE when an element contains an attribute with a local name and namespace URI you specify, or if the attribute has a default value. Set XMLSets the XML text of an element. If the element already has a value, the value of the element changes to that of the XML String parameter.
Get Elements By Tag Name ArrayReturns an array of nodes of all descendant elements with a tag name that you specify, in the order in which a preorder traversal of the Element tree encounters the nodes. Get AttributeRetrieves an attribute value by name. Get Attribute NodeRetrieves an attribute by name. Set AttributeAdds an attribute. If an attribute with the name you specify already exists in the element, its value changes to that of the Value parameter. Set Attribute NodeAdds an attribute. If an attribute with the name you specify already exists in the element, the new attribute replaces the existing attribute. If the new attribute replaces an attribute with the same name, the method returns the previously existing attribute as Old Attribute.Remove AttributeRemoves an attribute by name. If the removed attribute has a default value it is immediately replaced. Remove Attribute NodeRemoves an attribute that you specify. If the removed attribute has a default value it is immediately replaced. Get Elements By Tag NameReturns a list of all descendant elements with a tag name you specify, in the order that a preorder traversal of the Element tree would encounter the nodes. Get Attribute NSRetrieves an attribute value by local name and namespace URI. Set Attribute NSAdds a new attribute. If an attribute with the same local name and namespace URI already exists on the element, the prefix of the existing element changes to the prefix part of the qualified name indicated in the Qualified Name parameter, and its value changes to the value indicated in the Value parameter.Remove Attribute NSRemoves an attribute by local name and namespace URI. If the removed attribute has a default value it is immediately replaced.Get Attribute Node NSRetrieves an attribute by local name and namespace URI. Set Attribute Node NSAdds a new attribute. If an attribute with the same local name and namespace URI already exists in the element, the new attribute replaces it. Get Elements By Tag Name NS ArrayReturns an array of nodes of elements with a local name and namespace URI you specify, in the order that a preorder traversal of the Document tree would encounter them, starting from a node you specify. Get Elements By Tag Name NSReturns a list of elements with a local name and namespace URI you specify, in the order that a preorder traversal of the Document tree would encounter them, starting from a node you specify. Has AttributeReturns TRUE when an element contains an attribute with a name you specify, or if the attribute has a default value. Has Attribute NSReturns TRUE when an element contains an attribute with a local name and namespace URI you specify, or if the attribute has a default value. Set XMLSets the XML text of an element. If the element already has a value, the value of the element changes to that of the XML String parameter.
Get Elements By Tag Name ArrayReturns an array of nodes of all descendant elements with a tag name that you specify, in the order in which a preorder traversal of the Element tree encounters the nodes. Get AttributeRetrieves an attribute value by name. Get Attribute NodeRetrieves an attribute by name. Set AttributeAdds an attribute. If an attribute with the name you specify already exists in the element, its value changes to that of the Value parameter. Set Attribute NodeAdds an attribute. If an attribute with the name you specify already exists in the element, the new attribute replaces the existing attribute. If the new attribute replaces an attribute with the same name, the method returns the previously existing attribute as Old Attribute.Remove AttributeRemoves an attribute by name. If the removed attribute has a default value it is immediately replaced. Remove Attribute NodeRemoves an attribute that you specify. If the removed attribute has a default value it is immediately replaced. Get Elements By Tag NameReturns a list of all descendant elements with a tag name you specify, in the order that a preorder traversal of the Element tree would encounter the nodes. Get Attribute NSRetrieves an attribute value by local name and namespace URI. Set Attribute NSAdds a new attribute. If an attribute with the same local name and namespace URI already exists on the element, the prefix of the existing element changes to the prefix part of the qualified name indicated in the Qualified Name parameter, and its value changes to the value indicated in the Value parameter.Remove Attribute NSRemoves an attribute by local name and namespace URI. If the removed attribute has a default value it is immediately replaced.Get Attribute Node NSRetrieves an attribute by local name and namespace URI. Set Attribute Node NSAdds a new attribute. If an attribute with the same local name and namespace URI already exists in the element, the new attribute replaces it. Get Elements By Tag Name NS ArrayReturns an array of nodes of elements with a local name and namespace URI you specify, in the order that a preorder traversal of the Document tree would encounter them, starting from a node you specify. Get Elements By Tag Name NSReturns a list of elements with a local name and namespace URI you specify, in the order that a preorder traversal of the Document tree would encounter them, starting from a node you specify. Has AttributeReturns TRUE when an element contains an attribute with a name you specify, or if the attribute has a default value. Has Attribute NSReturns TRUE when an element contains an attribute with a local name and namespace URI you specify, or if the attribute has a default value. Set XMLSets the XML text of an element. If the element already has a value, the value of the element changes to that of the XML String parameter.