Revision 1841
Added by Aaron Marcuse-Kubitza about 12 years ago
bin/map | ||
---|---|---|
147 | 147 |
update_in_label() |
148 | 148 |
out_label, out_root = maps.col_info(out_label)[:2] |
149 | 149 |
out_is_xpaths = out_root != None |
150 |
if out_is_xpaths: has_types = out_root.startswith('/*s/')
|
|
150 |
if out_is_xpaths: has_types = out_root.find('/*s/') >= 0
|
|
151 | 151 |
# outer elements are types |
152 | 152 |
|
153 | 153 |
for row in reader: |
Also available in: Unified diff
bin/map: When determining if outer elements are types, look for /*s/ anywhere in the string instead of just at the beginning, because there might be root attrs (namespaces), etc. before it