pub fn simplify(
rng: &mut Relaxng,
form: Pattern,
binding: &str,
parent: &str,
container: Option<&str>,
) -> Vec<Pattern>Expand description
Recursive normalizer.
binding is the qname-prefix of the currently-enclosing <grammar>
(so a <ref name="X"/> inside <grammar>foo</grammar> resolves to
foo:X). parent is the binding of the enclosing grammar one
level up — used when this node is a <parentRef/>. container,
when present, names the current host (element:NAME or
pattern:NAME) and seeds the “Used by” graph.