pub fn child_nodes(doc: &BaseDocument, node: NodeId) -> Result<Vec<NodeId>>Expand description
node.childNodes, as a snapshot rather than a live list.
A live NodeList would have to hold the document, which the borrow
discipline forbids. Every caller upstream materialises the list anyway.