Function: xmltest( )

Syntax

xmltest (<file>)

Type

string

Returns

The outermost tag name from an xml file. If the file does not exist or is not a valid xml file, an empty string is returned.

Parameters

Example

If the outermost tag in this file is <mydata>, this example will return a value "mydata".

string tag = xmltest(myfile.xml)

See Also

Commands:

xmlread