Revision 144
Added by Aaron Marcuse-Kubitza about 13 years ago
xml_func.py | ||
---|---|---|
45 | 45 |
return ' '.join(parts) |
46 | 46 |
|
47 | 47 |
# Function names must start with _ to avoid collisions with real tags |
48 |
# Functions take arguments (doc, node)
|
|
48 |
# Functions take arguments (items)
|
|
49 | 49 |
funcs = {'_alt': alt, '_range': range_, '_avg': avg, '_date': date, |
50 | 50 |
'_name': name, '_namePart': namePart} |
51 | 51 |
|
Also available in: Unified diff
Fixed documentation for xml_funcs