XmlDoc methods syntax
The syntax for each of the XmlDoc 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 XmlDoc methods.
[%nod=] nr:AddComment( value)
[%nod=] nr:AddElement( name, [value], [uri])
[%nod=] nr:AddPI( name, value)
[%nod=] nr:AddSubtree( sourceSubtreeNode, [DefaultURI= unicode])
doc:AddToRecord[( [DisableFieldConstraints= boolean], [CopyIDs= boolean], - [IgnoreUndefinedFields= boolean])]
[%nod=] doc:AddTopElement( name, [uri], [MoveNamespace= boolean])
%xmlAdjacentTextSetting= doc:AdjacentText
%boolean= doc:AllowNull
%boolean= doc:AllowXmlElement
nr:Audit[( [xpath], [options])]
%doc= %(XmlDoc):ClientCertificate[( [AttributeValues= boolean], - [AttributeNames= boolean])]
%doc= doc:Copy
%doc= doc:DeepCopy
%unicode= nr:DefaultURI[( [xpath])]
doc:DeleteSelectionPrefix( prefix)
nr:DeleteSubtree[( [xpath])]
doc:DeleteTopElement
%string= doc:Encoding
%boolean= nr:Exists( xpath)
%xmlInvalidChar= doc:InvalidChar
%position= %(XmlDoc):InvalidCharacterPosition( string, [AllowNull= boolean])
%boolean= doc:IsSelectionPrefix( prefix)
%boolean= %(XmlDoc):IsValidString( string, [AllowNull= boolean])
%number= nr:Length[( [xpath])]
nr:LoadFromRecord[( [AttributeValues= boolean], [AttributeNames= boolean], - [NamesToLower= boolean], [AllowUnreversible= boolean], - [CodepageTable= boolean])]
[%number=] nr:LoadFromStringlist( sl, [string])
doc:LoadParameterInfo[( [paramOrFam], [famOrParam])]
doc:LoadSystemMethodInfo( pattern, [ShowBase= boolean])
[%errorPosition=] nr:LoadXml( input, [string])
%unicode= nr:LocalName[( [xpath])]
%xmlNamespaceSetting= doc:Namespace
%doc= %(XmlDoc):New
%doc= %(XmlDoc):NewFromRecord[( [AttributeValues= boolean], - [AttributeNames= boolean], - [NamesToLower= boolean], - [AllowUnreversible= boolean], - [CodepageTable= boolean], - [AllowNull= boolean])]
%unicode= nr:Prefix[( [xpath])]
%unicode= nr:PrefixURI( prefix, [xpath])
nr:Print[( [xpath], [options])]
%unicode= nr:QName[( [xpath])]
%number= nr:SelectCount( xpath)
%nodl= nr:SelectNodes[( [xpath])]
%nod= nr:SelectSingleNode[( [xpath])]
%unicode= doc:SelectionNamespace( prefix)
%string= nr:Serial[( [xpath], [options], [AddTrailingDelimiter= boolean])]
%string= doc:Standalone
%string= nr:ToXPathString[( [selectionXpath])]
nr:Trace[( [xpath], [options])]
%xmlNodeType= nr:Type[( [xpath])]
%unicode= nr:URI[( [xpath])]
%unicode= nr:Value[( [xpath])]
%unicode= nr:ValueDefault[( [xpath], [value])]
%string= doc:Version
[%errorPosition=] doc:WebReceive[( [formFieldname], [fieldOccurrence], - [options])]
doc:WebSend[( [options])]
%sl= nr:XPathNodeID[( [xpath])]
%string= doc:Xml[( [options])]