Document and XML utilities.
remove whitespace intended to format nicely with fixed-with fonts and replace with <br>.
remove whitespace intended to format nicely with fixed-with fonts and replace with <br>.
remove whitespace intended to format nicely with fixed-with fonts and replace with <br>.
Create map from the document so that it can be used as metadata. Note this looks for the DESCRIPTION (or description) node and will remove extra whitespace which was used to format assuming a fixed-width font.
Misguided attempt to create a title assuming the first sentence is a summary. For example:
RTN normal component of the magnetic field component in nT. The normal component (N) completes the right handed ...becomes
RTN normal component of the magnetic field component in nT.In this day of ChatGPT, this seems quite silly, but what else can be done?
dump the document to an XML file
return true if the node has no children other than the text node.
Read the XML file into a document.