XmlNode methods syntax
The syntax for each of the XmlNode class methods is shown below.
Square brackets indicate optional elements of the method invocation. See also the notation conventions for methods and the List of XmlNode methods.
[%outNod =] nod:AddAttribute( name, value, [uri])
[%nod =] nr:AddComment( value)
[%nod =] nr:AddElement( name, [value], [uri])
nod:AddNamespace( prefix, uri)
[%nod =] nr:AddPI( name, value)
[%nod =] nr:AddSubtree( sourceSubtreeNode, [DefaultURI= unicode])
[%outNod =] nod:AddText( value)
nod:AppendValue( appendedValue)
nr:Audit[( [xpath], [options])]
%outNod = nod:DeepCopy
%unicode = nr:DefaultURI[( [xpath])]
nr:DeleteSubtree[( [xpath])]
%boolean = nr:Exists( xpath)
[%outNod =] nod:InsertCommentBefore( value)
[%outNod =] nod:InsertElementBefore( name, [value], [uri])
[%outNod =] nod:InsertPIBefore( name, value)
[%outNod =] nod:InsertSubtreeBefore( sourceSubtreeNode, [DefaultURI= unicode])
[%outNod =] nod:InsertTextBefore( value)
%number = nr:Length[( [xpath])]
nr:LoadFromRecord[( [AttributeValues= boolean], [AttributeNames= boolean], - [NamesToLower= boolean], [AllowUnreversible= boolean], - [CodepageTable= boolean])]
[%number =] nr:LoadFromStringlist( sl, [string])
[%errorPosition =] nr:LoadXml( input, [string])
%unicode = nr:LocalName[( [xpath])]
%outNod = nod:Next
%boolean = nod:NoEmptyElement nod:NoEmptyElement = %boolean
%unicode = nr:Prefix[( [xpath])]
%unicode = nr:PrefixURI( prefix, [xpath])
%outNod = nod:Previous
nr:Print[( [xpath], [options])]
%unicode = nr:QName[( [xpath])]
%number = nr:SelectCount( xpath)
%nodl = nr:SelectNodes[( [xpath])]
%nod = nr:SelectSingleNode[( [xpath])]
%string = nr:Serial[( [xpath], [options], [AddTrailingDelimiter= boolean])]
%string = nr:ToXPathString[( [selectionXpath])]
%sl = nr:ToXPathStringlist[( [selectionXpath])]
nr:Trace[( [xpath], [options])]
%xmlNodeType = nr:Type[( [xpath])]
%unicode = nr:URI[( [xpath])]
%unicode = nr:Value[( [xpath])] nr:Value[( [xpath])] = %unicode
%unicode = nr:ValueDefault[( [xpath], [value])]
%sl = nr:XPathNodeID[( [selectionXpath])]
%doc = nod:XmlDoc