strip_ilwdchar

igwn_ligolw.utils.ilwd.strip_ilwdchar(xmldoc)

Transforms a document containing tabular data using ilwd:char style row IDs to plain integer row IDs. This is used to translate documents in the older format for compatibility with the modern version of the LIGO Light Weight XML Python library.

NOTE: the transformation is lossy, and can only be inverted with specific knowledge of the structure of the document being processed. Therefore, there is no general implementation of the reverse transformation. Applications that require the inverse transformation must implement their own algorithm for doing so, specifically for their needs.