SETI / rms-pds4indextools

PDS4 index tools Python module
Apache License 2.0
0 stars 0 forks source link

File to allow renaming of headers #21

Open rfrenchseti opened 1 month ago

rfrenchseti commented 1 month ago

In pds4_create_xml_index, right now a header can be one of two strings:

There are use cases where neither of these is desirable, such when XPaths are ambiguous but you don't want to include the full, long XPaths.

One solution is to allow an optional file for the renaming of XPaths. Its format would be something like:

<XPath>,<new name>