XmlDoc/XmlNode methods syntax

From m204wiki
Revision as of 16:00, 28 January 2011 by Wiccan (talk | contribs) (Automatically generated page update)
Jump to navigation Jump to search

The syntax for each of the XmlDoc/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 XmlDoc/XmlNode methods.

[%nod=] nr:AddComment( comment)

[%nod=] nr:AddElement( name, [value], [uri])

[%nod=] nr:AddPI( name, value)

[%nod=] nr:AddSubtree( nod, [DefaultURI= unicode])

nr:Audit[( [xpath], [options])]

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

nr:DeleteSubtree[( [unicode])]

%boolean= nr:Exists( unicode)

%number= nr:Length[( [xpath])]

nr:LoadFromRecord[( [AttributeValues= boolean], [AttributeNames= boolean], - [NamesToLower= boolean], [AllowUnreversible= boolean], - [CodepageTable= boolean])]

[%number=] nr:LoadFromStringlist( sl, [string])

[%number=] nr:LoadXml( string, [string])

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

%unicode= nr:Prefix[( [prefix])]

%unicode= nr:PrefixURI( prefix, [xpath])

nr:Print[( [xpath], [options])]

%unicode= nr:QName[( [qName])]

%number= nr:SelectCount( unicode)

%nodl= nr:SelectNodes[( [xpath])]

%nod= nr:SelectSingleNode[( [xpath])]

%string= nr:Serial[( [xpath], [options], [AddTrailingDelimiter= boolean])]

%string= nr:ToXPathString[( [xpath])]

%sl= nr:ToXPathStringlist[( [xpath])]

nr:Trace[( [xpath], [options])]

%xmlNodeType= nr:Type[( [xpath])]

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

[%number=] nr:Validate( schema, [options])

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

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

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