Whitespace-stripping handling for indexterms

If the text node of an indexterm has no preceding or following siblings (e.g., other element nodes), and its text is only standard space characters (U+0020) or nonbreaking spaces (U+00A0), then strip out this whitespace during XSL stylesheet processing.