Instance.createTransientInstanceFromXML()

Signature

Concept createTransientInstanceFromXML (String uri, String xml)

Domain

ACTION

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

NameTypeDescription
uriStringconcept.
xmlStringXML string to be parsed

Returns

TypeDescription
ConceptThe newly created concept

Cautions

none. The function does not assert the created concept.