Instance.createInstanceFromXML()
Signature
Concept createInstanceFromXML (String uri, String xml)
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
Name | Type | Description |
uri | URI | of 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. |
xml | String | XML string to be parsed |
Returns
Type | Description |
Concept | the newly created concept |