Crowbar::Rules::XMLRule
Inherits Crowbar::Rule < Reference < Object
Structure-preserving rule for XML / HTML documents. Parses document tree using Crystal's native XML engine, maintaining valid well-formed markup while mutating text nodes, element attributes, tag hierarchies, and namespaces.
Instance methods
Applies a structure-preserving transformation to the buffer
description
SourceChecks whether the buffer matches the format handled by this rule
name
Source