Home | Trees | Indices | Help |
---|
|
Handle entity definitions.
Author: Chusslove Illich (Часлав Илић) <caslav.ilic@gmx.net>
License: GPLv3
Functions | |||
dict |
|
||
dict |
|
||
dict |
|
||
dict |
|
Variables | |
__package__ =
|
Function Details |
Parse XML entity definitions from given string. The string should contain only entity definitions in DTD form, without any prolog or epilogue: ... <!ENTITY foo 'Foo-fum'> <!ENTITY bar 'Bar-boo'> ... If the same entity is defined several times, the last read definition is taken as final.
|
Read XML entity definitions from given file path. Input argument can be a single file path, or a sequence of paths. Content of each file is parsed by parse_entities. For each read entity, another entity may be added which has the first letter converted to upper-case, both in the entity name and value. See fcap_entities for more details.
See Also: parse_entities |
Read XML entity definitions from directory paths given by an environment variable. Directory paths given by environment variable are searched for files
with See fcap_entities for use of If the environment variable is not set, a warning is output and empty collection of entities returned.
|
Create paired set of entities with first letters in upper-case. For each given entity, another entity may be created which has the first letter converted to upper-case, both in the entity name and value. Such entity is created only if the original entity has at least one letter in the name, and the first letter in the name is lower-case. New entities are either returned in a new dictionary, or are inserted into the original dictionary, which is then returned.
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Thu Jul 24 21:00:26 2014 | http://epydoc.sourceforge.net |