inxs.contrib module

This module contains transformations that are supposedly of common interest.

inxs.contrib.reduce_whitespaces = <inxs.Transformation object>

Normalizes any whitespace character in text nodes to a simple space and reduces consecutive ones to one. Leading or tailing whitespaces are not stripped away.

inxs.contrib.remove_empty_nodes = <inxs.Transformation object>

Removes nodes without attributes, text and children.