eZ Publish has mixed data model, content is stored in XML format in database. ezxmlblock as content class attribute allows you store content in XML format and support input and output handlers. You can write your custom handlers that fits your needs. See settings/ezxml.ini, other alternative is to create custom datatype that handle that.