Banner showing base of Eiffel tower

Github

Download version 1.4.8: Windows or Linux

Text Library: Textual Data Formats

This library has 44 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/escape

. /markup/xml/escape/attribute

. /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 tests and 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 tests and 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 tests, 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

EL_HTML_META_VALUES

Html meta values

EL_HTML_META_VALUE_READER

Reads meta data fields from HTML document and set all fields in meta_value: M that have a corresponding field name. Assumes /html/meta/name/text() uses hyphenated names.

feature -- Access

   meta_value: M

Further Information

Click on class link to see client examples.

markup/xhtml

EL_HTML_ROUTINES

Html routines

EL_HYPERLINK

Hyper-link

EL_MODULE_HTML

Shared access to routines of class EL_HTML_ROUTINES

Further Information

Click on class link to see client examples.

EL_XHTML_STRING_LIST

XHTML string list

Further Information

Click on class link to see client examples.

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

Shared access to routines of class EL_XML_ROUTINES

Further Information

Click on class link to see client examples.

EL_XML_ESCAPE_ROUTINES

Xml escape routines

EL_XML_NAMESPACES

Xml namespaces

EL_XML_ROUTINES

Xml routines

markup/xml/escape

EL_XML_ESCAPING_CONSTANTS

Xml escaping constants

Further Information

Click on class link to see client examples.

EL_XML_GENERAL_ESCAPER

XML general string escaper

Further Information

Click on class link to see client examples.

EL_XML_STRING_32_ESCAPER

XML STRING_32 escaper

Further Information

Click on class link to see client examples.

EL_XML_STRING_8_ESCAPER

XML STRING_8 escaper

Further Information

Click on class link to see client examples.

EL_XML_ZSTRING_ESCAPER

XML EL_ZSTRING escaper

Further Information

Click on class link to see client examples.

markup/xml/escape/attribute

EL_XML_ATTRIBUTE_VALUE_GENERAL_ESCAPER

Xml attribute value general escaper

EL_XML_ATTRIBUTE_VALUE_ZSTRING_ESCAPER

Xml attribute value zstring escaper

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_ELEMENT_ATTRIBUTE

Xml element attribute

EL_XML_EMPTY_ELEMENT

Xml empty element

Further Information

Click on class link to see client examples.

EL_XML_LIST_ELEMENT

XML element with list of nested elements

EL_XML_TEXT_ELEMENT

A text XML element as for example:

<p>Some text</p>

Further Information

Click on class link to see client examples.

EL_XML_TEXT_NODE

Xml text node