Instance.createInstanceFromXML()

Signature

Concept createInstanceFromXML (String uri, String xml)

Domain

action

Description

This function returns a newly created concept instance using the xml . The XML String should adhere to the XSD schema corresponding to the concept definition. This instance will be asserted into working memory

Parameters

NameTypeDescription
uriURIof the concept as defined in the project. If the uri is null, then the function will use the XML to parse the namespace and create the corresponding concept.
xmlStringXML string to be parsed

Returns

TypeDescription
Conceptthe newly created concept

Cautions

none