ParseFromString method

Applies to
TContentModelParser

Declaration
Procedure ParseFromString(stringModel : string; var cm : TIcContentModel; doc : TIcXMLDocument);

Description
Parses declaration of content model. It creates new TIcContentModel object and appends to XML document. After calling this method variable cm contains new created content model.

Parameters
stringModel  Declaration of content model.
cm  Output parameter, so initially value hasn't meaning. If isn't nil then memory is disposed and is recreated.
doc  Document, to which parser appends content model.