Revision 4652
Added by Aaron Marcuse-Kubitza about 12 years ago
map | ||
---|---|---|
200 | 200 |
|
201 | 201 |
def split_col_name(name): |
202 | 202 |
label, sep, root = name.partition(':') |
203 |
label, sep2, prefixes_str = label.partition('[') |
|
204 |
prefixes_str = strings.remove_suffix(']', prefixes_str) |
|
205 |
prefixes = strings.split(',', prefixes_str) |
|
206 |
return label, sep != '', root, prefixes |
|
207 |
# extract datasrc from "datasrc[data_format]" |
|
203 |
return label, sep != '', root, [] |
|
208 | 204 |
|
209 | 205 |
in_label, in_root, prefixes = maps.col_info(in_label) |
210 | 206 |
in_is_xpaths = in_root != None |
Also available in: Unified diff
Removed no longer used intersect