Liquid XML Data Binder 2020
C++ Class Constructor CElement
Liquid XML Data Binder (C++, Java, VB6) > Reference > C++ > Reference > CElement > C++ Class Constructor CElement
CElement(LPCTSTR lpszElementName,
                  LPCTSTR lpszElementNamespace);
CElement(LPCTSTR lpszElementName,
                  LPCTSTR lpszElementNamespace,
                  LPCTSTR lpszNamespaceRestriction,
                  LPCTSTR lpszTargetNamespace);
  Property Description  
    Method Name Constructor  
    Argument - lpszElementName The name of the element using MyElm may cause something like this to be created
    Argument - lpszElementNamespace The namespace to be used for this element ie may cause something like this to be creaeted.
<so:MyElm xmlns:so="">Text</so:MyElm>
    Argument - lpszNamespaceRestriction The namespace restrictions used for the child elements/attributes
##any - any namespace
##other - any namespace that is not the targetnamespace
##local - no namespace
##targetNamespace - the target namespace
<namespace> - must be within the namespace
    Argument - lpszTargetNamespace The target namespace for the XML document.  
    Description Creates an instance of the class