================================================================================
XMLPort textattribute with TextType property
================================================================================

xmlport 1501 "Test XMLPort"
{
    schema
    {
        textelement(Root)
        {
            textattribute(EventConditions)
            {
                Occurrence = Optional;
                TextType = BigText;
            }
        }
    }
}

--------------------------------------------------------------------------------

(source_file
  (xmlport_declaration
    (xmlport_keyword)
    (integer)
    (quoted_identifier)
    (schema_section
      (schema_keyword)
      (xmlport_element
        (identifier)
        (xmlport_attribute
          (identifier)
          (property
            (property_name)
            (identifier))
          (property
            (property_name)
            (identifier)))))))

================================================================================
XMLPort textattribute with TextType = Text
================================================================================

xmlport 50100 "Simple XMLPort"
{
    schema
    {
        textelement(Data)
        {
            textattribute(Name)
            {
                TextType = Text;
            }
        }
    }
}

--------------------------------------------------------------------------------

(source_file
  (xmlport_declaration
    (xmlport_keyword)
    (integer)
    (quoted_identifier)
    (schema_section
      (schema_keyword)
      (xmlport_element
        (identifier)
        (xmlport_attribute
          (identifier)
          (property
            (property_name)
            (identifier)))))))

================================================================================
XMLPort textattribute with multiple properties including TextType
================================================================================

xmlport 50101 "Complex XMLPort"
{
    schema
    {
        textelement(Root)
        {
            tableelement(Customer; Customer)
            {
                textattribute(Info)
                {
                    Caption = 'Customer Information';
                    Occurrence = Required;
                    TextType = BigText;
                    XmlName = 'CustomerInfo';
                }
            }
        }
    }
}

--------------------------------------------------------------------------------

(source_file
  (xmlport_declaration
    (xmlport_keyword)
    (integer)
    (quoted_identifier)
    (schema_section
      (schema_keyword)
      (xmlport_element
        (identifier)
        (xmlport_element
          (identifier)
          (identifier)
          (xmlport_attribute
            (identifier)
            (property
              (property_name)
              (string_literal))
            (property
              (property_name)
              (identifier))
            (property
              (property_name)
              (identifier))
            (property
              (property_name)
              (string_literal))))))))
