Instance.createTransientInstanceFromXML()
Signature
Concept createTransientInstanceFromXML (String uri, String xml)
Description
This function creates a new Concept instance by deserializing the XML data provided.
If uri
is null, then the URI will be inferred from the namespace in xml
.
The form of of the XML data provided is expected to be the same as the output from serialize()
.
The newly created Concept instance is NOT added to the working memory.
Parameters
Name | Type | Description |
uri | String | concept. |
xml | String | XML string to be parsed |
Returns
Type | Description |
Concept | The newly created concept |
Cautions
none. The function does not assert the created concept.