Skip to main content

set_wildcard_ids

Function set_wildcard_ids 

Source
pub fn set_wildcard_ids(document: &mut Document, node: &Node) -> Vec<String>
Expand description

Collect xml:ids of wildcard-marked nodes, generating IDs if needed. Collect xml:ids of wildcard-marked nodes, generating IDs if needed. Perl: set_wildcard_ids($document, $node) — Rewrite.pm L219-231 Faithfully translated: if node has _wildcard, return its ID. If node has _matched, skip (already processed by prior rule). Otherwise recurse into children.