Function: xmlclass( )

Syntax

xmlclass (<xsd>,<tag>)

Type

string

Returns

The name of a Fire structure class corrresponding to an xml schema and root tag name. If there is no such class, an empty string is returned.

Parameters

Notes

When an xml schema is converted to Fire classes (via the xsdread command), the url of the schema and all xml tags permitted as root elements are remembered. This function is merely a reverse lookup.

A list of all known classes with schema/tag pairings can be produced by the sysdump xsd command.

Examples

Consider a fire class created by an xsdread command.

scope = myatab
structure ServicesType_t,-tag="services",-pre="xmarc",\
      -ns="http://www.xmarc.net/",-xsd="http://www.xmarc.net/services.xsd" {
   ...
}

Use of this this function would then be as follows:

tell xmlclass("http://www.xmarc.net/services.xsd","services")
~myatab.servicestype_t

See Also

Commands:

xsdread