CreateEDecl method

Applies to
TIcElementDecl

Declaration
Constructor CreateEDecl(name : TDOMString; cType : byte; owner : TIcXMLDocument);

Description
Creates instance of element type declaration node for specified element and with specified content model type.

Parameters
name  Name of declared element.
cType  Type of element content type.
Values of cType parameter:
  • ctEmpty Element hasn't any children.
  • ctAny Element can have any child node.
  • ctMixed Element can have text nodes or any child elements from specified list.
  • ctChildren Element must have all child elements from specified list in determined order.
owner  Document to which belongs element declaration.