ermodel_to_text
Given the XML description of an Entity-Relationship model on stdin, dump the description of the model as an easy-to-parse tab-delimited text file.
Command-line options
Output Format
The output is a tab-delimited file. It contains blocks of data delimited by lines containing only the string "//".
Each block of data describes either an entity or a relationship. A single line defines the entity or relationship name and the associated metadata. The remaining lines in the block define the field data associated with the entity or relationship.
An entity line contains the following fields:
A relationship line contains the following fields:
- The string "relationship"
- The relationship name
- The name of the "from" entity.
- The name of the "to" entity.
- The arity of the relationship (1M or MM).
- The name of the converse relationship.
Each field description line contains the following fields: