pub fn element_node(doc: &mut Document, element: &Element) -> NodeId
Build a node holding an element, for tests and callers wanting one value.