xmlclass (<xsd>,<tag>)
string
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.
<xsd>
The url of an xml schema, typically a remote xsd file.
<tag>
An xml element tag defined in the xml schema.
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.
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
Commands: |