XmlNode methods syntax

From m204wiki
Revision as of 19:32, 23 August 2011 by JALWiccan (talk | contribs) (Automatically generated page update)
Jump to navigation Jump to search

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

nod:DeepDiscard

%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, [options])

%unicode = nr:LocalName[( [xpath])]

%outNod = nod:Next

%currentBoolean = nod:NoEmptyElement nod:NoEmptyElement = newBoolean

%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])]

%currentUnicode = nr:Value[( [xpath])] nr:Value[( [xpath])] = newUnicode

%unicode = nr:ValueDefault[( [xpath], [value])]

%sl = nr:XPathNodeID[( [selectionXpath])]

%doc = nod:XmlDoc