Banner showing base of Eiffel tower

Github

Download version 1.4.8: Windows or Linux

Text Library: Textual Data Formats

This library has 33 classes.

ECF: text-formats.ecf

Classes for handling various human-readable text formats. Supported formats are: XML, XHTML, HTML, JSON, CSV. (Note: Eiffel-Loop has other libraries for parsing XML)

Directory: library/text/formats

. /csv

. /doc-type

. /json

. /markup

. /markup/html

. /markup/xhtml

. /markup/xml

. /markup/xml/model-1

. /markup/xml/model-2

csv

EL_COMMA_SEPARATED_LINE_PARSER

CSV parser for lines encoded as Latin-1

Further Information

Click on class link to see client examples.

EL_IMPORTABLE_ARRAYED_LIST

Arrayed list of reflectively settable objects that can be imported from from a Comma Separated Value (CSV) file. The first line must contain field names that match the settable fields of type G.

Further Information

Click on class link to see client examples.

EL_UTF_8_COMMA_SEPARATED_LINE_PARSER

CSV parser for lines encoded as UTF-8

doc-type

EL_DOC_TYPE

Document MIME type and encoding

EL_HTML_DOC_TYPE

Parses HTML document for MIME type and encoding

EL_SHARED_DOCUMENT_TYPES

Shared document types

json

EL_JSON_GENERAL_ESCAPER

Json general escaper

EL_JSON_NAME_VALUE_LIST

Parses a non-recursive JSON list into name value pairs. Iterate using from start until after loop. Decoded name-value pairs accessible as: item, name_item or value_item.

Further Information

Click on class link to see client examples.

EL_JSON_UNESCAPER

Json unescaper

EL_JSON_VALUE_ESCAPER

Json value escaper

Further Information

Click on class link to see client examples.

EL_SETTABLE_FROM_JSON_STRING

Used in conjunction with EL_REFLECTIVELY_SETTABLE to reflectively set fields from corresponding JSON name-value pairs.

Further Information

Click on class link to see descendants and client examples.

markup

EL_MARKUP_ROUTINES

Markup routines

EL_MARKUP_TEMPLATES

Markup templates

EL_XML_TAG

Xml tag

markup/html

EL_HTML_CONSTANTS

Html constants

markup/xhtml

EL_HTML_ROUTINES

Html routines

EL_HYPERLINK

Hyper-link

EL_MODULE_HTML

Module html

Further Information

Click on class link to see client examples.

EL_XHTML_STRING_LIST

Xhtml string list

EL_XHTML_UTF_8_SOURCE

Xhtml utf 8 source

Further Information

Click on class link to see client examples.

markup/xml

EL_DEFAULT_SERIALIZEABLE_XML

Default serializeable xml

EL_MODULE_XML

Module xml

Further Information

Click on class link to see client examples.

EL_XML_NAMESPACES

Xml namespaces

EL_XML_ROUTINES

Xml routines

Further Information

Click on class link to see client examples.

markup/xml/model-1

EL_XML_PARENT_TAG_LIST

XML tag that has child tags

EL_XML_TAG_LIST

Xml tag list

EL_XML_VALUE_TAG_PAIR

XML tag containing a single text node

markup/xml/model-2

EL_XML_CONTENT_ELEMENT

Element containing either an element list or some text

EL_XML_ELEMENT

Xml element

EL_XML_EMPTY_ELEMENT

Xml empty element

EL_XML_LIST_ELEMENT

XML element with list of nested elements

EL_XML_TEXT_ELEMENT

For example:

<p>Some text</p>

EL_XML_TEXT_NODE

Xml text node